Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR releases version 0.8.0 of the OpenFGA SDK, introducing support for custom headers, write conflict resolution options, and improved rate limiting retry logic. Key features include per-request headers via new options interfaces, conflict handling controls for duplicate writes and missing deletes, and Retry-After header support for HTTP 429 responses.
- Added custom headers support at both client and request levels with validation against reserved headers
- Introduced
ConflictOptionsfor controlling duplicate write and missing delete behavior - Enhanced retry logic to respect
Retry-Afterheaders from rate limit responses
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/OpenFga.Sdk/OpenFga.Sdk.csproj | Updated package version from 0.7.0 to 0.8.0 |
| src/OpenFga.Sdk/Configuration/Configuration.cs | Updated SDK version constant and user agent string to 0.8.0 |
| CHANGELOG.md | Added v0.8.0 release entry with feature details and breaking changes documentation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This was
linked to
issues
Oct 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DefaultHeaderssupport toClientConfigurationfor headers sent with every requestHeadersproperty on all client options classesIRequestOptionsinterface andRequestOptionsclass for API-level header supportIClientRequestOptionsinterface andClientRequestOptionsclass for client-level header supportConflictOptionsto control behavior for duplicate writes and missing deletesOnDuplicateWritesoption:Error(default) orIgnorefor handling duplicate tuple writesOnMissingDeletesoption:Error(default) orIgnorefor handling missing tuple deletesClientWriteOptions.ConflictpropertyRetry-Afterheader from HTTP 429 responsesWarning
BREAKING CHANGES:
OpenFgaApi methods: All API methods now accept an
IRequestOptions? optionsparameter. If you are using the low-levelOpenFgaApidirectly, you may need to update your calls:Before:
After:
ClientRequestOptions renamed: The base client request options interface has been renamed from
ClientRequestOptionstoIClientRequestOptionsto better follow .NET naming conventions. A concreteClientRequestOptionsclass is now also available. If you were casting to or implementing this interface, update your code:Before:
After:
Note: If you are using the high-level
OpenFgaClient, no changes are required to your existing code. The new headers functionality is additive via the existing options parameters.