Skip to content

v0.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Aug 22:13
· 20 commits to main since this release
v0.6.0
2694fb9

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.