2.20.3: Background to the future
Two items of note in this release:
A note on dependencies: Last week, a major version upgrade of one of Prefect's dependencies (griffe
) caused quite the headache for some users' environments, and we are sorry for the inconvenience this caused; in general, we strive to keep major version upper bounds on all of our dependencies, but an oversight caused this dependency to go without an upper bound. This release fixes that issue and added in a few other upper bounds that weren't present.
prefect server start --background
: By popular request, this release features a new flag on prefect server start
that runs the server in a background process. When starting a background server, a server.pid
file is written to the $PREFECT_HOME
directory with the process ID of the background server. This lets prefect server stop
know which process to interrupt. Currently, only one background server can be started at a time.
New Features 🎉
- Adds the ability to run a server in the background by @desertaxle in #15013
- Backport
--overwrite
forcreate_work_pool
by @zzstoatzz in #14977 - Add Block Type registration for its nested block types in field annotations by @GalLadislav in #15032
Bug Fixes 🐞
- Ensure Python executable is quoted in runner command on Windows by @desertaxle in #15015
- Remove duplicate
griffe
requirement by @desertaxle in #14983
Integrations & Dependencies 🤝
- Unbound griffe to 2.0 by @cicdw in #14998
- Upper bound critical requirements by @cicdw in #15003
- Update websockets requirement from <13.0,>=10.4 to >=10.4,<14.0 by @dependabot in #15025
- Update importlib-resources requirement from <6.2.0,>=6.1.3 to >=6.1.3,<6.5.0 by @dependabot in #15041
Full Changelog: 2.20.2...2.20.3