Sourced from langchain-core's releases.
langchain-core==1.2.12
Changes since langchain-core==1.2.11
release(core): 1.2.12 (#35192) fix(core): fix setting
ChatGeneration.text(#35191)langchain-core==1.2.11
Changes since langchain-core==1.2.10
release(core): 1.2.11 (#35144) fix(openai): sanitize urls when counting tokens in images (#35143) chore(core): clean up docstring mismatch and redundant logic in langchain-core (#35064) fix(core): replace bare except with Exception in tracer (#35138)
langchain-core==1.2.10
Changes since langchain-core==1.2.9
release(core): 1.2.10 (#35136) chore(deps): bump the langchain-deps group across 3 directories with 40 updates (#35129) chore(deps): bump the langchain-deps group across 3 directories with 11 updates (#35121) feat(core): add ContextOverflowError, raise in anthropic and openai (#35099) feat(model-profiles): add
text_inputsandtext_outputs(#35084) feat(core): count tokens from tool schemas incount_tokens_approximately(#35098) docs(core): add missingnamedocstring forRunnableSerializable(#35088)langchain-core==1.2.9
Changes since langchain-core==1.2.8
release(core): 1.2.9 (#35025) fix(core): adjust cap when scaling approximate token counts (#35017) revert: precompile hex color regex pattern at module level (#35016) chore: add
make typetarget (#35015) revert: "chore: add typing target inMakefile" (#35013) chore: add typing target inMakefile(#35012) fix(core): apply cap when scaling approximate token counts (#35005) feat(core): allow scaling by reported usage when counting tokens approximately (#34996) test(core): increasedelta_timefor flaky test (#34982) chore: enrichpyproject.tomlfiles (#34980)langchain-core==1.2.8
Changes since langchain-core==1.2.7
release(core): 1.2.8 (#34975) docs(core): add examples for
pretty_repr,pretty_print(#34968) docs(core): use proper admonition forget_buffer_string(#34967) docs: add usage examples to core classes (#34841) chore(core): fix docstring format (#34966) chore(deps): bump the uv group across 20 directories with 3 updates (#34941) docs: add example to create_message function docstring (#34851) docs(core): clarify@​tooldecorator argument and return type requirements (#34860)
... (truncated)
b06716f
release(core): 1.2.12 (#35192)16cabfa
fix(core): fix setting ChatGeneration.text (#35191)8f859bd
release(huggingface): 1.2.1 (#35182)19ddd42
fix(ollama): raise error when clients are not initialized (#35185)a50d86c
docs(langchain-classic): clarify MultiVectorRetriever usage (#35053)f89e30e
chore(huggingface): version bump for huggingface-hub and transformers
deps (#...6ac12b3
chore: bump pillow from 11.3.0 to 12.1.1 in /libs/partners/openai (#35177)d41deda
fix(langchain-classic): validate ensemble retriever weights (#35078)9d0bd83
chore: bump pillow from 11.3.0 to 12.1.1 in /libs/partners/perplexity
(#35176)f22f5d5
chore(deps): bump pillow from 11.3.0 to 12.1.1 in /libs/langchain (#35175)7096efd
chore(release): 5.1.0 [skip ci]07aa00d
chore(deps): update dependency attrs to v25 (#1063)1f29ae0
docs: add bwrob as a contributor for code (#1064)df9bc8f
feat: add serializer plugin system; plugins for data models (#1062)841257d
chore(deps): update dependency coverage to v7.13.1 (#1061)2d8dfa7
chore(deps): update codecov/codecov-action action to v5.5.2 (#1056)f5f9ef7
chore(deps): update dependency debugpy to v1.8.18 (#1057)eaeb6ae
chore(deps): update dependency pytest to v9.0.2 (#1055)263b23b
chore(deps): update python docker tag to v3.14.1 (#1054)a0dd77b
chore(deps): update actions/checkout action to v6.0.1 (#1053)Sourced from ruff's releases.
0.15.1
Release Notes
Released on 2026-02-12.
Preview features
- [
airflow] Add ruff rules to catch deprecated Airflow imports for Airflow 3.1 (AIR321) (#22376)- [
airflow] Third positional parameter not namedti_keyshould be flagged forBaseOperatorLink.get_link(AIR303) (#22828)- [
flake8-gettext] Fix false negatives for plural argument ofngettext(INT001,INT002,INT003) (#21078)- [
pyflakes] Fix infinite loop in preview fix forunused-import(F401) (#23038)- [
pygrep-hooks] Detect non-existent mock methods in standalone expressions (PGH005) (#22830)- [
pylint] Allow dunder submodules and improve diagnostic range (PLC2701) (#22804)- [
pyupgrade] Improve diagnostic range for tuples (UP024) (#23013)- [
refurb] Check subscripts in tuple do not use lambda parameters inreimplemented-operator(FURB118) (#23079)- [
ruff] Detect mutable defaults infieldcalls (RUF008) (#23046)- [
ruff] Ignore stdcmath.inf(RUF069) (#23120)- [
ruff] New rulefloat-equality-comparison(RUF069) (#20585)- Don't format unlabeled Markdown code blocks (#23106)
- Markdown formatting support in LSP (#23063)
- Support Quarto Markdown language markers (#22947)
- Support formatting
pyconMarkdown code blocks (#23112)- Use extension mapping to select Markdown code block language (#22934)
Bug fixes
- Avoid false positive for undefined variables in
FAST001(#23224)- Avoid introducing syntax errors for
FAST003autofix (#23227)- Avoid suggesting
InitVarfor__post_init__that references PEP 695 type parameters (#23226)- Deduplicate type variables in generic functions (#23225)
- Fix exception handler parenthesis removal for Python 3.14+ (#23126)
- Fix f-string middle panic when parsing t-strings (#23232)
- Wrap
RUF020target for multiline fixes (#23210)- Wrap
UP007target for multiline fixes (#23208)- Fix missing diagnostics for last range suppression in file (#23242)
- [
pyupgrade] Fix syntax error on string with newline escape and comment (UP037) (#22968)Rule changes
- Use
ruffinstead ofRuffas the program name in GitHub output format (#23240)- [
PT006] Fix syntax error when unpacking nested tuples inparametrizefixes (#22441) (#22464)- [
airflow] Catch deprecated attribute access from context key for Airflow 3.0 (AIR301) (#22850)- [
airflow] Capture deprecated arguments and a decorator (AIR301) (#23170)- [
flake8-boolean-trap] Addmultiprocessing.Valueto excluded functions forFBT003(#23010)- [
flake8-bugbear] Add a secondary annotation showing the previous occurrence (B033) (#22634)- [
flake8-type-checking] Add sub-diagnostic showing the runtime use of an annotation (TC004) (#23091)- [
isort] Support configurable import section heading comments (#23151)- [
ruff] Improve the diagnostic forRUF012(#23202)Formatter
... (truncated)
Sourced from ruff's changelog.
0.15.1
Released on 2026-02-12.
Preview features
- [
airflow] Add ruff rules to catch deprecated Airflow imports for Airflow 3.1 (AIR321) (#22376)- [
airflow] Third positional parameter not namedti_keyshould be flagged forBaseOperatorLink.get_link(AIR303) (#22828)- [
flake8-gettext] Fix false negatives for plural argument ofngettext(INT001,INT002,INT003) (#21078)- [
pyflakes] Fix infinite loop in preview fix forunused-import(F401) (#23038)- [
pygrep-hooks] Detect non-existent mock methods in standalone expressions (PGH005) (#22830)- [
pylint] Allow dunder submodules and improve diagnostic range (PLC2701) (#22804)- [
pyupgrade] Improve diagnostic range for tuples (UP024) (#23013)- [
refurb] Check subscripts in tuple do not use lambda parameters inreimplemented-operator(FURB118) (#23079)- [
ruff] Detect mutable defaults infieldcalls (RUF008) (#23046)- [
ruff] Ignore stdcmath.inf(RUF069) (#23120)- [
ruff] New rulefloat-equality-comparison(RUF069) (#20585)- Don't format unlabeled Markdown code blocks (#23106)
- Markdown formatting support in LSP (#23063)
- Support Quarto Markdown language markers (#22947)
- Support formatting
pyconMarkdown code blocks (#23112)- Use extension mapping to select Markdown code block language (#22934)
Bug fixes
- Avoid false positive for undefined variables in
FAST001(#23224)- Avoid introducing syntax errors for
FAST003autofix (#23227)- Avoid suggesting
InitVarfor__post_init__that references PEP 695 type parameters (#23226)- Deduplicate type variables in generic functions (#23225)
- Fix exception handler parenthesis removal for Python 3.14+ (#23126)
- Fix f-string middle panic when parsing t-strings (#23232)
- Wrap
RUF020target for multiline fixes (#23210)- Wrap
UP007target for multiline fixes (#23208)- Fix missing diagnostics for last range suppression in file (#23242)
- [
pyupgrade] Fix syntax error on string with newline escape and comment (UP037) (#22968)Rule changes
- Use
ruffinstead ofRuffas the program name in GitHub output format (#23240)- [
PT006] Fix syntax error when unpacking nested tuples inparametrizefixes (#22441) (#22464)- [
airflow] Catch deprecated attribute access from context key for Airflow 3.0 (AIR301) (#22850)- [
airflow] Capture deprecated arguments and a decorator (AIR301) (#23170)- [
flake8-boolean-trap] Addmultiprocessing.Valueto excluded functions forFBT003(#23010)- [
flake8-bugbear] Add a secondary annotation showing the previous occurrence (B033) (#22634)- [
flake8-type-checking] Add sub-diagnostic showing the runtime use of an annotation (TC004) (#23091)- [
isort] Support configurable import section heading comments (#23151)- [
ruff] Improve the diagnostic forRUF012(#23202)Formatter
... (truncated)
a2f11d2
Prepare for 0.15.1 (#23253)d29628e
Remove docker-run-action (#23254)8a04266
[ty] Allow discovering dependencies in system Python environments (#22994)55d06c8
Ensure pending suppression diagnostics are reported (#23242)d056a9f
[isort] support for configurable import section heading
comments (#23151)e22fa4f
[ty] Fix method calls on subclasses of Any (#23248)fa56c15
[ty] Fix bound method access on None (#23246)4fd07d0
Make range suppression test snapshot actually useful (#23251)8c63bce
[ty] Include conditional symbols (like datetime.UTC) in
auto-import in more...46be943
Exclude WASM artifacts from GitHub releases (#23221)