Skip to content

Conversation

evansims
Copy link
Member

@evansims evansims commented Oct 6, 2025

0.9.7 (2025-10-06)

Summary by CodeRabbit

  • Chores

    • Bumped SDK version to v0.9.7 and updated default User-Agent strings accordingly (including OAuth2).
    • Updated example dependencies to use v0.9.7.
    • Removed gitleaks from pre-commit hooks.
  • Documentation

    • Updated changelog for v0.9.7, highlighting a new headers configuration property and a fix for per-request custom header precedence.
  • Tests

    • Adjusted tests to reflect the new User-Agent value and header behavior.

@evansims evansims requested a review from a team as a code owner October 6, 2025 17:24
Copy link
Contributor

coderabbitai bot commented Oct 6, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

Version bumped from 0.9.6 to 0.9.7 across code, tests, examples, and packaging. Updated User-Agent strings accordingly. Changelog updated to v0.9.7 with new entries. Removed gitleaks from pre-commit hooks. No functional or API behavior changes beyond header/version strings.

Changes

Cohort / File(s) Summary
Release/version bump
VERSION.txt, pyproject.toml, openfga_sdk/__init__.py, openfga_sdk/api_client.py, openfga_sdk/oauth2.py, openfga_sdk/configuration.py, openfga_sdk/sync/api_client.py, openfga_sdk/sync/oauth2.py
Bump version to 0.9.7; update DEFAULT_USER_AGENT/User-Agent strings and debug report version.
Tests: header expectations
test/api/open_fga_api_test.py, test/oauth2_test.py, test/sync/open_fga_api_test.py, test/sync/oauth2_test.py
Update expected User-Agent strings from 0.9.6 to 0.9.7 in assertions.
Examples: dependency bump
example/example1/requirements.txt, example/example1/setup.py
Update openfga-sdk dependency to 0.9.7 (pinned and minimum).
Changelog
CHANGELOG.md
Update Unreleased to v0.9.7; add entries for headers config and header precedence fix; adjust headings formatting.
Tooling
.pre-commit-config.yaml
Remove gitleaks pre-commit hook configuration.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

enhancement

Suggested reviewers

  • rhamzeh
  • ewanharris

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 “release: v0.9.7” clearly and concisely indicates the primary change of this PR is the version bump for the 0.9.7 release, matching the changeset without extra detail or noise.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

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.

Copy link

socket-security bot commented Oct 6, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedattrs@​25.3.0 ⏵ 25.4.0100 +1100100100100
Updatedfrozenlist@​1.7.0 ⏵ 1.8.0100 +1100100100100
Updatedpropcache@​0.3.2 ⏵ 0.4.0100 +1100100100100
Updatedyarl@​1.20.1 ⏵ 1.22.0100 +1100100100100
Updatedmultidict@​6.6.4 ⏵ 6.7.0100 +1100100100100

View full report

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.79%. Comparing base (ac3395c) to head (d487d5f).

❌ Your project status has failed because the head coverage (70.79%) 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     #234   +/-   ##
=======================================
  Coverage   70.79%   70.79%           
=======================================
  Files         134      134           
  Lines       10904    10904           
=======================================
  Hits         7719     7719           
  Misses       3185     3185           

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

@evansims evansims requested review from a team as code owners October 6, 2025 17:35
@evansims evansims added this pull request to the merge queue Oct 6, 2025
Merged via the queue into main with commit 6f06c2f Oct 6, 2025
28 checks passed
@evansims evansims deleted the release/v0.9.7 branch October 6, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants