chore(release): v0.9.4#365
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThis PR bumps the SDK version from 0.9.3 to 0.9.4. Changes include updating version constants, manifests, documentation, and the changelog. The release notes reference a dependency fix pinning axios to 1.14.0 and addressing a brace-expansion audit vulnerability. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #365 +/- ##
=======================================
Coverage 85.80% 85.80%
=======================================
Files 26 26
Lines 1268 1268
Branches 225 225
=======================================
Hits 1088 1088
Misses 110 110
Partials 70 70 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Documentation Updates 2 document(s) were updated by changes in this PR: Contextual Tuples SupportView 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.3) 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.4) and requires OpenFGA server v1.8.0+ for full compatibility.
## Data Model Changes
@@ -114,7 +114,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.3) for contextual tuples in assertions and Expand (requires server v1.8.0+).
+- **JS SDK**: v0.8.0+ (latest: v0.9.4) 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 StrategyView Changes@@ -18,7 +18,7 @@
## SDK-Specific Details
### JavaScript SDK (`@openfga/sdk`)
-**Version Introduced:** v0.9.1 (Current version: v0.9.3)
+**Version Introduced:** v0.9.1 (Current version: v0.9.4)
**[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.3+ for the latest features and fixes.
+- Upgrade to v0.9.4+ 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. |
There was a problem hiding this comment.
Pull request overview
Release bump for the @openfga/sdk JavaScript/Node SDK to v0.9.4, updating version references across package metadata, constants, examples, and the changelog.
Changes:
- Bump SDK version from
0.9.3to0.9.4inpackage.jsonandpackage-lock.json. - Update internal SDK version/user-agent constants to
0.9.4. - Update example dependency documentation and add a v0.9.4 changelog entry.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Bumps published package version to 0.9.4. |
| package-lock.json | Updates lockfile package version entries to 0.9.4. |
| constants/index.ts | Updates SdkVersion and UserAgent strings to 0.9.4. |
| example/README.md | Updates example dependency snippet to ^0.9.4. |
| example/example1/package.json | Updates example dependency to ^0.9.4. |
| CHANGELOG.md | Adds v0.9.4 section and updates Unreleased compare link base. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Raghd Hamzeh <[email protected]>
Description
What problem is being solved?
How is it being solved?
What changes are made to solve it?
References
Review Checklist
mainSummary by CodeRabbit
Bug Fixes
Chores