Skip to content

v0.7.0

Latest

Choose a tag to compare

@mrdannael mrdannael released this 14 Jun 11:06
· 6 commits to master since this release

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.