Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/openfga/go-sdk to v0.6.0 - autoclosed #21

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 31, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/openfga/go-sdk v0.5.0 -> v0.6.0 age adoption passing confidence

Release Notes

openfga/go-sdk (github.com/openfga/go-sdk)

v0.6.0

Compare Source

0.6.0 (2024-08-29)
  • feat: support OpenTelemetry metrics reporting (#​115)
  • feat!: support for sending the consistency parameter to the read, check, list users, list objects, and expand endpoints (#​117)
  • chore(docs): update stale README (#​113) - thanks @​Code2Life

BREAKING CHANGE:

When the generator converts enums in the open API definition, by default it removes the type prefix. For example, TYPE_NAME_UNSPECIFIED is converted to a const named UNSPECIFIED. This leads to potential collisions with other enums, and as the consistency type is a new enum, we finally got a collision (was just a matter of time).

The fix for this is to specify "enumClassPrefix": true in the generation config. This will then include the class name on the const name, which resoles collision issues. This means any enum value, such as INT now becomes TYPENAME_INT. The main impact of this is the TypeName consts and error codes. The fix is to add the class name prefix as discussed above.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@golanglemonade golanglemonade enabled auto-merge (squash) August 31, 2024 17:13
@renovate renovate bot changed the title Update module github.com/openfga/go-sdk to v0.6.0 Update module github.com/openfga/go-sdk to v0.6.0 - autoclosed Aug 31, 2024
@renovate renovate bot closed this Aug 31, 2024
auto-merge was automatically disabled August 31, 2024 17:22

Pull request was closed

@renovate renovate bot deleted the renovate/github.com-openfga-go-sdk-0.x branch August 31, 2024 17:22
Copy link

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.

1 participant