Skip to content

Releases: mrdannael/genum-openapi

v0.7.0

Choose a tag to compare

@mrdannael mrdannael released this 14 Jun 11:06

What's Changed

Breaking Changes!

The normalize and uppercase commands have been split into smaller parts to allow more granular control over whether to normalize/uppercase export enum names and enum key names, or to perform these processes separately on either names or keys.

If you previously used --normalize and --uppercase, these commands are now split into --normalize-keys and --uppercase-keys.

Additionally, new commands have been introduced: --uppercase-names and --normalize-names, which perform the respective operations only on exported enum names.

  • --normalize and --uppercase now modify both enum names and their keys.
  • --normalize-keys and --uppercase-keys specifically target the enum keys.
  • --normalize-names and --uppercase-names specifically target the exported enum names.

These changes provide more flexibility and control over the normalization and uppercasing processes. Make sure to update your usage accordingly to leverage these new options.

v0.6.0

Choose a tag to compare

@mrdannael mrdannael released this 17 May 11:17

What's Changed

  • CLI is now able to reveceive custom replacers with --custom-replacers argument (see README.md)

v0.5.0

Choose a tag to compare

@mrdannael mrdannael released this 12 Jan 11:31

What's Changed

  • Handle spaces and braces during normalization process

v0.4.0

Choose a tag to compare

@mrdannael mrdannael released this 12 Jan 11:35

What's Changed

  • Handle properly enums keys that starts with a number
  • Allow providing own prenum for enum keys

v0.3.1

Choose a tag to compare

@mrdannael mrdannael released this 12 Jan 11:37

What's Changed

  • Fix the issue when suffix and prefix are provided at the same time

v0.3.0

Choose a tag to compare

@mrdannael mrdannael released this 12 Jan 11:39

What's Changed

  • Handle adding prefix to the enums names
  • Enhance github workflow

v0.2.0

Choose a tag to compare

@mrdannael mrdannael released this 12 Jan 11:40

What's Changed

  • Handle parsing JSON files with OpenAPI schema

v0.1.6

Choose a tag to compare

@mrdannael mrdannael released this 12 Jan 11:42

What's Changed

  • Get CLI version from package.json