Skip to content

chore(deps): Bump github.com/authzed/spicedb from 1.54.0 to 1.56.0 - #37

Merged
grokify merged 2 commits into
mainfrom
dependabot/go_modules/github.com/authzed/spicedb-1.56.0
Aug 16, 2026
Merged

grokify merged 2 commits into
mainfrom
dependabot/go_modules/github.com/authzed/spicedb-1.56.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/authzed/spicedb from 1.54.0 to 1.56.0.

Release notes

Sourced from github.com/authzed/spicedb's releases.

v1.56.0

Added

  • New metric check_permissionship_total for CheckPermission and CheckBulkPermissions that counts the number of requests that returned HAS_PERMISSION. Also, write_relationships_updates also includes BulkImport calls (authzed/spicedb#3240)

Changed

  • Schema: reads inside write transactions now use a cheap hash-only lookup (schema_revision) to check the cache before loading the full schema blob, reducing DB round-trips on cache hits (authzed/spicedb#3160)
  • Updated the Prometheus buckets for grpc_server_handling_seconds and spicedb_datastore_query_latency to be able to correlate them (authzed/spicedb#3188)
  • Use testcontainers instead of ory/dockertest for running containers in integration tests (authzed/spicedb#2782)
  • Embedded: add pkg/embedded, an in-process library for running permission checks against a datastore via the dispatch engine, without standing up a gRPC server (authzed/spicedb#3166)
  • Caveats: compiled caveats (and their CEL environments) are now cached per schema version — hung off the stored schema (ReadOnlyStoredSchema) and rebuilt only when the schema changes — rather than rebuilt on every check, reducing check cost for schemas with many caveats (authzed/spicedb#3166)

Fixed

  • Fixed a nil pointer dereference panic in CheckBulkPermissions that could occur under concurrent load when a tracing-enabled check shared a singleflight dispatch with a non-tracing bulk check. Debug-enabled checks are no longer singleflighted together with non-debug checks. (authzed/spicedb#3174)
  • Fixed a nil pointer dereference panic in the Postgres FDW (authzed/spicedb#3235)
  • CockroachDB: deletes performed by CockroachDB's row-level TTL job for expired relationships are no longer emitted as DELETE events by the Watch API. On CockroachDB ≥ 24.1, SpiceDB sets the ttl_disable_changefeed_replication storage parameter on the relationship tables at startup (if it lacks ALTER TABLE privileges, it logs a warning with the statement to run manually); on older versions a startup warning is logged and TTL deletes continue to be emitted. Note that the parameter affects any changefeed over these tables — external changefeeds that want TTL deletes can opt back in with ignore_disable_changefeed_replication. Delete-only transactions also no longer write an internal transaction-metadata marker row, reducing write amplification. (authzed/spicedb#3210)
  • When SpiceDB loses a connection to a CockroachDB node, every read happening in the server blocks for a short period of time (authzed/spicedb#3181)
  • LSP: hover and go-to-definition now resolve identifiers on the right-hand side of arrow expressions (->, .any(...), .all(...)) (authzed/spicedb#3157)
  • The in_cidr caveat now matches IPv4-mapped IPv6 addresses (e.g. ::ffff:10.1.2.3) against IPv4 CIDRs, the same as the dotted form (authzed/spicedb#3184)
  • MySQL: MySQL deadlocks on WriteRelationships (authzed/spicedb#3187)
  • Datastore: a hung datastore round-trip while computing the optimized revision can no longer wedge the server. The revision is computed under singleflight, which detaches the work from the caller's context (stripping its gRPC deadline); a stuck computation (e.g. a half-open connection silently dropped by a load balancer) therefore pinned the latency of every concurrent caller and inflated whole-system P99. The shared computation is now aggressively bounded (2s), with a direct, deadline-respecting retry outside singleflight on failure so a transient wedge does not fail the request. Applies to all datastores. (authzed/spicedb#3142)
  • Postgres & CockroachDB: pooled connections that have gone idle are now liveness-pinged with a bounded timeout (default 5s) before being handed to a query, so a half-open connection is discarded and replaced instead of hanging the acquiring request. (authzed/spicedb#3142)
  • Memory: If SpiceDB couldn't determine the memory available to it (such as can happen in AWS ECS), it assumed that its memory was unbounded. We changed how memory detection works to make conservative estimates in these cases and made some improvements to cache entry cost estimation. (authzed/spicedb#3201, authzed/spicedb#3247)
  • Datastore: raw datastore driver errors that could leak engine internals (such as SQLSTATE codes or opaque COPY wrappers) are no longer returned to clients. Unhandled Postgres, MySQL, and CockroachDB driver errors — including CockroachDB's transient retryable/resettable errors — are now surfaced as descriptive, engine-agnostic gRPC statuses (with the full error logged server-side), and an aborted bulk-import COPY now reports the underlying source error instead of the driver's opaque wrapper. (authzed/spicedb#3202)

What's Changed

... (truncated)

Changelog

Sourced from github.com/authzed/spicedb's changelog.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

[Unreleased]

Added

  • New metric check_permissionship_total for CheckPermission and CheckBulkPermissions that counts the number of requests that returned HAS_PERMISSION. Also, write_relationships_updates also includes BulkImport calls (authzed/spicedb#3240)

Changed

  • Schema: reads inside write transactions now use a cheap hash-only lookup (schema_revision) to check the cache before loading the full schema blob, reducing DB round-trips on cache hits (authzed/spicedb#3160)
  • Updated the Prometheus buckets for grpc_server_handling_seconds and spicedb_datastore_query_latency to be able to correlate them (authzed/spicedb#3188)
  • Use testcontainers instead of ory/dockertest for running containers in integration tests (authzed/spicedb#2782)
  • Embedded: add pkg/embedded, an in-process library for running permission checks against a datastore via the dispatch engine, without standing up a gRPC server (authzed/spicedb#3166)
  • Caveats: compiled caveats (and their CEL environments) are now cached per schema version — hung off the stored schema (ReadOnlyStoredSchema) and rebuilt only when the schema changes — rather than rebuilt on every check, reducing check cost for schemas with many caveats (authzed/spicedb#3166)

Fixed

  • Fixed a nil pointer dereference panic in CheckBulkPermissions that could occur under concurrent load when a tracing-enabled check shared a singleflight dispatch with a non-tracing bulk check. Debug-enabled checks are no longer singleflighted together with non-debug checks. (authzed/spicedb#3174)
  • Fixed a nil pointer dereference panic in the Postgres FDW (authzed/spicedb#3235)
  • CockroachDB: deletes performed by CockroachDB's row-level TTL job for expired relationships are no longer emitted as DELETE events by the Watch API. On CockroachDB ≥ 24.1, SpiceDB sets the ttl_disable_changefeed_replication storage parameter on the relationship tables at startup (if it lacks ALTER TABLE privileges, it logs a warning with the statement to run manually); on older versions a startup warning is logged and TTL deletes continue to be emitted. Note that the parameter affects any changefeed over these tables — external changefeeds that want TTL deletes can opt back in with ignore_disable_changefeed_replication. Delete-only transactions also no longer write an internal transaction-metadata marker row, reducing write amplification. (authzed/spicedb#3210)
  • When SpiceDB loses a connection to a CockroachDB node, every read happening in the server blocks for a short period of time (authzed/spicedb#3181)
  • LSP: hover and go-to-definition now resolve identifiers on the right-hand side of arrow expressions (->, .any(...), .all(...)) (authzed/spicedb#3157)
  • The in_cidr caveat now matches IPv4-mapped IPv6 addresses (e.g. ::ffff:10.1.2.3) against IPv4 CIDRs, the same as the dotted form (authzed/spicedb#3184)
  • MySQL: MySQL deadlocks on WriteRelationships (authzed/spicedb#3187)
  • Datastore: a hung datastore round-trip while computing the optimized revision can no longer wedge the server. The revision is computed under singleflight, which detaches the work from the caller's context (stripping its gRPC deadline); a stuck computation (e.g. a half-open connection silently dropped by a load balancer) therefore pinned the latency of every concurrent caller and inflated whole-system P99. The shared computation is now aggressively bounded (2s), with a direct, deadline-respecting retry outside singleflight on failure so a transient wedge does not fail the request. Applies to all datastores. (authzed/spicedb#3142)
  • Postgres & CockroachDB: pooled connections that have gone idle are now liveness-pinged with a bounded timeout (default 5s) before being handed to a query, so a half-open connection is discarded and replaced instead of hanging the acquiring request. (authzed/spicedb#3142)
  • Memory: If SpiceDB couldn't determine the memory available to it (such as can happen in AWS ECS), it assumed that its memory was unbounded. We changed how memory detection works to make conservative estimates in these cases and made some improvements to cache entry cost estimation. (authzed/spicedb#3201, authzed/spicedb#3247)
  • Datastore: raw datastore driver errors that could leak engine internals (such as SQLSTATE codes or opaque COPY wrappers) are no longer returned to clients. Unhandled Postgres, MySQL, and CockroachDB driver errors — including CockroachDB's transient retryable/resettable errors — are now surfaced as descriptive, engine-agnostic gRPC statuses (with the full error logged server-side), and an aborted bulk-import COPY now reports the underlying source error instead of the driver's opaque wrapper. (authzed/spicedb#3202)

Security

Commits
  • 8422483 test: add test for catching cache memory leaks (#3247)
  • bc671b1 chore(deps): bump google.golang.org/grpc to v1.82.1 (#3246)
  • a1a9509 feat: add metric counting % of HAS_PERMISSION results (#3240)
  • 398abc0 feat: in-process embedded permissions and per-schema-version caching (#3166)
  • 2614340 chore: update docker-composes's prometheus version (#3242)
  • fd84b2a chore(deps): bump the docker group with 2 updates (#3231)
  • c825ec8 docs(fdw): correct relationships table caveat columns (#3229)
  • 9ebd803 fix(fdw): prevent nil pointer panic on non-string literals in WHERE c… (#3235)
  • 385bf9c chore: small followups to the testcontainers PR (#3230)
  • 339c166 perf(mysql): force per-query-shape indexes for relationship queries
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/authzed/spicedb](https://github.com/authzed/spicedb) from 1.54.0 to 1.56.0.
- [Release notes](https://github.com/authzed/spicedb/releases)
- [Changelog](https://github.com/authzed/spicedb/blob/main/CHANGELOG.md)
- [Commits](authzed/spicedb@v1.54.0...v1.56.0)

---
updated-dependencies:
- dependency-name: github.com/authzed/spicedb
  dependency-version: 1.56.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jul 27, 2026
@grokify
grokify merged commit 65299b4 into main Aug 16, 2026
1 of 5 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/authzed/spicedb-1.56.0 branch August 16, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant