| tag name | v0.7.0 (cb4559becb7deca8b96adccb5f7e1425eaa74d83) |
| tag date | 2026-05-12 13:35:35 +0200 |
| tagged by | Stefan Majewsky <majewsky@gmx.net> |
| tagged object | commit 290fd7cc59... |
| download | go-oblast-0.7.0.tar.gz |
|---|
v0.7.0 (2026-05-12)
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.
Changes:
- Added escaping to `Dialect.QuoteIdentifier` implementations to reduce attack surface for SQL injection.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEu0Hjc9sDkJFtIyv/1gGaPhfKLZYFAmoDEI0ACgkQ1gGaPhfK
LZZ6Iw/7Bmk/3HMdj0y4rG5xXY2+Zl+2qydeCk4t0QmbSaTJqrqBf6ROVVeHZ04t
7UYMRzhranzmYXg7MET4LtV6QrSH1wTr3n64r1iJ5Ylc3nQdkgVEe/6GKf7sTg5L
EoBYi+gFr6lUi0PIkSkbh+E8imwZeq+na7uEQTgUT3hTRlN0/bpxoXY5G1FoKkTk
Fv2hsFwPtIc9ZbPl2nNTaxXnQkTJUPOvifFOzRyZCgUWmQqpEu3L82q1r5GbcPYs
G25+ONgdtUy5rQ143L8RKXIcuFaCMWu1/7HoxJqEzzRj8JFWyAUjnPRahlSWSLtr
V5JD2SbFOK16TzEdjfbEYeXbaaWN34CgN+Bzufv3Ywa7BJqqJuO2Cf61xMaPDj2Q
lM7BbmmNeJBfqadrZlrsKARwvTfHu9kSvVIiTsC0r7oNeUluzjIlpiIjayeKpmwS
J5lmO9n8CuqQigEE8XUWI/JVwOzRJ+d+ivTx4xDS5dqm0L6Te6mRbjXhcf5GJHTN
w58lBD6pfa8UfQsJ+Lz1pfNn+lc6rK/MvmgQ4dsQQUOwLDCuGBWZxWQQR4Z0NXNF
MjGRHrnaOaH9C7C8ZBWFGhwWSjyua6+UuUBUDTwugVh7fTuvse/QDhYdiSERsOuE
fjh4TzdZjiNagwu67HHUn5mi/KrkGSPP8PAFgJcwbknVZVvo+ZI=
=BiyD
-----END PGP SIGNATURE-----
