diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-05-12 13:11:41 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-05-12 13:11:41 +0200 |
| commit | 7bdc14a145c4b5c380921abf1db3f2c00a9c66cc (patch) | |
| tree | d08f4436739456ab015598eb9f02047208f981de /CHANGELOG.md | |
| parent | d5e652b41e68538fc7a7d8f67c3b8dfe3129a464 (diff) | |
| download | go-oblast-7bdc14a145c4b5c380921abf1db3f2c00a9c66cc.tar.gz | |
change Handle to a generic interface without explicit dep on database/sql
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e16f018..d1f54cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ SPDX-FileCopyrightText: 2026 Stefan Majewsky <majewsky@gmx.net> SPDX-License-Identifier: Apache-2.0 --> +# v0.7.0 (TBD) + +API changes: + +- The `Handle` type changes to not cover `*sql.DB` and `*sql.Tx` directly, thus removing the direct dependency on database/sql. + This adds a new memory allocation (for wrapping `*sql.DB` or `*sql.Tx` in the wrapper implementing `Handle`) + and some CPU overhead because of the interface indirection, but I consider this a worthwhile tradeoff + to enable the use of non-standard database drivers like <https://github.com/jackc/pgx> + (if the user provides the respective custom implementation of the `Handle` interface). + Preliminary benchmarking has already shown that, for the PostgreSQL case, oblast + jackc/pgx is significantly more efficient than oblast + lib/pq. + # v0.6.0 (2026-05-08) API changes: |
