Skip to content

chore: revert release & notes for v0.9.7#418

Merged
SoulPancake merged 1 commit into
mainfrom
chore/revert-release-097
May 11, 2026
Merged

chore: revert release & notes for v0.9.7#418
SoulPancake merged 1 commit into
mainfrom
chore/revert-release-097

Conversation

@SoulPancake

@SoulPancake SoulPancake commented May 11, 2026

Copy link
Copy Markdown
Member

This reverts commit 23c122a.

Description

What problem is being solved?

How is it being solved?

What changes are made to solve it?

References

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

Summary by CodeRabbit

  • Bug Fixes

    • Fixed retry default parameter setting
    • Prevented token refresh thundering herd issue
    • Stopped token refresh errors from being converted into auth errors
  • Chores

    • Updated package version to 0.9.6

Review Change Stack

@SoulPancake
SoulPancake requested a review from a team as a code owner May 11, 2026 16:41
Copilot AI review requested due to automatic review settings May 11, 2026 16:41
@coderabbitai

coderabbitai Bot commented May 11, 2026

Copy link
Copy Markdown

Walkthrough

This PR updates four configuration and version declaration files to release version 0.9.6 of the JavaScript SDK. The release manifest, package metadata, SDK constants, and changelog are all bumped consistently from the prior 0.9.7 version.

Changes

Version 0.9.6 Release Bump

Layer / File(s) Summary
Release Manifest and Package Version
.release-please-manifest.json, package.json
Release manifest and package version both bumped from 0.9.7 to 0.9.6.
SDK Version Constants
constants/index.ts
SdkVersion constant updated from "0.9.7" to "0.9.6", which cascades into the UserAgent and SdkConstants exports.
Changelog Release Entry
CHANGELOG.md
Top changelog heading changed to version 0.9.6 with release date 2026-05-11; the "Fixed" list documenting token-refresh and retry improvements remains unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • openfga/js-sdk#397: Both PRs modify the same release-related files to set the repository to v0.9.6.
  • openfga/js-sdk#362: Both PRs modify the same release/version metadata files including SdkVersion, package.json, manifest, and CHANGELOG.
  • openfga/js-sdk#321: Both PRs perform release-version bumps affecting package.json, CHANGELOG.md, and SDK version constants.

Suggested labels

autorelease: pending

Suggested reviewers

  • rhamzeh
  • ewanharris
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately describes the main change: reverting the v0.9.7 release by downgrading version numbers across all relevant files from 0.9.7 to 0.9.6.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/revert-release-097

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@rhamzeh rhamzeh changed the title chore: Revert release v0.9.7 chore: revert release & notes for v0.9.7 May 11, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.74%. Comparing base (23c122a) to head (dde424c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #418   +/-   ##
=======================================
  Coverage   85.74%   85.74%           
=======================================
  Files          25       25           
  Lines        1305     1305           
  Branches      265      265           
=======================================
  Hits         1119     1119           
  Misses        108      108           
  Partials       78       78           

☔ 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.

@dosubot

dosubot Bot commented May 11, 2026

Copy link
Copy Markdown

Documentation Updates

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

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.7)  
+**Version Introduced:** v0.9.1 (Current version: v0.9.6)  
 **[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.7+ for the latest features and fixes.
+- Upgrade to v0.9.6+ 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 enabled auto-merge May 11, 2026 16:44
@SoulPancake
SoulPancake added this pull request to the merge queue May 11, 2026

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

Reverts the repository’s release metadata from v0.9.7 back to v0.9.6 so package/version identifiers remain consistent across npm manifests, SDK constants, the changelog, and release-please state.

Changes:

  • Downgrade package versions in package.json and package-lock.json to 0.9.6.
  • Update SdkVersion in constants/index.ts to 0.9.6.
  • Adjust CHANGELOG.md and .release-please-manifest.json to reflect 0.9.6.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Reverts published package version to 0.9.6.
package-lock.json Keeps lockfile’s top-level/package entry versions aligned to 0.9.6.
constants/index.ts Reverts SDK version constant used for user-agent/telemetry to 0.9.6.
CHANGELOG.md Updates the latest release header/link to 0.9.6.
.release-please-manifest.json Reverts release-please manifest version to 0.9.6.

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

Merged via the queue into main with commit 93131c7 May 11, 2026
35 checks passed
@SoulPancake
SoulPancake deleted the chore/revert-release-097 branch May 11, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants