First, good agents do that themselves. Second, specifying an exact and current version also works. Third, I'm mostly concerned about having a working example. I'm talking about breaking changes and APIs not existing in newer framework version. As long as it compiles, it's clear the approach still works.
Well then your experience is not really relevant in this thread when the prompt is specifically asking for professional coding work now, is it?
You're not an LLM (at least I don't think you are), you're not obliged to respond with an answer even when that answer is only tangentially related to the prompt.