Skip to content

0.11.0

Compare
Choose a tag to compare
@DallasHoff DallasHoff released this 28 Jul 22:11
· 49 commits to main since this release
  • The transaction method has been reworked with a new implementation. Its new API allows running arbitrary logic between the SQL queries executed as part of a transaction while still ensuring that the transaction is atomic and isolated.
  • The SQLocalKysely dialect has been modified so that Kysely's transaction method uses SQLocal's new transaction functionality, which allows it to ensure isolation of transactions run using it.
  • A warning has been added to the SQLocalDrizzle driver that is logged when using Drizzle's transaction method since that method cannot ensure the transaction's isolation. It recommends using SQLocal's transaction method instead, as documented here.
  • The previous implementation of the transaction method is now named batch.