Skip to content

Releases: valtyr/prisma-kysely

v1.8.0

09 Feb 11:14
0f27e41
Compare
Choose a tag to compare

Minor Changes

  • 4526321: Added support for the Kysely SQL Server dialect Awesome work from @dylel 🎊

Patch Changes

v1.7.1

25 Sep 00:51
574a8c0
Compare
Choose a tag to compare

Patch Changes

  • 22a1e5c: Fixes array types (Thanks Karrui! 🥳🇸🇬)
  • 21980b2: Updates dependencies that were throwing deprectaion warnings. (Thank you @delight! 🍺)

v1.7.0

27 Aug 19:07
88fd7bc
Compare
Choose a tag to compare

Minor Changes

  • bf0ccf6: Implicit many to many relations are finally fixed thanks to @dextertanyj 🇸🇬🎉🥂. Huge thanks to him!

v1.6.0

21 Aug 12:52
766fd4d
Compare
Choose a tag to compare

Minor Changes

  • defb3fa: Update typescript to 5 and migrate from ttypescript to ts-patch (Thank you @alandotcom! 🎉)

v1.5.0

02 Jul 14:37
4a41204
Compare
Choose a tag to compare

Minor Changes

  • 3ec4465: Support multiSchema preview feature. (Thanks to @duniul 🇸🇪🪅)

Patch Changes

  • 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 🇸🇪🪅)

v1.4.2

30 May 10:58
79513a8
Compare
Choose a tag to compare

Patch Changes

  • 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. Thank you @Aulos! 🍻

v1.4.1

17 May 14:55
b8e8229
Compare
Choose a tag to compare

Patch Changes

  • 36393b6: Bugfix: revert to own generated type, that supports ColumnType

v1.4.0

16 May 13:30
c41ff30
Compare
Choose a tag to compare

Minor Changes

  • 3288b72: Support @Map statement for enum values (Thank you @jvandenaardweg 🔥🇳🇱)
  • 299de40: Adds support for Kysely's GeneratedAlways through a new config parameter readOnlyIds. The generated type file no longer includes and exports the Generated generic.
  • 66019e8: Brings back support for implicit many to many models after DMMF changes introduced in new version of Prisma

Patch Changes

  • 2659cc3: Now using narrower types for enum objects bringing prisma-kysely's enums in line with prisma-client-js (Thank you @jvandenaardweg 🎉)

v1.3.0

15 May 00:48
49a110b
Compare
Choose a tag to compare

Minor Changes

v1.2.1

04 May 20:41
58a09e4
Compare
Choose a tag to compare

Patch Changes

  • ff5bc59: Add object declarations for enums, that can be used (among other things) for runtime validation. Thanks @jvandenaardweg for the idea! 😎👍