This is a preview release of Duende Storage 2.0, and the Storage version IdentityServer 8.1.0-preview.8 builds on. It changes the Storage schema. See the IdentityServer 8.1.0-preview.8 release notes for what changes for your application.
Before you upgrade
Migrate your database. This release adds schema version 4. Migrate every storage instance before the new version starts serving traffic:
duende storage migrate --provider <provider> --connection-string <connection-string>
You can also call IStorageInstanceSchema.MigrateAsync in code. Run it from one place, such as a deployment step, not from every app instance at startup.
On SQL Server and PostgreSQL, the migration rebuilds part of the search index, which can take a while on a large database, so plan for it. On Oracle and SQLite, it only updates the schema version. Stored data doesn't need to be rewritten.
What's new
duende storage verifydocuments its exit codes.duende storage verify --helplists them: 0 when the schema is current and valid, 2 when a migration is pending, and 1 for an error, a schema newer than the tool, or a current schema that differs.
Full Changelog: storage-2.0.0-preview.7...storage-2.0.0-preview.8