Skip to content

Releases: authzed/spicedb

v1.40.0

24 Jan 12:13
ec216dc
Compare
Choose a tag to compare

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

v1.39.1

12 Dec 19:35
742ffd7
Compare
Choose a tag to compare

This patch release includes a fix for a bug where exporting relationships were not including caveats.

What's Changed

Full Changelog: v1.39.0...v1.39.1

Docker Images

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

v1.39.0

09 Dec 18:53
5e21207
Compare
Choose a tag to compare

Warning

1.39.0 has a bug in BulkExportRelationships where caveat data is not included in exported relationships. Please update to v1.39.1 if you are using Bulk Export and Caveats.

Highlights

Introducing

📊 Native histograms for gRPC server metrics
🏥 Smarter health checks with user-specified set of safe migrations
🧹 Remove LookupResources v1 implementation
🗃️ Improvements for transaction metadata

Foundational work

⌛ Expiring relationships: foundational work to natively support defining relations in schema that last for set amount of time. This release introduces core system updates and changes to the type system and schema compiler.
🎼 Composable schemas: initial steps to support multi-part SpiceDB schemas by implementing local import functionality in this release.

Features

Enhancements

Fixes

Updated dependencies

  • pkg/proto: adopt CodecV2 and gRPC buffer pooling by @jzelinskie in #2070
  • Bump golang from 1.23.1-alpine3.20 to 1.23.2-alpine3.20 in the docker group by @dependabot in #2114
  • Bump the go-mod group across 1 directory with 23 updates by @dependabot in #2119
  • Bump golang from 1.23.2-alpine3.20 to 1.23.3-alpine3.20 in the docker group by @dependabot in #2151
  • Bump the go-mod group with 18 updates by @dependabot in #2150

New Contributors

Full Changelog: v1.38.0...v1.39.0

v1.38.1

20 Nov 18:47
158e886
Compare
Choose a tag to compare

What's Changed

  • backport: Add subject filters in schema relation delete to force use of the index by @vroldanbet in #2136

Full Changelog: v1.38.0...v1.38.1

Docker Images

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

v1.37.2

14 Nov 14:14
c8716bc
Compare
Choose a tag to compare

What's Changed

  • backport: Add subject filters in schema relation delete to force use of the index by @vroldanbet in #2132

Full Changelog: v1.37.1...v1.37.2

Docker Images

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

v1.38.0

01 Nov 16:53
4262bfd
Compare
Choose a tag to compare

Note

All datastores have a migration to add new columns (MySQL, Postgres) or new tables (CRDB, Spanner) for transaction metadata

Highlights

ℹ️ Write transactions now support metadata which can be attached to the call and which is then returned by the Watch API

Features

  • Implement support for metadata associated with read-write transactions by @josephschorr in #1914
  • Add API support for transaction metadata on WriteRels and DeleteRels by @josephschorr in #2084
  • Metrics: spicedb_environment_info from telemetry by @jzelinskie in #2093

Enhancements

Fixes

Updated Dependencies

Full Changelog: v1.37.0...v1.38.0

Docker Images

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

v1.37.1

14 Oct 17:00
Compare
Choose a tag to compare

Note

1.37.1 fixes a reported issue with LookupResources v2. It is recommended that all users of v1.37.0 upgrade to v1.37.1. See: GHSA-3c32-4hq9-6wgj

Full Changelog: v1.37.0...v1.37.1

Docker Images

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

v1.37.0

26 Sep 20:03
0d882c7
Compare
Choose a tag to compare

Warning

1.37.0 enables LookupResources v2 by default, which was found to not be passing caveat context to dispatches in certain scenarios, causing permissions of CONDITIONAL to be returned instead of determined results. We recommend upgrading to v1.37.1 which fixes this problem. See: GHSA-3c32-4hq9-6wgj

Highlights

⭐ LookupResources v2 now enabled by default!

Features

Enhancements

Fixes

Updated dependencies

New Contributors

@cuishuang made their first contribution in #2080

Full Changelog: v1.36.3...v1.37.0

v1.36.2

23 Sep 22:08
333532c
Compare
Choose a tag to compare

This fixes a small issue with the spicedb datastore head command but is otherwise the same as https://github.com/authzed/spicedb/releases/tag/v1.36.0

Full Changelog: v1.36.0...v1.36.2

Docker Images

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

v1.36.0

23 Sep 15:56
d0e5fca
Compare
Choose a tag to compare

Highlights

🔐  Added relationship integrity: protects authorization data in an underlying SpiceDB datastore from inadvertent modification.
📋 Reorganized spicedb serve flags into logically-related flagsets
🚤 Ensure cursored LRv2 calls are dispatched to LRv2

Features

Enhancements

Fixes

Updated dependencies

What's Changed

Full Changelog: v1.35.3...v1.36.0

Docker Images

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