Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #295 +/- ##
=========================================
Coverage 37.70% 37.70%
Complexity 1236 1236
=========================================
Files 197 197
Lines 7609 7609
Branches 880 880
=========================================
Hits 2869 2869
Misses 4601 4601
Partials 139 139 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Release PR updating the Java SDK to v0.9.6, aligning build/publishing metadata, examples, docs, and the changelog with the new version.
Changes:
- Bumped SDK/version identifiers from 0.9.5 to 0.9.6 across Gradle configuration and constants.
- Updated example projects and README dependency snippets to reference 0.9.6.
- Added a v0.9.6 entry and updated compare links in
CHANGELOG.md.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/main/java/dev/openfga/sdk/constants/FgaConstants.java |
Updates SDK version constant used for user-agent/version reporting. |
build.gradle |
Bumps project version to 0.9.6. |
publish.gradle |
Updates published POM version metadata to 0.9.6. |
examples/streamed-list-objects/build.gradle |
Updates local JAR reference to openfga-sdk-0.9.6.jar. |
examples/opentelemetry/build.gradle |
Updates fgaSdkVersion used by the example dependency. |
examples/basic-examples/build.gradle |
Updates example dependency version to 0.9.6. |
README.md |
Updates installation snippets to 0.9.6. |
CHANGELOG.md |
Adds v0.9.6 section and updates Unreleased compare base. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| group = 'dev.openfga' | ||
| name = 'openfga-sdk' | ||
| version = '0.9.5' | ||
| version = '0.9.6' | ||
| description = 'This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).' |
There was a problem hiding this comment.
In the pom {} metadata block, group/version are hardcoded and duplicated with the project coordinates (group/version in the root build.gradle). This can drift across releases and is a bit misleading since publication coordinates are typically controlled on the MavenPublication (or inherited from the project). Consider removing the hardcoded version (and group if possible) and relying on project.version/project.group, or setting the publication’s coordinates explicitly on the MavenPublication instead of inside pom {}.
| dependencies { | ||
| // Use local build of SDK | ||
| implementation files('../../build/libs/openfga-sdk-0.9.5.jar') | ||
| implementation files('../../build/libs/openfga-sdk-0.9.6.jar') |
There was a problem hiding this comment.
This example references a specific local JAR filename that includes the SDK version. That requires manual updates every release and will break if the built artifact name/version differs (e.g., snapshots or classifiers). Consider deriving the filename from a single version property, using a fileTree pattern, or switching the example to resolve the SDK via Maven (e.g., mavenLocal() or a normal dependency) to avoid frequent edits.
| implementation files('../../build/libs/openfga-sdk-0.9.6.jar') | |
| implementation fileTree(dir: '../../build/libs', include: 'openfga-sdk-*.jar') |
Description
What problem is being solved?
How is it being solved?
What changes are made to solve it?
References
Review Checklist
main