From e8e8154ce82adb3b38cd317f5f22a773ae29cd3c Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 14 Jul 2024 11:02:03 +0300 Subject: [PATCH] changelog: update --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ac19a2..b495a46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +# v0.6.0 (unreleased) + +* *(dbutil)* Added `-- transaction: sqlite-fkey-off` mode to upgrades, which + allows safer upgrades that disable foreign keys without having to disable + transactions entirely. + * **Breaking change:** `UpgradeTable.Register` now takes a TxnMode instead + of a bool as the 5th parameter. + * **Breaking change:** `Database.DoTxn` now takes `*dbutil.TxnOptions` + instead of `*sql.TxOptions`. `nil` is still allowed and the existing fields + are still supported, but there's a new field too. + * **Breaking change:** `Database.Conn` was renamed to `Execable` to avoid + confusion with the new `AcquireConn` method (`Execable` just returns the + current transaction or database, `AcquireConn` acquires a connection for + exclusive use). +* *(dbutil)* Added finalizer for RowIter to panic if the rows aren't iterated. +* *(dbutil)* Changed `QueryOne` to return a zero value (usually nil) if the + `Scan` method returns an error. +* *(progress)* Implemented `io.Seeker` in `Reader`. +* *(ptr)* Added new utilities for creating pointers to arbitrary values, as + well as safely dereferencing pointers and making shallow clones. +* *(exslices)* Added functions to cast slices to different types. +* *(gnuzip)* Added wrappers for gzip that operate on `[]byte`s instead of + `io.Reader`/`Writer`s. +* *(lottie)* Added wrapper for [lottieconverter] similar to ffmpeg. + +[lottieconverter]: https://github.com/sot-tech/LottieConverter + # v0.5.0 (2024-06-16) * **Breaking change *(configupgrade)*** Changed `Helper` into an interface.