Fork me on GitHub
#sql
<
2023-09-25
>
seancorfield00:09:14

com.github.seancorfield/next.jdbc {:mvn/version "1.3.894"} -- a minor release but the +options variants of with-transaction and on-connection have been requested for a long time (I've just kind of resisted adding them!): • Fix https://github.com/seancorfield/next-jdbc/issues/257 by making the fdef spec for with-transaction more permissive. Also add specs for on-connection and the +options variants of both macros. • Address https://github.com/seancorfield/next-jdbc/issues/256 by adding with-transaction+options and on-connection+options. • Updates most of the JDBC drivers used for testing, including SQLite 3.43.0.0 which now throws an exception when .getGeneratedKeys() is called so you cannot use :return-generated-keys true with it but you can add RETURNING * to your SQL statements instead (the tests have been updated to reflect this). • Update tools.build to 0.9.5 (and remove :java-opts from build/test) I was alerted to the SQLite issue recently and, indeed, updating from 3.42.0.0 to 3.43.0.0 broke several tests! Gotta love database vendors and their homage to backward-compatibility, eh?

🎉 2