github openfga/java-sdk v0.10.0

3 hours ago

Warning

Breaking changes

  • batchCheck and clientBatchCheck now reject a non-positive maxParallelRequests or maxBatchSize with an FgaInvalidParameterException (previously a zero maxBatchSize threw ArithmeticException and a negative one silently dropped every check). maxParallelRequests also now bounds the number of in-flight requests instead of firing them all at once, and callers are no longer blocked until completion. (#379)
  • ClientBatchCheckClientResponse.getStatusCode() now returns Integer instead of int, and returns null when a failed item has no associated HTTP response (e.g. a client-side error). This is source-compatible, but it changes the compiled method signature and is binary-incompatible — consumers compiled against an earlier version must recompile against 0.10.0 to avoid a NoSuchMethodError. (#381)

Fixed

  • deprecate disableTransactions in favour of transactions() (#377) (2d3b659)
  • expose error status, headers and body on failed clientBatchCheck items (#381) (8da296e)
  • remove per-call thread pools in batchCheck and clientBatchCheck (#379) (2aad182)

What's Changed

  • fix: deprecate disableTransactions in favour of transactions() by @curfew-marathon in #377
  • chore(deps): bump com.github.jknack:handlebars from 4.5.3 to 4.5.4 by @dependabot[bot] in #378
  • fix: expose error status, headers and body on failed clientBatchCheck items by @SoulPancake in #381
  • chore(deps): bump the dependencies group with 3 updates by @dependabot[bot] in #385
  • chore(deps): bump gradle-wrapper from 9.6.1 to 9.7.1 in /examples/basic-examples in the dependencies group by @dependabot[bot] in #384
  • chore(deps): bump the dependencies group with 3 updates by @dependabot[bot] in #382
  • chore(deps): bump the dependencies group in /examples/opentelemetry with 5 updates by @dependabot[bot] in #383
  • fix: remove per-call thread pools in batchCheck and clientBatchCheck by @SoulPancake in #379
  • release: v0.10.0 by @openfga-releaser-bot[bot] in #386

Full Changelog: v0.9.11...v0.10.0

Don't miss a new java-sdk release

NewReleases is sending notifications on new releases.