Apply upgrades
Follow this guide when upgrading Ory Kratos to a newer version.
danger
Back up your data! Applying upgrades can lead to data loss if handled incorrectly.
- Review breaking changes.
Visit the CHANGELOG.md to see if breaking changes have been introduced in the version you are upgrading to. - Backup your data.
- Update the Ory Kratos SDK if used in your application.
- Install the new version of Ory Kratos.
- Run
kratos migrate sql
to run the SQL migrations to the new database schema.
Should you run into problems with the upgrade, consider a stepped upgrade and please visit the community chat or start a discussion.
v0.7 Changed cookie behavior
In Ory Kratos v0.7 the cookie behavior has
changed. Review
changes in the exemplary self-service user interface.
Visit
the Cookie Settings document for more information.