What's Changed
This release introduces support for loading settings from .env
files, offering greater flexibility and ease of use in managing your Prefect configurations between projects.
New Features ๐
- Allow specifying settings overrides in a
.env
by @zzstoatzz in #15565
Enhancements โโ
- Update settings to use
pydantic-settings
by @zzstoatzz in #15412 - Add a helpful message on 404 with deployment by name by @zzstoatzz in #15578
Bug Fixes ๐
- Changed
TaskSource
key computation to handleOSError("source not available")
by @kzvezdarov in #15583 - Fail correctly if
lookup_type
throws aKeyError
inBaseResult.__new__
by @zzstoatzz in #15596 - Fix issue where transaction parent look up fails in rollback hooks by @desertaxle in #15599
- Fix flow run parameters literally named
keys
by @zzstoatzz in #15611 - Ensure dynamic default values for settings are considered unset by
pydantic
by @zzstoatzz in #15613 - Fix errors when using
run_deployment
by @zzstoatzz in #15615 - Fix errors loading settings when profiles file can't be read by @desertaxle in #15602
Integrations & Dependencies ๐ค
- Make database parameter optional in
ConnectionComponents
#15511 by @Ben-Taarit in #15553 - Update
AwsClientParameters
validation forverify
by @zzstoatzz in #15574
Development & Tidiness ๐งน
- Fix check to prerelease tag to allow nightly builds to publish Docker images by @desertaxle in #15563
- Update format for nightly dev release names by @desertaxle in #15568
- Add a note that deployments delegate ACLs to work pools by @abrookins in #15383
- Remove
await
for task submissions in global concurrency limits example by @biancaines in #15581 - Flow code storage docs improvements by @discdiver in #15519
- Update the store flow code docs by @discdiver in #15604
- Update first docs example by @discdiver in #15605
- Add documentation for
.env
file support by @zzstoatzz in #15617 - Update @prefecthq/prefect-design to version 2.13.2 by @marvin-robot in #15579
- Update @prefecthq/prefect-design to version 2.13.1 by @marvin-robot in #15576
New Contributors
- @kzvezdarov made their first contribution in #15583
Full Changelog: 3.0.4...3.0.5