Skip to content

Commit

Permalink
changelog: update
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jul 14, 2024
1 parent 773705b commit e8e8154
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit e8e8154

Please sign in to comment.