Migration notes between versions
migratePlan a package upgrade by collecting breaking changes, removals, deprecations, and renames between your current version and the target, sourced from release notes or changelogs.
Instructions
Breaking changes, removals, deprecations and renames between two versions of a package, gathered from its release notes or changelog.
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": "<from>"
},
"name": "migrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target version. Defaults to latest. | |
| from | Yes | Version the code currently uses, e.g. "4.17.21" or "4". | |
| package | Yes | Package name as published: "next", "@anthropic-ai/sdk", "pydantic", "serde", "github.com/gin-gonic/gin", "rails", "com.google.code.gson:gson", "Newtonsoft.Json", "laravel/framework", "http", "phoenix". | |
| ecosystem | No | Registry: "npm" (JS/TS), "pypi" (Python), "cargo" (Rust), "go" (Go modules), "rubygems" (Ruby), "maven" (Java/Kotlin/Scala), "nuget" (.NET), "packagist" (PHP), "pub" (Dart/Flutter), "hex" (Elixir/Erlang). Defaults to npm. | npm |
| include_new_features | No | Also list new APIs added in the range. Default false. |