Skip to content

Releases: L-Mario564/drizzle-dbml-generator

v0.10.0

10 Dec 18:50
Compare
Choose a tag to compare

Fixed #22, #25 & #24.

This library now requires you to have drizzle-orm 0.36.0 or greater.

v0.9.0

22 Aug 03:27
Compare
Choose a tag to compare
  • Support tables in different schemas. (Addresses #18).
  • Fix an error that occurred when table extra config was undefined. (Addresses #14).

BREAKING CHANGES (for some)

To make this library lighter, Drizzle ORM is now a peer dependency rather than a regular one, this means that you have to have drizzle-orm installed in your repo. Many of you likely already have Drizzle ORM installed, but for those who haven't (like in the case of using a monorepo), you have to install Drizzle ORM.

Another breaking change to go alongside the prior is that the minimum version of Drizzle ORM must be 0.32.0. For those who already have the package up to date (0.32.0 or greater), nothing needs to be done.

v0.8.0

20 Jul 02:31
Compare
Choose a tag to compare
  • Fix tables not generating in DBML output files with newest version of Drizzle ORM. (Addresses #21, #19)

v0.7.0

06 Jun 04:24
af2dc04
Compare
Choose a tag to compare
  • Fix breaking changes related to the new index API with the Postgres dialect that affected the creation of indexes. Fixed by @rorz.

v0.6.1

28 Nov 21:26
Compare
Choose a tag to compare
  • Fix certain characters not being escaped, which lead to invalid DBML syntax in some cases. Fixed by: @kevinschaich.

v0.6.0

25 Nov 20:26
Compare
Choose a tag to compare
  • Make each dialect's generate functions return a string containing the generated DBML. Implemented by: @cometkim.
  • out is now optional for each function.

v0.5.0

23 Nov 01:30
Compare
Choose a tag to compare
  • Fix "getSQLType is not a function" error. Fixed by: @MendyLanda.
  • Update drizzle-orm dependency to version 0.29.0.

v0.4.0

23 Sep 20:24
Compare
Choose a tag to compare
  • Add SQLite dialect support.
  • Upgraded drizzle-orm dependency to version 0.28.6, and with this, Postgres' smallserial generates as smallserial, as it should. Previously generated as serial due to a bug in Drizzle ORM.

v0.3.0

23 Sep 17:44
Compare
Choose a tag to compare
  • Add MySQL dialect support.

v0.2.1

03 Sep 15:50
Compare
Choose a tag to compare
  • Replace checks made with instanceof with Drizzle's is function to better check if a value is equal to a certain class.