Releases: moapis/multidb
Releases · moapis/multidb
v0.3.0
Refactor
A major refactor to simplify the package. Simpler code translates in higher performance!
- Use the new
Row.Err()
method to be error aware inQueryRow
variants. - Benchmark and optimize the core multiplexer functions to run with less allocation and overhead. Improvement of 5-8x on bare runs.
- Remove re-connection logic, as it was creating additional locking and overhead. The core SQL library already replaces errored connections in the pool.
- Ditch the
Node
andTx
type. Instead usesql.DB
andsql.Tx
types where possible. This reduces the amount of duplicated code to maintain. - An effort to reduce the amount of (mutex) locks.
Due to core type changes, this release is not backward-compatible. This package is still considered to be in beta.
Rc2
Rc1
Beta release
We have tested the use of this library in our projects and feel comfortable saying that this project is now in Beta stage.
This release carries a single bugfix: #3.
First release
The intended design is fully implemented and unit tested with the race detector. Actual implementations using this package still need to prove its stability and usability.