github authzed/spicedb v1.14.0

latest releases: v1.38.0, v1.37.1, v1.37.0...
2 years ago

Highlights

  • Memory management for caching vastly improved by more accurately tracking the size of cache entries
  • Postgres datastore rewritten with massive improvements to write performance
  • Experimental caveats support
  • Massive performance improvement for LookupResources
  • GemFury DEB & RPM repositories are now available for SpiceDB releases

Upgrade Notes

Warning
This is release includes migrations for all datastores, but a more complex migration for Postgres.
You must have already upgraded to v1.13.0 before upgrading to v1.14.0.
To learn more about migrations, see the migration documentation.
To automate migrations, Kubernetes users can run the SpiceDB Operator.

CockroachDB, Spanner, MySQL

CockroachDB, Spanner, MySQL datastore users can run the command spicedb migrate head from a SpiceDB v1.14 binary to migrate a v1.13 cluster. This may result in a brief latency spike, but will otherwise cause no downtime. After the migration is complete, v1.13 processes can be replaced with v1.14 ones.

Postgres

PostgreSQL users have two options: zero downtime or not.

Downtime

  1. Ensure SpiceDB v1.13.0 was running
  2. Shut off SpiceDB in all clusters
  3. Run spicedb migrate head using SpiceDB v1.14
  4. Rollout v1.14 to your cluster(s)

Zero-downtime

  1. Ensure SpiceDB v1.13.0 is currently running
  2. Run spicedb migrate add-xid-columns using SpiceDB v1.14
  3. Rollout v1.14 to your cluster(s) with the following flag: --datastore-migration-phase=write-both-read-old
  4. Once the rollout is fully complete, run spicedb migrate add-xid-constraints using SpiceDB v1.14
  5. Rollout v1.14 to your cluster(s) with the following flag: --datastore-migration-phase=write-both-read-new
  6. Once the rollout is fully complete, run spicedb migrate drop-id-constraints using SpiceDB v1.14
  7. Rollout v1.14 to your cluster(s) with the --datastore-migration-phase flag removed

What's Changed

Full Changelog: v1.13.0...v1.14.0

Docker Images

This release is available at authzed/spicedb:v1.14.0, quay.io/authzed/spicedb:v1.14.0, ghcr.io/authzed/spicedb:v1.14.0

Don't miss a new spicedb release

NewReleases is sending notifications on new releases.