Skip to content

chore(release): v0.9.7#307

Merged
SoulPancake merged 1 commit intomainfrom
release/097
Mar 17, 2026
Merged

chore(release): v0.9.7#307
SoulPancake merged 1 commit intomainfrom
release/097

Conversation

@SoulPancake
Copy link
Member

@SoulPancake SoulPancake commented Mar 17, 2026

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

  • New Features

    • Added StreamingApiExecutor for streaming endpoints.
  • Bug Fixes

    • Fixed Telemetry instance sharing per SDK client.
    • Corrected Socket Badge URL in documentation.

@SoulPancake SoulPancake requested review from a team as code owners March 17, 2026 09:25
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 17, 2026

Walkthrough

A version release from 0.9.6 to 0.9.7, updating version numbers across Gradle build files, example projects, changelog, README, and SDK constants. Changelog documents new StreamingApiExecutor feature and bug fixes.

Changes

Cohort / File(s) Summary
Documentation
CHANGELOG.md, README.md
Added v0.9.7 release section documenting StreamingApiExecutor addition and fixes for Telemetry instance sharing and Socket Badge URL. Updated version references in installation examples.
Core Build Configuration
build.gradle, publish.gradle, src/main/java/dev/openfga/sdk/constants/FgaConstants.java
Incremented version from 0.9.6 to 0.9.7 in project version, publication pom, and SDK_VERSION constant.
Example Projects
examples/basic-examples/build.gradle, examples/opentelemetry/build.gradle, examples/streamed-list-objects/build.gradle
Updated SDK dependency version from 0.9.6 to 0.9.7 across all example project configurations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • release: v0.9.5 #274: Both PRs perform the same kind of release-version bump and update the same code-level elements (e.g., FgaConstants.SDK_VERSION, CHANGELOG/README and build/publish files).
  • release v0.9.3 #255: Both PRs perform the same type of release/version bump changes (updating CHANGELOG/README/build files and FgaConstants.SDK_VERSION).
  • release v0.9.4 #267: Both PRs perform release/version bump changes touching the same files and constants (e.g., updating FgaConstants.SDK_VERSION and release entries in CHANGELOG/README).

Suggested reviewers

  • rhamzeh
  • jimmyjames
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 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.
Title check ✅ Passed The title 'chore(release): v0.9.7' accurately summarizes the main change: a version bump release updating the SDK from 0.9.6 to 0.9.7 across all configuration files, documentation, and constants.

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

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/097
📝 Coding Plan
  • Generate coding plan for human review comments

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.

@dosubot
Copy link

dosubot bot commented Mar 17, 2026

Related Documentation

1 document(s) may need updating based on files changed in this PR:

OpenFGA's Space

Retry-After Header and Retry Strategy
View Suggested Changes
@@ -70,7 +70,7 @@
 - For details on supported Node.js versions and our support policy, see [SUPPORTED_RUNTIMES.md](https://github.com/openfga/js-sdk/blob/main/SUPPORTED_RUNTIMES.md).
 
 ### Java SDK
-**Version Introduced:** v0.9.6  
+**Version Introduced:** v0.9.7  
 **[Changelog](https://github.com/openfga/java-sdk/blob/33a85203ec0af0935b0fa265a469a1851870fff7/CHANGELOG.md#L40-L52)**
 
 #### Retry-After Handling
@@ -209,7 +209,7 @@
 | SDK         | Retry-After Support | Exponential Backoff (Default) | Max Retries (Default/Max) | Min Retry Delay (Default) | Error Exposure | Version Introduced |
 |-------------|--------------------|-------------------------------|---------------------------|--------------------------|---------------|-------------------|
 | JavaScript  | Yes (int/date, 1–1800s) | 2^n * minWaitInMs, jitter, cap 120s | 3 / 15                   | 100ms                   | Error classes  | v0.9.1            |
-| Java        | Yes (int/date, 1–1800s) | 2^n * minDelay, jitter, cap 120s   | 3 / 15                   | 100ms                   | Error + header | v0.9.6            |
+| Java        | Yes (int/date, 1–1800s) | 2^n * minDelay, jitter, cap 120s   | 3 / 15                   | 100ms                   | Error + header | v0.9.7            |
 | Go          | Yes (int/date, 1–1800s) | 2^n * minWaitInMs, jitter, cap 120s| 3 / 15                   | 100ms                   | Error methods  | v0.7.0            |
 | Python      | Yes (int/date, 1–1800s) | 2^n * min_wait_in_ms, jitter, cap 120s | 3 / 15               | 100ms                   | Exception      | v0.9.4            |
 | .NET        | Yes (int/date, 1–1800s) | 2^n * 500ms, jitter, cap 120s      | 3 / 15                   | 100ms                   | Error + header | v0.8.0            |

[Accept] [Decline]

Note: You must be authenticated to accept/decline updates.

How did I do? Any feedback?  Join Discord

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.03%. Comparing base (7601238) to head (4f64609).

❌ Your project status has failed because the head coverage (38.03%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #307   +/-   ##
=========================================
  Coverage     38.03%   38.03%           
  Complexity     1258     1258           
=========================================
  Files           198      198           
  Lines          7643     7643           
  Branches        885      885           
=========================================
  Hits           2907     2907           
  Misses         4598     4598           
  Partials        138      138           

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

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
build.gradle (1)

22-22: Consider centralizing release version from a single source of truth.

Line 22 is correct, but this PR shows the version duplicated across several Gradle files. Consider sourcing all version references from one shared property (for example gradle.properties) to reduce future release drift.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@build.gradle` at line 22, The project currently hardcodes version = '0.9.7'
in build.gradle; centralize this by adding a single property (for example
version=0.9.7) to gradle.properties and change build.gradle to read that
property instead of the literal (replace the direct assignment to the version
variable with a property lookup using the Gradle project/property API). Update
any other Gradle files that currently duplicate the literal to reference the
same property so all modules use the single source of truth (gradle.properties
-> project.version or property("version")).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@build.gradle`:
- Line 22: The project currently hardcodes version = '0.9.7' in build.gradle;
centralize this by adding a single property (for example version=0.9.7) to
gradle.properties and change build.gradle to read that property instead of the
literal (replace the direct assignment to the version variable with a property
lookup using the Gradle project/property API). Update any other Gradle files
that currently duplicate the literal to reference the same property so all
modules use the single source of truth (gradle.properties -> project.version or
property("version")).

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3779307b-cb5a-4514-9d6d-2afc14675b1c

📥 Commits

Reviewing files that changed from the base of the PR and between 7601238 and 4f64609.

📒 Files selected for processing (8)
  • CHANGELOG.md
  • README.md
  • build.gradle
  • examples/basic-examples/build.gradle
  • examples/opentelemetry/build.gradle
  • examples/streamed-list-objects/build.gradle
  • publish.gradle
  • src/main/java/dev/openfga/sdk/constants/FgaConstants.java

@SoulPancake SoulPancake changed the title release: v0.9.7 chore(release): v0.9.7 Mar 17, 2026
@SoulPancake SoulPancake added this pull request to the merge queue Mar 17, 2026
Merged via the queue into main with commit 1da0dd5 Mar 17, 2026
26 of 28 checks passed
@SoulPancake SoulPancake deleted the release/097 branch March 17, 2026 11:42
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.

3 participants