这是indexloc提供的服务,不要输入任何密码
Skip to content

Tags: yandex/go-hasql

Tags

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
NodesIter method

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
hasql/v2

This is a major update of hasql.

Notable changes

- Minimal Go version bumped to 1.22 due to usage of generics, errors.Join and slices package
- *Node is now a generic *Node[T] allowing to use any sql.DB compatible driver directly
- NodeDiscoverer interface allows to provide dynamic nodes list (e.g. service discovery) oppose to static []*Node slice
- NodeChecker is now able to provide any additional information about cluster node (such as latency, replication lag etc.) and this information can be used to pick appropriate node

Minor changes

- Cluster now uses internal context.WithCancel for more robust Close method execution
- Code base simplification

v1.1.1

Toggle v1.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Implement errors collector (#14)

Co-authored-by: Alexander K <kwargs@gmail.com>
Co-authored-by: Alexander Klyuev <wizard@yandex-team.ru>

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
add mssql checker (#13)

Co-authored-by: APAHE <kiselev@gismeteo.ru>

v1.0.0

Toggle v1.0.0's commit message
Remove mention of v0.9.0 from README.md

v0.9.1

Toggle v0.9.1's commit message
Fix type forwarding for sqlx

v0.9.0

Toggle v0.9.0's commit message
Update golangci-lint action to v2, remove unnecessary mention of config