- 4526321: Added support for the Kysely SQL Server dialect Awesome work from @dylel 🎊
- 04de4dc: Fixed automatic relation code generation bug. Thanks @Bayezid1989 🥳
- 22a1e5c: Fixes array types (Thanks Karrui! 🥳🇸🇬)
- 21980b2: Updates dependencies that were throwing deprectaion warnings. (Thank you @delight! 🍺)
- bf0ccf6: Implicit many to many relations are finally fixed thanks to @dextertanyj 🇸🇬🎉🥂. Huge thanks to him!
- defb3fa: Update typescript to 5 and migrate from ttypescript to ts-patch (Thank you @alandotcom! 🎉)
- 3ec4465: Support
multiSchema
preview feature. (Thanks to @duniul 🇸🇪🪅)
- 7923981: Adds per field type overrides
- 6a50fe8: Respect mapped names for fields with enum types. (Thank you @fehnomenal 🇩🇪🎉)
- 3ec4465: Sort DB properties by table name instead of type name. (Thank you @duniul 🇸🇪🪅)
-
744b666: Uses the value of fileName when no enumFileName provided. Previously now if you used a different fileName and you didn't provide enumFileName it put the database in the fileName and enums in types.ts.
Now imports GeneratedAlways only when needed. Previously it was always added, even if not needed which caused problems with the linter.
- 36393b6: Bugfix: revert to own generated type, that supports ColumnType
- 3288b72: Support @map statement for enum values (Thank you @jvandenaardweg 🔥🇳🇱)
- 299de40: Adds support for Kysely's
GeneratedAlways
through a new config parameterreadOnlyIds
. The generated type file no longer includes and exports theGenerated
generic. - 66019e8: Brings back support for implicit many to many models after DMMF changes introduced in new version of Prisma
- 2659cc3: Now using narrower types for enum objects bringing
prisma-kysely
's enums in line withprisma-client-js
(Thank you @jvandenaardweg 🎉)
- a96f2d7: Add option to output runtime enums to a separate file (Thank you @juliusmarminge! 🇸🇪🎉)
- ff5bc59: Add object declarations for enums, that can be used (among other things) for runtime validation. Thanks @jvandenaardweg for the idea! 😎👍
- 533e41e: Pass Prisma comments on Prisma fields to the generated TypeScript types
- 8892135: Add support for field level @map and update core dependencies
- 7ab12d5: The first minor version bump 😮. Turns out some of the type maps were wrong. This update corrects
BigInt
andDecimal
types for all dialects, and corrects theDateTime
type for SQLite.
- 1cb96de: Update README
- Add support for CockroachDB (thanks to @yevhenii-horbenko 🥳)
- 3bb5d89: Add support for Kysely's camel case plugin
- e7ecabe: Adds Typescript as a primary dependency in order to fix issue #8
- 0a50f6f: Add support for @@map("...") statements (mapping models to different table names) and table names with spaces