Breaking changes between versions
diff_versionsDetect breaking changes and deprecations in a Python package between two versions or since a date, optionally limited to symbols your code uses, to guide upgrades.
Instructions
Breaking changes and deprecations of a package between two versions, or since a date such as your training cutoff ('YYYY-MM-DD'). Optionally restrict to the symbols your code uses. Most severe first. Use it when upgrading, or for code written against an older release; for a single symbol use symbol_history.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"package": "<package>",
"from_version": "<from_version>"
},
"name": "diff_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum events to return (1-500), most severe first; `truncated` is true when more exist. | |
| package | Yes | PyPI distribution name, e.g. 'langchain-core'. | |
| to_version | No | Defaults to the latest indexed release. | |
| from_version | Yes | Version, or a date 'YYYY-MM-DD' (nearest release on/before). | |
| used_symbols | No | Public dotted paths your code uses (up to 500); only changes on these paths or their members are returned, and a parent module or class removed (or not yet added) in the range, whose `affects` lists the paths it takes with it. A used path no indexed release has, missing at an end of the range, is listed in `never_seen`. | |
| include_added | No | Also list symbols added in the range. Off by default: breaking changes and deprecations only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| events | Yes | ||
| package | Yes | ||
| truncated | No | ||
| never_seen | No | With used_symbols: used paths that no indexed release has, so no event can name them, that check_symbols reads `missing` at one end of the range or both (DT-CORE-54). langgraph 0.0.37's own `checkpoint.memory` has no `InMemorySaver`, which 0.3's comes from langgraph-checkpoint. Not one a listed event's `affects` already takes. | |
| suppressed | No | Events and `never_seen` entries left out by the project's suppressions; `note` says so whenever it isn't 0. | |
| to_version | Yes | ||
| from_version | Yes | ||
| unchecked_uses | No | With used_symbols: used paths that check_symbols reads `unknown` at an end of the range and never `missing` there, so `never_seen` doesn't already cover them, and no event can say whether the name survived (DT-CORE-61). langgraph.checkpoint.base.get_checkpoint_metadata, whose module comes from langgraph-checkpoint, which installs it into the langgraph namespace. | |
| deprecated_uses | No | With used_symbols: used paths that are deprecated at `to_version`, wherever the deprecation began (DT-CORE-62). An in-range `deprecated` event stays as it is alongside, with `detail.until` when the deprecation ended inside the range. langgraph 1.0.2 to 1.2.20 with langgraph.errors.NodeInterrupt, whose deprecation began in 0.6, before the range. |