Releases: rmp135/sql-ts
Releases · rmp135/sql-ts
2.1.0
2.0.1
2.0.0
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 thefilename
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.
1.18.1
1.18.0
1.17.0
1.16.0
1.15.1
1.15.0
New
-
MIT license has been added. Thanks to @VanTanev for bringing this to my attention.
-
Merge #103 - Adds support for pulling the default value of a column from all providers. The value in this field is the raw value that the provider stores the default as and may require additional parsing. Thanks to @laurent22 for the initial merge.
1.14.0
Breaking
- Fix 104 Trailing numbers are now merged when converting to case. Although technically a regression it does impact the generated names.
New
- Merge 102 . Support
_uuid
arrays. Thanks to @jwmonroe-outschool
Fixes
- Fix 107. Enum names of
0
are now correctly converted to TS safe values.
(Not sure why but the linking to issues / pull requests are broken in the editor.)