Skip to content
DocsGitHub

migrate

Upgrade a project across a Sentry SDK major version

Upgrade a project across a Sentry SDK major version

Options:

Option Description
--dry-run Report what would change without writing anything
--allow-dirty Run even though the working tree has uncommitted changes
--migration <migration> Run a specific migration instead of detecting one
--cwd <cwd> Directory to migrate (defaults to the current directory)
--only <only> Comma-separated task ids to run exclusively
--skip <skip> Comma-separated task ids to skip

All commands support --json for machine-readable output and --fields to select specific JSON fields.