Skip to content

release: v0.9.5#378

Merged
SoulPancake merged 3 commits into
mainfrom
release-please--branches--release
Apr 10, 2026
Merged

release: v0.9.5#378
SoulPancake merged 3 commits into
mainfrom
release-please--branches--release

Conversation

@openfga-releaser-bot

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

0.9.5 (2026-04-10)

Fixed

  • Correctly set authorization model id when calling batch checks (#372) (bbc8bde)

Miscellaneous


This PR was generated with Release Please. See documentation.

@openfga-releaser-bot
openfga-releaser-bot Bot requested a review from a team as a code owner April 10, 2026 08:23
@openfga-releaser-bot
openfga-releaser-bot Bot changed the base branch from release to main April 10, 2026 08:23
@codecov-commenter

codecov-commenter commented Apr 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.79%. Comparing base (1b2ac8f) to head (600f4ff).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #378   +/-   ##
=======================================
  Coverage   85.79%   85.79%           
=======================================
  Files          26       26           
  Lines        1267     1267           
  Branches      249      225   -24     
=======================================
  Hits         1087     1087           
  Misses        110      110           
  Partials       70       70           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Removed miscellaneous section and release note for version 0.9.5 from CHANGELOG.
Copilot AI review requested due to automatic review settings April 10, 2026 08:24
@dosubot

dosubot Bot commented Apr 10, 2026

Copy link
Copy Markdown

Documentation Updates

2 document(s) were updated by changes in this PR:

Contextual Tuples Support
View Changes
@@ -8,7 +8,7 @@
 - **Write Assertions**: Supported from OpenFGA server v1.5.8+.
 - **ListUsers**: Supported from OpenFGA server v1.5.4+ (experimental, enable with `OPENFGA_EXPERIMENTALS=enable-list-users`).
 - **BatchCheck, ListObjects, ListRelations**: Supported in recent OpenFGA versions; see SDK and server documentation for details.
-- **JS SDK**: Contextual tuple support for assertions and Expand is available from v0.8.0+ (latest: v0.9.4) and requires OpenFGA server v1.8.0+ for full compatibility.
+- **JS SDK**: Contextual tuple support for assertions and Expand is available from v0.8.0+ (latest: v0.9.5) and requires OpenFGA server v1.8.0+ for full compatibility.
 
 ## Data Model Changes
 
@@ -115,7 +115,7 @@
 - **Expand**: OpenFGA server v1.8.0+.
 - **Write Assertions**: OpenFGA server v1.5.8+.
 - **ListUsers**: OpenFGA server v1.5.4+ (experimental, enable with `OPENFGA_EXPERIMENTALS=enable-list-users`).
-- **JS SDK**: v0.8.0+ (latest: v0.9.4) for contextual tuples in assertions and Expand (requires server v1.8.0+).
+- **JS SDK**: v0.8.0+ (latest: v0.9.5) for contextual tuples in assertions and Expand (requires server v1.8.0+).
 - **Conditional relationships (ABAC)**: Officially supported from OpenFGA v1.4.0+; enable with `enable-conditions` flag in earlier versions.
 - **Tuple validation constraints**: OpenFGA server v1.12.0+ (validation of Unicode control characters and null bytes in tuple fields).
 
Retry-After Header and Retry Strategy
View Changes
@@ -18,7 +18,7 @@
 ## SDK-Specific Details
 ### JavaScript SDK (`@openfga/sdk`)
 
-**Version Introduced:** v0.9.1 (Current version: v0.9.4)  
+**Version Introduced:** v0.9.1 (Current version: v0.9.5)  
 **[Changelog](https://github.com/openfga/js-sdk/blob/ca4b9fcf9eaed35170d44a4b3697f439b81187f6/CHANGELOG.md#L8-L10)**
 
 #### Node.js Version Support (JavaScript SDK)
@@ -61,7 +61,7 @@
 The SDK adds `executeApiRequest` and `executeStreamedApiRequest` methods to `OpenFgaClient` for calling arbitrary API endpoints with full SDK support (authentication, retries, telemetry, error handling).
 
 #### Migration Guidance
-- Upgrade to v0.9.4+ for the latest features and fixes.
+- Upgrade to v0.9.5+ for the latest features and fixes.
 - If you previously relied on custom retry logic, review the new defaults and configuration.
 - The minimum supported Node.js version is **v20.19.0** (v16 and v18 are no longer supported). Update your runtime accordingly.
 - The maximum allowed `maxRetry` is now enforced at 15.

How did I do? Any feedback?  Join Discord

@SoulPancake
SoulPancake requested a review from rhamzeh April 10, 2026 08:24

@SoulPancake SoulPancake left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Release-please generated release PR to publish @openfga/sdk v0.9.5 and propagate the version bump across package metadata, constants, and examples.

Changes:

  • Bump SDK version to 0.9.5 in package.json, package-lock.json, and .release-please-manifest.json
  • Update SdkVersion constant to 0.9.5
  • Update example packages to depend on @openfga/sdk@^0.9.5
  • Add v0.9.5 entry to CHANGELOG.md

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Bumps published package version to 0.9.5
package-lock.json Syncs lockfile package version to 0.9.5
constants/index.ts Updates SdkVersion constant to 0.9.5
CHANGELOG.md Adds release notes for 0.9.5
.release-please-manifest.json Updates release-please manifest version to 0.9.5
example/example1/package.json Updates example dependency to @openfga/sdk@^0.9.5
example/streamed-list-objects/package.json Updates example dependency to @openfga/sdk@^0.9.5
Comments suppressed due to low confidence (1)

example/streamed-list-objects/package.json:16

  • The example still declares engines.node as >=16.x, but it now depends on @openfga/sdk@^0.9.5 whose package.json requires Node >=20.19.0. This mismatch can mislead users into running the example on unsupported Node versions; please align the example's engines.node with the SDK's minimum supported Node version.
  "dependencies": {
    "@openfga/sdk": "^0.9.5",
    "@openfga/syntax-transformer": "^0.2.0"
  },
  "engines": {
    "node": ">=16.15.0"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread example/example1/package.json

@rhamzeh rhamzeh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though https://github.com/openfga/js-sdk/releases/tag/v0.9.5 is out, we mistakenly published it not from the main branch.

This PR backports that to main.

We're working on understanding why that happened and making sure it does not happen in the future

@SoulPancake
SoulPancake added this pull request to the merge queue Apr 10, 2026
Merged via the queue into main with commit 3df4667 Apr 10, 2026
29 checks passed
@SoulPancake
SoulPancake deleted the release-please--branches--release branch April 10, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants