Skip to content

Latest commit

 

History

History
211 lines (117 loc) · 13 KB

CHANGELOG.md

File metadata and controls

211 lines (117 loc) · 13 KB

0.9.1 (2022-05-25)

Bug Fixes

  • fix db name in many-to-many tables, relations and field names

0.9.0 (2022-04-04)

Features

  • primitive list: add support for primitive list (30)
  • add map db name option (50ef8cf), #18

0.8.3 (2021-12-01)

Bug Fixes

  • comments: fix multiple quotes in comments (#27)

0.8.2 (2021-11-16)

Bug Fixes

  • referential-actions-map: add map between prisma and DBML referential actions (#25) (913adc1)

0.8.1 (2021-10-01)

Bug Fixes

  • default: add quotes around json default, closes #22 (b848d1c)

0.8.0 (2021-09-22)

Features

0.8.0 (2021-09-22)

Features

0.7.0 (2021-08-11)

BREAKING CHANGES

Prisma introduced a breaking change of the internal DMMF API. If you are using Prisma 2.29.0 or newer install version 0.7.0](https://github.com/notiz-dev/prisma-dbml-generator/releases/tag/v0.7.0) or newer. If you are using Prisma prior to 2.29.0 stay with version 0.6.0](https://github.com/notiz-dev/prisma-dbml-generator/releases/tag/v0.6.0).

Prisma prisma-dbml-generator
>=2.29.0  0.7.0
 <2.29.0  0.6.0

Features

  • indices: update primary and unique indices for prisma 2.29 (8ac5f75)

0.6.0 (2021-06-08)

Bug Fixes

  • dbml: fix md parser (efb544f)
  • m-n-relation: catch invalid m-n-relation (d5d3494)
  • note: escape single quote from documentation, closes #13 (f78d7dc)

0.5.0 (2021-04-01)

Bug Fixes

  • add support for prisma ^2.20 (a280871)

0.4.0 (2020-11-19)

Features

  • indexes: include block level id (221da9c)
  • indexes: include block level unique indexes (67d8fd7)

0.3.1 (2020-09-24)

Bug Fixes

  • self-relations: use name for join fields instead of type (b62dc66)

0.3.0 (2020-09-18)

Bug Fixes

  • many-to-many: disable m-n-table generation (028d0b6)

Features

  • deps: move @prisma/client to devDeps (f6ee512)
  • many-to-many: generate join table (f0e2923)
  • many-to-many: option to disable m-n table (b4615e7)
  • output-name: add option for outputName (a876bec)

0.2.3 (2020-09-16)

Bug Fixes

  • default: table default for string values (86ee44f)

0.2.2 (2020-09-15)

Bug Fixes

  • docs: prisma generate command (fd5b78f)
  • npm: ignore files from npm publish (a288cfc)

0.2.1 (2020-09-15)

Bug Fixes

  • docs: prisma generate command (fd5b78f)

0.2.0 (2020-09-15)

Bug Fixes

  • dmbl: comment out test.json file (5532bbc)
  • relations: add test cases for relations (e68fc5f)
  • point bin to dist (547191c)

Features

  • dbml: add autogenerated comment (2a13128)
  • dbml: test dbml generation (2647684)
  • default: add '' around enum default values (a1117b3)
  • enums: add single enum test (d25b592)
  • generator: update prettyName (9b4e487)
  • prisma: switch to prisma 2.6.0 dev version (e0dcd2b)
  • relations: add none relationship test (1919576)
  • table: add simple table test (f852af4)
  • tests: adding tests for relations (e4be803)

0.1.5 (2020-09-01)

Bug Fixes

  • dmbl: comment out test.json file (5532bbc)
  • relations: add test cases for relations (e68fc5f)
  • point bin to dist (547191c)

Features

  • default: add '' around enum default values (a1117b3)
  • generator: update prettyName (9b4e487)
  • prisma: switch to prisma 2.6.0 dev version (e0dcd2b)
  • tests: adding tests for relations (e4be803)

0.1.4 (2020-09-01)

Bug Fixes

  • relations: add test cases for relations (e68fc5f)
  • point bin to dist (547191c)

Features

  • default: add '' around enum default values (a1117b3)
  • generator: update prettyName (9b4e487)
  • prisma: switch to prisma 2.6.0 dev version (e0dcd2b)
  • tests: adding tests for relations (e4be803)

0.1.2 (2020-08-27)

Bug Fixes

Features

  • default: add '' around enum default values (a1117b3)

0.1.1 (2020-08-27)

Features

  • default: add '' around enum default values (a1117b3)

0.1.0 (2020-08-20)

Bug Fixes

  • relationship: fix combinekeys parameter (fa5e0a6)

Features

  • column-definition: add column defintion to table fields (cdf38aa)
  • enum: generate enum (da508cb)
  • relationship: combine composite foreign keys (ea63aae)
  • relationship: find correct relation (35d6bae)
  • relationship: generate relationship (a9db1a2)
  • table: add table documentation (af4308e)