<!-- Release notes generated using configuration in .github/release.yml at main -->
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 https://github.com/PrefectHQ/prefect/pull/15565
Enhancements โโ
* Update settings to use `pydantic-settings` by zzstoatzz in https://github.com/PrefectHQ/prefect/pull/15412
* Add a helpful message on 404 with deployment by name by zzstoatzz in https://github.com/PrefectHQ/prefect/pull/15578
Bug Fixes ๐
* Changed `TaskSource` key computation to handle `OSError("source not available")` by kzvezdarov in https://github.com/PrefectHQ/prefect/pull/15583
* Fail correctly if `lookup_type` throws a `KeyError` in `BaseResult.__new__` by zzstoatzz in https://github.com/PrefectHQ/prefect/pull/15596
* Fix issue where transaction parent look up fails in rollback hooks by desertaxle in https://github.com/PrefectHQ/prefect/pull/15599
* Fix flow run parameters literally named `keys` by zzstoatzz in https://github.com/PrefectHQ/prefect/pull/15611
* Ensure dynamic default values for settings are considered unset by `pydantic` by zzstoatzz in https://github.com/PrefectHQ/prefect/pull/15613
* Fix errors when using `run_deployment` by zzstoatzz in https://github.com/PrefectHQ/prefect/pull/15615
* Fix errors loading settings when profiles file can't be read by desertaxle in https://github.com/PrefectHQ/prefect/pull/15602
Integrations & Dependencies ๐ค
* Make database parameter optional in `ConnectionComponents` 15511 by Ben-Taarit in https://github.com/PrefectHQ/prefect/pull/15553
* Update `AwsClientParameters` validation for `verify` by zzstoatzz in https://github.com/PrefectHQ/prefect/pull/15574
Development & Tidiness ๐งน
* Fix check to prerelease tag to allow nightly builds to publish Docker images by desertaxle in https://github.com/PrefectHQ/prefect/pull/15563
* Update format for nightly dev release names by desertaxle in https://github.com/PrefectHQ/prefect/pull/15568
* Add a note that deployments delegate ACLs to work pools by abrookins in https://github.com/PrefectHQ/prefect/pull/15383
* Remove `await` for task submissions in global concurrency limits example by biancaines in https://github.com/PrefectHQ/prefect/pull/15581
* Flow code storage docs improvements by discdiver in https://github.com/PrefectHQ/prefect/pull/15519
* Update the store flow code docs by discdiver in https://github.com/PrefectHQ/prefect/pull/15604
* Update first docs example by discdiver in https://github.com/PrefectHQ/prefect/pull/15605
* Add documentation for `.env` file support by zzstoatzz in https://github.com/PrefectHQ/prefect/pull/15617
* Update prefecthq/prefect-design to version 2.13.2 by marvin-robot in https://github.com/PrefectHQ/prefect/pull/15579
* Update prefecthq/prefect-design to version 2.13.1 by marvin-robot in https://github.com/PrefectHQ/prefect/pull/15576
New Contributors
* kzvezdarov made their first contribution in https://github.com/PrefectHQ/prefect/pull/15583
**Full Changelog**: https://github.com/PrefectHQ/prefect/compare/3.0.4...3.0.5