Skip to content

v0.18.0

Pre-release
Pre-release

Choose a tag to compare

@Conaclos Conaclos released this 26 Oct 22:17
· 17 commits to main since this release
v0.18.0
b14ae4f
  • Struct field names can now be in snake_case.

    Previously, only field names in camelCase were allowed in a BARE schema.
    The 14th draft of BARE allows field names in camelCase, snake_case or mixed_Case.
    The --pedantic option ensures that a field name is either in camelCase or snake_case.

    snake_case and mixed_Case are normalized to camelCase for JavaScript and TypeScript generators.

  • Improve the command line help message.

    Hopefully, this will make the provided options more explanatory.
    Also, we improved the documentation about type correspondence between BARE and TypeScript.