Always the old version of frameworks

Hello everyone,

I’m experiencing a strange issue with my Cursor IDE in combination with Claude Sonet. In my default settings, I’ve explicitly specified that newer versions of frameworks (e.g., Filament or Laravel) should be used. However, the IDE regularly falls back to older versions.

Interestingly, when I explicitly point it out to Claude and ask whether it should be, for example, Filament 2 or 3.2, it applies the newer commands. Without these targeted hints, it continues using the older version – or reverts to Filament 2 with the next request.

Is this only happening to me, or has anyone else experienced something similar? If so, do you have any suggestions or workarounds to consistently fix this issue?

Thanks in advance for your support!

Best regards, Kilian

same with me, when I’m using react-router the AI always give suggestions for react-router-dom (old version)

I’ve got Sonnet arguing with me now about frameworks even though I provide documentation that shows the latest stable release of each one. Driving me insane.

This is a known quirk with how the AI models handle framework versioning. The best way to handle this is to set up project-specific rules in your .cursor/settings.json file that explicitly define framework versions. Check out how to do that here: Cursor – Rules for AI

You can also try adding a comment at the top of your files like:

// Using Filament 3.2
// Using React Router v6

This should help keep the AI consistent with the versions you want to use. We’re working on improving this behavior, but for now these workarounds should help keep things more predictable