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

build(deps): bump github.com/openfga/go-sdk from 0.5.0 to 0.6.0 #4318

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 30, 2024

Bumps github.com/openfga/go-sdk from 0.5.0 to 0.6.0.

Release notes

Sourced from github.com/openfga/go-sdk's releases.

v0.6.0

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 (it 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 resolves collision issues. This means any enum value, such as INT now becomes TYPENAME_INT. The main impact of this is the TypeName const and error codes. The fix is to add the class name prefix, as discussed above.

Changelog

Sourced from github.com/openfga/go-sdk's changelog.

v0.6.0

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.

Commits
  • 2694fb9 release: v0.6.0 (#118)
  • 74964e8 chore: fix out-dated document of ClientTupleKey (#113)
  • 0887f1c feat: support OpenTelemetry metrics (#115)
  • d1fa227 feat!: support consistency parameter (#117)
  • 9449c5e chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0 in the dependencies g...
  • 847a8f1 chore(deps): bump actions/setup-go from 5.0.1 to 5.0.2 in the dependencies gr...
  • e445b77 chore(docs): fix typo in README.md (#111)
  • f0daa03 chore(deps): bump the dependencies group with 2 updates (#109)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 30, 2024
Copy link

Minder Vulnerability Report ✅

Minder analyzed this PR and found it does not add any new vulnerable dependencies.

Vulnerability scan of 31ad1197:

  • 🐞 vulnerable packages: 0
  • 🛠 fixes available for: 0

@coveralls
Copy link

coveralls commented Aug 30, 2024

Coverage Status

coverage: 53.676%. remained the same
when pulling 707c639 on dependabot/go_modules/github.com/openfga/go-sdk-0.6.0
into a3e6db1 on main.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/openfga/go-sdk-0.6.0 branch from 31ad119 to 80a7020 Compare August 30, 2024 07:20
Bumps [github.com/openfga/go-sdk](https://github.com/openfga/go-sdk) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/openfga/go-sdk/releases)
- [Changelog](https://github.com/openfga/go-sdk/blob/main/CHANGELOG.md)
- [Commits](openfga/go-sdk@v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/openfga/go-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/openfga/go-sdk-0.6.0 branch from 80a7020 to 707c639 Compare August 30, 2024 07:22
@JAORMX JAORMX merged commit 8678f4e into main Aug 30, 2024
21 checks passed
@JAORMX JAORMX deleted the dependabot/go_modules/github.com/openfga/go-sdk-0.6.0 branch August 30, 2024 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants