Hi Hamza. Good question.
We have backwards compatibility between Prefect agents and deployments with different versions of Prefect 2. Both scenarios should work fine.
In general, there shouldn’t be breaking changes. If there are breaking changes in the future, we’ll communicate via announcements, deprecation warnings, and release notes over several releases.
We encourage users to use Prefect Cloud or an updated OSS Prefect server version to get all the latest and greatest features. 🙂
For more on compatibility, see
this Discourse topic.