Skip to content

3.1.0: Configuro, ergo sum

Compare
Choose a tag to compare
@desertaxle desertaxle released this 31 Oct 20:10
· 151 commits to main since this release
a83ba39

We're excited to unveil a major overhaul of Prefect's configuration system. At the heart of this release is a complete refactor of our settings architecture, now powered by pydantic-settings for enhanced organization and clarity. You can now define your settings in either a dedicated prefect.toml file or your existing pyproject.toml file, streamlining the configuration experience and making it more portable across environments.

To learn more about new settings capabilities, check out the updated settings documentation or watch @zzstoatzz's instructional demo on YouTube.

New Features 🎉

Enhancements ➕➕

Bug Fixes 🐞

  • Don't cache on any key computation errors and log for visibility by @cicdw in #15868
  • Fix logging for FastAPI and Uvicorn by @desertaxle in #15871
  • Allow for unpersisted 2.x result payloads in states by @cicdw in #15878
  • Update Settings.copy_with_update to ignore sources when restoring default settings by @desertaxle in #15884
  • Don't reuse exception name in nested exception handling by @cicdw in #15894

Integrations & Dependencies 🤝

prefect-dbt

  • Add DbtCloudJob block to top level import by @cicdw in #15880

Dependencies

Development & Tidiness 🧹

New Contributors

Full Changelog: 3.0.11...3.1.0