diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-09-08 18:26:05 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-09-08 18:26:06 +0200 |
| commit | 9686269498477d0b56caf06166a975a25248b1c1 (patch) | |
| tree | 7f8cc0aebd3f8fbac6e1a26c4f8e46caada87ea9 /CHANGELOG.md | |
| parent | a6eb1abe75f1abc807d98c48dd1edc86c54cefb9 (diff) | |
| download | go-gg-9686269498477d0b56caf06166a975a25248b1c1.tar.gz | |
gsql: change WithinTransaction methods to take sql.TxOptions
This makes them usable as replacements for BeginTx + Commit/Rollback.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4150b9e..1468577 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,13 @@ SPDX-FileCopyrightText: 2026 Stefan Majewsky <majewsky@gmx.net> SPDX-License-Identifier: Apache-2.0 --> -# v1.14.1 (TBD) +# v1.15.0 (TBD) Changes: +- gsql: Add an additional `*sql.TxOptions` argument to `WithinTransaction` methods. + This constitutes a breaking change, which I find acceptable because there are no known users of this function yet. + The alternative would have been to pollute the namespace with additional methods (like for `Begin` vs `BeginTx`). - Improve presentation of string literals in `assert.ErrEqual()` output (same as for `assert.Equal()` in v1.11.0). # v1.14.0 (2026-08-18) |
