Skip to content

Conversation

@rhamzeh
Copy link
Member

@rhamzeh rhamzeh commented Nov 4, 2025

Description

Changes:

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 conflict options for Write operations, enabling enhanced control over conflict handling during data modifications
  • Documentation

    • Updated documentation reflecting the latest features and improvements
Copilot AI review requested due to automatic review settings November 4, 2025 22:16
@rhamzeh rhamzeh requested review from a team as code owners November 4, 2025 22:16
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 4, 2025

Walkthrough

This PR updates the SDK version from 0.9.7 to 0.9.8 across all configuration, constant, and documentation files. Changes include version bumps in version configuration, package metadata, SDK constants, example dependencies, and changelog updates.

Changes

Cohort / File(s) Summary
Version Configuration
VERSION.txt, pyproject.toml
Bumps project version from 0.9.7 to 0.9.8
Documentation
CHANGELOG.md, README.md
Updates changelog with 0.9.8 release notes including conflict options feature; updates PyPI badge URL reference
SDK Constants
openfga_sdk/constants.py
Updates SDK_VERSION and USER_AGENT constants from 0.9.7 to 0.9.8
Example Dependencies
example/example1/requirements.txt, example/example1/setup.py
Updates openfga-sdk dependency constraint from >= 0.9.7 to >= 0.9.8

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

All changes are homogeneous version number updates with consistent patterns across multiple files. No logic modifications, API changes, or behavioral implications.

Possibly related PRs

  • release: v0.9.7 #234: Previous version release bump from 0.9.6 to 0.9.7 following the same pattern of updating version strings and User-Agent constants across the codebase

Suggested labels

release

Suggested reviewers

  • evansims

Pre-merge checks and finishing touches

✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'release: v0.9.8' is clear and specific, accurately reflecting the primary objective of this release pull request which bumps the version from 0.9.7 to 0.9.8 across all configuration and manifest files.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release/v0.9.8

📜 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 c522afb and 44d396e.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • CHANGELOG.md (1 hunks)
  • README.md (1 hunks)
  • VERSION.txt (1 hunks)
  • example/example1/requirements.txt (1 hunks)
  • example/example1/setup.py (1 hunks)
  • openfga_sdk/constants.py (1 hunks)
  • pyproject.toml (1 hunks)
⏰ 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). (1)
  • GitHub Check: Upload results
🔇 Additional comments (7)
VERSION.txt (1)

1-1: LGTM! Version bump is consistent.

The version has been correctly updated to 0.9.8, aligning with the release objectives and all other files in this PR.

pyproject.toml (1)

13-13: LGTM! Package version updated correctly.

The project version has been appropriately bumped to 0.9.8, consistent with the release across all configuration files.

README.md (1)

4-4: LGTM! Documentation badge updated.

The Socket Badge URL has been correctly updated to reference version 0.9.8, ensuring the badge displays accurate information for the new release.

example/example1/setup.py (1)

18-18: LGTM! Example dependency updated correctly.

The dependency constraint has been appropriately updated to require openfga-sdk >= 0.9.8, ensuring the example works with the new release.

CHANGELOG.md (1)

3-10: LGTM! Changelog properly updated for v0.9.8 release.

The changelog has been correctly updated with:

The format is consistent with previous release entries.

example/example1/requirements.txt (1)

7-7: LGTM! Requirements file updated correctly.

The openfga-sdk dependency constraint has been appropriately bumped to >= 0.9.8, aligning with the new release and the setup.py configuration.

openfga_sdk/constants.py (1)

17-20: LGTM! SDK constants updated correctly.

Both SDK_VERSION and USER_AGENT constants have been appropriately updated to reflect version 0.9.8. These changes ensure the SDK properly identifies itself in API requests and internal version checks.


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.

@codecov-commenter
Copy link

codecov-commenter commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.99%. Comparing base (c522afb) to head (44d396e).

Additional details and impacted files
@@ Coverage Diff @@ ## main #244 +/- ## ======================================= Coverage 70.99% 70.99% ======================================= Files 137 137 Lines 11038 11038 ======================================= Hits 7836 7836 Misses 3202 3202 

☔ 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

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR bumps the OpenFGA Python SDK version from 0.9.7 to 0.9.8 to release support for conflict options in Write operations.

Key Changes

  • Version updated from 0.9.7 to 0.9.8 across all project files
  • CHANGELOG.md updated with v0.9.8 release notes documenting the conflict options feature
  • Dependencies updated to reference the new version

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
uv.lock Updated package version in lock file
pyproject.toml Updated project version in package metadata
openfga_sdk/constants.py Updated SDK_VERSION and USER_AGENT constants
example/example1/setup.py Updated minimum version requirement for openfga-sdk
example/example1/requirements.txt Updated openfga-sdk dependency version
VERSION.txt Updated version string
README.md Updated Socket Badge URL to reference new version
CHANGELOG.md Added v0.9.8 release section with release date and feature notes

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

@rhamzeh
Copy link
Member Author

rhamzeh commented Nov 4, 2025

The snyk error is OK b/c the example is pointing the the SDK version that has not yet been released so can't find ot
Screenshot 2025-11-04 at 5 22 27 PM

@rhamzeh rhamzeh added this pull request to the merge queue Nov 4, 2025
Merged via the queue into main with commit 0604026 Nov 4, 2025
32 of 34 checks passed
@rhamzeh rhamzeh deleted the release/v0.9.8 branch November 4, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants