Releases: golistic/pxmysql
Releases · golistic/pxmysql
v0.9.8
refactor
driver
- (!) Data source name management functions have been removed. Use the
github.com/golistic/xgo/xsql
. - (!) We move the registration of the
sql
-driver "pxmysql" to the subpackage
github.com/golistic/pxmysql/register
(driver name "mysql" to../register/mysql
).
Refactoring should not break things, but this does. Users must change the (anonymous)
import using the new sub-package. - Use
github.com/golistic/xgo/xsql
for managing the data source name.
build
- Dependencies have been tidied and updated where needed.
v0.9.7
Fixed
driver
- Properly deallocate prepared statements when using the connection methods
ExecContext
andQueryContext
preventing the server to reach maximum
prepared statements
Refactor
general
- Cleanup dependencies and use
golistic/xgo
instead of the now deprecated
subpackages withingolistic
orgithub.com/geertjanvdk/xkit
Build
general
- Go version has been upped to 1.21 to make it clear that we eventually might
use some features from that version
v0.9.6
Fixed
driver
pxmysql.QueryContext()
will now correctly return empty Rows-object when
result has no rows, instead of returningsql.ErrNoRows
- (!) Go
sql
driver is now namedpxmysql
so it aligns with the package name.
We do not keep backward compatibility.
Added
driver
- We support the driver name "mysql" as some projects need to use this name. When
this is needed, load anonymous sub-packagegithub.com/golistic/pxmysql/mysql
build
- Upgrade ProtoBuf MySQL code to MySQL 8.0.34 (but no changes)
v0.9.5
What's Changed
- fix: handling too large packets by @geertjanvdk in #31
- fix: wrap driver.ErrBadConn by @geertjanvdk in #32
v0.9.4
fixed:
- Recover from server timing out connections.
v0.9.3
changed:
- Updated protocol buffer generated code and collations to MySQL 8.0.32.
added:
- Added golistic/gomake targets for linting, reporting, and badges.
- Added badges, generated/stored within repository, to README.md.
fixed:
- Fixed error returned when Unix socket is not available.
- Fixed cmd/gencollations to use TLS and set password as valid nullable.
- Fixed linting issues reported by linters run by golangci-lint.
- Replaced deprecated package golang.org/x/crypto/ssh/terminal.
- Fixed handling DATETIME zero values for time parts.
v0.9.2
Changed
- Fixed naming of
pxmysql.ParseDSN
(before it wasParseDNS
).
Fixed
- Fixed including query part when getting string representation of DataSource.
- Fixed slash detection when not using schema name together with query part.
v0.9.1
Fixed
- Fixed parsing query string of DSN so
useTLS
works as expected. - Fixed using connection address without TCP port.
- Fix wrapping errors.
- Finish testing Unix socket support.
v0.9.0
First development release (not production ready).