Skip to content

0.6.5

Compare
Choose a tag to compare
@Brendonovich Brendonovich released this 02 Mar 06:54
· 149 commits to main since this release

Just a few bug fixes this time, nothing major.

Fixed MySQL Compatibility (#256)

Prisma recently updated their fork of mysql_async, the crate which powers the engines' MySQL support, with a breaking change. Due to how Prisma lock git dependencies to branches rather than commits, this breaking change was propagated through quaint, the engines, and all the way to PCR. For now I have locked mysql_async to a specific commit on my fork of quaint, but Prisma are aware of this issue and are working to remove git dependencies.

Restored Read Filters for Scalar Lists (#257)

0.6.4 had a regression where read filters like is_empty were not generated for scalar list fields.

Improved Reserved Keyword Handling

Reserved keyword transformations are now applied after doing case conversions of model and field names, so models names are now prepended with r# if they would otherwise be a reserved keyword.


Hopefully the next update can be 0.7.0, it just won't be for a while. In the meantime I'd like to gauge sentiment for turning select and include into proc macros (#250) - would you all be opposed? I think it would break autocompletion inside the macros (not sure how big a concern that is seeing as existing autocomplete only works one layer deep), but would allow for much better error handling and reporting, and cleaner code in the generator. If you've got thoughts on this please join our Discord and let me know!

Big thanks to my sponsors @m1guelpf and @DominoTree!