Releases: fdarian/prisma-generator-drizzle
Releases · fdarian/prisma-generator-drizzle
v0.7.6
What's Changed
Bug Fixes
👀 Preview Features
- feat: new
drizzle.custom
directive by @fdarian in #67 - feat:
drizzle.custom.field.mode
for customizingbigint
mode by @fdarian in #68
Docs
Misc
- test: back to vitest by @fdarian in #72
- refactor: upgrade valibot to v0.31 by @jansedlon in #65
Full Changelog: v0.7.5...v0.7.6
v0.7.5
What's Changed
- fix: picklist was validated after coerce to boolean by @jansedlon in #61
- Feat/allow format to fail by @jansedlon in #62
New Contributors
- @jansedlon made their first contribution in #61
Full Changelog: v0.7.4...v0.7.5
v0.7.4
v0.7.3
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
v0.7.1
v0.7.0
What's Changed
New Features ✨
-
Produce single output by @farreldarian in #47
You can now generate a single file output by setting theoutput
asdrizzle.ts
, and then use it by importingimport { <your-model-name> } from 'prisma/drizzle'
, orimport * as schema from 'prisma/drizzle'
for relational queries. -
Allow custom dateMode by @farreldarian in #48
As requested by @Jonatthu.
Fixes
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