github authzed/spicedb v1.40.0

6 days ago

Note

All datastores have a migration to add new columns for relationship expiration support

Highlights

⌛ Expiring relationships
⚡ Experimental SQL optimization
🔧 Read replica fixes

Features

Introducing first class support for expiring relationships in SpiceDB! Developers can now define a lifespan for relationships in schema, preventing unintended access through lingering permissions. Relationship expiration terms can also be dynamically defined by application end users, providing them with even more granular control over how they choose to share data.

For more details, refer to SpiceDB documentation: https://authzed.com/docs/spicedb/concepts/expiring-relationships

End to end support for experimental first-class relationship expiration feature by @josephschorr in #2152

Enhancements

Various improvements

Garbage collection

Datastore tests

Observability, Debugging

Caveats

  • Move caveat loading into a shared runner to reduce overhead in dispatch by @josephschorr in #2179
  • Switch postgres to use a set and return an error if a duplicate caveat name is given by @josephschorr in #2199
  • Relationships selected in SQL-based datastores now elide columns that have static values by @josephschorr in #2096

Fixes

Updated dependencies

New Contributors

Full Changelog: v1.39.0...v1.40.0

Docker Images

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

Don't miss a new spicedb release

NewReleases is sending notifications on new releases.