Skip to content

2.0.0

Compare
Choose a tag to compare
@rmp135 rmp135 released this 16 Mar 20:20
· 15 commits to master since this release
3589702

A complete overhaul of the API, modernised testing and improvements galore.

Breaking

  • Exports as an ES module so consumers must also be a module.
  • folder config option removed in favour of specifying the folder in the filename option.
  • The data passed into the template has been modified slightly. A database object of schemas and the entire config is now available.

New

  • Support for MySQL enums (converts to string union)
  • Fluent API for node
  • Mapping functions for cleaner customisation

Changes

  • Very slight change to the output TS file. Apologies in advance for those checking the diffs.
  • Minor optionality fixes with integrations found during testing.