Releases: rmp135/sql-ts
Releases · rmp135/sql-ts
2.2.0
2.1.0
New
- Add support for node 18. Thanks to @hhanesand for the contribution.
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.