Releases: valtyr/prisma-kysely
Releases · valtyr/prisma-kysely
v1.8.0
v1.7.1
v1.7.0
v1.6.0
v1.5.0
Minor Changes
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
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
v1.4.0
Minor Changes
- 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
Patch Changes
- 2659cc3: Now using narrower types for enum objects bringing
prisma-kysely
's enums in line withprisma-client-js
(Thank you @jvandenaardweg 🎉)
v1.3.0
Minor Changes
- a96f2d7: Add option to output runtime enums to a separate file (Thank you @juliusmarminge! 🇸🇪🎉)
v1.2.1
Patch Changes
- ff5bc59: Add object declarations for enums, that can be used (among other things) for runtime validation. Thanks @jvandenaardweg for the idea! 😎👍