Sourced from pytest-asyncio's releases.
pytest-asyncio v1.4.0
1.4.0 - 2026-05-26
Deprecated
- Overriding the event_loop_policy fixture is deprecated. Use the
pytest_asyncio_loop_factorieshook instead. (#1419)Added
Added the
pytest_asyncio_loop_factorieshook to parametrize asyncio tests with custom event loop factories.The hook returns a mapping of factory names to loop factories, and
pytest.mark.asyncio(loop_factories=[...])selects a subset of configured factories per test. When a single factory is configured, test names are unchanged.Synchronous
@pytest_asyncio.fixturefunctions now see the correct event loop when custom loop factories are configured, even when test code disrupts the current event loop (e.g., viaasyncio.run()orasyncio.set_event_loop(None)). (#1164)Changed
- Improved the readability of the warning message that is displayed when
asyncio_default_fixture_loop_scopeis unset (#1298)- Only import
asyncio.AbstractEventLoopPolicyfor type checking to avoid raising a DeprecationWarning. (#1394)- Updated minimum supported pytest version to v8.4.0. (#1397)
Fixed
- Fixed a
ResourceWarning: unclosed event loopwarning that could occur when a synchronous test calledasyncio.run()or otherwise unset the current event loop after pytest-asyncio had run an async test or fixture. (#724)Notes for Downstream Packagers
- Added dependency on
sphinx-tabs >= 3.5to organize documentation examples into tabs. (#1395)pytest-asyncio v1.4.0a2
1.4.0a2 - 2026-05-02
Deprecated
- Overriding the event_loop_policy fixture is deprecated. Use the
pytest_asyncio_loop_factorieshook instead. (#1419)Added
Added the
pytest_asyncio_loop_factorieshook to parametrize asyncio tests with custom event loop factories.The hook returns a mapping of factory names to loop factories, and
pytest.mark.asyncio(loop_factories=[...])selects a subset of configured factories per test. When a single factory is configured, test names are unchanged on pytest 8.4+.Synchronous
@pytest_asyncio.fixturefunctions now see the correct event loop when custom loop factories are configured, even when test code disrupts the current event loop (e.g., viaasyncio.run()orasyncio.set_event_loop(None)). (#1164)Changed
... (truncated)
6e14cd2
chore: Prepare release of v1.4.0.4b900fb
Build(deps): Bump codecov/codecov-action from 6.0.0 to 6.0.1ab9f632
Build(deps): Bump zipp from 3.23.1 to 4.1.0a56fc77
Build(deps): Bump hypothesis from 6.152.6 to 6.152.8e8bae9b
Build(deps): Bump requests from 2.34.0 to 2.34.2fc43340
Build(deps): Bump idna from 3.14 to 3.15762eaf5
Build(deps): Bump jaraco-functools from 4.4.0 to 4.5.0b62e222
Build(deps): Bump click from 8.3.3 to 8.4.09190447
Build(deps): Bump pydantic from 2.13.3 to 2.13.482a393c
ci: Remove unnecessary debug output.Sourced from ruff's releases.
0.15.15
Release Notes
Released on 2026-05-28.
Preview features
- Fix Markdown closing fence handling (#25310)
- [
pyflakes] Report duplicate imports intyping.TYPE_CHECKINGblock (F811) (#22560)Bug fixes
- [
pyflakes] Treat function-scope bare annotations as locals per PEP 526 (F821) (#21540)Performance
- Avoid redundant
TokenValuedrops in the lexer (#25300)- Reduce memory usage by dropping token-excess capacity and improve performance by approximating the initial tokens
Vecsize (#25354)- Use
ThinVecin AST to shrinkStmt(#25361)Documentation
- Fix
line-lengthexample for--configoption (#25389)- [
flake8-comprehensions] DocumentRecursionErroredge case in__len__(C416) (#25286)- [
mccabe] Improve example (C901) (#25287)- [
pyupgrade] Clarify fix safety docs (UP007,UP045) (#25288)- [
refurb] DocumentFURB192exception change for empty sequences (#25317)- [
ruff] Document false negative for user-defined types (RUF013) (#25289)Formatter
- Fix formatting of lambdas nested within f-strings (#25398)
Server
- Return code action for
codeAction/resolverequests that contain no or no valid URL (#25365)Other changes
- Expand semantic syntax errors for invalid walruses (#25415)
Contributors
... (truncated)
Sourced from ruff's changelog.
0.15.15
Released on 2026-05-28.
Preview features
- Fix Markdown closing fence handling (#25310)
- [
pyflakes] Report duplicate imports intyping.TYPE_CHECKINGblock (F811) (#22560)Bug fixes
- [
pyflakes] Treat function-scope bare annotations as locals per PEP 526 (F821) (#21540)Performance
- Avoid redundant
TokenValuedrops in the lexer (#25300)- Reduce memory usage by dropping token-excess capacity and improve performance by approximating the initial tokens
Vecsize (#25354)- Use
ThinVecin AST to shrinkStmt(#25361)Documentation
- Fix
line-lengthexample for--configoption (#25389)- [
flake8-comprehensions] DocumentRecursionErroredge case in__len__(C416) (#25286)- [
mccabe] Improve example (C901) (#25287)- [
pyupgrade] Clarify fix safety docs (UP007,UP045) (#25288)- [
refurb] DocumentFURB192exception change for empty sequences (#25317)- [
ruff] Document false negative for user-defined types (RUF013) (#25289)Formatter
- Fix formatting of lambdas nested within f-strings (#25398)
Server
- Return code action for
codeAction/resolverequests that contain no or no valid URL (#25365)Other changes
- Expand semantic syntax errors for invalid walruses (#25415)
Contributors
... (truncated)
db5aa0a
Bump 0.15.15 (#25431)366fe21
[ty] Improve diagnostics for syntax errors in forward annotations (#25158)e2e1e64
[ty] Remove excess capacity from more Salsa cached collections (#25411)1bd77e1
[ty] Use diagnostic message as tie breaker when sorting (#25424)7e1bc1e
Add agent skills for working on ty (#25422)574e107
Expand semantic syntax errors for invalid walruses (#25415)4a7ca06
[ty] Display docs for matching parameter when hovering over the name of
an ar...5432709
Refine a few agents instructions (#25423)3cb09eb
[ty] Support typing.TypeForm (#25334)c8cd59f
[ty] Infer class attributes assigned by metaclass initialization (#25342)Sourced from langchain-core's releases.
langchain-core==1.4.0
Changes since langchain-core==0.3.86
chore(infra): merge v1.4 into master (#37350) chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/core (#37329) fix(core): avoid eager
pydantic.v1import in@deprecated(#37308) chore: bump mistune from 3.1.4 to 3.2.1 in /libs/core (#37237) chore: bump jupyter-server from 2.17.0 to 2.18.0 in /libs/core (#37204) release(core): 1.3.3 (#37198) fix(core): set deprecationsinceto 1.3.3 to match release (#37200) fix(core, langchain): hardenload()against untrusted manifests (#37197) chore: bump notebook from 7.5.0 to 7.5.6 in /libs/core (#37109) chore: bump types-pyyaml from 6.0.12.20250915 to 6.0.12.20260408 in /libs/core (#37129) fix(core): preserve structuredinputson tool runs in tracers (#37108) release(perplexity): 1.2.0 (#37091) chore(docs): update x handle references (#37081) fix(core): makeremovaloptional inwarn_deprecated(#37056) fix(core): validate batch_size in _batch and _abatch to prevent infinite loop (#36663) chore(core): mark stream_v2/astream_v2 as beta (#36992) release(core): 1.3.2 (#36990) feat(core): add content-block-centric streaming (v2) (#36834) release(core): 1.3.1 (#36972) feat(core): allow _format_output to pass through list of ToolOutputMixin instances (#36963) chore: bump nbconvert from 7.17.0 to 7.17.1 in /libs/core (#36923) feat(core): Update inheritance behavior for tracer metadata for special keys (#36900) chore: bump langsmith from 0.7.13 to 0.7.31 in /libs/core (#36813) release(core): release 1.3.0 (#36851) release(core): 1.3.0a3 (#36829) chore(core): keep checkpoint_ns behavior in streaming metadata for backwards compat (#36828) feat(core): Add chat model and LLM invocation params to traceable metadata (#36771) fix(core): restore cloud metadata IPs and link-local range in SSRF policy (#36816) chore(deps): bump pytest to9.0.3(#36801) chore(core): harden private SSRF utilities (#36768) fix(openai): handle content blocks without type key in responses api conversion (#36725) chore: bump pytest from 9.0.2 to 9.0.3 in /libs/core (#36719) release(core): 1.3.0.a2 (#36698) fix(core): Use reference counting for storing inherited run trees to support garbage collection (#36660) docs(core): nit (#36685) release(core): 1.3.0a1 (#36656) chore(core): reduce streaming metadata / perf (#36588) release(core): release 1.2.28 (#36614) fix(core): add more sanitization to templates (#36612) release(core): 1.2.27 (#36586) fix(core): handle symlinks in deprecated prompt save path (#36585) chore: add comment explainingpygments>=2.20.0(#36570) release(core): 1.2.26 (#36511) fix(core): add init validator and serialization mappings for Bedrock models (#34510) feat(core): addChatBasetento serializable mapping (#36510) chore(core): dropgpt-3.5-turbofrom docstrings (#36497) fix(core): correct parameter names in filter_messages docstring example (#36462)
... (truncated)
70e66a1
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/partners/openrouter (#37352)da380bc
chore(infra): merge v1.4 into master (#37350)bbd10fe
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/partners/anthropic (#37343)11bbfb7
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/partners/fireworks (#37339)7fd61d2
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/partners/mistralai (#37338)5c096bb
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/partners/nomic (#37334)ac47d54
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/partners/chroma (#37333)7e5c570
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/partners/qdrant (#37332)2086b91
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/core (#37329)407e33a
chore: bump urllib3 from 2.6.3 to 2.7.0 in /libs/langchain (#37327)