github authzed/spicedb v1.22.0

latest releases: v1.38.0, v1.37.1, v1.37.0...
17 months ago

Warning
This release contains an issue with the LookupResources implementation. Please wait for a patch release unless you are confident you will not be using LookupResources.

Highlights

🚀 Experimental Bulk Load/Export APIs are now available
⚡ Cursors and Limits now available on LookupResources and ReadRelationships APIs
🪳 Cockroach driver now balances load over CockroachDB nodes and accepts per-request overlap keys
🎊 Schema API now returns ZedTokens
🎉 SpiceDB will now write exit codes and a termination log on exit
⛓️ Spanner datastore now uses native changestreams for the Watch API
🥇 Datastores now use upsert semantics for TOUCH write operations where possible

Upgrade Notes

Warning
This is release includes changes for dispatching, which can result in an increased error rate during rollout. To avoid, deploy as a distinct cluster and switch over your load balancer(s)

Spanner

Warning
This is release includes migrations for the Spanner datastore to support native change streams.
To learn more about migrations, see the migration documentation.
To automate migrations, Kubernetes users can run the SpiceDB Operator.

If not using the operator, Spanner users have two options: zero downtime or not.

Downtime

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

Zero-downtime

  1. Ensure SpiceDB v1.21.0 is currently running
  2. Run spicedb migrate register-tuple-change-stream using SpiceDB v1.22.0
  3. Rollout v1.22.0 to your cluster(s) with the following flag: --datastore-migration-phase=write-changelog-read-changelog
  4. Rollout v1.22.0 to your cluster(s) with the following flag: --datastore-migration-phase=write-changelog-read-stream
  5. Once the rollout is fully complete, run spicedb migrate drop-changelog-table using SpiceDB v1.22.0
  6. Rollout v1.22.0 to your cluster(s) with the --datastore-migration-phase flag removed

What's Changed

New Contributors

Full Changelog: v1.21.0...v1.22.0

Docker Images

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

Don't miss a new spicedb release

NewReleases is sending notifications on new releases.