github ClickHouse/clickhouse-go v2.37.0

latest releases: v2.40.1, v2.40.0, v2.39.0...
2 months ago

What's Changed

Enhancements 🎉

  • Scanning Datetime and Datetime64 into int64 by @vaibhav-kt in #1560
  • Supports scanning of Array, IPv4, IPv6, and Map types into Go values that implement the sql.Scanner interface. by @zapateo in #1570
  • Support HTTP connnections in Native Go interface by @SpencerTorres in #1577 (see details at bottom of release notes!)

Bug fixes 🐛

  • fix: Prevent panic on slice map keys by @disq in #1567
  • object_json: split JSON tag to remove any trailing omitempty by @dschofie in #1547
  • fix: namedValue namedDatevalue usage error by @tosolveit in #1575
  • Fix false positives in TestInterfaceArray by @tosolveit in #1572

HTTP in ClickHouse API

This release includes a bug fix / enhancement for the "ClickHouse API" interface. Previously the only way to use HTTP was through the database/sql interface, but now you can use Protocol: clickhouse.HTTP in your clickhouse.Open options.
HTTP still has some limitations to be aware of for things like batch flushing and session context, so be cautious when switching over code to this protocol. Please report any issues you may have with this change. Native protocol shouldn't be affected, but you can downgrade to v2.36.x if you notice any issues.

New Contributors

Full Changelog: v2.36.0...v2.37.0

Don't miss a new clickhouse-go release

NewReleases is sending notifications on new releases.