agronholm/anyio (anyio)
### [`v4.6.0`](https://redirect.github.com/agronholm/anyio/releases/tag/4.6.0)
[Compare Source](https://redirect.github.com/agronholm/anyio/compare/4.5.0...4.6.0)
- Dropped support for Python 3.8 (as [#698](https://redirect.github.com/agronholm/anyio/issues/698) cannot be resolved without cancel message support)
- Fixed 100% CPU use on asyncio while waiting for an exiting task group to finish while said task group is within a cancelled cancel scope ([#695](https://redirect.github.com/agronholm/anyio/issues/695))
- Fixed cancel scopes on asyncio not propagating `CancelledError` on exit when the enclosing cancel scope has been effectively cancelled ([#698](https://redirect.github.com/agronholm/anyio/issues/698))
- Fixed asyncio task groups not yielding control to the event loop at exit if there were no child tasks to wait on
- Fixed inconsistent task uncancellation with asyncio cancel scopes belonging to a task group when said task group has child tasks running
### [`v4.5.0`](https://redirect.github.com/agronholm/anyio/releases/tag/4.5.0)
[Compare Source](https://redirect.github.com/agronholm/anyio/compare/4.4.0...4.5.0)
- Improved the performance of `anyio.Lock` and `anyio.Semaphore` on asyncio (even up to 50 %)
- Added the `fast_acquire` parameter to `anyio.Lock` and `anyio.Semaphore` to further boost performance at the expense of safety (`acquire()` will not yield control back if there is no contention)
- Added support for the `from_uri()`, `full_match()`, `parser` methods/properties in `anyio.Path`, newly added in Python 3.13 ([#737](https://redirect.github.com/agronholm/anyio/issues/737))
- Added support for more keyword arguments for `run_process()` and `open_process()`: `startupinfo`, `creationflags`, `pass_fds`, `user`, `group`, `extra_groups` and `umask` ([#742](https://redirect.github.com/agronholm/anyio/issues/742))
- Improved the type annotations and support for `PathLike` in `run_process()` and `open_process()` to allow for path-like arguments, just like `subprocess.Popen`
- Changed the `ResourceWarning` from an unclosed memory object stream to include its address for easier identification
- Changed `start_blocking_portal()` to always use daemonic threads, to accommodate the "loitering event loop" use case
- Bumped the minimum version of Trio to v0.26.1
- Fixed `__repr__()` of `MemoryObjectItemReceiver`, when `item` is not defined ([#767](https://redirect.github.com/agronholm/anyio/pulls/767); PR by [@Danipulok](https://redirect.github.com/Danipulok))
- Fixed `to_process.run_sync()` failing to initialize if `__main__.__file__` pointed to a file in a nonexistent directory ([#696](https://redirect.github.com/agronholm/anyio/issues/696))
- Fixed `AssertionError: feed_data after feed_eof` on asyncio when a subprocess is closed early, before its output has been read ([#490](https://redirect.github.com/agronholm/anyio/issues/490))
- Fixed `TaskInfo.has_pending_cancellation()` on asyncio not respecting shielded scopes ([#771](https://redirect.github.com/agronholm/anyio/issues/771); PR by [@gschaffner](https://redirect.github.com/gschaffner))
- Fixed `SocketStream.receive()` returning `bytearray` instead of `bytes` when using asyncio with `ProactorEventLoop` (Windows) ([#776](https://redirect.github.com/agronholm/anyio/issues/776))
- Fixed quitting the debugger in a pytest test session while in an active task group failing the test instead of exiting the test session (because the exit exception arrives in an exception group)
- Fixed support for Linux abstract namespaces in UNIX sockets that was broken in v4.2 ([#781](https://redirect.github.com/agronholm/anyio/issues/781) <[#781](https://redirect.github.com/agronholm/anyio/issues/781)>\_; PR by [@tapetersen](https://redirect.github.com/tapetersen))
- Fixed `KeyboardInterrupt` (ctrl+c) hanging the asyncio pytest runner
psf/black (black)
### [`v24.10.0`](https://redirect.github.com/psf/black/blob/HEAD/CHANGES.md#24100)
[Compare Source](https://redirect.github.com/psf/black/compare/24.8.0...24.10.0)
##### Highlights
- Black is now officially tested with Python 3.13 and provides Python 3.13
mypyc-compiled wheels. ([#4436](https://redirect.github.com/psf/black/issues/4436)) ([#4449](https://redirect.github.com/psf/black/issues/4449))
- Black will issue an error when used with Python 3.12.5, due to an upstream memory
safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please
use Python 3.12.6 or Python 3.12.4 instead. ([#4447](https://redirect.github.com/psf/black/issues/4447))
- Black no longer supports running with Python 3.8 ([#4452](https://redirect.github.com/psf/black/issues/4452))
##### Stable style
- Fix crashes involving comments in parenthesised return types or `X | Y` style unions.
([#4453](https://redirect.github.com/psf/black/issues/4453))
- Fix skipping Jupyter cells with unknown `%%` magic ([#4462](https://redirect.github.com/psf/black/issues/4462))
##### Preview style
- Fix type annotation spacing between \* and more complex type variable tuple (i.e. `def
fn(*args: *tuple[*Ts, T]) -> None: pass`) ([#4440](https://redirect.github.com/psf/black/issues/4440))
##### Caching
- Fix bug where the cache was shared between runs with and without `--unstable` ([#4466](https://redirect.github.com/psf/black/issues/4466))
##### Packaging
- Upgrade version of mypyc used to 1.12 beta ([#4450](https://redirect.github.com/psf/black/issues/4450)) ([#4449](https://redirect.github.com/psf/black/issues/4449))
- `blackd` now requires a newer version of aiohttp. ([#4451](https://redirect.github.com/psf/black/issues/4451))
##### Output
- Added Python target version information on parse error ([#4378](https://redirect.github.com/psf/black/issues/4378))
- Add information about Black version to internal error messages ([#4457](https://redirect.github.com/psf/black/issues/4457))
fastapi/fastapi (fastapi)
### [`v0.115.0`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.0)
[Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.114.2...0.115.0)
##### Highlights
Now you can declare `Query`, `Header`, and `Cookie` parameters with Pydantic models. 🎉
##### `Query` Parameter Models
Use Pydantic models for `Query` parameters:
```python
from typing import Annotated, Literal
from fastapi import FastAPI, Query
from pydantic import BaseModel, Field
app = FastAPI()
class FilterParams(BaseModel):
limit: int = Field(100, gt=0, le=100)
offset: int = Field(0, ge=0)
order_by: Literal["created_at", "updated_at"] = "created_at"
tags: list[str] = []
@app.get("/items/")
async def read_items(filter_query: Annotated[FilterParams, Query()]):
return filter_query
```
Read the new docs: [Query Parameter Models](https://fastapi.tiangolo.com/tutorial/query-param-models/).
##### `Header` Parameter Models
Use Pydantic models for `Header` parameters:
```python
from typing import Annotated
from fastapi import FastAPI, Header
from pydantic import BaseModel
app = FastAPI()
class CommonHeaders(BaseModel):
host: str
save_data: bool
if_modified_since: str | None = None
traceparent: str | None = None
x_tag: list[str] = []
@app.get("/items/")
async def read_items(headers: Annotated[CommonHeaders, Header()]):
return headers
```
Read the new docs: [Header Parameter Models](https://fastapi.tiangolo.com/tutorial/header-param-models/).
##### `Cookie` Parameter Models
Use Pydantic models for `Cookie` parameters:
```python
from typing import Annotated
from fastapi import Cookie, FastAPI
from pydantic import BaseModel
app = FastAPI()
class Cookies(BaseModel):
session_id: str
fatebook_tracker: str | None = None
googall_tracker: str | None = None
@app.get("/items/")
async def read_items(cookies: Annotated[Cookies, Cookie()]):
return cookies
```
Read the new docs: [Cookie Parameter Models](https://fastapi.tiangolo.com/tutorial/cookie-param-models/).
##### Forbid Extra Query (Cookie, Header) Parameters
Use Pydantic models to restrict extra values for `Query` parameters (also applies to `Header` and `Cookie` parameters).
To achieve it, use Pydantic's `model_config = {"extra": "forbid"}`:
```python
from typing import Annotated, Literal
from fastapi import FastAPI, Query
from pydantic import BaseModel, Field
app = FastAPI()
class FilterParams(BaseModel):
model_config = {"extra": "forbid"}
limit: int = Field(100, gt=0, le=100)
offset: int = Field(0, ge=0)
order_by: Literal["created_at", "updated_at"] = "created_at"
tags: list[str] = []
@app.get("/items/")
async def read_items(filter_query: Annotated[FilterParams, Query()]):
return filter_query
```
This applies to `Query`, `Header`, and `Cookie` parameters, read the new docs:
- [Forbid Extra Query Parameters](https://fastapi.tiangolo.com/tutorial/query-param-models/#forbid-extra-query-parameters)
- [Forbid Extra Headers](https://fastapi.tiangolo.com/tutorial/header-param-models/#forbid-extra-headers)
- [Forbid Extra Cookies](https://fastapi.tiangolo.com/tutorial/cookie-param-models/#forbid-extra-cookies)
##### Features
- ✨ Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header`. PR [#12199](https://redirect.github.com/fastapi/fastapi/pull/12199) by [@tiangolo](https://redirect.github.com/tiangolo).
##### Translations
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/http-basic-auth.md`. PR [#12195](https://redirect.github.com/fastapi/fastapi/pull/12195) by [@ceb10n](https://redirect.github.com/ceb10n).
##### Internal
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12204](https://redirect.github.com/fastapi/fastapi/pull/12204) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
nickstenning/honcho (honcho)
### [`v2.0.0`](https://redirect.github.com/nickstenning/honcho/blob/HEAD/CHANGELOG.rst#200----2024-10-06)
[Compare Source](https://redirect.github.com/nickstenning/honcho/compare/v1.1.0...v2.0.0)
- CHANGED: You can use the `PROCFILE` OS environment variable to configure the
name of the Procfile.
- CHANGED: Python 3.6 and 3.7 are no longer supported environments.
- CHANGED: Python 3.11, 3.12, 3.13 are now supported environments. Thank you to
Jace Browning and Marco Carvalho who each submitted fixes to enable this.
- CHANGED: PyPy 3.7 and 3.8 are no longer supported environments.
- CHANGED: PyPy 3.9, 3.10 are now supported environments.
- FIXED: The systemd exporter now correctly sets `Wants` for the process group
master targets. Thank you to Dan Berg for the fix.
- CHANGED: The systemd exporter sets `WantedBy=multi-user.target` for
individual services so that they start automatically on most systems.
Processes also log to the `journal` by default. Thank you to Dan Berg for
the contributions.
Thank you also to the following for contributions improving Honcho's
documentation: [@timgates42](https://redirect.github.com/timgates42), [@rafrafek](https://redirect.github.com/rafrafek), [@sblondon](https://redirect.github.com/sblondon), and [@Bernardoow](https://redirect.github.com/Bernardoow).
pandas-dev/pandas (pandas)
### [`v2.2.3`](https://redirect.github.com/pandas-dev/pandas/releases/tag/v2.2.3): Pandas 2.2.3
[Compare Source](https://redirect.github.com/pandas-dev/pandas/compare/v2.2.2...v2.2.3)
We are pleased to announce the release of pandas 2.2.3.
This release includes some new features, bug fixes, and performance improvements. We recommend that all users upgrade to this version.
See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/2.2.3/whatsnew/v2.2.3.html) for a list of all the changes.
Pandas 2.2.3 supports Python 3.9 and higher.
The release will be available on the defaults and conda-forge channels:
conda install pandas
Or via PyPI:
python3 -m pip install --upgrade pandas
Please report any issues with the release on the [pandas issue tracker](https://redirect.github.com/pandas-dev/pandas/issues).
Thanks to all the contributors who made this release possible.
pandas-dev/pandas-stubs (pandas-stubs)
### [`v2.2.3.241009`](https://redirect.github.com/pandas-dev/pandas-stubs/compare/v2.2.2.240909...v2.2.3.241009)
[Compare Source](https://redirect.github.com/pandas-dev/pandas-stubs/compare/v2.2.2.240909...v2.2.3.241009)
litestar-org/polyfactory (polyfactory)
### [`v2.17.0`](https://redirect.github.com/litestar-org/polyfactory/releases/tag/v2.17.0)
[Compare Source](https://redirect.github.com/litestar-org/polyfactory/compare/v2.16.2...v2.17.0)
### Sponsors 🌟
Thanks to these incredible business sponsors:
[Scalar](https://scalar.com/) ([@scalar](https://redirect.github.com/scalar)), [Telemetry Sports](https://telemetrysports.com/) (via [@chris-telemetry](https://redirect.github.com/chris-telemetry)), [Stok](https://www.stok.kr/) ([@stok-team](https://redirect.github.com/stok-team))
A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://redirect.github.com/sponsors/litestar-org/)!
#### What's Changed
- fix: constrained 0 length lists by [@marcozzxx810](https://redirect.github.com/marcozzxx810) in [https://github.com/litestar-org/polyfactory/pull/570](https://redirect.github.com/litestar-org/polyfactory/pull/570)
- build: update pre-commit dependencies by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/571](https://redirect.github.com/litestar-org/polyfactory/pull/571)
- fix: use provider map for any in coverage by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/574](https://redirect.github.com/litestar-org/polyfactory/pull/574)
- fix: tuple randomized length by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/573](https://redirect.github.com/litestar-org/polyfactory/pull/573)
- feat([#579](https://redirect.github.com/litestar-org/polyfactory/issues/579)): enhance register_fixture return type annotation by [@giulioindev](https://redirect.github.com/giulioindev) in [https://github.com/litestar-org/polyfactory/pull/581](https://redirect.github.com/litestar-org/polyfactory/pull/581)
- docs: swap word with its antonym to match the context by [@UncleGoogle](https://redirect.github.com/UncleGoogle) in [https://github.com/litestar-org/polyfactory/pull/575](https://redirect.github.com/litestar-org/polyfactory/pull/575)
- fix: Adjust min/max items to valid lengths for Set\[Enum] fields by [@adrianeboyd](https://redirect.github.com/adrianeboyd) in [https://github.com/litestar-org/polyfactory/pull/567](https://redirect.github.com/litestar-org/polyfactory/pull/567)
- fix: handle Optional type recursive models by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/584](https://redirect.github.com/litestar-org/polyfactory/pull/584)
- fix: handle recursive collections by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/587](https://redirect.github.com/litestar-org/polyfactory/pull/587)
- chore(release): bump release version by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/588](https://redirect.github.com/litestar-org/polyfactory/pull/588)
#### New Contributors
- [@marcozzxx810](https://redirect.github.com/marcozzxx810) made their first contribution in [https://github.com/litestar-org/polyfactory/pull/570](https://redirect.github.com/litestar-org/polyfactory/pull/570)
- [@giulioindev](https://redirect.github.com/giulioindev) made their first contribution in [https://github.com/litestar-org/polyfactory/pull/581](https://redirect.github.com/litestar-org/polyfactory/pull/581)
- [@UncleGoogle](https://redirect.github.com/UncleGoogle) made their first contribution in [https://github.com/litestar-org/polyfactory/pull/575](https://redirect.github.com/litestar-org/polyfactory/pull/575)
- [@adrianeboyd](https://redirect.github.com/adrianeboyd) made their first contribution in [https://github.com/litestar-org/polyfactory/pull/567](https://redirect.github.com/litestar-org/polyfactory/pull/567)
**Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.16.2...v2.17.0
PrefectHQ/prefect (prefect)
### [`v3.0.5`](https://redirect.github.com/PrefectHQ/prefect/releases/tag/3.0.5): : Take care of the .environment
[Compare Source](https://redirect.github.com/PrefectHQ/prefect/compare/3.0.4...3.0.5)
#### 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](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15565](https://redirect.github.com/PrefectHQ/prefect/pull/15565)
##### Enhancements ➕➕
- Update settings to use `pydantic-settings` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15412](https://redirect.github.com/PrefectHQ/prefect/pull/15412)
- Add a helpful message on 404 with deployment by name by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15578](https://redirect.github.com/PrefectHQ/prefect/pull/15578)
##### Bug Fixes 🐞
- Changed `TaskSource` key computation to handle `OSError("source not available")` by [@kzvezdarov](https://redirect.github.com/kzvezdarov) in [https://github.com/PrefectHQ/prefect/pull/15583](https://redirect.github.com/PrefectHQ/prefect/pull/15583)
- Fail correctly if `lookup_type` throws a `KeyError` in `BaseResult.__new__` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15596](https://redirect.github.com/PrefectHQ/prefect/pull/15596)
- Fix issue where transaction parent look up fails in rollback hooks by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15599](https://redirect.github.com/PrefectHQ/prefect/pull/15599)
- Fix flow run parameters literally named `keys` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15611](https://redirect.github.com/PrefectHQ/prefect/pull/15611)
- Ensure dynamic default values for settings are considered unset by `pydantic` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15613](https://redirect.github.com/PrefectHQ/prefect/pull/15613)
- Fix errors when using `run_deployment` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15615](https://redirect.github.com/PrefectHQ/prefect/pull/15615)
- Fix errors loading settings when profiles file can't be read by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15602](https://redirect.github.com/PrefectHQ/prefect/pull/15602)
##### Integrations & Dependencies 🤝
- Make database parameter optional in `ConnectionComponents` [#15511](https://redirect.github.com/PrefectHQ/prefect/issues/15511) by [@Ben-Taarit](https://redirect.github.com/Ben-Taarit) in [https://github.com/PrefectHQ/prefect/pull/15553](https://redirect.github.com/PrefectHQ/prefect/pull/15553)
- Update `AwsClientParameters` validation for `verify` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15574](https://redirect.github.com/PrefectHQ/prefect/pull/15574)
##### Development & Tidiness 🧹
- Fix check to prerelease tag to allow nightly builds to publish Docker images by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15563](https://redirect.github.com/PrefectHQ/prefect/pull/15563)
- Update format for nightly dev release names by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15568](https://redirect.github.com/PrefectHQ/prefect/pull/15568)
- Add a note that deployments delegate ACLs to work pools by [@abrookins](https://redirect.github.com/abrookins) in [https://github.com/PrefectHQ/prefect/pull/15383](https://redirect.github.com/PrefectHQ/prefect/pull/15383)
- Remove `await` for task submissions in global concurrency limits example by [@biancaines](https://redirect.github.com/biancaines) in [https://github.com/PrefectHQ/prefect/pull/15581](https://redirect.github.com/PrefectHQ/prefect/pull/15581)
- Flow code storage docs improvements by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15519](https://redirect.github.com/PrefectHQ/prefect/pull/15519)
- Update the store flow code docs by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15604](https://redirect.github.com/PrefectHQ/prefect/pull/15604)
- Update first docs example by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15605](https://redirect.github.com/PrefectHQ/prefect/pull/15605)
- Add documentation for `.env` file support by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15617](https://redirect.github.com/PrefectHQ/prefect/pull/15617)
- Update [@prefecthq/prefect-design](https://redirect.github.com/prefecthq/prefect-design) to version 2.13.2 by [@marvin-robot](https://redirect.github.com/marvin-robot) in [https://github.com/PrefectHQ/prefect/pull/15579](https://redirect.github.com/PrefectHQ/prefect/pull/15579)
- Update [@prefecthq/prefect-design](https://redirect.github.com/prefecthq/prefect-design) to version 2.13.1 by [@marvin-robot](https://redirect.github.com/marvin-robot) in [https://github.com/PrefectHQ/prefect/pull/15576](https://redirect.github.com/PrefectHQ/prefect/pull/15576)
#### New Contributors
- [@kzvezdarov](https://redirect.github.com/kzvezdarov) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15583](https://redirect.github.com/PrefectHQ/prefect/pull/15583)
**Full Changelog**: https://github.com/PrefectHQ/prefect/compare/3.0.4...3.0.5
### [`v3.0.4`](https://redirect.github.com/PrefectHQ/prefect/releases/tag/3.0.4): : It's been.. one week since you updated me
[Compare Source](https://redirect.github.com/PrefectHQ/prefect/compare/3.0.3...3.0.4)
#### 3.0.4
##### Enhancements ➕➕
- update `prefect deployment ls` to show work pool by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15454](https://redirect.github.com/PrefectHQ/prefect/pull/15454)
- Add --collision-strategy to `prefect deploy` CLI. by [@collincchoy](https://redirect.github.com/collincchoy) in [https://github.com/PrefectHQ/prefect/pull/15468](https://redirect.github.com/PrefectHQ/prefect/pull/15468)
- Don't prompt custom image build for managed pools in `prefect deploy` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15484](https://redirect.github.com/PrefectHQ/prefect/pull/15484)
- Deploy docs overview improvements by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15494](https://redirect.github.com/PrefectHQ/prefect/pull/15494)
- Enforces deployment concurrency with orchestration polices. by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15504](https://redirect.github.com/PrefectHQ/prefect/pull/15504)
- add `get_current_workspace` cloud client method by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15542](https://redirect.github.com/PrefectHQ/prefect/pull/15542)
- Enhancement: Add `end_time` to flow run filters by [@znicholasbrown](https://redirect.github.com/znicholasbrown) in [https://github.com/PrefectHQ/prefect/pull/15502](https://redirect.github.com/PrefectHQ/prefect/pull/15502)
- Write raw results from flows by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15434](https://redirect.github.com/PrefectHQ/prefect/pull/15434)
- Update `transaction` context manager to default `write_on_commit` to `True` by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15515](https://redirect.github.com/PrefectHQ/prefect/pull/15515)
##### Bug Fixes 🐞
- Use correct JSON schema dialect for param validation by [@GfxKai](https://redirect.github.com/GfxKai) in [https://github.com/PrefectHQ/prefect/pull/15483](https://redirect.github.com/PrefectHQ/prefect/pull/15483)
- Fix block reference load in async flow by [@GalLadislav](https://redirect.github.com/GalLadislav) in [https://github.com/PrefectHQ/prefect/pull/15487](https://redirect.github.com/PrefectHQ/prefect/pull/15487)
- Add regression test for arbitrary state data by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15506](https://redirect.github.com/PrefectHQ/prefect/pull/15506)
- Update tasks to inherit the lock manager from a parent transaction if present by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15505](https://redirect.github.com/PrefectHQ/prefect/pull/15505)
- override `_coerce_env` for k8s worker by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15522](https://redirect.github.com/PrefectHQ/prefect/pull/15522)
##### Integrations & Dependencies 🤝
- Bumps `pytest` and `pytest-asyncio` to the latest versions by [@chrisguidry](https://redirect.github.com/chrisguidry) in [https://github.com/PrefectHQ/prefect/pull/15523](https://redirect.github.com/PrefectHQ/prefect/pull/15523)
- Avoid shutting down Ray driver when running on a Ray worker by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15552](https://redirect.github.com/PrefectHQ/prefect/pull/15552)
- Fix dbt source freshness fail state by [@e1337us3r](https://redirect.github.com/e1337us3r) in [https://github.com/PrefectHQ/prefect/pull/15510](https://redirect.github.com/PrefectHQ/prefect/pull/15510)
- Allow oracle connection urls by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15496](https://redirect.github.com/PrefectHQ/prefect/pull/15496)
- Use `ConnectionComponents` components from `prefect-sqlalchemy` in `prefect-dbt` by [@westford14](https://redirect.github.com/westford14) in [https://github.com/PrefectHQ/prefect/pull/15499](https://redirect.github.com/PrefectHQ/prefect/pull/15499)
##### Development & Tidiness 🧹
- Improve docstring `state.result` for when used with `run_deployment` by [@benjamincerigo](https://redirect.github.com/benjamincerigo) in [https://github.com/PrefectHQ/prefect/pull/15509](https://redirect.github.com/PrefectHQ/prefect/pull/15509)
- Fix use of deprecated field on `websockets.exceptions.ConnectionClosedError` by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15467](https://redirect.github.com/PrefectHQ/prefect/pull/15467)
- Set up pytest-markdown-docs for documentation testing by [@bunchesofdonald](https://redirect.github.com/bunchesofdonald) in [https://github.com/PrefectHQ/prefect/pull/15457](https://redirect.github.com/PrefectHQ/prefect/pull/15457)
- fix test by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15480](https://redirect.github.com/PrefectHQ/prefect/pull/15480)
- one small type fix by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15479](https://redirect.github.com/PrefectHQ/prefect/pull/15479)
- use internal logger for `get_lost_followers` retries by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15518](https://redirect.github.com/PrefectHQ/prefect/pull/15518)
- Update weekly RC workflow to a nightly development workflow by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15545](https://redirect.github.com/PrefectHQ/prefect/pull/15545)
- add note on terminal unawaited coro by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15439](https://redirect.github.com/PrefectHQ/prefect/pull/15439)
- Add docs on securing webhooks with service accounts by [@bunchesofdonald](https://redirect.github.com/bunchesofdonald) in [https://github.com/PrefectHQ/prefect/pull/15481](https://redirect.github.com/PrefectHQ/prefect/pull/15481)
- Fix README code example by [@OverShifted](https://redirect.github.com/OverShifted) in [https://github.com/PrefectHQ/prefect/pull/15492](https://redirect.github.com/PrefectHQ/prefect/pull/15492)
- Fixes ugly table formatting from bash output in docs by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15495](https://redirect.github.com/PrefectHQ/prefect/pull/15495)
- Update global concurrency limits docs for removed create_if_missing behavior by [@collincchoy](https://redirect.github.com/collincchoy) in [https://github.com/PrefectHQ/prefect/pull/15517](https://redirect.github.com/PrefectHQ/prefect/pull/15517)
- Warn if websocket connection can't be made by [@jakekaplan](https://redirect.github.com/jakekaplan) in [https://github.com/PrefectHQ/prefect/pull/15261](https://redirect.github.com/PrefectHQ/prefect/pull/15261)
- Fix flow typing when passing return_state to a coroutine by [@williamjamir](https://redirect.github.com/williamjamir) in [https://github.com/PrefectHQ/prefect/pull/15528](https://redirect.github.com/PrefectHQ/prefect/pull/15528)
- Docs for deployment concurrency limits by [@collincchoy](https://redirect.github.com/collincchoy) in [https://github.com/PrefectHQ/prefect/pull/15527](https://redirect.github.com/PrefectHQ/prefect/pull/15527)
- Fix automations-triggers doc tests by [@bunchesofdonald](https://redirect.github.com/bunchesofdonald) in [https://github.com/PrefectHQ/prefect/pull/15514](https://redirect.github.com/PrefectHQ/prefect/pull/15514)
- Remove worker and runner handling for deployment concurrency by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15497](https://redirect.github.com/PrefectHQ/prefect/pull/15497)
#### New Contributors
- [@GfxKai](https://redirect.github.com/GfxKai) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15483](https://redirect.github.com/PrefectHQ/prefect/pull/15483)
- [@OverShifted](https://redirect.github.com/OverShifted) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15492](https://redirect.github.com/PrefectHQ/prefect/pull/15492)
- [@e1337us3r](https://redirect.github.com/e1337us3r) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15510](https://redirect.github.com/PrefectHQ/prefect/pull/15510)
**Full Changelog**: https://github.com/PrefectHQ/prefect/compare/3.0.3...3.0.4
### [`v3.0.3`](https://redirect.github.com/PrefectHQ/prefect/releases/tag/3.0.3): : Cache Rules Everything Around Me
[Compare Source](https://redirect.github.com/PrefectHQ/prefect/compare/3.0.2...3.0.3)
This release introduces improvements to cache policy configuration, offering developers more control and flexibility in managing task result caching:
- Customizable Storage Location: Specify where cache entries are stored using the `key_storage` parameter.
- Configurable Isolation Level: Set the isolation level for cache access with the `isolation_level` parameter.
- Locking Mechanism: Implement concurrent access control using the `lock_manager` parameter.
These enhancements allow for more sophisticated caching strategies, improving performance and resource management in complex workflows.
To learn more about these changes, check out the [task caching docs](https://docs.prefect.io/3.0/develop/task-caching#customizing-the-cache).
##### New Features 🎉
- Add `key_storage`, `isolation_level` and `lock_manager` configuration to cache policies by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15382](https://redirect.github.com/PrefectHQ/prefect/pull/15382)
##### Enhancements ➕➕
- Adds settings to control server CORS configuration by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15396](https://redirect.github.com/PrefectHQ/prefect/pull/15396)
- Add ability to specify `ConcurrencyOptions` by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15291](https://redirect.github.com/PrefectHQ/prefect/pull/15291)
- Add `concurrency_limit` field to `flow.serve` by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15376](https://redirect.github.com/PrefectHQ/prefect/pull/15376)
- Allow a rich object to be passed to `concurrency_limit` in client methods by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15425](https://redirect.github.com/PrefectHQ/prefect/pull/15425)
- Add support for insecure webhooks by [@westford14](https://redirect.github.com/westford14) in [https://github.com/PrefectHQ/prefect/pull/15402](https://redirect.github.com/PrefectHQ/prefect/pull/15402)
- Improve deployment concurrency GCL management by [@collincchoy](https://redirect.github.com/collincchoy) in [https://github.com/PrefectHQ/prefect/pull/15426](https://redirect.github.com/PrefectHQ/prefect/pull/15426)
##### Bug Fixes 🐞
- Preserve `flow.name` with `RunnerDeployment.from_storage` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15393](https://redirect.github.com/PrefectHQ/prefect/pull/15393)
- Lazy import `ray` to fix server startup issues by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15392](https://redirect.github.com/PrefectHQ/prefect/pull/15392)
- Handle unnamed lambdas for consistency by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15400](https://redirect.github.com/PrefectHQ/prefect/pull/15400)
- Fix task linking by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15418](https://redirect.github.com/PrefectHQ/prefect/pull/15418)
- Fix ephemeral server start command for Windows by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15421](https://redirect.github.com/PrefectHQ/prefect/pull/15421)
- Fix task run count when a task is configured with `retry_delay_seconds` by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15424](https://redirect.github.com/PrefectHQ/prefect/pull/15424)
- Fix bug where task cache storage is misconfigured by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15433](https://redirect.github.com/PrefectHQ/prefect/pull/15433)
- Update task engine to increment `run_count` when entering `RUNNING` state by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15436](https://redirect.github.com/PrefectHQ/prefect/pull/15436)
##### Integrations & Dependencies 🤝
- Add environment variables from GCP secrets to cloud run job v2 workers by [@Ultramann](https://redirect.github.com/Ultramann) in [https://github.com/PrefectHQ/prefect/pull/15423](https://redirect.github.com/PrefectHQ/prefect/pull/15423)
- Prepare `prefect-redis` for `0.2.0` release by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15409](https://redirect.github.com/PrefectHQ/prefect/pull/15409)
- Add `AzureBlobStorageContainer.list_blobs` method by [@westford14](https://redirect.github.com/westford14) in [https://github.com/PrefectHQ/prefect/pull/15390](https://redirect.github.com/PrefectHQ/prefect/pull/15390)
- Add `oracledb` driver support in `prefect-sqlalchemy` by [@Ben-Taarit](https://redirect.github.com/Ben-Taarit) in [https://github.com/PrefectHQ/prefect/pull/15385](https://redirect.github.com/PrefectHQ/prefect/pull/15385)
##### Development & Tidiness 🧹
- Add docs for configuring storage and isolation for cache policies by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15397](https://redirect.github.com/PrefectHQ/prefect/pull/15397)
- Improve type hinting docs for sync_compatible by [@benjamincerigo](https://redirect.github.com/benjamincerigo) in [https://github.com/PrefectHQ/prefect/pull/15327](https://redirect.github.com/PrefectHQ/prefect/pull/15327)
- Refactors `__add__` and `__sub__` on cache policies by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15379](https://redirect.github.com/PrefectHQ/prefect/pull/15379)
- Add `mypy` type checking to `/models` by [@bunchesofdonald](https://redirect.github.com/bunchesofdonald) in [https://github.com/PrefectHQ/prefect/pull/15062](https://redirect.github.com/PrefectHQ/prefect/pull/15062)
- Only load collections once by [@abrookins](https://redirect.github.com/abrookins) in [https://github.com/PrefectHQ/prefect/pull/15344](https://redirect.github.com/PrefectHQ/prefect/pull/15344)
- Bump vue from 3.5.4 to 3.5.5 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15386](https://redirect.github.com/PrefectHQ/prefect/pull/15386)
- Bump typescript from 5.5.4 to 5.6.2 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15387](https://redirect.github.com/PrefectHQ/prefect/pull/15387)
- Bump tailwindcss from 3.4.10 to 3.4.11 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15388](https://redirect.github.com/PrefectHQ/prefect/pull/15388)
- Bump vite from 5.4.2 to 5.4.5 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15372](https://redirect.github.com/PrefectHQ/prefect/pull/15372)
- Bump vue-router from 4.4.3 to 4.4.5 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15389](https://redirect.github.com/PrefectHQ/prefect/pull/15389)
- Update [@prefecthq/prefect-ui-library](https://redirect.github.com/prefecthq/prefect-ui-library) to version 3.9.5 by [@marvin-robot](https://redirect.github.com/marvin-robot) in [https://github.com/PrefectHQ/prefect/pull/15411](https://redirect.github.com/PrefectHQ/prefect/pull/15411)
- Bump vite from 5.4.5 to 5.4.6 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15410](https://redirect.github.com/PrefectHQ/prefect/pull/15410)
- Update [@prefecthq/prefect-ui-library](https://redirect.github.com/prefecthq/prefect-ui-library) to version 3.10.0 by [@marvin-robot](https://redirect.github.com/marvin-robot) in [https://github.com/PrefectHQ/prefect/pull/15419](https://redirect.github.com/PrefectHQ/prefect/pull/15419)
##### New Contributors
- [@benjamincerigo](https://redirect.github.com/benjamincerigo) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15327](https://redirect.github.com/PrefectHQ/prefect/pull/15327)
- [@Ben-Taarit](https://redirect.github.com/Ben-Taarit) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15385](https://redirect.github.com/PrefectHQ/prefect/pull/15385)
- [@westford14](https://redirect.github.com/westford14) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15390](https://redirect.github.com/PrefectHQ/prefect/pull/15390)
- [@Ultramann](https://redirect.github.com/Ultramann) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15423](https://redirect.github.com/PrefectHQ/prefect/pull/15423)
**Full Changelog**: https://github.com/PrefectHQ/prefect/compare/3.0.2...3.0.3
psycopg/psycopg (psycopg)
### [`v3.2.3`](https://redirect.github.com/psycopg/psycopg/compare/3.2.2...3.2.3)
[Compare Source](https://redirect.github.com/psycopg/psycopg/compare/3.2.2...3.2.3)
pydantic/pydantic (pydantic)
### [`v2.9.2`](https://redirect.github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v292-2024-09-17)
[Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.9.1...v2.9.2)
[GitHub release](https://redirect.github.com/pydantic/pydantic/releases/tag/v2.9.2)
##### What's Changed
##### Fixes
- Do not error when trying to evaluate annotations of private attributes by [@Viicos](https://redirect.github.com/Viicos) in [#10358](https://redirect.github.com/pydantic/pydantic/pull/10358)
- Adding notes on designing sound `Callable` discriminators by [@sydney-runkle](https://redirect.github.com/sydney-runkle) in [#10400](https://redirect.github.com/pydantic/pydantic/pull/10400)
- Fix serialization schema generation when using `PlainValidator` by [@Viicos](https://redirect.github.com/Viicos) in [#10427](https://redirect.github.com/pydantic/pydantic/pull/10427)
- Fix `Union` serialization warnings by [@sydney-runkle](https://redirect.github.com/sydney-runkle) in [pydantic/pydantic-core#1449](https://redirect.github.com/pydantic/pydantic-core/pull/1449)
- Fix variance issue in `_IncEx` type alias, only allow `True` by [@Viicos](https://redirect.github.com/Viicos) in [#10414](https://redirect.github.com/pydantic/pydantic/pull/10414)
- Fix `ZoneInfo` validation with various invalid types by [@sydney-runkle](https://redirect.github.com/sydney-runkle) in [#10408](https://redirect.github.com/pydantic/pydantic/pull/10408)
Colin-b/pytest_httpx (pytest-httpx)
### [`v0.32.0`](https://redirect.github.com/Colin-b/pytest_httpx/blob/HEAD/CHANGELOG.md#0320---2024-09-27)
[Compare Source](https://redirect.github.com/Colin-b/pytest_httpx/compare/v0.31.2...v0.32.0)
##### Added
- The following option is now available:
- `can_send_already_matched_responses` (boolean), defaulting to `False`.
- Assertion failure message in case of unmatched responses is now linking documentation on how to deactivate the check.
- Assertion failure message in case of unmatched requests is now linking documentation on how to deactivate the check.
- `httpx.TimeoutException` message issued in case of unmatched request is now linking documentation on how to reuse responses (in case some responses are already matched).
##### Fixed
- Documentation now clearly state the risks associated with changing the default options.
- Assertion failure message in case of unmatched requests at teardown is now describ
Configuration
📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==1.13.2
->==1.13.3
4.4.0
->4.6.0
24.8.0
->24.10.0
==24.8.0
->==24.10.0
==0.114.2
->==0.115.0
==1.1.0
->==2.0.0
==2.2.2
->==2.2.3
==2.2.2.240909
->==2.2.3.241009
==2.16.2
->==2.17.0
==3.0.2
->==3.0.5
==3.2.2
->==3.2.3
2.9.1
->2.9.2
^0.30.0
->^0.32.0
==0.30.0
->==0.32.0
==0.0.9
->==0.0.12
0.6.5
->0.6.9
==0.6.5
->==0.6.9
==2.14.0
->==2.16.0
Release Notes
agronholm/anyio (anyio)
### [`v4.6.0`](https://redirect.github.com/agronholm/anyio/releases/tag/4.6.0) [Compare Source](https://redirect.github.com/agronholm/anyio/compare/4.5.0...4.6.0) - Dropped support for Python 3.8 (as [#698](https://redirect.github.com/agronholm/anyio/issues/698) cannot be resolved without cancel message support) - Fixed 100% CPU use on asyncio while waiting for an exiting task group to finish while said task group is within a cancelled cancel scope ([#695](https://redirect.github.com/agronholm/anyio/issues/695)) - Fixed cancel scopes on asyncio not propagating `CancelledError` on exit when the enclosing cancel scope has been effectively cancelled ([#698](https://redirect.github.com/agronholm/anyio/issues/698)) - Fixed asyncio task groups not yielding control to the event loop at exit if there were no child tasks to wait on - Fixed inconsistent task uncancellation with asyncio cancel scopes belonging to a task group when said task group has child tasks running ### [`v4.5.0`](https://redirect.github.com/agronholm/anyio/releases/tag/4.5.0) [Compare Source](https://redirect.github.com/agronholm/anyio/compare/4.4.0...4.5.0) - Improved the performance of `anyio.Lock` and `anyio.Semaphore` on asyncio (even up to 50 %) - Added the `fast_acquire` parameter to `anyio.Lock` and `anyio.Semaphore` to further boost performance at the expense of safety (`acquire()` will not yield control back if there is no contention) - Added support for the `from_uri()`, `full_match()`, `parser` methods/properties in `anyio.Path`, newly added in Python 3.13 ([#737](https://redirect.github.com/agronholm/anyio/issues/737)) - Added support for more keyword arguments for `run_process()` and `open_process()`: `startupinfo`, `creationflags`, `pass_fds`, `user`, `group`, `extra_groups` and `umask` ([#742](https://redirect.github.com/agronholm/anyio/issues/742)) - Improved the type annotations and support for `PathLike` in `run_process()` and `open_process()` to allow for path-like arguments, just like `subprocess.Popen` - Changed the `ResourceWarning` from an unclosed memory object stream to include its address for easier identification - Changed `start_blocking_portal()` to always use daemonic threads, to accommodate the "loitering event loop" use case - Bumped the minimum version of Trio to v0.26.1 - Fixed `__repr__()` of `MemoryObjectItemReceiver`, when `item` is not defined ([#767](https://redirect.github.com/agronholm/anyio/pulls/767); PR by [@Danipulok](https://redirect.github.com/Danipulok)) - Fixed `to_process.run_sync()` failing to initialize if `__main__.__file__` pointed to a file in a nonexistent directory ([#696](https://redirect.github.com/agronholm/anyio/issues/696)) - Fixed `AssertionError: feed_data after feed_eof` on asyncio when a subprocess is closed early, before its output has been read ([#490](https://redirect.github.com/agronholm/anyio/issues/490)) - Fixed `TaskInfo.has_pending_cancellation()` on asyncio not respecting shielded scopes ([#771](https://redirect.github.com/agronholm/anyio/issues/771); PR by [@gschaffner](https://redirect.github.com/gschaffner)) - Fixed `SocketStream.receive()` returning `bytearray` instead of `bytes` when using asyncio with `ProactorEventLoop` (Windows) ([#776](https://redirect.github.com/agronholm/anyio/issues/776)) - Fixed quitting the debugger in a pytest test session while in an active task group failing the test instead of exiting the test session (because the exit exception arrives in an exception group) - Fixed support for Linux abstract namespaces in UNIX sockets that was broken in v4.2 ([#781](https://redirect.github.com/agronholm/anyio/issues/781) <[#781](https://redirect.github.com/agronholm/anyio/issues/781)>\_; PR by [@tapetersen](https://redirect.github.com/tapetersen)) - Fixed `KeyboardInterrupt` (ctrl+c) hanging the asyncio pytest runnerpsf/black (black)
### [`v24.10.0`](https://redirect.github.com/psf/black/blob/HEAD/CHANGES.md#24100) [Compare Source](https://redirect.github.com/psf/black/compare/24.8.0...24.10.0) ##### Highlights - Black is now officially tested with Python 3.13 and provides Python 3.13 mypyc-compiled wheels. ([#4436](https://redirect.github.com/psf/black/issues/4436)) ([#4449](https://redirect.github.com/psf/black/issues/4449)) - Black will issue an error when used with Python 3.12.5, due to an upstream memory safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please use Python 3.12.6 or Python 3.12.4 instead. ([#4447](https://redirect.github.com/psf/black/issues/4447)) - Black no longer supports running with Python 3.8 ([#4452](https://redirect.github.com/psf/black/issues/4452)) ##### Stable style - Fix crashes involving comments in parenthesised return types or `X | Y` style unions. ([#4453](https://redirect.github.com/psf/black/issues/4453)) - Fix skipping Jupyter cells with unknown `%%` magic ([#4462](https://redirect.github.com/psf/black/issues/4462)) ##### Preview style - Fix type annotation spacing between \* and more complex type variable tuple (i.e. `def fn(*args: *tuple[*Ts, T]) -> None: pass`) ([#4440](https://redirect.github.com/psf/black/issues/4440)) ##### Caching - Fix bug where the cache was shared between runs with and without `--unstable` ([#4466](https://redirect.github.com/psf/black/issues/4466)) ##### Packaging - Upgrade version of mypyc used to 1.12 beta ([#4450](https://redirect.github.com/psf/black/issues/4450)) ([#4449](https://redirect.github.com/psf/black/issues/4449)) - `blackd` now requires a newer version of aiohttp. ([#4451](https://redirect.github.com/psf/black/issues/4451)) ##### Output - Added Python target version information on parse error ([#4378](https://redirect.github.com/psf/black/issues/4378)) - Add information about Black version to internal error messages ([#4457](https://redirect.github.com/psf/black/issues/4457))fastapi/fastapi (fastapi)
### [`v0.115.0`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.0) [Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.114.2...0.115.0) ##### Highlights Now you can declare `Query`, `Header`, and `Cookie` parameters with Pydantic models. 🎉 ##### `Query` Parameter Models Use Pydantic models for `Query` parameters: ```python from typing import Annotated, Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]): return filter_query ``` Read the new docs: [Query Parameter Models](https://fastapi.tiangolo.com/tutorial/query-param-models/). ##### `Header` Parameter Models Use Pydantic models for `Header` parameters: ```python from typing import Annotated from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: Annotated[CommonHeaders, Header()]): return headers ``` Read the new docs: [Header Parameter Models](https://fastapi.tiangolo.com/tutorial/header-param-models/). ##### `Cookie` Parameter Models Use Pydantic models for `Cookie` parameters: ```python from typing import Annotated from fastapi import Cookie, FastAPI from pydantic import BaseModel app = FastAPI() class Cookies(BaseModel): session_id: str fatebook_tracker: str | None = None googall_tracker: str | None = None @app.get("/items/") async def read_items(cookies: Annotated[Cookies, Cookie()]): return cookies ``` Read the new docs: [Cookie Parameter Models](https://fastapi.tiangolo.com/tutorial/cookie-param-models/). ##### Forbid Extra Query (Cookie, Header) Parameters Use Pydantic models to restrict extra values for `Query` parameters (also applies to `Header` and `Cookie` parameters). To achieve it, use Pydantic's `model_config = {"extra": "forbid"}`: ```python from typing import Annotated, Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]): return filter_query ``` This applies to `Query`, `Header`, and `Cookie` parameters, read the new docs: - [Forbid Extra Query Parameters](https://fastapi.tiangolo.com/tutorial/query-param-models/#forbid-extra-query-parameters) - [Forbid Extra Headers](https://fastapi.tiangolo.com/tutorial/header-param-models/#forbid-extra-headers) - [Forbid Extra Cookies](https://fastapi.tiangolo.com/tutorial/cookie-param-models/#forbid-extra-cookies) ##### Features - ✨ Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header`. PR [#12199](https://redirect.github.com/fastapi/fastapi/pull/12199) by [@tiangolo](https://redirect.github.com/tiangolo). ##### Translations - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/http-basic-auth.md`. PR [#12195](https://redirect.github.com/fastapi/fastapi/pull/12195) by [@ceb10n](https://redirect.github.com/ceb10n). ##### Internal - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12204](https://redirect.github.com/fastapi/fastapi/pull/12204) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).nickstenning/honcho (honcho)
### [`v2.0.0`](https://redirect.github.com/nickstenning/honcho/blob/HEAD/CHANGELOG.rst#200----2024-10-06) [Compare Source](https://redirect.github.com/nickstenning/honcho/compare/v1.1.0...v2.0.0) - CHANGED: You can use the `PROCFILE` OS environment variable to configure the name of the Procfile. - CHANGED: Python 3.6 and 3.7 are no longer supported environments. - CHANGED: Python 3.11, 3.12, 3.13 are now supported environments. Thank you to Jace Browning and Marco Carvalho who each submitted fixes to enable this. - CHANGED: PyPy 3.7 and 3.8 are no longer supported environments. - CHANGED: PyPy 3.9, 3.10 are now supported environments. - FIXED: The systemd exporter now correctly sets `Wants` for the process group master targets. Thank you to Dan Berg for the fix. - CHANGED: The systemd exporter sets `WantedBy=multi-user.target` for individual services so that they start automatically on most systems. Processes also log to the `journal` by default. Thank you to Dan Berg for the contributions. Thank you also to the following for contributions improving Honcho's documentation: [@timgates42](https://redirect.github.com/timgates42), [@rafrafek](https://redirect.github.com/rafrafek), [@sblondon](https://redirect.github.com/sblondon), and [@Bernardoow](https://redirect.github.com/Bernardoow).pandas-dev/pandas (pandas)
### [`v2.2.3`](https://redirect.github.com/pandas-dev/pandas/releases/tag/v2.2.3): Pandas 2.2.3 [Compare Source](https://redirect.github.com/pandas-dev/pandas/compare/v2.2.2...v2.2.3) We are pleased to announce the release of pandas 2.2.3. This release includes some new features, bug fixes, and performance improvements. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/2.2.3/whatsnew/v2.2.3.html) for a list of all the changes. Pandas 2.2.3 supports Python 3.9 and higher. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://redirect.github.com/pandas-dev/pandas/issues). Thanks to all the contributors who made this release possible.pandas-dev/pandas-stubs (pandas-stubs)
### [`v2.2.3.241009`](https://redirect.github.com/pandas-dev/pandas-stubs/compare/v2.2.2.240909...v2.2.3.241009) [Compare Source](https://redirect.github.com/pandas-dev/pandas-stubs/compare/v2.2.2.240909...v2.2.3.241009)litestar-org/polyfactory (polyfactory)
### [`v2.17.0`](https://redirect.github.com/litestar-org/polyfactory/releases/tag/v2.17.0) [Compare Source](https://redirect.github.com/litestar-org/polyfactory/compare/v2.16.2...v2.17.0) ### Sponsors 🌟 Thanks to these incredible business sponsors: [Scalar](https://scalar.com/) ([@scalar](https://redirect.github.com/scalar)), [Telemetry Sports](https://telemetrysports.com/) (via [@chris-telemetry](https://redirect.github.com/chris-telemetry)), [Stok](https://www.stok.kr/) ([@stok-team](https://redirect.github.com/stok-team)) A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://redirect.github.com/sponsors/litestar-org/)! #### What's Changed - fix: constrained 0 length lists by [@marcozzxx810](https://redirect.github.com/marcozzxx810) in [https://github.com/litestar-org/polyfactory/pull/570](https://redirect.github.com/litestar-org/polyfactory/pull/570) - build: update pre-commit dependencies by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/571](https://redirect.github.com/litestar-org/polyfactory/pull/571) - fix: use provider map for any in coverage by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/574](https://redirect.github.com/litestar-org/polyfactory/pull/574) - fix: tuple randomized length by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/573](https://redirect.github.com/litestar-org/polyfactory/pull/573) - feat([#579](https://redirect.github.com/litestar-org/polyfactory/issues/579)): enhance register_fixture return type annotation by [@giulioindev](https://redirect.github.com/giulioindev) in [https://github.com/litestar-org/polyfactory/pull/581](https://redirect.github.com/litestar-org/polyfactory/pull/581) - docs: swap word with its antonym to match the context by [@UncleGoogle](https://redirect.github.com/UncleGoogle) in [https://github.com/litestar-org/polyfactory/pull/575](https://redirect.github.com/litestar-org/polyfactory/pull/575) - fix: Adjust min/max items to valid lengths for Set\[Enum] fields by [@adrianeboyd](https://redirect.github.com/adrianeboyd) in [https://github.com/litestar-org/polyfactory/pull/567](https://redirect.github.com/litestar-org/polyfactory/pull/567) - fix: handle Optional type recursive models by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/584](https://redirect.github.com/litestar-org/polyfactory/pull/584) - fix: handle recursive collections by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/587](https://redirect.github.com/litestar-org/polyfactory/pull/587) - chore(release): bump release version by [@adhtruong](https://redirect.github.com/adhtruong) in [https://github.com/litestar-org/polyfactory/pull/588](https://redirect.github.com/litestar-org/polyfactory/pull/588) #### New Contributors - [@marcozzxx810](https://redirect.github.com/marcozzxx810) made their first contribution in [https://github.com/litestar-org/polyfactory/pull/570](https://redirect.github.com/litestar-org/polyfactory/pull/570) - [@giulioindev](https://redirect.github.com/giulioindev) made their first contribution in [https://github.com/litestar-org/polyfactory/pull/581](https://redirect.github.com/litestar-org/polyfactory/pull/581) - [@UncleGoogle](https://redirect.github.com/UncleGoogle) made their first contribution in [https://github.com/litestar-org/polyfactory/pull/575](https://redirect.github.com/litestar-org/polyfactory/pull/575) - [@adrianeboyd](https://redirect.github.com/adrianeboyd) made their first contribution in [https://github.com/litestar-org/polyfactory/pull/567](https://redirect.github.com/litestar-org/polyfactory/pull/567) **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.16.2...v2.17.0PrefectHQ/prefect (prefect)
### [`v3.0.5`](https://redirect.github.com/PrefectHQ/prefect/releases/tag/3.0.5): : Take care of the .environment [Compare Source](https://redirect.github.com/PrefectHQ/prefect/compare/3.0.4...3.0.5) #### 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](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15565](https://redirect.github.com/PrefectHQ/prefect/pull/15565) ##### Enhancements ➕➕ - Update settings to use `pydantic-settings` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15412](https://redirect.github.com/PrefectHQ/prefect/pull/15412) - Add a helpful message on 404 with deployment by name by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15578](https://redirect.github.com/PrefectHQ/prefect/pull/15578) ##### Bug Fixes 🐞 - Changed `TaskSource` key computation to handle `OSError("source not available")` by [@kzvezdarov](https://redirect.github.com/kzvezdarov) in [https://github.com/PrefectHQ/prefect/pull/15583](https://redirect.github.com/PrefectHQ/prefect/pull/15583) - Fail correctly if `lookup_type` throws a `KeyError` in `BaseResult.__new__` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15596](https://redirect.github.com/PrefectHQ/prefect/pull/15596) - Fix issue where transaction parent look up fails in rollback hooks by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15599](https://redirect.github.com/PrefectHQ/prefect/pull/15599) - Fix flow run parameters literally named `keys` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15611](https://redirect.github.com/PrefectHQ/prefect/pull/15611) - Ensure dynamic default values for settings are considered unset by `pydantic` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15613](https://redirect.github.com/PrefectHQ/prefect/pull/15613) - Fix errors when using `run_deployment` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15615](https://redirect.github.com/PrefectHQ/prefect/pull/15615) - Fix errors loading settings when profiles file can't be read by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15602](https://redirect.github.com/PrefectHQ/prefect/pull/15602) ##### Integrations & Dependencies 🤝 - Make database parameter optional in `ConnectionComponents` [#15511](https://redirect.github.com/PrefectHQ/prefect/issues/15511) by [@Ben-Taarit](https://redirect.github.com/Ben-Taarit) in [https://github.com/PrefectHQ/prefect/pull/15553](https://redirect.github.com/PrefectHQ/prefect/pull/15553) - Update `AwsClientParameters` validation for `verify` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15574](https://redirect.github.com/PrefectHQ/prefect/pull/15574) ##### Development & Tidiness 🧹 - Fix check to prerelease tag to allow nightly builds to publish Docker images by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15563](https://redirect.github.com/PrefectHQ/prefect/pull/15563) - Update format for nightly dev release names by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15568](https://redirect.github.com/PrefectHQ/prefect/pull/15568) - Add a note that deployments delegate ACLs to work pools by [@abrookins](https://redirect.github.com/abrookins) in [https://github.com/PrefectHQ/prefect/pull/15383](https://redirect.github.com/PrefectHQ/prefect/pull/15383) - Remove `await` for task submissions in global concurrency limits example by [@biancaines](https://redirect.github.com/biancaines) in [https://github.com/PrefectHQ/prefect/pull/15581](https://redirect.github.com/PrefectHQ/prefect/pull/15581) - Flow code storage docs improvements by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15519](https://redirect.github.com/PrefectHQ/prefect/pull/15519) - Update the store flow code docs by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15604](https://redirect.github.com/PrefectHQ/prefect/pull/15604) - Update first docs example by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15605](https://redirect.github.com/PrefectHQ/prefect/pull/15605) - Add documentation for `.env` file support by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15617](https://redirect.github.com/PrefectHQ/prefect/pull/15617) - Update [@prefecthq/prefect-design](https://redirect.github.com/prefecthq/prefect-design) to version 2.13.2 by [@marvin-robot](https://redirect.github.com/marvin-robot) in [https://github.com/PrefectHQ/prefect/pull/15579](https://redirect.github.com/PrefectHQ/prefect/pull/15579) - Update [@prefecthq/prefect-design](https://redirect.github.com/prefecthq/prefect-design) to version 2.13.1 by [@marvin-robot](https://redirect.github.com/marvin-robot) in [https://github.com/PrefectHQ/prefect/pull/15576](https://redirect.github.com/PrefectHQ/prefect/pull/15576) #### New Contributors - [@kzvezdarov](https://redirect.github.com/kzvezdarov) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15583](https://redirect.github.com/PrefectHQ/prefect/pull/15583) **Full Changelog**: https://github.com/PrefectHQ/prefect/compare/3.0.4...3.0.5 ### [`v3.0.4`](https://redirect.github.com/PrefectHQ/prefect/releases/tag/3.0.4): : It's been.. one week since you updated me [Compare Source](https://redirect.github.com/PrefectHQ/prefect/compare/3.0.3...3.0.4) #### 3.0.4 ##### Enhancements ➕➕ - update `prefect deployment ls` to show work pool by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15454](https://redirect.github.com/PrefectHQ/prefect/pull/15454) - Add --collision-strategy to `prefect deploy` CLI. by [@collincchoy](https://redirect.github.com/collincchoy) in [https://github.com/PrefectHQ/prefect/pull/15468](https://redirect.github.com/PrefectHQ/prefect/pull/15468) - Don't prompt custom image build for managed pools in `prefect deploy` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15484](https://redirect.github.com/PrefectHQ/prefect/pull/15484) - Deploy docs overview improvements by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15494](https://redirect.github.com/PrefectHQ/prefect/pull/15494) - Enforces deployment concurrency with orchestration polices. by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15504](https://redirect.github.com/PrefectHQ/prefect/pull/15504) - add `get_current_workspace` cloud client method by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15542](https://redirect.github.com/PrefectHQ/prefect/pull/15542) - Enhancement: Add `end_time` to flow run filters by [@znicholasbrown](https://redirect.github.com/znicholasbrown) in [https://github.com/PrefectHQ/prefect/pull/15502](https://redirect.github.com/PrefectHQ/prefect/pull/15502) - Write raw results from flows by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15434](https://redirect.github.com/PrefectHQ/prefect/pull/15434) - Update `transaction` context manager to default `write_on_commit` to `True` by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15515](https://redirect.github.com/PrefectHQ/prefect/pull/15515) ##### Bug Fixes 🐞 - Use correct JSON schema dialect for param validation by [@GfxKai](https://redirect.github.com/GfxKai) in [https://github.com/PrefectHQ/prefect/pull/15483](https://redirect.github.com/PrefectHQ/prefect/pull/15483) - Fix block reference load in async flow by [@GalLadislav](https://redirect.github.com/GalLadislav) in [https://github.com/PrefectHQ/prefect/pull/15487](https://redirect.github.com/PrefectHQ/prefect/pull/15487) - Add regression test for arbitrary state data by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15506](https://redirect.github.com/PrefectHQ/prefect/pull/15506) - Update tasks to inherit the lock manager from a parent transaction if present by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15505](https://redirect.github.com/PrefectHQ/prefect/pull/15505) - override `_coerce_env` for k8s worker by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15522](https://redirect.github.com/PrefectHQ/prefect/pull/15522) ##### Integrations & Dependencies 🤝 - Bumps `pytest` and `pytest-asyncio` to the latest versions by [@chrisguidry](https://redirect.github.com/chrisguidry) in [https://github.com/PrefectHQ/prefect/pull/15523](https://redirect.github.com/PrefectHQ/prefect/pull/15523) - Avoid shutting down Ray driver when running on a Ray worker by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15552](https://redirect.github.com/PrefectHQ/prefect/pull/15552) - Fix dbt source freshness fail state by [@e1337us3r](https://redirect.github.com/e1337us3r) in [https://github.com/PrefectHQ/prefect/pull/15510](https://redirect.github.com/PrefectHQ/prefect/pull/15510) - Allow oracle connection urls by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15496](https://redirect.github.com/PrefectHQ/prefect/pull/15496) - Use `ConnectionComponents` components from `prefect-sqlalchemy` in `prefect-dbt` by [@westford14](https://redirect.github.com/westford14) in [https://github.com/PrefectHQ/prefect/pull/15499](https://redirect.github.com/PrefectHQ/prefect/pull/15499) ##### Development & Tidiness 🧹 - Improve docstring `state.result` for when used with `run_deployment` by [@benjamincerigo](https://redirect.github.com/benjamincerigo) in [https://github.com/PrefectHQ/prefect/pull/15509](https://redirect.github.com/PrefectHQ/prefect/pull/15509) - Fix use of deprecated field on `websockets.exceptions.ConnectionClosedError` by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15467](https://redirect.github.com/PrefectHQ/prefect/pull/15467) - Set up pytest-markdown-docs for documentation testing by [@bunchesofdonald](https://redirect.github.com/bunchesofdonald) in [https://github.com/PrefectHQ/prefect/pull/15457](https://redirect.github.com/PrefectHQ/prefect/pull/15457) - fix test by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15480](https://redirect.github.com/PrefectHQ/prefect/pull/15480) - one small type fix by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15479](https://redirect.github.com/PrefectHQ/prefect/pull/15479) - use internal logger for `get_lost_followers` retries by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15518](https://redirect.github.com/PrefectHQ/prefect/pull/15518) - Update weekly RC workflow to a nightly development workflow by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15545](https://redirect.github.com/PrefectHQ/prefect/pull/15545) - add note on terminal unawaited coro by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15439](https://redirect.github.com/PrefectHQ/prefect/pull/15439) - Add docs on securing webhooks with service accounts by [@bunchesofdonald](https://redirect.github.com/bunchesofdonald) in [https://github.com/PrefectHQ/prefect/pull/15481](https://redirect.github.com/PrefectHQ/prefect/pull/15481) - Fix README code example by [@OverShifted](https://redirect.github.com/OverShifted) in [https://github.com/PrefectHQ/prefect/pull/15492](https://redirect.github.com/PrefectHQ/prefect/pull/15492) - Fixes ugly table formatting from bash output in docs by [@discdiver](https://redirect.github.com/discdiver) in [https://github.com/PrefectHQ/prefect/pull/15495](https://redirect.github.com/PrefectHQ/prefect/pull/15495) - Update global concurrency limits docs for removed create_if_missing behavior by [@collincchoy](https://redirect.github.com/collincchoy) in [https://github.com/PrefectHQ/prefect/pull/15517](https://redirect.github.com/PrefectHQ/prefect/pull/15517) - Warn if websocket connection can't be made by [@jakekaplan](https://redirect.github.com/jakekaplan) in [https://github.com/PrefectHQ/prefect/pull/15261](https://redirect.github.com/PrefectHQ/prefect/pull/15261) - Fix flow typing when passing return_state to a coroutine by [@williamjamir](https://redirect.github.com/williamjamir) in [https://github.com/PrefectHQ/prefect/pull/15528](https://redirect.github.com/PrefectHQ/prefect/pull/15528) - Docs for deployment concurrency limits by [@collincchoy](https://redirect.github.com/collincchoy) in [https://github.com/PrefectHQ/prefect/pull/15527](https://redirect.github.com/PrefectHQ/prefect/pull/15527) - Fix automations-triggers doc tests by [@bunchesofdonald](https://redirect.github.com/bunchesofdonald) in [https://github.com/PrefectHQ/prefect/pull/15514](https://redirect.github.com/PrefectHQ/prefect/pull/15514) - Remove worker and runner handling for deployment concurrency by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15497](https://redirect.github.com/PrefectHQ/prefect/pull/15497) #### New Contributors - [@GfxKai](https://redirect.github.com/GfxKai) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15483](https://redirect.github.com/PrefectHQ/prefect/pull/15483) - [@OverShifted](https://redirect.github.com/OverShifted) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15492](https://redirect.github.com/PrefectHQ/prefect/pull/15492) - [@e1337us3r](https://redirect.github.com/e1337us3r) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15510](https://redirect.github.com/PrefectHQ/prefect/pull/15510) **Full Changelog**: https://github.com/PrefectHQ/prefect/compare/3.0.3...3.0.4 ### [`v3.0.3`](https://redirect.github.com/PrefectHQ/prefect/releases/tag/3.0.3): : Cache Rules Everything Around Me [Compare Source](https://redirect.github.com/PrefectHQ/prefect/compare/3.0.2...3.0.3) This release introduces improvements to cache policy configuration, offering developers more control and flexibility in managing task result caching: - Customizable Storage Location: Specify where cache entries are stored using the `key_storage` parameter. - Configurable Isolation Level: Set the isolation level for cache access with the `isolation_level` parameter. - Locking Mechanism: Implement concurrent access control using the `lock_manager` parameter. These enhancements allow for more sophisticated caching strategies, improving performance and resource management in complex workflows. To learn more about these changes, check out the [task caching docs](https://docs.prefect.io/3.0/develop/task-caching#customizing-the-cache). ##### New Features 🎉 - Add `key_storage`, `isolation_level` and `lock_manager` configuration to cache policies by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15382](https://redirect.github.com/PrefectHQ/prefect/pull/15382) ##### Enhancements ➕➕ - Adds settings to control server CORS configuration by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15396](https://redirect.github.com/PrefectHQ/prefect/pull/15396) - Add ability to specify `ConcurrencyOptions` by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15291](https://redirect.github.com/PrefectHQ/prefect/pull/15291) - Add `concurrency_limit` field to `flow.serve` by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15376](https://redirect.github.com/PrefectHQ/prefect/pull/15376) - Allow a rich object to be passed to `concurrency_limit` in client methods by [@jeanluciano](https://redirect.github.com/jeanluciano) in [https://github.com/PrefectHQ/prefect/pull/15425](https://redirect.github.com/PrefectHQ/prefect/pull/15425) - Add support for insecure webhooks by [@westford14](https://redirect.github.com/westford14) in [https://github.com/PrefectHQ/prefect/pull/15402](https://redirect.github.com/PrefectHQ/prefect/pull/15402) - Improve deployment concurrency GCL management by [@collincchoy](https://redirect.github.com/collincchoy) in [https://github.com/PrefectHQ/prefect/pull/15426](https://redirect.github.com/PrefectHQ/prefect/pull/15426) ##### Bug Fixes 🐞 - Preserve `flow.name` with `RunnerDeployment.from_storage` by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15393](https://redirect.github.com/PrefectHQ/prefect/pull/15393) - Lazy import `ray` to fix server startup issues by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15392](https://redirect.github.com/PrefectHQ/prefect/pull/15392) - Handle unnamed lambdas for consistency by [@zzstoatzz](https://redirect.github.com/zzstoatzz) in [https://github.com/PrefectHQ/prefect/pull/15400](https://redirect.github.com/PrefectHQ/prefect/pull/15400) - Fix task linking by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15418](https://redirect.github.com/PrefectHQ/prefect/pull/15418) - Fix ephemeral server start command for Windows by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15421](https://redirect.github.com/PrefectHQ/prefect/pull/15421) - Fix task run count when a task is configured with `retry_delay_seconds` by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15424](https://redirect.github.com/PrefectHQ/prefect/pull/15424) - Fix bug where task cache storage is misconfigured by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15433](https://redirect.github.com/PrefectHQ/prefect/pull/15433) - Update task engine to increment `run_count` when entering `RUNNING` state by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15436](https://redirect.github.com/PrefectHQ/prefect/pull/15436) ##### Integrations & Dependencies 🤝 - Add environment variables from GCP secrets to cloud run job v2 workers by [@Ultramann](https://redirect.github.com/Ultramann) in [https://github.com/PrefectHQ/prefect/pull/15423](https://redirect.github.com/PrefectHQ/prefect/pull/15423) - Prepare `prefect-redis` for `0.2.0` release by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15409](https://redirect.github.com/PrefectHQ/prefect/pull/15409) - Add `AzureBlobStorageContainer.list_blobs` method by [@westford14](https://redirect.github.com/westford14) in [https://github.com/PrefectHQ/prefect/pull/15390](https://redirect.github.com/PrefectHQ/prefect/pull/15390) - Add `oracledb` driver support in `prefect-sqlalchemy` by [@Ben-Taarit](https://redirect.github.com/Ben-Taarit) in [https://github.com/PrefectHQ/prefect/pull/15385](https://redirect.github.com/PrefectHQ/prefect/pull/15385) ##### Development & Tidiness 🧹 - Add docs for configuring storage and isolation for cache policies by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15397](https://redirect.github.com/PrefectHQ/prefect/pull/15397) - Improve type hinting docs for sync_compatible by [@benjamincerigo](https://redirect.github.com/benjamincerigo) in [https://github.com/PrefectHQ/prefect/pull/15327](https://redirect.github.com/PrefectHQ/prefect/pull/15327) - Refactors `__add__` and `__sub__` on cache policies by [@desertaxle](https://redirect.github.com/desertaxle) in [https://github.com/PrefectHQ/prefect/pull/15379](https://redirect.github.com/PrefectHQ/prefect/pull/15379) - Add `mypy` type checking to `/models` by [@bunchesofdonald](https://redirect.github.com/bunchesofdonald) in [https://github.com/PrefectHQ/prefect/pull/15062](https://redirect.github.com/PrefectHQ/prefect/pull/15062) - Only load collections once by [@abrookins](https://redirect.github.com/abrookins) in [https://github.com/PrefectHQ/prefect/pull/15344](https://redirect.github.com/PrefectHQ/prefect/pull/15344) - Bump vue from 3.5.4 to 3.5.5 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15386](https://redirect.github.com/PrefectHQ/prefect/pull/15386) - Bump typescript from 5.5.4 to 5.6.2 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15387](https://redirect.github.com/PrefectHQ/prefect/pull/15387) - Bump tailwindcss from 3.4.10 to 3.4.11 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15388](https://redirect.github.com/PrefectHQ/prefect/pull/15388) - Bump vite from 5.4.2 to 5.4.5 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15372](https://redirect.github.com/PrefectHQ/prefect/pull/15372) - Bump vue-router from 4.4.3 to 4.4.5 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15389](https://redirect.github.com/PrefectHQ/prefect/pull/15389) - Update [@prefecthq/prefect-ui-library](https://redirect.github.com/prefecthq/prefect-ui-library) to version 3.9.5 by [@marvin-robot](https://redirect.github.com/marvin-robot) in [https://github.com/PrefectHQ/prefect/pull/15411](https://redirect.github.com/PrefectHQ/prefect/pull/15411) - Bump vite from 5.4.5 to 5.4.6 in /ui by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/PrefectHQ/prefect/pull/15410](https://redirect.github.com/PrefectHQ/prefect/pull/15410) - Update [@prefecthq/prefect-ui-library](https://redirect.github.com/prefecthq/prefect-ui-library) to version 3.10.0 by [@marvin-robot](https://redirect.github.com/marvin-robot) in [https://github.com/PrefectHQ/prefect/pull/15419](https://redirect.github.com/PrefectHQ/prefect/pull/15419) ##### New Contributors - [@benjamincerigo](https://redirect.github.com/benjamincerigo) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15327](https://redirect.github.com/PrefectHQ/prefect/pull/15327) - [@Ben-Taarit](https://redirect.github.com/Ben-Taarit) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15385](https://redirect.github.com/PrefectHQ/prefect/pull/15385) - [@westford14](https://redirect.github.com/westford14) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15390](https://redirect.github.com/PrefectHQ/prefect/pull/15390) - [@Ultramann](https://redirect.github.com/Ultramann) made their first contribution in [https://github.com/PrefectHQ/prefect/pull/15423](https://redirect.github.com/PrefectHQ/prefect/pull/15423) **Full Changelog**: https://github.com/PrefectHQ/prefect/compare/3.0.2...3.0.3psycopg/psycopg (psycopg)
### [`v3.2.3`](https://redirect.github.com/psycopg/psycopg/compare/3.2.2...3.2.3) [Compare Source](https://redirect.github.com/psycopg/psycopg/compare/3.2.2...3.2.3)pydantic/pydantic (pydantic)
### [`v2.9.2`](https://redirect.github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v292-2024-09-17) [Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.9.1...v2.9.2) [GitHub release](https://redirect.github.com/pydantic/pydantic/releases/tag/v2.9.2) ##### What's Changed ##### Fixes - Do not error when trying to evaluate annotations of private attributes by [@Viicos](https://redirect.github.com/Viicos) in [#10358](https://redirect.github.com/pydantic/pydantic/pull/10358) - Adding notes on designing sound `Callable` discriminators by [@sydney-runkle](https://redirect.github.com/sydney-runkle) in [#10400](https://redirect.github.com/pydantic/pydantic/pull/10400) - Fix serialization schema generation when using `PlainValidator` by [@Viicos](https://redirect.github.com/Viicos) in [#10427](https://redirect.github.com/pydantic/pydantic/pull/10427) - Fix `Union` serialization warnings by [@sydney-runkle](https://redirect.github.com/sydney-runkle) in [pydantic/pydantic-core#1449](https://redirect.github.com/pydantic/pydantic-core/pull/1449) - Fix variance issue in `_IncEx` type alias, only allow `True` by [@Viicos](https://redirect.github.com/Viicos) in [#10414](https://redirect.github.com/pydantic/pydantic/pull/10414) - Fix `ZoneInfo` validation with various invalid types by [@sydney-runkle](https://redirect.github.com/sydney-runkle) in [#10408](https://redirect.github.com/pydantic/pydantic/pull/10408)Colin-b/pytest_httpx (pytest-httpx)
### [`v0.32.0`](https://redirect.github.com/Colin-b/pytest_httpx/blob/HEAD/CHANGELOG.md#0320---2024-09-27) [Compare Source](https://redirect.github.com/Colin-b/pytest_httpx/compare/v0.31.2...v0.32.0) ##### Added - The following option is now available: - `can_send_already_matched_responses` (boolean), defaulting to `False`. - Assertion failure message in case of unmatched responses is now linking documentation on how to deactivate the check. - Assertion failure message in case of unmatched requests is now linking documentation on how to deactivate the check. - `httpx.TimeoutException` message issued in case of unmatched request is now linking documentation on how to reuse responses (in case some responses are already matched). ##### Fixed - Documentation now clearly state the risks associated with changing the default options. - Assertion failure message in case of unmatched requests at teardown is now describConfiguration
📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.