Skip to content

release(java-sdk): v0.9.1#635

Merged
ewanharris merged 1 commit into
mainfrom
release/java-0.9.1
Oct 7, 2025
Merged

release(java-sdk): v0.9.1#635
ewanharris merged 1 commit into
mainfrom
release/java-0.9.1

Conversation

@ewanharris
Copy link
Copy Markdown
Member

@ewanharris ewanharris commented Oct 7, 2025

Description

Cuts a release of the java sdk with header fixes

## v0.9.1

### [0.9.1](https://github.com/openfga/java-sdk/compare/v0.9.0...v0.9.1) (2025-10-07)

### Fixed

- Override `defaultHeaders` in `ClientConfiguration` to return correct type when using method (#226)
- Correctly handle options with no modelID set in `readAuthorizationModel` (#226)
- Include headers when converting from `ClientListRelationsOptions` to `ClientBatchCheckOptions` (#226)

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

    • Corrected configuration typing issues.
    • Resolved option handling for readAuthorizationModel.
    • Ensured headers are preserved when converting options.
  • Documentation

    • Added a 0.9.1 section to the changelog summarizing the above fixes.
  • Chores

    • Bumped Java client version to 0.9.1.

@ewanharris ewanharris requested a review from a team as a code owner October 7, 2025 16:39
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Oct 7, 2025

Walkthrough

Adds a Java client patch release entry (v0.9.1) to the CHANGELOG template and bumps the Java packageVersion from 0.9.0 to 0.9.1. The changelog notes fixes for ClientConfiguration typing, readAuthorizationModel options, and header inclusion during option conversion.

Changes

Cohort / File(s) Summary of Changes
Java client changelog update
config/clients/java/CHANGELOG.md.mustache
Added v0.9.1 section under Unreleased with three fix entries: ClientConfiguration typing, readAuthorizationModel options, and header inclusion when converting options.
Java client version bump
config/clients/java/config.overrides.json
Updated packageVersion from 0.9.0 to 0.9.1.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

release

Suggested reviewers

  • rhamzeh

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title uses a conventional style indicating a Java SDK release to version 0.9.1, clearly aligning with the PR’s main purpose of cutting that release and matching the changes detailed in the changelog and objectives.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release/java-0.9.1

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 591cc30 and 801ad7d.

📒 Files selected for processing (2)
  • config/clients/java/CHANGELOG.md.mustache (1 hunks)
  • config/clients/java/config.overrides.json (1 hunks)
🧰 Additional context used
📓 Path-based instructions (4)
config/**/*.mustache

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Validate mustache syntax and variable references across all template files, including CHANGELOG.md.mustache

Files:

  • config/clients/java/CHANGELOG.md.mustache
config/**/*.{json,mustache}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Never hardcode API keys or credentials in configuration or template files

Files:

  • config/clients/java/CHANGELOG.md.mustache
  • config/clients/java/config.overrides.json
config/clients/*/config.overrides.json

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

config/clients/*/config.overrides.json: Always update the packageVersion in each language-specific config.overrides.json when making version changes
Maintain FOSSA compliance notice IDs in each language’s config.overrides.json

Files:

  • config/clients/java/config.overrides.json
config/{common/config.base.json,clients/*/config.overrides.json}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Ensure consistent versioning across base and language override configuration files to avoid version conflicts

Files:

  • config/clients/java/config.overrides.json
🧠 Learnings (1)
📚 Learning: 2025-09-04T17:35:34.111Z
Learnt from: CR
PR: openfga/sdk-generator#0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-09-04T17:35:34.111Z
Learning: Applies to config/clients/*/config.overrides.json : Always update the packageVersion in each language-specific config.overrides.json when making version changes

Applied to files:

  • config/clients/java/config.overrides.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build-and-test-java-sdk
  • GitHub Check: build-and-test-go-sdk

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.

@ewanharris ewanharris added this pull request to the merge queue Oct 7, 2025
Merged via the queue into main with commit bb55d13 Oct 7, 2025
19 checks passed
@ewanharris ewanharris deleted the release/java-0.9.1 branch October 7, 2025 17: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.

2 participants