Skip to content

Releases: fdarian/prisma-generator-drizzle

v0.7.6

05 Jul 12:22
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • fix(generator): one-to-one optionality by @fdarian in #73

👀 Preview Features

  • feat: new drizzle.custom directive by @fdarian in #67
  • feat: drizzle.custom.field.mode for customizing bigint mode by @fdarian in #68

Docs

  • feat(example): with drizzle-orm/prisma by @fdarian in #71

Misc

Full Changelog: v0.7.5...v0.7.6

v0.7.5

05 Jun 11:21
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.4...v0.7.5

v0.7.4

05 Jun 09:57
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.3...v0.7.4

v0.7.3

29 May 13:18
Compare
Choose a tag to compare

What's Changed

  • fix: hardcoding M:N implicit relation pk by @farreldarian in #56. Thanks @jansedlon for the catch.

Full Changelog: v0.7.2...v0.7.3

v0.7.2

29 May 12:01
Compare
Choose a tag to compare

What's Changed

  • Biome support by @farreldarian in #51
  • Custom formatter support by @farreldarian in #52

Full Changelog: v0.7.1...v0.7.2

v0.7.1

10 Apr 16:22
Compare
Choose a tag to compare

What's Changed

  • Introduce drizzle.dateMode directive by @farreldarian in #50

Full Changelog: v0.7.0...v0.7.1

v0.7.0

09 Apr 15:34
Compare
Choose a tag to compare

What's Changed

New Features ✨

  • Produce single output by @farreldarian in #47
    You can now generate a single file output by setting the output as drizzle.ts, and then use it by importing import { <your-model-name> } from 'prisma/drizzle', or import * as schema from 'prisma/drizzle' for relational queries.

  • Allow custom dateMode by @farreldarian in #48
    As requested by @Jonatthu.

Fixes

  • Ignore parsing error by @farreldarian in #40
  • Check config values by @farreldarian in #41

Misc

  • Remove all logger.createTask() usages by @farreldarian in #42
  • Move writing files to end by @farreldarian in #43
  • Refactor Generator by @farreldarian in #44
  • Use Bun:test by @farreldarian in #46

Full Changelog: v0.6.7...v0.7.0

v0.6.7

02 Apr 12:02
Compare
Choose a tag to compare

What's Changed

  • Handle JSON with Comment by @farreldarian in #39

Full Changelog: v0.6.6...v0.6.7

v0.6.6

09 Mar 14:59
Compare
Choose a tag to compare

What's Changed

  • fix: bigint autoincrement by @farreldarian in #35
  • chore: upgrade dependencies by @farreldarian in #36

Misc

  • chore: update and apply biome by @farreldarian in #37

Full Changelog: v0.6.5...v0.6.6

v0.6.5

01 Feb 16:19
Compare
Choose a tag to compare

What's Changed

  • Fix array declaration order by @farreldarian in #33

Full Changelog: v0.6.4...v0.6.5