Update All Dependencies (major)
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| asgi-correlation-id | dependencies | major |
^4.2.0 → ^5.0.0
|
| cryptography (changelog) | dependencies | major |
^42.0.0 → ^48.0.0
|
| openai | dependencies | major |
^1.1.1 → ^2.0.0
|
| pytest (changelog) | dev | major |
^8.0.0 → ^9.0.0
|
| sse-starlette | dependencies | major |
^2.0.0 → ^3.0.0
|
Release Notes
snok/asgi-correlation-id (asgi-correlation-id)
v5.0.1
Fixes
- Removes an undocumented dependency on the
packagingpackage, for users of the sentry integration (fixed ine543a49).
Full Changelog: https://github.com/snok/asgi-correlation-id/compare/v5.0.0...v5.0.1
v5.0.0
Breaking changes
- Dropped support for Python versions < 3.10 (#106)
- Removed the Celery extension and all related public API (#111). Users relying on this can follow the instructions in the relevant section of the README.
- Reverted the default UUID-validator to a looser check that accepts any parseable UUID-format string, including nginx
$request_idand OpenTelemetry trace IDs (#108, reverting #92). This is a breaking change for users relying on strict UUID v4 validation — pass a customvalidatorto restore the old behavior.
Improvements and fixes
- Officially added support for Python 3.13 and 3.14
- Modernized type annotations for Python 3.10+ baseline
- Corrected uvicorn doc examples (#110)
- Switched to
uv,ty, andrufffor packaging, linting, and formatting
Full Changelog: https://github.com/snok/asgi-correlation-id/compare/v4.3.4...v5.0.0
v4.3.4
What's Changed
- Add packaging, used in sentry integration by @atanas-balevsky in #97
New Contributors
- @atanas-balevsky made their first contribution in #97
Full Changelog: https://github.com/snok/asgi-correlation-id/compare/v4.3.3...v4.3.4
v4.3.3
What's Changed
New Contributors
Full Changelog: https://github.com/snok/asgi-correlation-id/compare/v4.3.2...v4.3.3
v4.3.2
What's Changed
- fix: Correct uuidv4 check by @sondrelg in #92
- docs: Improve syntax highlighting for README.md by @jrycw in #86
- chore: Update dependencies and pre-commit hooks by @sondrelg in #91
New Contributors
Full Changelog: https://github.com/snok/asgi-correlation-id/compare/v4.3.1...v4.3.2
v4.3.1
What's Changed
- Change license to MIT by @fabioruicci in #84
New Contributors
- @fabioruicci made their first contribution in #84
Full Changelog: https://github.com/snok/asgi-correlation-id/compare/v4.3.0...v4.3.1
v4.3.0
What's Changed
This version drops official support for 3.7, and add support for 3.12. The middleware is expected to still work on 3.7 for now, but the version will no longer be guaranteed to work in the future.
- Update supported Python versions by @sondrelg in #82
- Add example on how to add correlation_id in uvicorn access log by @nesies in #77
- Fix uvicorn example by @nesies in #80
- Add example on how to add correlation_id when using hypercorn and FastAPI by @nesies in #79
New Contributors
Full Changelog: https://github.com/snok/asgi-correlation-id/compare/v4.2.0...v4.3.0
pyca/cryptography (cryptography)
v48.0.1
v48.0.0
v47.0.0
v46.0.7
v46.0.6
v46.0.5
v46.0.4
v46.0.3
v46.0.2
v46.0.1
v46.0.0
v45.0.7
v45.0.6
v45.0.5
v45.0.4
v45.0.3
v45.0.2
v45.0.1
v45.0.0
v44.0.3
v44.0.2
v44.0.1
v44.0.0
v43.0.3
v43.0.1
v43.0.0
v42.0.8
v42.0.7
v42.0.6
openai/openai-python (openai)
v2.41.1
Full Changelog: v2.41.0...v2.41.1
Build System
v2.41.0
Full Changelog: v2.41.0...v2.41.1
Build System
v2.40.0
Full Changelog: v2.40.0...v2.41.0
Features
- api: responses.moderation and chat_completions.moderation (87e46c2)
v2.39.0
Full Changelog: v2.39.0...v2.40.0
Features
- api: Add Amazon Bedrock Responses support
Bug Fixes
- api: allow setting bedrock api keys on the client directly (4d5bfde)
v2.38.0
Full Changelog: v2.38.0...v2.39.0
Features
- api: workload identity in audit logs, additional_tools item in responses, fix ActionSearch.query to be optional. (ab60d7a)
v2.37.0
Full Changelog: v2.37.0...v2.38.0
Features
- api: api update (33d1d01)
- api: manual updates (a21700a)
- api: update OpenAPI spec or Stainless config (00265c5)
Chores
- api: docs updates (ee10152)
- check release MR custom code sync (2638779)
- remove release automation trigger (bd6eea5)
- trigger release automation (f62d082)
v2.36.0
Full Changelog: v2.36.0...v2.37.0
Features
- api: add service_tier parameter to responses compact method (625827c)
- internal/types: support eagerly validating pydantic iterators (7e527bc)
- Remove unnecessary client_id when using workload identity provider for auth (c39ea8d)
Bug Fixes
- client: add missing f-string prefix in file type error message (c85ebd9)
v2.35.1
Full Changelog: v2.35.1...v2.36.0
Features
v2.35.0
Full Changelog: v2.35.0...v2.35.1
Bug Fixes
-
api: fix imagegen
sizeenum regression (4484653)
v2.34.0
Full Changelog: v2.34.0...v2.35.0
Features
Chores
Documentation
- api: update top_logprobs parameter description across chat and responses (f9d339f)
v2.33.0
Full Changelog: v2.33.0...v2.34.0
Features
- api: add external_key_id to projects, email/metadata params to users, update types (2d232ee)
- api: add support for Admin API Keys per endpoint (b8b176a)
- api: admin API updates (4ae1138)
- api: manual updates (c1870f1)
- api: manual updates (f6bb9c7)
- support setting headers via env (1e89d8b)
Bug Fixes
- allow explicit Azure auth headers (a0626ba)
- api: correct prompt_cache_retention enum value from in-memory to in_memory (d47d9f0)
- api: preserve python api key attribute type (62607f6)
- api: resolve python auth type checks (42a31a7)
- api: support admin api key auth (f029eb9)
- avoid bearer fallback for admin auth (22e01a8)
- preserve selected auth credentials (0d27f9d)
- require bearer auth for stream helpers (d055539)
- types: correct created_at and completed_at to float in Response (7da4b88)
- types: correct timestamp types to int in Response model (e55631c)
- use correct field name format for multipart file arrays (9ee4825)
Performance Improvements
- client: optimize file structure copying in multipart requests (dca474e)
Chores
- internal: more robust bootstrap script (9ec1600)
- internal: reformat pyproject.toml (12ad57b)
- tests: bump steady to v0.22.1 (486dfed)
Documentation
- api: add rate limit and vector store info to files create (4f776df)
- api: update files rate limit documentation (b141a20)
v2.32.0
Full Changelog: v2.32.0...v2.33.0
Features
- api: api update (18f834a)
Bug Fixes
Chores
- ci: remove release-doctor workflow (00b2091)
v2.31.0
Full Changelog: v2.31.0...v2.32.0
Features
- api: Add detail to InputFileContent (60de21d)
- api: add OAuthErrorCode type (0c8d2c3)
- client: add event handler implementation for websockets (0280d05)
- client: allow enqueuing to websockets even when not connected (67aa20e)
- client: support reconnection in websockets (eb72a95)
Bug Fixes
- ensure file data are only sent as 1 parameter (c0c2ecd)
Documentation
- improve examples (84712fa)
v2.30.0
Full Changelog: v2.30.0...v2.31.0
Features
- api: add phase field to conversations message (3e5834e)
- api: add web_search_call.results to ResponseIncludable type (ffd8741)
- client: add support for short-lived tokens (#1608) (22fe722)
- client: support sending raw data over websockets (f1bc52e)
- internal: implement indices array format for query and form serialization (49194cf)
Bug Fixes
- client: preserve hardcoded query params when merging with user params (92e109c)
- types: remove web_search_call.results from ResponseIncludable (d3cc401)
Chores
Documentation
- api: update file parameter descriptions in vector_stores files and file_batches (a9e7ebd)
v2.29.0
Full Changelog: v2.29.0...v2.30.0
Features
- api: add keys field to Click/DoubleClick/Drag/Move/Scroll computer actions (ee1bbed)
Bug Fixes
- api: align SDK response types with expanded item schemas (f3f258a)
- sanitize endpoint path params (89f6698)
- types: make type required in ResponseInputMessageItem (cfdb167)
Chores
- ci: skip lint on metadata-only changes (faa93e1)
- internal: update gitignore (c468477)
- tests: bump steady to v0.19.4 (f350af8)
- tests: bump steady to v0.19.5 (5c03401)
- tests: bump steady to v0.19.6 (b6353b8)
- tests: bump steady to v0.19.7 (1d654be)
Refactors
- tests: switch from prism to steady (4a82035)
v2.28.0
Full Changelog: v2.28.0...v2.29.0
Features
- api: 5.4 nano and mini model slugs (3b45666)
- api: add /v1/videos endpoint to batches create method (c0e7a16)
- api: add defer_loading field to ToolFunction (3167595)
- api: add in and nin operators to ComparisonFilter type (664f02b)
Bug Fixes
- deps: bump minimum typing-extensions version (a2fb2ca)
-
pydantic: do not pass
by_aliasunless set (8ebe8fb)
Chores
- internal: tweak CI branches (96ccc3c)
v2.27.0
Full Changelog: v2.27.0...v2.28.0
Features
- api: custom voices (50dc060)
v2.26.0
Full Changelog: v2.26.0...v2.27.0
Features
- api: api update (60ab24a)
- api: manual updates (b244b09)
- api: manual updates (d806635)
- api: sora api improvements: character api, video extensions/edits, higher resolution exports. (58b70d3)
Bug Fixes
- api: repair merged videos resource (742d8ee)
Chores
- internal: codegen related update (4e6498e)
- internal: codegen related update (93af129)
- match http protocol with ws protocol instead of wss (026f9de)
- use proper capitalization for WebSockets (a2f9b07)
v2.25.0
Full Changelog: v2.25.0...v2.26.0
Features
- api: The GA ComputerTool now uses the CompuerTool class. The 'computer_use_preview' tool is moved to ComputerUsePreview (78f5b3c)
v2.24.0
Full Changelog: v2.24.0...v2.25.0
Features
- api: gpt-5.4, tool search tool, and new computer tool (6b2043f)
- api: remove prompt_cache_key param from responses, phase field from message types (44fb382)
Bug Fixes
Chores
- internal: codegen related update (bdb837d)
- internal: codegen related update (b1de941)
- internal: reduce warnings (7cdbd06)
v2.23.0
Full Changelog: v2.23.0...v2.24.0
Features
- api: add phase (391deb9)
Bug Fixes
Chores
-
internal: make
test_proxy_environment_variablesmore resilient to env (65af8fd) - internal: refactor sse event parsing (2344600)
v2.22.0
Full Changelog: v2.22.0...v2.23.0
Features
- api: add gpt-realtime-1.5 and gpt-audio-1.5 model options to realtime calls (3300b61)
Chores
-
internal: make
test_proxy_environment_variablesmore resilient (6b441e2)
v2.21.0
Full Changelog: v2.21.0...v2.22.0
Features
- api: websockets for responses api (c01f6fb)
Chores
Documentation
- api: add batch size limit to file_batches parameter descriptions (16ae76a)
- api: enhance method descriptions across audio, chat, realtime, skills, uploads, videos (21f9e5a)
- api: update safety_identifier documentation in chat completions and responses (d74bfff)
v2.20.0
Full Changelog: v2.20.0...v2.21.0
Features
- api: container network_policy and skills (d19de2e)
Bug Fixes
- structured outputs: resolve memory leak in parse methods (#2860) (6dcbe21)
- webhooks: preserve method visibility for compatibility checks (44a8936)
Chores
- internal: fix lint error on Python 3.14 (534f215)
Documentation
v2.19.0
Full Changelog: v2.19.0...v2.20.0
Features
- api: support for images in batch api (28edb6e)
v2.18.0
Full Changelog: v2.18.0...v2.19.0
Features
- api: skills and hosted shell (27fdf68)
Chores
- internal: bump dependencies (fae10fd)
v2.17.0
Full Changelog: v2.17.0...v2.18.0
Features
v2.16.0
Full Changelog: v2.16.0...v2.17.0
Features
- api: add shell_call_output status field (1bbaf88)
- api: image generation actions for responses; ResponseFunctionCallArgumentsDoneEvent.name (7d96513)
- client: add custom JSON encoder for extended type support (9f43c8b)
Bug Fixes
- client: undo change to web search Find action (8f14eb0)
-
client: update type for
find_in_pageaction (ec54dde)
v2.15.0
Full Changelog: v2.15.0...v2.16.0
Features
- api: api update (b97f9f2)
- api: api updates (9debcc0)
- client: add support for binary request streaming (49561d8)
Bug Fixes
- api: mark assistants as deprecated (0419cbc)
Chores
Documentation
v2.14.0
Full Changelog: v2.14.0...v2.15.0
Features
- api: add new Response completed_at prop (f077752)
Chores
- internal: codegen related update (e7daba6)
v2.13.0
Full Changelog: v2.13.0...v2.14.0
Features
-
api: slugs for new audio models; make all
modelparams accept strings (e517792)
Bug Fixes
- use async_to_httpx_files in patch method (a6af9ee)
Chores
-
internal: add
--fixargument to lint script (93107ef)
v2.12.0
Full Changelog: v2.12.0...v2.13.0
Features
- api: gpt-image-1.5 (1c88f03)
Chores
- ci: add CI job to detect breaking changes with the Agents SDK (#1436) (237c91e)
- internal: add missing files argument to base client (e6d6fd5)
v2.11.0
Full Changelog: v2.11.0...v2.12.0
Features
v2.9.0
Full Changelog: v2.9.0...v2.10.0
Features
- api: make model required for the responses/compact endpoint (a12936b)
Bug Fixes
- types: allow pyright to infer TypedDict types within SequenceNotStr (8f0d230)
Chores
v2.8.1
Full Changelog: v2.8.1...v2.9.0
Features
- api: gpt-5.1-codex-max and responses/compact (22f646e)
Bug Fixes
- client: avoid mutating user-provided response config object (#2700) (e040d22)
- ensure streams are always closed (0b1a27f)
- streaming: correct indentation (575bbac)
Chores
- deps: mypy 1.18.1 has a regression, pin to 1.17 (22cd586)
- docs: use environment variables for authentication in code snippets (c2a3cd5)
- internal: codegen related update (307a066)
- update lockfile (b4109c5)
v2.8.0
Full Changelog: v2.8.0...v2.8.1
Bug Fixes
- api: align types of input items / output items for typescript (64c9fb3)
v2.7.2
Full Changelog: v2.7.2...v2.8.0
Features
- api: gpt 5.1 (8d9f2ca)
Bug Fixes
-
compat: update signatures of
model_dumpandmodel_dump_jsonfor Pydantic v1 (c7bd234)
v2.7.1
Full Changelog: v2.7.1...v2.7.2
Bug Fixes
- compat with Python 3.14 (15a7ec8)
Chores
- package: drop Python 3.8 support (afc14f2)
v2.7.0
Full Changelog: v2.7.0...v2.7.1
Bug Fixes
- api: fix nullability of logprobs (373b7f6)
v2.6.1
Full Changelog: v2.6.1...v2.7.0
Features
- api: Realtime API token_limits, Hybrid searching ranking options (5b43992)
- api: remove InputAudio from ResponseInputContent (bd70a33)
Bug Fixes
- client: close streams without requiring full consumption (d8bb7d6)
- readme: update realtime examples (#2714) (d0370a8)
- uploads: avoid file handle leak (4f1b691)
Chores
- internal/tests: avoid race condition with implicit client cleanup (933d23b)
- internal: grammar fix (it's -> its) (f7e9e9e)
v2.6.0
Full Changelog: v2.6.0...v2.6.1
Bug Fixes
- api: docs updates (d01a0c9)
Chores
- client: clean up custom translations code (cfb9e25)
v2.5.0
Full Changelog: v2.5.0...v2.6.0
Features
- api: Add responses.input_tokens.count (6dd09e2)
Bug Fixes
- api: internal openapi updates (caabd7c)
v2.4.0
Full Changelog: v2.4.0...v2.5.0
Features
- api: api update (8b280d5)
Chores
- bump
httpx-aiohttpversion to 0.1.9 (67f2f0a)
v2.3.0
Full Changelog: v2.3.0...v2.4.0
Features
- api: Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint (bdbe9b8)
Chores
v2.2.0
Full Changelog: v2.2.0...v2.3.0
Features
- api: comparison filter in/not in (aa49f62)
Chores
v2.1.0
Full Changelog: v2.1.0...v2.2.0
Features
- api: dev day 2025 launches (38ac009)
Bug Fixes
- client: add chatkit to beta resource (de3e561)
v2.0.1
Full Changelog: v2.0.1...v2.1.0
Features
- api: add support for realtime calls (7f7925b)
v2.0.0
Full Changelog: v2.0.0...v2.0.1
Bug Fixes
- api: add status, approval_request_id to MCP tool call (2a02255)
v1.109.1
Full Changelog: v1.109.1...v2.0.0
⚠️ BREAKING CHANGES
-
api:
ResponseFunctionToolCallOutputItem.outputandResponseCustomToolCallOutput.outputnow returnstring | Array<ResponseInputText | ResponseInputImage | ResponseInputFile>instead ofstringonly. This may break existing callsites that assumeoutputis always a string.
Features
- api: Support images and files for function call outputs in responses, BatchUsage (4105376)
v1.109.0
Full Changelog: v1.109.0...v1.109.1
Bug Fixes
-
compat: compat with
pydantic<2.8.0when using additional fields (5d95ecf)
v1.108.2
Full Changelog: v1.108.2...v1.109.0
Features
- api: gpt-5-codex (34502b5)
v1.108.1
Full Changelog: v1.108.1...v1.108.2
Bug Fixes
- api: fix mcp tool name (fd1c673)
Chores
- api: openapi updates for conversations (3224f6f)
- do not install brew dependencies in ./scripts/bootstrap by default (6764b00)
- improve example values (20b58e1)
v1.108.0
Full Changelog: v1.108.0...v1.108.1
Features
- api: add reasoning_text (18d8e12)
Chores
- types: change optional parameter type from NotGiven to Omit (acc190a)
v1.107.3
Full Changelog: v1.107.3...v1.108.0
Features
- api: type updates for conversations, reasoning_effort and results for evals (c2ee28c)
Chores
- internal: update pydantic dependency (369d10a)
v1.107.2
Full Changelog: v1.107.2...v1.107.3
Chores
v1.107.1
Full Changelog: v1.107.1...v1.107.2
Chores
v1.107.0
Full Changelog: v1.107.0...v1.107.1
Chores
- api: fix realtime GA types (570fc5a)
v1.106.1
Full Changelog: v1.106.1...v1.107.0
Features
- api: ship the RealtimeGA API shape (dc319d8)
Chores
- internal: codegen related update (b79b7ca)
v1.106.0
Full Changelog: v1.106.0...v1.106.1
Chores
-
internal: move mypy configurations to
pyproject.tomlfile (ca413a2)
v1.105.0
Full Changelog: v1.105.0...v1.106.0
Features
- client: support callable api_key (#2588) (e1bad01)
- improve future compat with pydantic v3 (6645d93)
v1.104.2
Full Changelog: v1.104.2...v1.105.0
Features
- api: Add gpt-realtime models (8502041)
v1.104.1
Full Changelog: v1.104.1...v1.104.2
Bug Fixes
- types: add aliases back for web search tool types (2521cd8)
v1.104.0
Full Changelog: v1.104.0...v1.104.1
Chores
- api: manual updates for ResponseInputAudio (0db5061)
v1.103.0
Full Changelog: v1.103.0...v1.104.0
Features
- types: replace List[str] with SequenceNotStr in params (bc00bda)
Bug Fixes
- types: update more types to use SequenceNotStr (cff135c)
- types: update some types to SequenceNotStr (03f8b88)
Chores
- remove unused import (ac7795b)
v1.102.0
Full Changelog: v1.102.0...v1.103.0
Features
- api: realtime API updates (b7c2ddc)
Bug Fixes
- responses: add missing params to stream() method (bfc0673)
Chores
- bump
inline-snapshotversion to 0.28.0 (#2590) (a6b0872) - client: format imports (7ae3020)
- internal: add Sequence related utils (d3d72b9)
- internal: fix formatting (3ab273f)
- internal: minor formatting change (478a348)
- internal: update pyright exclude list (66e440f)
v1.101.0
Full Changelog: v1.101.0...v1.102.0
Features
- api: add web search filters (1c199a8)
Bug Fixes
- avoid newer type syntax (bd0c668)
Chores
v1.100.2
Full Changelog: v1.100.2...v1.100.3
Chores
- internal/ci: setup breaking change detection (ca2f936)
v1.100.1
Full Changelog: v1.100.1...v1.100.2
Chores
- api: accurately represent shape for verbosity on Chat Completions (c39d5fd)
v1.100.0
Full Changelog: v1.100.0...v1.100.1
Bug Fixes
- types: revert response text config deletion (ac4fb19)
v1.99.9
Full Changelog: v1.99.9...v1.100.0
Features
- api: add new text parameters, expiration options (e3dfa7c)
v1.99.8
Full Changelog: v1.99.8...v1.99.9
Bug Fixes
- types: actually fix ChatCompletionMessageToolCall type (20cb0c8)
v1.99.7
Full Changelog: v1.99.7...v1.99.8
Bug Fixes
- internal/tests: correct snapshot update comment (2784a7a)
- types: revert ChatCompletionMessageToolCallUnion breaking change (ba54e03)
Chores
- internal/tests: add inline snapshot format command (8107db8)
- internal: fix formatting (f03a03d)
- tests: add responses output_text test (971347b)
Refactors
- tests: share snapshot utils (791c567)
v1.99.6
Full Changelog: v1.99.6...v1.99.7
Bug Fixes
- types: rename ChatCompletionMessageToolCallParam (48085e2)
- types: revert ChatCompletionMessageToolCallParam to a TypedDict (c8e9cec)
v1.99.5
Full Changelog: v1.99.5...v1.99.6
Bug Fixes
- types: re-export more tool call types (8fe5741)
Chores
- internal: update comment in script (e407bb5)
- update @stainless-api/prism-cli to v5.15.0 (a1883fc)
v1.99.4
Full Changelog: v1.99.4...v1.99.5
Bug Fixes
- client: fix verbosity parameter location in Responses (2764ff4)
v1.99.3
Full Changelog: v1.99.3...v1.99.4
Bug Fixes
- types: rename chat completion tool (8d3bf88)
- types: revert ChatCompletionToolParam to a TypedDict (3f4ae72)
v1.99.2
Full Changelog: v1.99.2...v1.99.3
Bug Fixes
- responses: add output_text back (585a4f1)
v1.99.1
Full Changelog: v1.99.1...v1.99.2
Features
- api: adds GPT-5 and new API features: platform.openai.com/docs/guides/gpt-5 (ed370d8)
Bug Fixes
- types: correct tool types (0c57bd7)
Chores
- tests: bump inline-snapshot dependency (e236fde)
v1.99.0
Full Changelog: v1.99.0...v1.99.1
Bug Fixes
- internal: correct event imports (2a6d143)
v1.98.0
Full Changelog: v1.98.0...v1.99.0
Features
Bug Fixes
- add missing prompt_cache_key & prompt_cache_key params (00b49ae)
Chores
- internal: fix ruff target version (aa6b252)
v1.97.2
Full Changelog: v1.97.2...v1.98.0
Features
- api: manual updates (88a8036)
v1.97.1
Full Changelog: v1.97.1...v1.97.2
Chores
- client: refactor streaming slightly to better future proof it (71c0c74)
- project: add settings file for vscode (29c22c9)
v1.97.0
Full Changelog: v1.97.0...v1.97.1
Bug Fixes
Chores
- api: event shapes more accurate (f3a9a92)
v1.96.1
Full Changelog: v1.96.1...v1.97.0
Features
- api: manual updates (ed8e899)
v1.96.0
Full Changelog: v1.96.0...v1.96.1
Chores
- api: update realtime specs (b68b71b)
v1.95.1
Full Changelog: v1.95.1...v1.96.0
Features
- clean up environment call outs (87c2e97)
Chores
- api: update realtime specs, build config (bf06d88)
v1.95.0
Full Changelog: v1.95.0...v1.95.1
Bug Fixes
- client: don't send Content-Type header on GET requests (182b763)
v1.94.0
Full Changelog: v1.94.0...v1.95.0
Features
- api: add file_url, fix event ID (265e216)
Chores
- readme: fix version rendering on pypi (1eee5ca)
v1.93.3
Full Changelog: v1.93.3...v1.94.0
Features
v1.93.2
Full Changelog: v1.93.2...v1.93.3
Bug Fixes
- parsing: correctly handle nested discriminated unions (fc8a677)
v1.93.1
Full Changelog: v1.93.1...v1.93.2
Chores
v1.93.0
Full Changelog: v1.93.0...v1.93.1
Bug Fixes
- ci: correct conditional (de6a9ce)
- responses: add missing arguments to parse (05590ec)
- vector stores: add missing arguments to files.create_and_poll (3152134)
- vector stores: add missing arguments to files.upload_and_poll (9d4f425)
Chores
- ci: change upload type (cd4aa88)
- ci: only run for pushes and fork pull requests (f89c7eb)
- internal: codegen related update (bddb8d2)
- tests: ensure parse method is in sync with create (4f58e18)
- tests: ensure vector store files create and poll method is in sync (0fe75a2)
v1.92.3
Full Changelog: v1.92.3...v1.93.0
Features
v1.92.2
Full Changelog: v1.92.2...v1.92.3
Bug Fixes
- client: avoid encoding error with empty API keys (5a3e64e)
Documentation
v1.92.1
Full Changelog: v1.92.1...v1.92.2
Chores
- api: remove unsupported property (ec24408)
v1.92.0
Full Changelog: v1.92.0...v1.92.1
Chores
- client: sync stream/parse methods over (e2536cf)
- docs: update README to include links to docs on Webhooks (ddbf9f1)
v1.91.0
Full Changelog: v1.91.0...v1.92.0
Features
- api: webhook and deep research support (d3bb116)
- client: move stream and parse out of beta (0e358ed)
Bug Fixes
- ci: release-doctor — report correct token name (ff8c556)
Chores
- internal: add tests for breaking change detection (710fe8f)
- tests: skip some failing tests on the latest python versions (93ccc38)
v1.90.0
Full Changelog: v1.90.0...v1.91.0
Features
- api: update api shapes for usage and code interpreter (060d566)
v1.89.0
Full Changelog: v1.89.0...v1.90.0
Features
- api: make model and inputs not required to create response (11bd62e)
v1.88.0
Full Changelog: v1.88.0...v1.89.0
Features
- client: add support for aiohttp (9218b07)
Bug Fixes
- tests: fix: tests which call HTTP endpoints directly with the example parameters (35bcc4b)
Chores
- readme: update badges (68044ee)
v1.87.0
Full Changelog: v1.87.0...v1.88.0
Features
- api: manual updates (5d18a84)
Chores
v1.86.0
Full Changelog: v1.86.0...v1.87.0
Features
- api: add reusable prompt IDs (36bfe6e)
Bug Fixes
-
client: update service_tier on
client.beta.chat.completions(aa488d5)
Chores
- internal: codegen related update (b1a31e5)
- internal: update conftest.py (bba0213)
- tests: add tests for httpx client instantiation & proxies (bc93712)
v1.85.0
Full Changelog: v1.85.0...v1.86.0
Features
- api: Add o3-pro model IDs (d8dd80b)
v1.84.0
Full Changelog: v1.84.0...v1.85.0
Features
- api: Add tools and structured outputs to evals (002cc7b)
Bug Fixes
-
responses: support raw responses for
parse()(d459943)
v1.83.0
Full Changelog: v1.83.0...v1.84.0
Features
- api: add new realtime and audio models, realtime session options (0acd0da)
Chores
- api: update type names (1924559)
v1.82.1
Full Changelog: v1.82.1...v1.83.0
Features
- api: Config update for pakrym-stream-param (88bcf3a)
- client: add follow_redirects request option (26d715f)
Bug Fixes
- api: Fix evals and code interpreter interfaces (2650159)
-
client: return binary content from
get /containers/{container_id}/files/{file_id}/content(f7c80c4)
Chores
- api: mark some methods as deprecated (3e2ca57)
- deprecate Assistants API (9d166d7)
- docs: remove reference to rye shell (c7978e9)
v1.82.0
Full Changelog: v1.82.0...v1.82.1
Bug Fixes
-
responses: don't include
parsed_argumentswhen re-serialising (6d04193)
Chores
- internal: fix release workflows (361a909)
v1.81.0
Full Changelog: v1.81.0...v1.82.0
Features
- api: new streaming helpers for background responses (2a65d4d)
Bug Fixes
Documentation
v1.80.0
Full Changelog: v1.80.0...v1.81.0
Features
- api: add container endpoint (054a210)
v1.79.0
Full Changelog: v1.79.0...v1.80.0
Features
- api: new API tools (d36ae52)
Chores
- docs: grammar improvements (e746145)
v1.78.1
Full Changelog: v1.78.1...v1.79.0
Features
- api: further updates for evals API (32c99a6)
- api: manual updates (25245e5)
- api: responses x eval api (fd586cb)
- api: Updating Assistants and Evals API schemas (98ba7d3)
Bug Fixes
- fix create audio transcription endpoint (e9a89ab)
Chores
v1.78.0
Full Changelog: v1.78.0...v1.78.1
Bug Fixes
- internal: fix linting due to broken test annotation (5a7d7a0)
- package: support direct resource imports (2293fc0)
v1.77.0
Full Changelog: v1.77.0...v1.78.0
Features
- api: Add reinforcement fine-tuning api support (bebe361)
Bug Fixes
Chores
- internal: update proxy tests (b8e848d)
- use lazy imports for module level client (4d0f409)
- use lazy imports for resources (834813c)
v1.76.2
Full Changelog: v1.76.2...v1.77.0
Features
- api: add image sizes, reasoning encryption (473469a)
Bug Fixes
Chores
- only strip leading whitespace (8467d66)
v1.76.1
Full Changelog: v1.76.1...v1.76.2
Chores
- api: API spec cleanup (0a4d3e2)
v1.76.0
Full Changelog: v1.76.0...v1.76.1
Chores
- broadly detect json family of content-type headers (b4b1b08)
- ci: only use depot for staging repos (35312d8)
- ci: run on more branches and use depot runners (a6a45d4)
v1.75.0
Full Changelog: v1.75.0...v1.76.0
Features
- api: adding new image model support (74d7692)
Bug Fixes
-
pydantic v1: more robust
ModelField.annotationcheck (#2163) (7351b12) - pydantic v1: more robust ModelField.annotation check (eba7856)
Chores
- ci: add timeout thresholds for CI jobs (0997211)
- internal: fix list file params (da2113c)
- internal: import reformatting (b425fb9)
- internal: minor formatting changes (aed1d76)
- internal: refactor retries to not use recursion (8cb8cfa)
- internal: update models test (870ad4e)
- update completion parse signature (a44016c)
v1.74.1
Full Changelog: v1.74.1...v1.75.0
Features
- api: add o3 and o4-mini model IDs (4bacbd5)
v1.74.0
Full Changelog: v1.74.0...v1.74.1
Chores
v1.73.0
Full Changelog: v1.73.0...v1.74.0
Features
- api: adding gpt-4.1 family of model IDs (d4dae55)
Bug Fixes
Chores
v1.72.0
Full Changelog: v1.72.0...v1.73.0
Features
- api: manual updates (a3253dd)
Bug Fixes
Chores
- internal: expand CI branch coverage (#2295) (0ae783b)
- internal: reduce CI branch coverage (2fb7d42)
- slight wording improvement in README (#2291) (e020759)
- workaround build errors (4e10c96)
v1.71.0
Full Changelog: v1.71.0...v1.72.0
Features
Chores
- internal: fix examples (#2288) (39defd6)
- internal: skip broken test (#2289) (e2c9bce)
- internal: slight transform perf improvement (#2284) (746174f)
- tests: improve enum examples (#2286) (c9dd81c)
v1.70.0
Full Changelog: v1.70.0...v1.71.0
Features
- api: manual updates (bf8b4b6)
- api: manual updates (3e37aa3)
- api: manual updates (dba9b65)
- api: manual updates (f0c463b)
Chores
- deps: allow websockets v15 (#2281) (19c619e)
- internal: only run examples workflow in main repo (#2282) (c3e0927)
- internal: remove trailing character (#2277) (5a21a2d)
- Remove deprecated/unused remote spec feature (23f76eb)
v1.69.0
Full Changelog: v1.69.0...v1.70.0
Features
-
api: add
get /responses/{response_id}/input_itemsendpoint (4c6a35d)
v1.68.2
Full Changelog: v1.68.2...v1.69.0
Features
-
api: add
get /chat/completionsendpoint (e6b8a42)
Bug Fixes
- audio: correctly parse transcription stream events (16a3a19)
Chores
- add hash of OpenAPI spec/config inputs to .stats.yml (515e1cd)
- api: updates to supported Voice IDs (#2261) (64956f9)
- fix typos (#2259) (6160de3)
v1.68.1
Full Changelog: v1.68.1...v1.68.2
Refactors
- package: rename audio extra to voice_helpers (2dd6cb8)
v1.68.0
Full Changelog: v1.68.0...v1.68.1
Bug Fixes
- client: remove duplicate types (#2235) (063f7d0)
- helpers/audio: remove duplicative module (f253d04)
- package: make sounddevice and numpy optional dependencies (8b04453)
Chores
- ci: run workflows on next too (67f89d4)
v1.67.0
Full Changelog: v1.67.0...v1.68.0
Features
- add audio helpers (423655c)
- api: new models for TTS, STT, + new audio features for Realtime (#2232) (ab5192d)
v1.66.5
Full Changelog: v1.66.5...v1.67.0
Features
v1.66.3
Full Changelog: v1.66.3...v1.66.4
Bug Fixes
- ci: ensure pip is always available (#2207) (3f08e56)
- ci: remove publishing patch (#2208) (dd2dab7)
- types: handle more discriminated union shapes (#2206) (f85a9c6)
Chores
- internal: bump rye to 0.44.0 (#2200) (2dd3139)
- internal: remove CI condition (#2203) (9620fdc)
- internal: remove extra empty newlines (#2195) (a1016a7)
- internal: update release workflows (e2def44)
v1.66.2
Full Changelog: v1.66.2...v1.66.3
Bug Fixes
v1.66.1
Full Changelog: v1.66.1...v1.66.2
Bug Fixes
v1.66.0
Full Changelog: v1.66.0...v1.66.1
Bug Fixes
Chores
- internal: temporary commit (afabec1)
v1.65.5
Full Changelog: v1.65.5...v1.66.0
Features
- api: add /v1/responses and built-in tools (854df97)
Chores
v1.65.4
Full Changelog: v1.65.4...v1.65.5
Chores
v1.65.3
Full Changelog: v1.65.3...v1.65.4
Bug Fixes
v1.65.2
Full Changelog: v1.65.2...v1.65.3
Chores
- internal: remove unused http client options forwarding (#2158) (76ec464)
- internal: run example files in CI (#2160) (9979345)
v1.65.1
Full Changelog: v1.65.1...v1.65.2
Bug Fixes
Chores
v1.65.0
Full Changelog: v1.65.0...v1.65.1
Documentation
v1.64.0
Full Changelog: v1.64.0...v1.65.0
Features
Chores
v1.63.2
Full Changelog: v1.63.2...v1.64.0
Features
Bug Fixes
- client: mark some request bodies as optional (4451f56)
Chores
v1.63.1
Full Changelog: v1.63.1...v1.63.2
Chores
v1.63.0
Full Changelog: v1.63.0...v1.63.1
Chores
v1.62.0
Full Changelog: v1.62.0...v1.63.0
Features
v1.61.1
Full Changelog: v1.61.1...v1.62.0
Features
-
client: send
X-Stainless-Read-Timeoutheader (#2094) (0288213) - embeddings: use stdlib array type for improved performance (#2060) (9a95db9)
- pagination: avoid fetching when has_more: false (#2098) (1882483)
Bug Fixes
- api: add missing reasoning effort + model enums (#2096) (e0ca9f0)
- parsing: don't default to an empty array (#2106) (8e748bb)
Chores
- internal: fix type traversing dictionary params (#2097) (4e5b368)
- internal: minor type handling changes (#2099) (a2c6da0)
v1.61.0
Full Changelog: v1.61.0...v1.61.1
Bug Fixes
- api/types: correct audio duration & role types (#2091) (afcea48)
- cli/chat: only send params when set (#2077) (688b223)
Chores
- internal: bummp ruff dependency (#2080) (b7a80b1)
- internal: change default timeout to an int (#2079) (d3df1c6)
v1.60.2
Full Changelog: v1.60.2...v1.61.0
Features
Bug Fixes
- types: correct metadata type + other fixes (12b87a4)
Chores
- helpers: section links (ef8d3cc)
- types: fix Metadata types (82d3156)
- update api.md (#2063) (21964f0)
Documentation
v1.60.1
Full Changelog: v1.60.1...v1.60.2
Bug Fixes
-
parsing: don't validate input tools in the asynchronous
.parse()method (6fcfe73)
v1.60.0
Full Changelog: v1.60.0...v1.60.1
Chores
Documentation
v1.59.9
Full Changelog: v1.59.9...v1.60.0
Features
Chores
Documentation
- readme: mention failed requests in request IDs (5f7c30b)
v1.59.8
Full Changelog: v1.59.8...v1.59.9
Bug Fixes
Chores
- internal: avoid pytest-asyncio deprecation warning (#2041) (b901046)
- internal: update websockets dep (#2036) (642cd11)
Documentation
v1.59.7
Full Changelog: v1.59.7...v1.59.8
Bug Fixes
- streaming (c16f58e)
- structured outputs: avoid parsing empty empty content (#2023) (6d3513c)
- structured outputs: correct schema coercion for inline ref expansion (#2025) (2f4f0b3)
- types: correct type for vector store chunking strategy (#2017) (e389279)
Chores
- examples: update realtime model (f26746c), closes #2020
- internal: bump pyright dependency (#2021) (0a9a0f5)
- internal: streaming refactors (#2012) (d76a748)
- internal: update deps (#2015) (514e0e4)
Documentation
v1.59.6
Full Changelog: v1.59.6...v1.59.7
Chores
- export HttpxBinaryResponseContent class (7191b71)
v1.59.5
Full Changelog: v1.59.5...v1.59.6
Bug Fixes
Chores
v1.59.4
Full Changelog: v1.59.4...v1.59.5
Bug Fixes
Documentation
- fix typos (#1995) (be694a0)
- fix typos (#1996) (714aed9)
- more typo fixes (#1998) (7bd92f0)
- readme: moved period to inside parentheses (#1980) (e7fae94)
v1.59.3
Full Changelog: v1.59.3...v1.59.4
Chores
- add missing isclass check (#1988) (61d9072)
- add missing isclass check for structured outputs (bcbf013)
- internal: bump httpx dependency (#1990) (288c2c3)
Documentation
- realtime: fix event reference link (9b6885d)
v1.59.2
Full Changelog: v1.59.2...v1.59.3
Chores
v1.58.1
Full Changelog: v1.58.1...v1.59.0
Features
Chores
v1.58.0
Full Changelog: v1.58.0...v1.58.1
Documentation
- readme: fix example script link (23ba877)
v1.57.4
Full Changelog: v1.57.4...v1.58.0
Features
- add Realtime API support (#1958) (97d73cf)
- api: new o1 and GPT-4o models + preference fine-tuning (#1956) (ec22ffb)
Bug Fixes
- add reasoning_effort to all methods (8829c32)
-
assistants: correctly send
includequery param (9a4c69c) - cli/migrate: change grit binaries prefix (#1951) (1c396c9)
Chores
Documentation
- add examples + guidance on Realtime API support (1cb00f8)
- readme: example snippet for client context manager (#1953) (ad80255)
v1.57.3
Full Changelog: v1.57.3...v1.57.4
Chores
- internal: remove some duplicated imports (#1946) (f94fddd)
- internal: updated imports (#1948) (13971fc)
v1.57.2
Full Changelog: v1.57.2...v1.57.3
Chores
- internal: add support for TypeAliasType (#1942) (d3442ff)
- internal: bump pyright (#1939) (190d1a8)
v1.57.1
Full Changelog: v1.57.1...v1.57.2
Bug Fixes
Documentation
v1.57.0
Full Changelog: v1.57.0...v1.57.1
Chores
v1.56.2
Full Changelog: v1.56.2...v1.57.0
Features
Chores
v1.56.1
Full Changelog: v1.56.1...v1.56.2
Chores
v1.56.0
Full Changelog: v1.56.0...v1.56.1
Bug Fixes
- cli: remove usage of httpx proxies (0e9fc3d)
Chores
v1.55.3
Full Changelog: v1.55.3...v1.56.0
Features
v1.55.2
Full Changelog: v1.55.2...v1.55.3
Bug Fixes
v1.55.1
Full Changelog: v1.55.1...v1.55.2
Chores
Documentation
v1.55.0
Full Changelog: v1.55.0...v1.55.1
Bug Fixes
Chores
- remove now unused
cached-propertydep (#1867) (df5fac1) - remove now unused
cached-propertydep (#1891) (feebaae)
Documentation
v1.54.5
Full Changelog: v1.54.5...v1.55.0
Features
v1.54.4
Full Changelog: v1.54.4...v1.54.5
Bug Fixes
Chores
- internal: minor test changes (#1874) (189339d)
- internal: spec update (#1873) (24c81f7)
- tests: limit array example length (#1870) (1e550df)
v1.54.3
Full Changelog: v1.54.3...v1.54.4
Bug Fixes
Documentation
- bump models in example snippets to gpt-4o (#1861) (adafe08)
- move comments in example snippets (#1860) (362cf74)
- readme: add missing asyncio import (#1858) (dec9d0c)
v1.54.2
Full Changelog: v1.54.2...v1.54.3
Bug Fixes
v1.54.1
Full Changelog: v1.54.1...v1.54.2
Chores
v1.54.0
Full Changelog: v1.54.0...v1.54.1
Bug Fixes
- add new prediction param to all methods (6aa424d)
v1.53.1
Full Changelog: v1.53.1...v1.54.0
Features
- api: add support for predicted outputs (#1847) (42a4103)
- project: drop support for Python 3.7 (#1845) (0ed5b1a)
v1.53.0
Full Changelog: v1.53.0...v1.53.1
Bug Fixes
- don't use dicts as iterables in transform (#1842) (258f265)
- support json safe serialization for basemodel subclasses (#1844) (2b80c90)
Chores
v1.52.2
Full Changelog: v1.52.2...v1.53.0
Features
- api: add new, expressive voices for Realtime and Audio in Chat Completions (7cf0a49)
Chores
v1.52.1
Full Changelog: v1.52.1...v1.52.2
Chores
v1.52.0
Full Changelog: v1.52.0...v1.52.1
Bug Fixes
Chores
- internal: bump ruff dependency (#1801) (859c672)
- internal: remove unused black config (#1807) (112dab0)
- internal: update spec version (#1810) (aa25b7b)
- internal: update test syntax (#1798) (d3098dd)
- tests: add more retry tests (#1806) (5525a1b)
v1.51.2
Full Changelog: v1.51.2...v1.52.0
Features
v1.51.1
Full Changelog: v1.51.1...v1.51.2
Chores
v1.51.0
Full Changelog: v1.51.0...v1.51.1
Bug Fixes
Chores
Documentation
- fix typo in fenced code block language (#1769) (57bbc15)
- improve and reference contributing documentation (#1767) (a985a8b)
v1.50.2
Full Changelog: v1.50.2...v1.51.0
Features
- api: support storing chat completions, enabling evals and model distillation in the dashboard (2840c6d)
Chores
Documentation
v1.50.1
Full Changelog: v1.50.1...v1.50.2
Bug Fixes
v1.50.0
Full Changelog: v1.50.0...v1.50.1
Documentation
v1.49.0
Full Changelog: v1.49.0...v1.50.0
Features
Chores
v1.48.0
Full Changelog: v1.48.0...v1.49.0
Features
Chores
v1.47.1
Full Changelog: v1.47.1...v1.48.0
Features
Bug Fixes
Chores
v1.47.0
Full Changelog: v1.47.0...v1.47.1
Bug Fixes
- pydantic v1: avoid warnings error (1e8e7d1)
v1.46.1
Full Changelog: v1.46.1...v1.47.0
Features
- client: send retry count header (21b0c00)
Chores
v1.46.0
Full Changelog: v1.46.0...v1.46.1
Bug Fixes
Chores
v1.45.1
Full Changelog: v1.45.1...v1.46.0
Features
Documentation
v1.45.0
Full Changelog: v1.45.0...v1.45.1
Chores
- internal: bump pyright / mypy version (#1717) (351af85)
- internal: bump ruff (#1714) (aceaf64)
- internal: update spec link (#1716) (ca58c7f)
Documentation
v1.44.1
Full Changelog: v1.44.1...v1.45.0
Features
- api: add o1 models (#1708) (06bd42e)
- errors: include completion in LengthFinishReasonError (#1701) (b0e3256)
Bug Fixes
v1.44.0
Full Changelog: v1.44.0...v1.44.1
Chores
Documentation
- readme: add section on determining installed version (#1697) (0255735)
-
readme: improve custom
base_urlexample (#1694) (05eec8a)
v1.43.1
Full Changelog: v1.43.1...v1.44.0
Features
v1.43.0
Full Changelog: v1.43.0...v1.43.1
Chores
v1.42.0
Full Changelog: v1.42.0...v1.43.0
Features
v1.41.1
Full Changelog: v1.41.1...v1.42.0
Features
Chores
v1.41.0
Full Changelog: v1.41.0...v1.41.1
Bug Fixes
Chores
v1.40.8
Full Changelog: v1.40.8...v1.41.0
Features
- client: add uploads.upload_file helper (aae079d)
v1.40.7
Full Changelog: v1.40.7...v1.40.8
Chores
v1.40.6
Full Changelog: v1.40.6...v1.40.7
Bug Fixes
Chores
- docs: fix typo in example snippet (4e83b57)
- internal: use different 32bit detection method (#1652) (5831af6)
v1.40.5
Full Changelog: v1.40.5...v1.40.6
Chores
- examples: minor formatting changes (#1644) (e08acf1)
- internal: update some imports (#1642) (fce1ea7)
- sync openapi url (#1646) (8ae3801)
- tests: fix pydantic v1 tests (2623630)
v1.40.4
Full Changelog: v1.40.4...v1.40.5
Documentation
v1.40.3
Full Changelog: v1.40.3...v1.40.4
Bug Fixes
-
json schema: unravel
$refs alongside additional keys (c7a3d29) -
json schema: unwrap
allOfs with one entry (53d964d)
v1.40.2
Full Changelog: v1.40.2...v1.40.3
Chores
- ci: bump prism mock server version (#1630) (214d8fd)
- ci: codeowners file (#1627) (c059a20)
- internal: ensure package is importable in lint cmd (#1631) (779e6d0)
v1.40.1
Full Changelog: v1.40.1...v1.40.2
Bug Fixes
- client: raise helpful error message for response_format misuse (18191da)
- json schema: support recursive BaseModels in Pydantic v1 (#1623) (43e10c0)
Chores
v1.40.0
Full Changelog: v1.40.0...v1.40.1
Chores
v1.39.0
Full Changelog: v1.39.0...v1.40.0
Features
- api: add structured outputs support (e8dba7d)
Chores
- internal: bump ruff version (#1604) (3e19a87)
- internal: update pydantic compat helper function (#1607) (973c18b)
v1.38.0
Full Changelog: v1.38.0...v1.39.0
Features
Bug Fixes
- assistants: add parallel_tool_calls param to runs.stream (113e82a)
Chores
- internal: bump pyright (#1599) (27f0f10)
- internal: test updates (#1602) (af22d80)
-
internal: use
TypeAliasmarker for type assignments (#1597) (5907ea0)
v1.37.2
Full Changelog: v1.37.2...v1.38.0
Features
- extract out
ImageModel,AudioModel,SpeechModel(#1586) (b800316) - make enums not nominal (#1588) (ab4519b)
v1.37.1
Full Changelog: v1.37.1...v1.37.2
Chores
- internal: add type construction helper (#1584) (cbb186a)
- runs/create_and_poll: add parallel_tool_calls request param (04b3e6c)
v1.37.0
Full Changelog: v1.37.0...v1.37.1
Chores
v1.36.1
Full Changelog: v1.36.1...v1.37.0
Features
Bug Fixes
Documentation
v1.36.0
Full Changelog: v1.36.0...v1.36.1
Bug Fixes
- types: add gpt-4o-mini to more assistants methods (39a8a37)
v1.35.15
Full Changelog: v1.35.15...v1.36.0
Features
v1.35.14
Full Changelog: v1.35.14...v1.35.15
Chores
- docs: document how to do per-request http client customization (#1560) (24c0768)
- internal: update formatting (#1553) (e1389bc)
v1.35.13
Full Changelog: v1.35.13...v1.35.14
Chores
- docs: minor update to formatting of API link in README (#1550) (a6e59c6)
- internal: minor formatting changes (ee1c62e)
- internal: minor options / compat functions updates (#1549) (a0701b5)
v1.35.12
Full Changelog: v1.35.12...v1.35.13
Bug Fixes
- threads/runs/create_and_run_stream: correct tool_resources param (8effd08)
Chores
v1.35.11
Full Changelog: v1.35.11...v1.35.12
Bug Fixes
- azure: refresh auth token during retries (#1533) (287926e)
- tests: fresh_env() now resets new environment values (64da888)
v1.35.10
Full Changelog: v1.35.10...v1.35.11
Chores
v1.35.9
Full Changelog: v1.35.9...v1.35.10
Chores
v1.35.8
Full Changelog: v1.35.8...v1.35.9
Bug Fixes
Chores
v1.35.7
Full Changelog: v1.35.7...v1.35.8
Chores
- gitignore test server logs (#1509) (936d840)
-
internal: add helper method for constructing
BaseModels (#1517) (e5ddbf5) - internal: add reflection helper function (#1508) (6044e1b)
- internal: add rich as a dev dependency (#1514) (8a2b4e4)
v1.35.6
Full Changelog: v1.35.6...v1.35.7
Bug Fixes
v1.35.5
Full Changelog: v1.35.5...v1.35.6
Documentation
v1.35.4
Full Changelog: v1.35.4...v1.35.5
Bug Fixes
- cli/migrate: avoid reliance on Python 3.12 argument (be7a06b)
v1.35.3
Full Changelog: v1.35.3...v1.35.4
Bug Fixes
- docs: fix link to advanced python httpx docs (#1499) (cf45cd5)
- temporarily patch upstream version to fix broken release flow (#1500) (4f10470)
Chores
v1.35.2
Full Changelog: v1.35.2...v1.35.3
Bug Fixes
- tests: add explicit type annotation (9345f10)
v1.35.1
Full Changelog: v1.35.15...v1.36.0
Features
v1.35.0
Full Changelog: v1.35.0...v1.35.1
Bug Fixes
v1.34.0
Full Changelog: v1.34.0...v1.35.0
Features
v1.33.0
Full Changelog: v1.33.0...v1.34.0
Features
v1.32.1
Full Changelog: v1.32.1...v1.33.0
Features
v1.32.0
Full Changelog: v1.32.0...v1.32.1
Bug Fixes
v1.31.2
Full Changelog: v1.31.2...v1.32.0
Features
v1.31.1
Full Changelog: v1.31.1...v1.31.2
Chores
v1.31.0
Full Changelog: v1.31.0...v1.31.1
Chores
v1.30.5
Full Changelog: v1.30.5...v1.31.0
Features
Chores
- fix lint (1886dd4)
v1.30.4
Full Changelog: v1.30.4...v1.30.5
Chores
- internal: fix lint issue (35a1e80)
v1.30.3
Full Changelog: v1.30.3...v1.30.4
Chores
v1.30.2
Full Changelog: v1.30.2...v1.30.3
Chores
- ci: update rye install location (#1440) (8a0e5bf)
- internal: bump pyright (#1442) (64a151e)
- internal: fix lint issue (#1444) (b0eb458)
Documentation
- contributing: update references to rye-up.com (dcc34a2)
v1.30.1
Full Changelog: v1.30.1...v1.30.2
Chores
v1.30.0
Full Changelog: v1.30.0...v1.30.1
Chores
v1.29.0
Full Changelog: v1.29.0...v1.30.0
Features
v1.28.2
Full Changelog: v1.28.2...v1.29.0
Features
v1.28.1
Full Changelog: v1.28.1...v1.28.2
Bug Fixes
Chores
v1.28.0
Full Changelog: v1.28.0...v1.28.1
Chores
v1.27.0
Full Changelog: v1.27.0...v1.28.0
Features
v1.26.0
Full Changelog: v1.26.0...v1.27.0
Features
v1.25.2
Full Changelog: v1.25.2...v1.26.0
Features
v1.25.1
Full Changelog: v1.25.1...v1.25.2
Documentation
v1.25.0
Full Changelog: v1.25.0...v1.25.1
Chores
v1.24.1
Full Changelog: v1.24.1...v1.25.0
Features
v1.24.0
Full Changelog: v1.24.0...v1.24.1
Chores
v1.23.6
Full Changelog: v1.23.6...v1.24.0
Features
Chores
- client: log response headers in debug mode (#1383) (f31a426)
- internal: minor reformatting (#1377) (7003dbb)
- internal: reformat imports (#1375) (2ad0c3b)
v1.23.5
Full Changelog: v1.23.5...v1.23.6
Chores
v1.23.4
Full Changelog: v1.23.4...v1.23.5
Chores
v1.23.3
Full Changelog: v1.23.3...v1.23.4
Bug Fixes
- api: change timestamps to unix integers (#1367) (fbc0e15)
- docs: doc improvements (#1364) (8c3a005)
Chores
v1.23.2
Full Changelog: v1.23.2...v1.23.3
Chores
v1.23.1
Full Changelog: v1.23.1...v1.23.2
Bug Fixes
v1.23.0
Full Changelog: v1.23.0...v1.23.1
Bug Fixes
v1.22.0
Full Changelog: v1.22.0...v1.23.0
Features
Documentation
v1.21.2
Full Changelog: v1.21.2...v1.22.0
Features
Chores
- internal: ban usage of lru_cache (#1331) (8f9223b)
- internal: bump pyright to 1.1.359 (#1337) (feec0dd)
v1.21.1
Full Changelog: v1.21.1...v1.21.2
Chores
v1.21.0
Full Changelog: v1.21.0...v1.21.1
Chores
v1.20.0
Full Changelog: v1.20.0...v1.21.0
Features
v1.19.0
Full Changelog: v1.19.0...v1.20.0
Features
- client: add header OpenAI-Project (#1320) (0c489f1)
- extract chat models to a named enum (#1322) (1ccd9b6)
v1.18.0
Full Changelog: v1.18.0...v1.19.0
Features
v1.17.1
Full Changelog: v1.17.1...v1.18.0
Features
v1.17.0
Full Changelog: v1.17.0...v1.17.1
Chores
v1.16.2
Full Changelog: v1.16.2...v1.17.0
Features
- api: add additional messages when creating thread run (#1298) (70eb081)
- client: add DefaultHttpxClient and DefaultAsyncHttpxClient (#1302) (69cdfc3)
- models: add to_dict & to_json helper methods (#1305) (40a881d)
v1.16.1
Full Changelog: v1.16.1...v1.16.2
Bug Fixes
v1.16.0
Full Changelog: v1.16.0...v1.16.1
Chores
v1.14.3
Full Changelog: v1.14.3...v1.15.0
Features
- api: adding temperature parameter (#1282) (0e68fd3)
- client: increase default HTTP max_connections to 1000 and max_keepalive_connections to 100 (#1281) (340d139)
- package: export default constants (#1275) (fdc126e)
Bug Fixes
Chores
Documentation
v1.14.2
Full Changelog: v1.14.2...v1.14.3
Bug Fixes
Chores
- internal: construct error properties instead of using the raw response (#1257) (11dce5c)
- internal: formatting change (#1258) (b907dd7)
- internal: loosen input type for util function (#1250) (fc8b4c3)
Documentation
- contributing: fix typo (#1264) (835cb9b)
- readme: consistent use of sentence case in headings (#1255) (519f371)
- readme: document how to make undocumented requests (#1256) (5887858)
v1.14.1
Full Changelog: v1.14.1...v1.14.2
Performance Improvements
Chores
Documentation
v1.14.0
Full Changelog: v1.14.0...v1.14.1
Documentation
v1.13.4
Full Changelog: v1.13.4...v1.14.0
Features
v1.13.3
Full Changelog: v1.13.3...v1.13.4
Bug Fixes
Chores
- api: update docs (#1212) (71236e0)
- client: improve error message for invalid http_client argument (#1216) (d0c928a)
- docs: mention install from git repo (#1203) (3ab6f44)
- export NOT_GIVEN sentinel value (#1223) (8a4f76f)
- internal: add core support for deserializing into number response (#1219) (004bc92)
- internal: bump pyright (#1221) (3c2e815)
- internal: improve deserialisation of discriminated unions (#1227) (4767259)
- internal: minor core client restructuring (#1199) (4314cdc)
- internal: split up transforms into sync / async (#1210) (7853a83)
- internal: support more input types (#1211) (d0e4baa)
- internal: support parsing Annotated types (#1222) (8598f81)
- types: include discriminators in unions (#1228) (3ba0dcc)
Documentation
v1.12.0
Full Changelog: v1.12.0...v1.13.0
Features
Bug Fixes
Chores
- ci: move github release logic to github app (#1155) (67cfac2)
- client: use correct accept headers for binary data (#1161) (e536437)
- internal: refactor release environment script (#1158) (7fe8ec3)
v1.11.1
Full Changelog: v1.11.1...v1.12.0
Features
-
api: add
timestamp_granularities, addgpt-3.5-turbo-0125model (#1125) (1ecf8f6) -
cli/images: add support for
--modelarg (#1132) (0d53866)
Bug Fixes
- remove double brackets from timestamp_granularities param (#1140) (3db0222)
- types: loosen most List params types to Iterable (#1129) (bdb31a3)
Chores
- internal: add lint command (#1128) (4c021c0)
- internal: support serialising iterable types (#1127) (98d4e59)
Documentation
v1.11.0
Full Changelog: v1.11.0...v1.11.1
Bug Fixes
v1.10.0
Full Changelog: v1.10.0...v1.11.0
Features
Chores
- interal: make link to api.md relative (#1117) (4a10879)
- internal: cast type in mocked test (#1112) (99b21e1)
- internal: enable ruff type checking misuse lint rule (#1106) (fa63e60)
- internal: support multipart data with overlapping keys (#1104) (455bc9f)
- internal: support pre-release versioning (#1113) (dea5b08)
v1.9.0
Full Changelog: v1.9.0...v1.10.0
Features
- api: add text embeddings dimensions param (#1103) (94abfa0)
- azure: proactively add audio/speech to deployment endpoints (#1099) (fdf8742)
- client: enable follow redirects by default (#1100) (d325b7c)
Chores
Refactors
v1.8.0
Full Changelog: v1.8.0...v1.9.0
Features
Chores
- internal: fix typing util function (#1083) (3e60db6)
- internal: remove redundant client test (#1085) (947974f)
- internal: share client instances between all tests (#1088) (05cd753)
- internal: speculative retry-after-ms support (#1086) (36a7576)
- lazy load raw resource class properties (#1087) (d307127)
v1.7.2
Full Changelog: v1.7.2...v1.8.0
Features
Bug Fixes
- client: ensure path params are non-empty (#1075) (9a25149)
- proxy: prevent recursion errors when debugging pycharm (#1076) (3d78798)
Chores
v1.7.1
Full Changelog: v1.7.1...v1.7.2
Documentation
Refactors
v1.7.0
Full Changelog: v1.7.0...v1.7.1
Chores
v1.6.1
Full Changelog: v1.6.1...v1.7.0
Features
Bug Fixes
Chores
- add .keep files for examples and custom code directories (#1057) (7524097)
- internal: bump license (#1037) (d828527)
- internal: loosen type var restrictions (#1049) (e00876b)
- internal: replace isort with ruff (#1042) (f1fbc9c)
- internal: update formatting (#1041) (2e9ecee)
- src: fix typos (#988) (6a8b806)
- use property declarations for resource members (#1047) (131f6bc)
Documentation
- fix docstring typos (#1022) (ad3fd2c)
- improve audio example to show how to stream to a file (#1017) (d45ed7f)
v1.6.0
Full Changelog: v1.6.0...v1.6.1
Chores
- internal: add bin script (#1001) (99ffbda)
- internal: use ruff instead of black for formatting (#1008) (ceaf9a0)
v1.5.0
Full Changelog: v1.5.0...v1.6.0
Features
Chores
- cli: fix typo in completions (#985) (d1e9e8f)
- cli: fix typo in completions (#986) (626bc34)
- internal: fix binary response tests (#983) (cfb7e30)
- internal: fix typos (#993) (3b338a4)
- internal: minor utils restructuring (#992) (5ba576a)
- package: bump minimum typing-extensions to 4.7 (#994) (0c2da84)
- streaming: update constructor to use direct client names (#991) (6c3427d)
Documentation
v1.4.0
Full Changelog: v1.4.0...v1.5.0
Features
Chores
v1.3.9
Full Changelog: v1.3.9...v1.4.0
Features
v1.3.8
Full Changelog: v1.3.8...v1.3.9
Documentation
- improve README timeout comment (#964) (3c3ed5e)
- small Improvement in the async chat response code (#959) (fb9d0a3)
- small streaming readme improvements (#962) (f3be2e5)
Refactors
v1.3.7
Full Changelog: v1.3.7...v1.3.8
Bug Fixes
- avoid leaking memory when Client.with_options is used (#956) (e37ecca)
- errors: properly assign APIError.body (#949) (c70e194)
- pagination: use correct type hint for .object (#943) (23fe7ee)
Chores
- internal: enable more lint rules (#945) (2c8add6)
- internal: reformat imports (#939) (ec65124)
- internal: reformat imports (#944) (5290639)
- internal: update formatting (#941) (8e5a156)
- package: lift anyio v4 restriction (#927) (be0438a)
Documentation
v1.3.6
Full Changelog: v1.3.6...v1.3.7
Bug Fixes
- client: correct base_url setter implementation (#919) (135d9cf)
- client: don't cause crashes when inspecting the module (#897) (db029a5)
- client: ensure retried requests are closed (#902) (e025e6b)
Chores
- internal: add tests for proxy change (#899) (71a13d0)
- internal: remove unused type var (#915) (4233bcd)
- internal: replace string concatenation with f-strings (#908) (663a8f6)
- internal: replace string concatenation with f-strings (#909) (caab767)
Documentation
pytest-dev/pytest (pytest)
v9.0.3
pytest 9.0.3 (2026-04-07)
Bug fixes
-
#12444: Fixed
pytest.approxwhich now correctly takes into account~collections.abc.Mappingkeys order to compare them. -
#13634: Blocking a
conftest.pyfile using the-p no:option is now explicitly disallowed.Previously this resulted in an internal assertion failure during plugin loading.
Pytest now raises a clear
UsageErrorexplaining that conftest files are not plugins and cannot be disabled via-p. -
#13734: Fixed crash when a test raises an exceptiongroup with
__tracebackhide__ = True. -
#14195: Fixed an issue where non-string messages passed to unittest.TestCase.subTest() were not printed.
-
#14343: Fixed use of insecure temporary directory (CVE-2025-71176).
Improved documentation
-
#13388: Clarified documentation for
-pvsPYTEST_PLUGINSplugin loading and fixed an incorrect-pexample. -
#13731: Clarified that capture fixtures (e.g.
capsysandcapfd) take precedence over the-s/--capture=nocommand-line options inAccessing captured output from a test function <accessing-captured-output>. -
#14088: Clarified that the default
pytest_collectionhook setssession.itemsbefore it callspytest_collection_finish, not after. - #14255: TOML integer log levels must be quoted: Updating reference documentation.
Contributor-facing changes
-
#12689: The test reports are now published to Codecov from GitHub Actions. The test statistics is visible on the web interface.
-- by
aleguy02
v9.0.2
pytest 9.0.2 (2025-12-06)
Bug fixes
-
#13896: The terminal progress feature added in pytest 9.0.0 has been disabled by default, except on Windows, due to compatibility issues with some terminal emulators.
You may enable it again by passing
-p terminalprogress. We may enable it by default again once compatibility improves in the future.Additionally, when the environment variable
TERMisdumb, the escape codes are no longer emitted, even if the plugin is enabled. -
#13904: Fixed the TOML type of the
tmp_path_retention_countsettings in the API reference from number to string. -
#13946: The private
config.inicfgattribute was changed in a breaking manner in pytest 9.0.0. Due to its usage in the ecosystem, it is now restored to working order using a compatibility shim. It will be deprecated in pytest 9.1 and removed in pytest 10. -
#13965: Fixed quadratic-time behavior when handling
unittestsubtests in Python 3.10.
Improved documentation
-
#4492: The API Reference now contains cross-reference-able documentation of
pytest's command-line flags <command-line-flags>.
v9.0.1
pytest 9.0.1 (2025-11-12)
Bug fixes
-
#13895: Restore support for skipping tests via
raise unittest.SkipTest. - #13896: The terminal progress plugin added in pytest 9.0 is now automatically disabled when iTerm2 is detected, it generated desktop notifications instead of the desired functionality.
- #13904: Fixed the TOML type of the verbosity settings in the API reference from number to string.
- #13910: Fixed UserWarning: Do not expect file_or_dir on some earlier Python 3.12 and 3.13 point versions.
Packaging updates and notes for downstreams
-
#13933: The tox configuration has been adjusted to make sure the desired
version string can be passed into its
package_envthrough theSETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTESTenvironment variable as a part of the release process -- bywebknjaz.
Contributor-facing changes
-
#13891, #13942: The CI/CD part of the release automation is now capable of
creating GitHub Releases without having a Git checkout on
disk -- by
bluetechandwebknjaz. -
#13933: The tox configuration has been adjusted to make sure the desired
version string can be passed into its
package_envthrough theSETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTESTenvironment variable as a part of the release process -- bywebknjaz.
v9.0.0
pytest 9.0.0 (2025-11-05)
New features
-
#1367: Support for subtests has been added.
subtests <subtests>are an alternative to parametrization, useful in situations where the parametrization values are not all known at collection time.Example:
def contains_docstring(p: Path) -> bool: """Return True if the given Python file contains a top-level docstring.""" ... def test_py_files_contain_docstring(subtests: pytest.Subtests) -> None: for path in Path.cwd().glob("*.py"): with subtests.test(path=str(path)): assert contains_docstring(path)Each assert failure or error is caught by the context manager and reported individually, giving a clear picture of all files that are missing a docstring.
In addition,
unittest.TestCase.subTestis now also supported.This feature was originally implemented as a separate plugin in pytest-subtests, but since then has been merged into the core.
[!NOTE] This feature is experimental and will likely evolve in future releases. By that we mean that we might change how subtests are reported on failure, but the functionality and how to use it are stable.
-
#13743: Added support for native TOML configuration files.
While pytest, since version 6, supports configuration in
pyproject.tomlfiles under[tool.pytest.ini_options], it does so in an "INI compatibility mode", where all configuration values are treated as strings or list of strings. Now, pytest supports the native TOML data model.In
pyproject.toml, the native TOML configuration is under the[tool.pytest]table.# pyproject.toml [tool.pytest] minversion = "9.0" addopts = ["-ra", "-q"] testpaths = [ "tests", "integration", ]The
[tool.pytest.ini_options]table remains supported, but both tables cannot be used at the same time.If you prefer to use a separate configuration file, or don't use
pyproject.toml, you can usepytest.tomlor.pytest.toml:# pytest.toml or .pytest.toml [pytest] minversion = "9.0" addopts = ["-ra", "-q"] testpaths = [ "tests", "integration", ]The documentation now (sometimes) shows configuration snippets in both TOML and INI formats, in a tabbed interface.
See
config file formatsfor full details. -
#13823: Added a "strict mode" enabled by the
strictconfiguration option.When set to
true, thestrictoption currently enablesstrict_configstrict_markersstrict_parametrization_idsstrict_xfail
The individual strictness options can be explicitly set to override the global
strictsetting.The previously-deprecated
--strictcommand-line flag now enables strict mode.If pytest adds new strictness options in the future, they will also be enabled in strict mode. Therefore, you should only enable strict mode if you use a pinned/locked version of pytest, or if you want to proactively adopt new strictness options as they are added.
See
strict modefor more details. -
#13737: Added the
strict_parametrization_idsconfiguration option.When set, pytest emits an error if it detects non-unique parameter set IDs, rather than automatically making the IDs unique by adding 0, 1, ... to them. This can be particularly useful for catching unintended duplicates.
-
#13072: Added support for displaying test session progress in the terminal tab using the OSC 9;4; ANSI sequence. When pytest runs in a supported terminal emulator like ConEmu, Gnome Terminal, Ptyxis, Windows Terminal, Kitty or Ghostty, you'll see the progress in the terminal tab or window, allowing you to monitor pytest's progress at a glance.
This feature is automatically enabled when running in a TTY. It is implemented as an internal plugin. If needed, it can be disabled as follows:
- On a user level, using
-p no:terminalprogresson the command line or via an environment variablePYTEST_ADDOPTS='-p no:terminalprogress'. - On a project configuration level, using
addopts = "-p no:terminalprogress".
- On a user level, using
-
#478: Support PEP420 (implicit namespace packages) as --pyargs target when
consider_namespace_packagesis true in the config.Previously, this option only impacted package imports, now it also impacts tests discovery.
-
#13678: Added a new
faulthandler_exit_on_timeoutconfiguration option set to "false" by default to let faulthandler interrupt the pytest process after a timeout in case of deadlock.Previously, a faulthandler timeout would only dump the traceback of all threads to stderr, but would not interrupt the pytest process.
-- by
ogrisel. -
#13829: Added support for configuration option aliases via the
aliasesparameter inParser.addini() <pytest.Parser.addini>.Plugins can now register alternative names for configuration options, allowing for more flexibility in configuration naming and supporting backward compatibility when renaming options. The canonical name always takes precedence if both the canonical name and an alias are specified in the configuration file.
Improvements in existing functionality
-
#13330: Having pytest configuration spread over more than one file (for example having both a
pytest.inifile andpyproject.tomlwith a[tool.pytest.ini_options]table) will now print a warning to make it clearer to the user that only one of them is actually used.-- by
sgaist -
#13574: The single argument
--versionno longer loads the entire plugin infrastructure, making it faster and more reliable when displaying only the pytest version.Passing
--versiontwice (e.g.,pytest --version --version) retains the original behavior, showing both the pytest version and plugin information.[!NOTE] Since
--versionis now processed early, it only takes effect when passed directly via the command line. It will not work if set through other mechanisms, such asPYTEST_ADDOPTSoraddopts. -
#13823: Added
strict_xfailas an alias to thexfail_strictoption,strict_configas an alias to the--strict-configflag, andstrict_markersas an alias to the--strict-markersflag. This makes all strictness options consistently have configuration options with the prefixstrict_. -
#13700: --junitxml no longer prints the generated xml file summary at the end of the pytest session when --quiet is given.
-
#13732: Previously, when filtering warnings, pytest would fail if the filter referenced a class that could not be imported. Now, this only outputs a message indicating the problem.
-
#13859: Clarify the error message for pytest.raises() when a regex match fails.
-
#13861: Better sentence structure in a test's expected error message. Previously, the error message would be "expected exception must be <expected>, but got <actual>". Now, it is "Expected <expected>, but got <actual>".
Removals and backward incompatible breaking changes
-
#12083: Fixed a bug where an invocation such as pytest a/ a/b would cause only tests from a/b to run, and not other tests under a/.
The fix entails a few breaking changes to how such overlapping arguments and duplicates are handled:
- pytest a/b a/ or pytest a/ a/b are equivalent to pytest a; if an argument overlaps another arguments, only the prefix remains.
- pytest x.py x.py is equivalent to pytest x.py; previously such an invocation was taken as an explicit request to run the tests from the file twice.
If you rely on these behaviors, consider using
--keep-duplicates <duplicate-paths>, which retains its existing behavior (including the bug). -
#13719: Support for Python 3.9 is dropped following its end of life.
-
#13766: Previously, pytest would assume it was running in a CI/CD environment if either of the environment variables CI</span> or <span class="title-ref">BUILD_NUMBER was defined; now, CI mode is only activated if at least one of those variables is defined and set to a non-empty value.
-
#13779: PytestRemovedIn9Warning deprecation warnings are now errors by default.
Following our plan to remove deprecated features with as little disruption as possible, all warnings of type
PytestRemovedIn9Warningnow generate errors instead of warning messages by default.The affected features will be effectively removed in pytest 9.1, so please consult the
deprecationssection in the docs for directions on how to update existing code.In the pytest
9.0.Xseries, it is possible to change the errors back into warnings as a stopgap measure by adding this to yourpytest.inifile:[pytest] filterwarnings = ignore::pytest.PytestRemovedIn9WarningBut this will stop working when pytest
9.1is released.If you have concerns about the removal of a specific feature, please add a comment to
13779.
Deprecations (removal in next major release)
-
#13807:
monkeypatch.syspath_prepend() <pytest.MonkeyPatch.syspath_prepend>now issues a deprecation warning when the prepended path contains legacy namespace packages (those usingpkg_resources.declare_namespace()). Users should migrate to native namespace packages (420). Seemonkeypatch-fixup-namespace-packagesfor details.
Bug fixes
-
#13445: Made the type annotations of
pytest.skipand friends more spec-complaint to have them work across more type checkers. -
#13537: Fixed a bug in which
ExceptionGroupwith onlySkippedexceptions in teardown was not handled correctly and showed as error. -
#13598: Fixed possible collection confusion on Windows when short paths and symlinks are involved.
-
#13716: Fixed a bug where a nonsensical invocation like
pytest x.py[a](a file cannot be parametrized) was silently treated aspytest x.py. This is now a usage error. -
#13722: Fixed a misleading assertion failure message when using
pytest.approxon mappings with differing lengths. -
#13773: Fixed the static fixture closure calculation to properly consider transitive dependencies requested by overridden fixtures.
-
#13816: Fixed
pytest.approxwhich now returns a clearer error message when comparing mappings with different keys. -
#13849: Hidden
.pytest.inifiles are now picked up as the config file even if empty. This was an inconsistency with non-hiddenpytest.ini. -
#13865: Fixed --show-capture with --tb=line.
-
#13522: Fixed
pytesterin subprocess mode ignored all :attr`pytester.plugins <pytest.Pytester.plugins>` except the first.Fixed
pytesterin subprocess mode silently ignored non-strpytester.plugins <pytest.Pytester.plugins>. Now it errors instead. If you are affected by this, specify the plugin by name, or switch the affected tests to usepytester.runpytest_inprocess <pytest.Pytester.runpytest_inprocess>explicitly instead.
Packaging updates and notes for downstreams
-
#13791: Minimum requirements on
iniconfigandpackagingwere bumped to1.0.1and22.0.0, respectively.
Contributor-facing changes
- #12244: Fixed self-test failures when TERM=dumb.
- #12474: Added scheduled GitHub Action Workflow to run Sphinx linkchecks in repo documentation.
-
#13621: pytest's own testsuite now handles the
lsofcommand hanging (e.g. due to unreachable network filesystems), with the affected selftests being skipped after 10 seconds. -
#13638: Fixed deprecated
gh pr newcommand inscripts/prepare-release-pr.py. The script now usesgh pr createwhich is compatible with GitHub CLI v2.0+. -
#13695: Flush stdout and stderr in Pytester.run to avoid truncated outputs in test_faulthandler.py::test_timeout on CI -- by
ogrisel. - #13771: Skip test_do_not_collect_symlink_siblings on Windows environments without symlink support to avoid false negatives.
-
#13841:
tox>=4is now required when contributing to pytest. -
#13625: Added missing docstrings to
pytest_addoption(),pytest_configure(), andcacheshow()functions incacheprovider.py.
Miscellaneous internal changes
-
#13830: Configuration overrides (
-o/--override-ini) are now processed during startup rather than duringconfig.getini() <pytest.Config.getini>.
v8.4.2
pytest 8.4.2 (2025-09-03)
Bug fixes
-
#13478: Fixed a crash when using
console_output_style{.interpreted-text role="confval"} withtimesand a module is skipped. -
#13530: Fixed a crash when using
pytest.approx{.interpreted-text role="func"} anddecimal.Decimal{.interpreted-text role="class"} instances with thedecimal.FloatOperation{.interpreted-text role="class"} trap set. -
#13549: No longer evaluate type annotations in Python
3.14when inspecting function signatures.This prevents crashes during module collection when modules do not explicitly use
from __future__ import annotationsand import types for annotations within aif TYPE_CHECKING:block. -
#13559: Added missing [int]{.title-ref} and [float]{.title-ref} variants to the [Literal]{.title-ref} type annotation of the [type]{.title-ref} parameter in
pytest.Parser.addini{.interpreted-text role="meth"}. -
#13563:
pytest.approx{.interpreted-text role="func"} now only importsnumpyif NumPy is already insys.modules. This fixes unconditional import behavior introduced in [8.4.0]{.title-ref}.
Improved documentation
-
#13577: Clarify that
pytest_generate_testsis discovered in test modules/classes; other hooks must be inconftest.pyor plugins.
Contributor-facing changes
-
#13480: Self-testing: fixed a few test failures when run with
-Wdefaultor a similar override. -
#13547: Self-testing: corrected expected message for
test_doctest_unexpected_exceptionin Python3.14. -
#13684: Make pytest's own testsuite insensitive to the presence of the
CIenvironment variable -- byogrisel{.interpreted-text role="user"}.
v8.4.1
pytest 8.4.1 (2025-06-17)
Bug fixes
-
#13461: Corrected
_pytest.terminal.TerminalReporter.isattyto support being called as a method. Before it was just a boolean which could break correct code when using-o log_cli=true). -
#13477: Reintroduced
pytest.PytestReturnNotNoneWarning{.interpreted-text role="class"} which was removed by accident in pytest [8.4]{.title-ref}.This warning is raised when a test functions returns a value other than
None, which is often a mistake made by beginners.See
return-not-none{.interpreted-text role="ref"} for more information. -
#13497: Fixed compatibility with
Twisted 25+.
Improved documentation
-
#13492: Fixed outdated warning about
faulthandlernot working on Windows.
v8.4.0
pytest 8.4.0 (2025-06-02)
Removals and backward incompatible breaking changes
-
#11372: Async tests will now fail, instead of warning+skipping, if you don't have any suitable plugin installed.
-
#12346: Tests will now fail, instead of raising a warning, if they return any value other than None.
-
#12874: We dropped support for Python 3.8 following its end of life (2024-10-07).
-
#12960: Test functions containing a yield now cause an explicit error. They have not been run since pytest 4.0, and were previously marked as an expected failure and deprecation warning.
See
the docs <yield tests deprecated>{.interpreted-text role="ref"} for more information.
Deprecations (removal in next major release)
-
#10839: Requesting an asynchronous fixture without a [pytest_fixture_setup]{.title-ref} hook that resolves it will now give a DeprecationWarning. This most commonly happens if a sync test requests an async fixture. This should have no effect on a majority of users with async tests or fixtures using async pytest plugins, but may affect non-standard hook setups or
autouse=True. For guidance on how to work around this warning seesync-test-async-fixture{.interpreted-text role="ref"}.
New features
-
#11538: Added
pytest.RaisesGroup{.interpreted-text role="class"} as an equivalent topytest.raises{.interpreted-text role="func"} for expectingExceptionGroup{.interpreted-text role="exc"}. Also addspytest.RaisesExc{.interpreted-text role="class"} which is now the logic behindpytest.raises{.interpreted-text role="func"} and used as parameter topytest.RaisesGroup{.interpreted-text role="class"}.RaisesGroupincludes the ability to specify multiple different expected exceptions, the structure of nested exception groups, and flags for emulatingexcept* <except_star>{.interpreted-text role="ref"}. Seeassert-matching-exception-groups{.interpreted-text role="ref"} and docstrings for more information. -
#12081: Added
capteesys{.interpreted-text role="fixture"} to capture AND pass output to next handler set by--capture=. -
#12504:
pytest.mark.xfail{.interpreted-text role="func"} now acceptspytest.RaisesGroup{.interpreted-text role="class"} for theraisesparameter when you expect an exception group. You can also pass apytest.RaisesExc{.interpreted-text role="class"} if you e.g. want to make use of thecheckparameter. -
#12713: New [--force-short-summary]{.title-ref} option to force condensed summary output regardless of verbosity level.
This lets users still see condensed summary output of failures for quick reference in log files from job outputs, being especially useful if non-condensed output is very verbose.
-
#12749: pytest traditionally collects classes/functions in the test module namespace even if they are imported from another file.
For example:
# contents of src/domain.py class Testament: ... # contents of tests/test_testament.py from domain import Testament def test_testament(): ...In this scenario with the default options, pytest will collect the class [Testament]{.title-ref} from [tests/test_testament.py]{.title-ref} because it starts with [Test]{.title-ref}, even though in this case it is a production class being imported in the test module namespace.
This behavior can now be prevented by setting the new
collect_imported_tests{.interpreted-text role="confval"} configuration option tofalse, which will make pytest collect classes/functions from test files only if they are defined in that file.-- by
FreerGit{.interpreted-text role="user"} -
#12765: Thresholds to trigger snippet truncation can now be set with
truncation_limit_lines{.interpreted-text role="confval"} andtruncation_limit_chars{.interpreted-text role="confval"}.See
truncation-params{.interpreted-text role="ref"} for more information. -
#13125:
console_output_style{.interpreted-text role="confval"} now supportstimesto show execution time of each test. -
#13192:
pytest.raises{.interpreted-text role="func"} will now raise a warning when passing an empty string tomatch, as this will match against any value. Usematch="^$"if you want to check that an exception has no message. -
#13192:
pytest.raises{.interpreted-text role="func"} will now print a helpful string diff if matching fails and the match parameter has^and$and is otherwise escaped. -
#13192: You can now pass
with pytest.raises(check=fn): <pytest.raises>{.interpreted-text role="func"}, wherefnis a function which takes a raised exception and returns a boolean. Theraisesfails if no exception was raised (as usual), passes if an exception is raised andfnreturnsTrue(as well asmatchand the type matching, if specified, which are checked before), and propagates the exception iffnreturnsFalse(which likely also fails the test). -
#13228:
hidden-param{.interpreted-text role="ref"} can now be used inidofpytest.param{.interpreted-text role="func"} or inidsofMetafunc.parametrize <pytest.Metafunc.parametrize>{.interpreted-text role="py:func"}. It hides the parameter set from the test name. -
#13253: New flag:
--disable-plugin-autoload <disable_plugin_autoload>{.interpreted-text role="ref"} which works as an alternative toPYTEST_DISABLE_PLUGIN_AUTOLOAD{.interpreted-text role="envvar"} when setting environment variables is inconvenient; and allows setting it in config files withaddopts{.interpreted-text role="confval"}.
Improvements in existing functionality
-
#10224: pytest's
shortandlongtraceback styles (how-to-modifying-python-tb-printing{.interpreted-text role="ref"}) now have partial657{.interpreted-text role="pep"} support and will show specific code segments in the traceback.================================= FAILURES ================================= _______________________ test_gets_correct_tracebacks _______________________ test_tracebacks.py:12: in test_gets_correct_tracebacks assert manhattan_distance(p1, p2) == 1 ^^^^^^^^^^^^^^^^^^^^^^^^^^ test_tracebacks.py:6: in manhattan_distance return abs(point_1.x - point_2.x) + abs(point_1.y - point_2.y) ^^^^^^^^^ E AttributeError: 'NoneType' object has no attribute 'x'-- by
ammaraskar{.interpreted-text role="user"} -
#11118: Now
pythonpath{.interpreted-text role="confval"} configures [$PYTHONPATH]{.title-ref} earlier than before during the initialization process, which now also affects plugins loaded via the [-p]{.title-ref} command-line option.-- by
millerdev{.interpreted-text role="user"} -
#11381: The
typeparameter of theparser.addinimethod now accepts ["int"]{.title-ref} and"float"parameters, facilitating the parsing of configuration values in the configuration file.Example:
def pytest_addoption(parser): parser.addini("int_value", type="int", default=2, help="my int value") parser.addini("float_value", type="float", default=4.2, help="my float value")The [pytest.ini]{.title-ref} file:
[pytest] int_value = 3 float_value = 5.4 -
#11525: Fixtures are now clearly represented in the output as a "fixture object", not as a normal function as before, making it easy for beginners to catch mistakes such as referencing a fixture declared in the same module but not requested in the test function.
-- by
the-compiler{.interpreted-text role="user"} andglyphack{.interpreted-text role="user"} -
#12426: A warning is now issued when
pytest.mark.usefixtures ref{.interpreted-text role="ref"} is used without specifying any fixtures. Previously, empty usefixtures markers were silently ignored. -
#12707: Exception chains can be navigated when dropped into Pdb in Python 3.13+.
-
#12736: Added a new attribute [name]{.title-ref} with the fixed value ["pytest tests"]{.title-ref} to the root tag [testsuites]{.title-ref} of the junit-xml generated by pytest.
This attribute is part of many junit-xml specifications and is even part of the [junit-10.xsd]{.title-ref} specification that pytest's implementation is based on.
-
#12943: If a test fails with an exceptiongroup with a single exception, the contained exception will now be displayed in the short test summary info.
-
#12958: A number of
unraisable <unraisable>{.interpreted-text role="ref"} enhancements:- Set the unraisable hook as early as possible and unset it as late as possible, to collect the most possible number of unraisable exceptions.
- Call the garbage collector just before unsetting the unraisable hook, to collect any straggling exceptions.
- Collect multiple unraisable exceptions per test phase.
- Report the
tracemalloc{.interpreted-text role="mod"} allocation traceback (if available). - Avoid using a generator based hook to allow handling
StopIteration{.interpreted-text role="class"} in test failures. - Report the unraisable exception as the cause of the
pytest.PytestUnraisableExceptionWarning{.interpreted-text role="class"} exception if raised. - Compute the
reprof the unraisable object in the unraisable hook so you get the latest information if available, and should help with resurrection of the object.
-
#13010:
pytest.approx{.interpreted-text role="func"} now can compare collections that contain numbers and non-numbers mixed. -
#13016: A number of
threadexception <unraisable>{.interpreted-text role="ref"} enhancements:- Set the excepthook as early as possible and unset it as late as possible, to collect the most possible number of unhandled exceptions from threads.
- Collect multiple thread exceptions per test phase.
- Report the
tracemalloc{.interpreted-text role="mod"} allocation traceback (if available). - Avoid using a generator based hook to allow handling
StopIteration{.interpreted-text role="class"} in test failures. - Report the thread exception as the cause of the
pytest.PytestUnhandledThreadExceptionWarning{.interpreted-text role="class"} exception if raised. - Extract the
nameof the thread object in the excepthook which should help with resurrection of the thread.
-
#13031: An empty parameter set as in
pytest.mark.parametrize([], ids=idfunc)will no longer trigger a call toidfuncwith internal objects. -
#13115: Allows supplying
ExceptionGroup[Exception]andBaseExceptionGroup[BaseException]topytest.raisesto keep full typing onExceptionInfo <pytest.ExceptionInfo>{.interpreted-text role="class"}:with pytest.raises(ExceptionGroup[Exception]) as exc_info: some_function()Parametrizing with other exception types remains an error - we do not check the types of child exceptions and thus do not permit code that might look like we do.
-
#13122: The
--stepwisemode received a number of improvements:-
It no longer forgets the last failed test in case pytest is executed later without the flag.
This enables the following workflow:
- Execute pytest with
--stepwise, pytest then stops at the first failing test; - Iteratively update the code and run the test in isolation, without the
--stepwiseflag (for example in an IDE), until it is fixed. - Execute pytest with
--stepwiseagain and pytest will continue from the previously failed test, and if it passes, continue on to the next tests.
Previously, at step 3, pytest would start from the beginning, forgetting the previously failed test.
This change however might cause issues if the
--stepwisemode is used far apart in time, as the state might get stale, so the internal state will be reset automatically in case the test suite changes (for now only the number of tests are considered for this, we might change/improve this on the future). - Execute pytest with
-
New
--stepwise-reset/--sw-resetflag, allowing the user to explicitly reset the stepwise state and restart the workflow from the beginning.
-
-
#13308: Added official support for Python 3.14.
-
#13380: Fix
ExceptionGroup{.interpreted-text role="class"} traceback filtering to exclude pytest internals. -
#13415: The author metadata of the BibTex example is now correctly formatted with last names following first names. An example of BibLaTex has been added. BibTex and BibLaTex examples now clearly indicate that what is cited is software.
-- by
willynilly{.interpreted-text role="user"} -
#13420: Improved test collection performance by optimizing path resolution used in
FSCollector. -
#13457: The error message about duplicate parametrization no longer displays an internal stack trace.
-
#4112: Using
pytest.mark.usefixtures <pytest.mark.usefixtures ref>{.interpreted-text role="ref"} onpytest.param{.interpreted-text role="func"} now produces an error instead of silently doing nothing. -
#5473: Replace [:]{.title-ref} with [;]{.title-ref} in the assertion rewrite warning message so it can be filtered using standard Python warning filters before calling
pytest.main{.interpreted-text role="func"}.
[#​6985](https://github.com/pytest-dev/pytest/issues/6985): Improved `pytest.approx`{.interpreted-text role="func"} to enhance the readability of value ranges and tolerances between 0.001 and 1000.
: - The [repr]{.title-ref} method now provides clearer output for values within those ranges, making it easier to interpret the results.
- Previously, the output for those ranges of values and tolerances was displayed in scientific notation (e.g., [42 ± 1.0e+00]{.title-ref}). The updated method now presents the tolerance as a decimal for better readability (e.g., [42 ± 1]{.title-ref}).
Example:
**Previous Output:**
``` console
>>> pytest.approx(42, abs=1)
42 ± 1.0e+00
```
**Current Output:**
``` console
>>> pytest.approx(42, abs=1)
42 ± 1
```
\-- by `fazeelghafoor`{.interpreted-text role="user"}
-
#7683: The formerly optional
pygmentsdependency is now required, causing output always to be source-highlighted (unless disabled via the--code-highlight=noCLI option).
Bug fixes
-
#10404: Apply filterwarnings from config/cli as soon as possible, and revert them as late as possible so that warnings as errors are collected throughout the pytest run and before the unraisable and threadexcept hooks are removed.
This allows very late warnings and unraisable/threadexcept exceptions to fail the test suite.
This also changes the warning that the lsof plugin issues from PytestWarning to the new warning PytestFDWarning so it can be more easily filtered.
-
#11067: The test report is now consistent regardless if the test xfailed via
pytest.mark.xfail <pytest.mark.xfail ref>{.interpreted-text role="ref"} orpytest.fail{.interpreted-text role="func"}.Previously, xfailed tests via the marker would have the string
"reason: "prefixed to the message, while those xfailed via the function did not. The prefix has been removed. -
#12008: In
11220{.interpreted-text role="pr"}, an unintended change in reordering was introduced by changing the way indices were assigned to direct params. More specifically, before that change, the indices of direct params to metafunc's callspecs were assigned after all parametrizations took place. Now, that change is reverted. -
#12863: Fix applying markers, including
pytest.mark.parametrize <pytest.mark.parametrize ref>{.interpreted-text role="ref"} when placed above [@staticmethod]{.title-ref} or [@classmethod]{.title-ref}. -
#12929: Handle StopIteration from test cases, setup and teardown correctly.
-
#12938: Fixed
--durations-minargument not respected if-vvis used. -
#12946: Fixed missing help for
pdb{.interpreted-text role="mod"} commands wrapped by pytest -- byadamchainz{.interpreted-text role="user"}. -
#12981: Prevent exceptions in
pytest.Config.add_cleanup{.interpreted-text role="func"} callbacks preventing further cleanups. -
#13047: Restore
pytest.approx{.interpreted-text role="func"} handling of equality checks between [bool]{.title-ref} and [numpy.bool_]{.title-ref} types.Comparing [bool]{.title-ref} and [numpy.bool_]{.title-ref} using
pytest.approx{.interpreted-text role="func"} accidentally changed in version [8.3.4]{.title-ref} and [8.3.5]{.title-ref} to no longer match:>>> import numpy as np >>> from pytest import approx >>> [np.True_, np.True_] == pytest.approx([True, True]) FalseThis has now been fixed:
>>> [np.True_, np.True_] == pytest.approx([True, True]) True -
#13119: Improved handling of invalid regex patterns for filter warnings by providing a clear error message.
-
#13175: The diff is now also highlighted correctly when comparing two strings.
-
#13248: Fixed an issue where passing a
scopeinMetafunc.parametrize <pytest.Metafunc.parametrize>{.interpreted-text role="py:func"} withindirect=Truecould result in other fixtures being unable to depend on the parametrized fixture. -
#13291: Fixed
reprofattrsobjects in assertion failure messages when usingattrs>=25.2. -
#13312: Fixed a possible
KeyErrorcrash on PyPy during collection of tests involving higher-scoped parameters. -
#13345: Fix type hints for
pytest.TestReport.when{.interpreted-text role="attr"} andpytest.TestReport.location{.interpreted-text role="attr"}. -
#13377: Fixed handling of test methods with positional-only parameter syntax.
Now, methods are supported that formally define
selfas positional-only and/or fixture parameters as keyword-only, e.g.:class TestClass: def test_method(self, /, *, fixture): ...Before, this caused an internal error in pytest.
-
#13384: Fixed an issue where pytest could report negative durations.
-
#13420: Added
lru_cachetonodes._check_initialpaths_for_relpath. -
#9037: Honor
disable_test_id_escaping_and_forfeit_all_rights_to_community_support{.interpreted-text role="confval"} when escaping ids in parametrized tests.
Improved documentation
-
#12535: [This example]{.title-ref}<https://docs.pytest.org/en/latest/example/simple.html#making-test-result-information-available-in-fixtures> showed
printstatements that do not exactly reflect what the different branches actually do. The fix makes the example more precise. -
#13218: Pointed out in the
pytest.approx{.interpreted-text role="func"} documentation that it considers booleans unequal to numeric zero or one. -
#13221: Improved grouping of CLI options in the
--helpoutput. -
#6649: Added
~pytest.TerminalReporter{.interpreted-text role="class"} to theapi-reference{.interpreted-text role="ref"} documentation page. -
#8612: Add a recipe for handling abstract test classes in the documentation.
A new example has been added to the documentation to demonstrate how to use a mixin class to handle abstract test classes without manually setting the
__test__attribute for subclasses. This ensures that subclasses of abstract test classes are automatically collected by pytest.
Packaging updates and notes for downstreams
-
#13317: Specified minimum allowed versions of
colorama,iniconfig, andpackaging; and bumped the minimum allowed version ofexceptiongroupforpython_version<'3.11'from a release candidate to a full release.
Contributor-facing changes
-
#12017: Mixed internal improvements:
- Migrate formatting to f-strings in some tests.
- Use type-safe constructs in JUnitXML tests.
- Moved
MockTiminginto_pytest.timing.
-- by
RonnyPfannschmidt{.interpreted-text role="user"} -
#12647: Fixed running the test suite with the
hypothesispytest plugin.
Miscellaneous internal changes
-
#6649: Added
~pytest.TerminalReporter{.interpreted-text role="class"} to the public pytest API, as it is part of the signature of thepytest_terminal_summary{.interpreted-text role="hook"} hook.
v8.3.5
pytest 8.3.5 (2025-03-02)
Bug fixes
-
#11777: Fixed issue where sequences were still being shortened even with
-vvverbosity. -
#12888: Fixed broken input when using Python 3.13+ and a
libeditbuild of Python, such as on macOS or with uv-managed Python binaries from thepython-build-standaloneproject. This could manifest e.g. by a broken prompt when usingPdb, or seeing empty inputs with manual usage ofinput()and suspended capturing. -
#13026: Fixed
AttributeError{.interpreted-text role="class"} crash when using--import-mode=importlibwhen top-level directory same name as another module of the standard library. -
#13053: Fixed a regression in pytest 8.3.4 where, when using
--import-mode=importlib, a directory containing py file with the same name would cause anImportError - #13083: Fixed issue where pytest could crash if one of the collected directories got removed during collection.
Improved documentation
-
#12842: Added dedicated page about using types with pytest.
See
types{.interpreted-text role="ref"} for detailed usage.
Contributor-facing changes
-
#13112: Fixed selftest failures in
test_terminal.pywith Pygments >= 2.19.0 -
#13256: Support for Towncrier versions released in 2024 has been re-enabled
when building Sphinx docs -- by
webknjaz{.interpreted-text role="user"}.
v8.3.4
pytest 8.3.4 (2024-12-01)
Bug fixes
-
#12592: Fixed
KeyError{.interpreted-text role="class"} crash when using--import-mode=importlibin a directory layout where a directory contains a child directory with the same name. -
#12818: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the
AST, like executing. -
#12849: ANSI escape codes for colored output now handled correctly in
pytest.fail{.interpreted-text role="func"} with [pytrace=False]{.title-ref}. -
#9353:
pytest.approx{.interpreted-text role="func"} now uses strict equality when given booleans.
Improved documentation
-
#10558: Fix ambiguous docstring of
pytest.Config.getoption{.interpreted-text role="func"}. -
#10829: Improve documentation on the current handling of the
--basetempoption and its lack of retention functionality (temporary directory location and retention{.interpreted-text role="ref"}). -
#12866: Improved cross-references concerning the
recwarn{.interpreted-text role="fixture"} fixture. -
#12966: Clarify
filterwarnings{.interpreted-text role="ref"} docs on filter precedence/order when using multiple@pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>{.interpreted-text role="ref"} marks.
Contributor-facing changes
- #12497: Fixed two failing pdb-related tests on Python 3.13.
v8.3.3
pytest 8.3.3 (2024-09-09)
Bug fixes
-
#12446: Avoid calling
@property(and other instance descriptors) during fixture discovery -- byasottile{.interpreted-text role="user"} -
#12659: Fixed the issue of not displaying assertion failure differences when using the parameter
--import-mode=importlibin pytest>=8.1. -
#12667: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.
-
#12744: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by
Avasam{.interpreted-text role="user"} -
#12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.
-
#6682: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in
assert condition, msg). -
#9422: Fix bug where disabling the terminal plugin via
-p no:terminalwould cause crashes related to missing theverboseoption.-- by
GTowers1{.interpreted-text role="user"}
Improved documentation
- #12663: Clarify that the [pytest_deselected]{.title-ref} hook should be called from [pytest_collection_modifyitems]{.title-ref} hook implementations when items are deselected.
- #12678: Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref} example in docs.
Miscellaneous internal changes
- #12769: Fix typos discovered by codespell and add codespell to pre-commit hooks.
v8.3.2
pytest 8.3.2 (2024-07-24)
Bug fixes
-
#12652: Resolve regression [conda]{.title-ref} environments where no longer being automatically detected.
-- by
RonnyPfannschmidt{.interpreted-text role="user"}
v8.3.1
pytest 8.3.1 (2024-07-20)
The 8.3.0 release failed to include the change notes and docs for the release. This patch release remedies this. There are no other changes.
v8.3.0
pytest 8.3.0 (2024-07-20)
New features
-
#12231: Added [--xfail-tb]{.title-ref} flag, which turns on traceback output for XFAIL results.
- If the [--xfail-tb]{.title-ref} flag is not given, tracebacks for XFAIL results are NOT shown.
- The style of traceback for XFAIL is set with [--tb]{.title-ref}, and can be [auto|long|short|line|native|no]{.title-ref}.
- Note: Even if you have [--xfail-tb]{.title-ref} set, you won't see them if [--tb=no]{.title-ref}.
Some history:
With pytest 8.0, [-rx]{.title-ref} or [-ra]{.title-ref} would not only turn on summary reports for xfail, but also report the tracebacks for xfail results. This caused issues with some projects that utilize xfail, but don't want to see all of the xfail tracebacks.
This change detaches xfail tracebacks from [-rx]{.title-ref}, and now we turn on xfail tracebacks with [--xfail-tb]{.title-ref}. With this, the default [-rx]{.title-ref}/ [-ra]{.title-ref} behavior is identical to pre-8.0 with respect to xfail tracebacks. While this is a behavior change, it brings default behavior back to pre-8.0.0 behavior, which ultimately was considered the better course of action.
-
#12281: Added support for keyword matching in marker expressions.
Now tests can be selected by marker keyword arguments. Supported values are
int{.interpreted-text role="class"}, (unescaped)str{.interpreted-text role="class"},bool{.interpreted-text role="class"} &None{.interpreted-text role="data"}.See
marker examples <marker_keyword_expression_example>{.interpreted-text role="ref"} for more information.-- by
lovetheguitar{.interpreted-text role="user"} -
#12567: Added
--no-fold-skippedcommand line option.If this option is set, then skipped tests in short summary are no longer grouped by reason but all tests are printed individually with their nodeid in the same way as other statuses.
-- by
pbrezina{.interpreted-text role="user"}
Improvements in existing functionality
-
#12469: The console output now uses the "third-party plugins" terminology, replacing the previously established but confusing and outdated reference to
setuptools <setuptools:index>{.interpreted-text role="std:doc"} -- bywebknjaz{.interpreted-text role="user"}. -
#12544, #12545: Python virtual environment detection was improved by checking for a
pyvenv.cfg{.interpreted-text role="file"} file, ensuring reliable detection on various platforms -- byzachsnickers{.interpreted-text role="user"}. -
#2871: Do not truncate arguments to functions in output when running with [-vvv]{.title-ref}.
-
#389: The readability of assertion introspection of bound methods has been enhanced -- by
farbodahm{.interpreted-text role="user"},webknjaz{.interpreted-text role="user"},obestwalter{.interpreted-text role="user"},flub{.interpreted-text role="user"} andglyphack{.interpreted-text role="user"}.Earlier, it was like:
=================================== FAILURES =================================== _____________________________________ test _____________________________________ def test(): > assert Help().fun() == 2 E assert 1 == 2 E + where 1 = <bound method Help.fun of <example.Help instance at 0x256a830>>() E + where <bound method Help.fun of <example.Help instance at 0x256a830>> = <example.Help instance at 0x256a830>.fun E + where <example.Help instance at 0x256a830> = Help() example.py:7: AssertionError =========================== 1 failed in 0.03 seconds ===========================And now it's like:
=================================== FAILURES =================================== _____________________________________ test _____________________________________ def test(): > assert Help().fun() == 2 E assert 1 == 2 E + where 1 = fun() E + where fun = <test_local.Help object at 0x1074be230>.fun E + where <test_local.Help object at 0x1074be230> = Help() test_local.py:13: AssertionError =========================== 1 failed in 0.03 seconds =========================== -
#7662: Added timezone information to the testsuite timestamp in the JUnit XML report.
Bug fixes
-
#11706: Fixed reporting of teardown errors in higher-scoped fixtures when using [--maxfail]{.title-ref} or [--stepwise]{.title-ref}.
Originally added in pytest 8.0.0, but reverted in 8.0.2 due to a regression in pytest-xdist. This regression was fixed in pytest-xdist 3.6.1.
-
#11797:
pytest.approx{.interpreted-text role="func"} now correctly handlesSequence <collections.abc.Sequence>{.interpreted-text role="class"}-like objects. -
#12204, #12264: Fixed a regression in pytest 8.0 where tracebacks get longer and longer when multiple tests fail due to a shared higher-scope fixture which raised -- by
bluetech{.interpreted-text role="user"}.Also fixed a similar regression in pytest 5.4 for collectors which raise during setup.
The fix necessitated internal changes which may affect some plugins:
-
FixtureDef.cached_result[2]is now a tuple(exc, tb)instead ofexc. -
SetupState.stackfailures are now a tuple(exc, tb)instead ofexc.
-
-
#12275: Fixed collection error upon encountering an
abstract <abc>{.interpreted-text role="mod"} class, including abstract [unittest.TestCase]{.title-ref} subclasses. -
#12328: Fixed a regression in pytest 8.0.0 where package-scoped parameterized items were not correctly reordered to minimize setups/teardowns in some cases.
-
#12424: Fixed crash with [assert testcase is not None]{.title-ref} assertion failure when re-running unittest tests using plugins like pytest-rerunfailures. Regressed in 8.2.2.
-
#12472: Fixed a crash when returning category
"error"or"failed"with a custom test status frompytest_report_teststatus{.interpreted-text role="hook"} hook --pbrezina{.interpreted-text role="user"}. -
#12505: Improved handling of invalid regex patterns in
pytest.raises(match=r'...') <pytest.raises>{.interpreted-text role="func"} by providing a clear error message. -
#12580: Fixed a crash when using the cache class on Windows and the cache directory was created concurrently.
-
#6962: Parametrization parameters are now compared using [==]{.title-ref} instead of [is]{.title-ref} ([is]{.title-ref} is still used as a fallback if the parameter does not support [==]{.title-ref}). This fixes use of parameters such as lists, which have a different [id]{.title-ref} but compare equal, causing fixtures to be re-computed instead of being cached.
-
#7166: Fixed progress percentages (the
[ 87%]at the edge of the screen) sometimes not aligning correctly when running with pytest-xdist-n.
Improved documentation
-
#12153: Documented using
PYTEST_VERSION{.interpreted-text role="envvar"} to detect if code is running from within a pytest run. -
#12469: The external plugin mentions in the documentation now avoid mentioning
setuptools entry-points <setuptools:index>{.interpreted-text role="std:doc"} as the concept is much more generic nowadays. Instead, the terminology of "external", "installed", or "third-party" plugins (or packages) replaces that.-- by
webknjaz{.interpreted-text role="user"} -
#12577: [CI]{.title-ref} and [BUILD_NUMBER]{.title-ref} environment variables role is discribed in the reference doc. They now also appear when doing [pytest -h]{.title-ref} -- by
MarcBresson{.interpreted-text role="user"}.
Contributor-facing changes
-
#12467: Migrated all internal type-annotations to the python3.10+ style by using the [annotations]{.title-ref} future import.
-- by
RonnyPfannschmidt{.interpreted-text role="user"} -
#11771, #12557: The PyPy runtime version has been updated to 3.9 from 3.8 that introduced a flaky bug at the garbage collector which was not expected to fix there as the 3.8 is EoL.
-- by
x612skm{.interpreted-text role="user"} -
#12493: The change log draft preview integration has been refactored to use a third party extension
sphinxcontib-towncrier. The previous in-repo script was putting the change log preview file atdoc/en/_changelog_towncrier_draft.rst{.interpreted-text role="file"}. Said file is no longer ignored in Git and might show up among untracked files in the development environments of the contributors. To address that, the contributors can run the following command that will clean it up:$ git clean -x -i -- doc/en/_changelog_towncrier_draft.rst-- by
webknjaz{.interpreted-text role="user"} -
#12498: All the undocumented
toxenvironments now have descriptions. They can be listed in one's development environment by invokingtox -avin a terminal.-- by
webknjaz{.interpreted-text role="user"} -
#12501: The changelog configuration has been updated to introduce more accurate audience-tailored categories. Previously, there was a
trivialchange log fragment type with an unclear and broad meaning. It was removed and we now havecontrib,miscandpackagingin place of it.The new change note types target the readers who are downstream packagers and project contributors. Additionally, the miscellaneous section is kept for unspecified updates that do not fit anywhere else.
-- by
webknjaz{.interpreted-text role="user"} -
#12502: The UX of the GitHub automation making pull requests to update the plugin list has been updated. Previously, the maintainers had to close the automatically created pull requests and re-open them to trigger the CI runs. From now on, they only need to click the [Ready for review]{.title-ref} button instead.
-- by
webknjaz{.interpreted-text role="user"} -
#12522: The
:pull:RST role has been replaced with a shorter:pr:due to starting to use the implementation from the third-partysphinx-issues{.interpreted-text role="pypi"} Sphinx extension -- bywebknjaz{.interpreted-text role="user"}. -
#12531: The coverage reporting configuration has been updated to exclude pytest's own tests marked as expected to fail from the coverage report. This has an effect of reducing the influence of flaky tests on the resulting number.
-- by
webknjaz{.interpreted-text role="user"} -
#12533: The
extlinksSphinx extension is no longer enabled. The:bpo:role it used to declare has been removed with that. BPO itself has migrated to GitHub some years ago and it is possible to link the respective issues by using their GitHub issue numbers and the:issue:role that thesphinx-issuesextension implements.-- by
webknjaz{.interpreted-text role="user"} -
#12562: Possible typos in using the
:user:RST role is now being linted through the pre-commit tool integration -- bywebknjaz{.interpreted-text role="user"}.
v8.2.2
pytest 8.2.2 (2024-06-04)
Bug Fixes
- #12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
- #12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
-
#12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (
.pytest_cache) creation. Regressed in pytest 8.2.0.
Improved Documentation
- #12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
- #12356: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.
- #12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
v8.2.1
pytest 8.2.1 (2024-05-19)
Improvements
- #12334: Support for Python 3.13 (beta1 at the time of writing).
Bug Fixes
- #12120: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.
- #12191: Keyboard interrupts and system exits are now properly handled during the test collection.
- #12300: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.
-
#12308: Fix a regression in pytest 8.2.0 where the permissions of automatically-created
.pytest_cachedirectories becamerwx------instead of the expectedrwxr-xr-x.
Trivial/Internal Changes
- #12333: pytest releases are now attested using the recent Artifact Attestation support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.
v8.2.0
pytest 8.2.0 (2024-04-27)
Deprecations
-
#12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated
py.path.localparameter instead of thepathlib.Pathparameter which replaced it:-
pytest_ignore_collect{.interpreted-text role="hook"} - thepathparameter - usecollection_pathinstead. -
pytest_collect_file{.interpreted-text role="hook"} - thepathparameter - usefile_pathinstead. -
pytest_pycollect_makemodule{.interpreted-text role="hook"} - thepathparameter - usemodule_pathinstead. -
pytest_report_header{.interpreted-text role="hook"} - thestartdirparameter - usestart_pathinstead. -
pytest_report_collectionfinish{.interpreted-text role="hook"} - thestartdirparameter - usestart_pathinstead.
The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0.
See
legacy-path-hooks-deprecated{.interpreted-text role="ref"} for more details. -
Features
-
#11871: Added support for reading command line arguments from a file using the prefix character
@, like e.g.:pytest @​tests.txt. The file must have one argument per line.See
Read arguments from file <args-from-file>{.interpreted-text role="ref"} for details.
Improvements
-
#11523:
pytest.importorskip{.interpreted-text role="func"} will now issue a warning if the module could be found, but raisedImportError{.interpreted-text role="class"} instead ofModuleNotFoundError{.interpreted-text role="class"}.The warning can be suppressed by passing
exc_type=ImportErrortopytest.importorskip{.interpreted-text role="func"}.See
import-or-skip-import-error{.interpreted-text role="ref"} for details. -
#11728: For
unittest-based tests, exceptions during class cleanup (as raised by functions registered withTestCase.addClassCleanup <unittest.TestCase.addClassCleanup>{.interpreted-text role="meth"}) are now reported instead of silently failing. -
#11777: Text is no longer truncated in the
short test summary infosection when-vvis given. -
#12112: Improved namespace packages detection when
consider_namespace_packages{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs). -
#9502: Added
PYTEST_VERSION{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value ofpytest.__version__, and among other things can be used to easily check if code is running from within a pytest run.
Bug Fixes
-
#12065: Fixed a regression in pytest 8.0.0 where test classes containing
setup_methodand tests using@staticmethodor@classmethodwould crash withAttributeError: 'NoneType' object has no attribute 'setup_method'.Now the
request.instance <pytest.FixtureRequest.instance>{.interpreted-text role="attr"} attribute of tests using@staticmethodand@classmethodis no longerNone, but a fresh instance of the class, like in non-static methods. Previously it wasNone, and all fixtures of such tests would share a singleself. -
#12135: Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances.
-
#12194: Fixed a bug with
--importmode=importliband--doctest-moduleswhere child modules did not appear as attributes in parent modules. -
#1489: Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in.
Trivial/Internal Changes
-
#12069:
pluggy>=1.5.0is now required. -
#12167:
cache <cache>{.interpreted-text role="ref"}: create supporting files (CACHEDIR.TAG,.gitignore, etc.) in a temporary directory to provide atomic semantics.
v8.1.2
pytest 8.1.2 (2024-04-26)
Bug Fixes
-
#12114: Fixed error in
pytest.approx{.interpreted-text role="func"} when used with [numpy]{.title-ref} arrays and comparing with other types.
sysid/sse-starlette (sse-starlette)
v3.4.4
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.4.3...v3.4.4
v3.4.3
What's Changed
- chore(deps): bump granian from 2.6.0 to 2.7.4 by @dependabot[bot] in #185
- chore(deps): bump urllib3 from 2.6.3 to 2.7.0 by @dependabot[bot] in #186
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.4.2...v3.4.3
v3.4.2
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.4.1...v3.4.2
v3.4.1
What's Changed
- chore(deps): bump cryptography from 46.0.6 to 46.0.7 by @dependabot[bot] in #181
- Chore/starlette sync by @sysid in #184
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.3.4...v3.4.1
v3.3.4
What's Changed
- chore(deps): bump cbor2 from 5.8.0 to 5.9.0 by @dependabot[bot] in #177
- chore(deps): bump ujson from 5.11.0 to 5.12.0 by @dependabot[bot] in #176
- chore(deps): bump requests from 2.32.5 to 2.33.0 by @dependabot[bot] in #178
- chore(deps): bump cryptography from 46.0.5 to 46.0.6 by @dependabot[bot] in #179
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.3.3...v3.3.4
v3.3.3
What's Changed
- chore(deps): bump astral-sh/setup-uv from 6 to 7 by @dependabot[bot] in #172
- chore(deps): bump pyopenssl from 25.3.0 to 26.0.0 by @dependabot[bot] in #174
- chore(deps): bump pyasn1 from 0.6.2 to 0.6.3 by @dependabot[bot] in #175
Full Changelog: https://github.com/sysid/sse-starlette/compare/v0.0.0...v3.3.3
v3.3.2
What's Changed
- chore(deps): bump cryptography from 46.0.3 to 46.0.5 by @dependabot[bot] in #166
- chore(deps): bump filelock from 3.20.1 to 3.20.3 by @dependabot[bot] in #170
- Consolidate examples into 7 self-contained scripts by @sysid in #171
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.3.1...v3.3.2
v3.3.1
What's Changed
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.3.0...v3.3.1
v3.3.0
What's Changed
- feat: expose shutdown event for cooperative generator shutdown (#167)
- chore(deps): bump actions/checkout from 4 to 6 by @dependabot[bot] in #155
- chore(deps): bump virtualenv from 20.35.4 to 20.36.1 by @dependabot[bot] in #162
- chore(deps): bump urllib3 from 2.6.2 to 2.6.3 by @dependabot[bot] in #161
- chore(deps): bump cbor2 from 5.7.1 to 5.8.0 by @dependabot[bot] in #163
- chore(deps): bump pyasn1 from 0.6.1 to 0.6.2 by @dependabot[bot] in #160
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.2.0...v3.3.0
v3.2.0
What's Changed
- [feat] Allow disabling automatic draining immediately on sigterm by @yuliy-openai in #157
- feat: add enable_automatic_graceful_drain_mode() for re-enabling auto… by @sysid in #158
New Contributors
- @yuliy-openai made their first contribution in #157
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.1.2...v3.2.0
v3.1.2
What's Changed
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.1.1...v3.1.2
v3.1.1
What's Changed
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.1.0...v3.1.1
v3.1.0
What's Changed
- chore(deps): bump actions/setup-python from 3 to 6 by @dependabot[bot] in #143
- Fix Issue #149: handle_exit cannot signal context-local events by @sysid in #150
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.0.4...v3.1.0
v3.0.4
What's Changed
- Add starlette to dependencies by @WOnder93 in #147
- Maintenance: CI updates, Python 3.13 support, and packaging fixes by @sysid in #148
New Contributors
- @WOnder93 made their first contribution in #147
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.0.3...v3.0.4
v3.0.3
What's Changed
- Security: Upgrade Starlette to 0.49.1 to address CVE-2025-62727 by @ColeMurray in #144
New Contributors
- @ColeMurray made their first contribution in #144
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.0.2...v3.0.3
v3.0.2
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.0.1...v3.0.2
v3.0.1
Full Changelog: https://github.com/sysid/sse-starlette/compare/v3.0.0...v3.0.1
v3.0.0
What's New in v3.0.0
No breaking changes expected.
- Fix Issue #140: Replace global AppStatus.should_exit_event with context-local events by @sysid in #141
Major Thread Safety Improvements
- Multi-Threading Support: SSE now works correctly in multi-threaded applications
- Multi-Loop Support: Full compatibility with multiple asyncio event loops
- Automatic Test Isolation: No more manual state resets needed in tests
- Context-Local Events: Replaced global state with context-aware event management
Development Experience
- Modern APIs: Updated to Starlette's lifespan parameter (no more deprecation warnings)
- Clean Testing: Improved pytest configuration and dependency management
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.4.1...v3.0.0
v2.4.1
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.4.0...v2.4.1
v2.4.0
What's Changed
- add missing test dependencies to tox.ini by @ancieg in #121
- Add an
JSONServerSentEventutility based on starletteJSONResponseby @cjavad in #136
New Contributors
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.3.6...v2.4.0
v2.3.6
What's Changed
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.3.5...v2.3.6
v2.3.5
What's Changed
- Fix streaming examples cannot be running in python3.9 by @neolooong in #123
- Fix the type annotation on client_close_handler_callable by @frankdu in #130
- [Improvement] Add listen_for_disconnect in cancel_scope by @lcamhoa in #131
New Contributors
- @neolooong made their first contribution in #123
- @frankdu made their first contribution in #130
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.3.0...v2.3.5
v2.3.4
What's Changed
New Contributors
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.3.3...v2.3.4
v2.3.3
What's Changed
- Implement handle session close by @lcamhoa in #127
- Fix streaming examples cannot be running in python3.9 by @neolooong in #123
New Contributors
- @lcamhoa made their first contribution in #127
- @neolooong made their first contribution in #123
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.2.1...v2.3.3
v2.3.2
v2.2.1
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.2.0...v2.2.1
v2.2.0
What's Changed
- chore (docs): Add documentation note and example about thread safety by @msukmanowsky in #112
- chore(deps): bump codecov/codecov-action from 4 to 5 by @dependabot in #115
- Include workaround for pytest SSE errors in README.md by @arnoan in #118
- refactoring of tests
- make uvicorn dependency optional
New Contributors
- @msukmanowsky made their first contribution in #112
- @dependabot made their first contribution in #115
- @arnoan made their first contribution in #118
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.1.3...v2.2.0
v2.1.3
What's Changed
- Cleanup unused loops by @truh in #100
- Update link to new spec by @YummyBacon5 in #88
- Change default cache-control response to 'no-store' by @ahupp in #105
New Contributors
- @truh made their first contribution in #100
- @YummyBacon5 made their first contribution in #88
- @ahupp made their first contribution in #105
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.1.0...v2.1.3
v2.1.2
What's Changed
- Cleanup unused loops by @truh in #100
- Update link to new spec by @YummyBacon5 in #88
New Contributors
- @truh made their first contribution in #100
- @YummyBacon5 made their first contribution in #88
Full Changelog: https://github.com/sysid/sse-starlette/compare/v2.1.0...v2.1.2
Configuration
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.