All Versions
4
Latest Version
Avg Release Cycle
3 days
Latest Release
525 days ago

Changelog History

  • v2.4.3 Changes

    November 30, 2022

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix in batch concurrency - batch could panic if used in separate go routines. ๐Ÿš€ The issue was originally detected due to the use of a batch in a go routine and Abort being called after the connection was released on the batch. This would invalidate the connection which had been subsequently reassigned. ๐Ÿš€ This issue could occur as soon as the conn is released (this can happen in a number of places e.g. after Send or an Append error), and it potentially returns to the pool for use in another go routine. Subsequent releases could then occur e.g., the user calls Abort mainly but also Send would do it. The result is the connection being closed in the release function while another batch or query potentially used it. ๐Ÿš€ This release includes a guard to prevent release from being called more than once on a batch. It assumes that batches are not thread-safe - they aren't (only connections are).
  • v2.4.2 Changes

    November 24, 2022

    ๐Ÿ› Bug Fixes

    • Don't panic on Send() on batch after invalid Append. #830
    • ๐Ÿ›  Fix JSON issue with nil if column order is inconsisent. #824
  • v2.4.1 Changes

    November 23, 2022

    ๐Ÿ› Bug Fixes

    • ๐Ÿš€ Patch release to fix "Regression - escape character was not considered when comparing column names". #828
  • v2.4.0 Changes

    November 22, 2022

    ๐Ÿ†• New Features

    • ๐Ÿ‘Œ Support for Nullables in Tuples. #821 #817
    • ๐Ÿ‘‰ Use headers for auth and not url if SSL. #811
    • ๐Ÿ‘Œ Support additional headers. #811
    • ๐Ÿ‘Œ Support int64 for DateTime. #807
    • ๐Ÿ‘Œ Support inserting Enums as int8/int16/int. #802
    • ๐Ÿ–จ Print error if unsupported server. #792
    • ๐Ÿ‘ Allow block buffer size to tuned for performance - see BlockBufferSize. #776
    • ๐Ÿ‘Œ Support custom datetime in Scan. #767
    • ๐Ÿ‘Œ Support insertion of an orderedmap. #763

    ๐Ÿ› Bug Fixes

    • Decompress errors over HTTP. #792
    • ๐Ÿ‘‰ Use timezone vs timeZone so we work on older versions. #781
    • Ensure only columns specified in INSERT are required in batch. #790
    • Respect order of columns in insert for batch. #790
    • ๐Ÿ– Handle double pointers for Nullable columns when batch inserting. #774
    • ๐Ÿ‘‰ Use nil for LowCardinality(Nullable(X)). #768

    ๐Ÿ’ฅ Breaking Changes

    • Align timezone handling with spec. #776, specifically:
      • If parsing strings for datetime, datetime64 or dates we assume the locale is Local (i.e. the client) if not specified in the string.
      • The server (or column tz) is used for datetime and datetime64 rendering. For date/date32, these have no tz info in the server. For now, they will be rendered as UTC - consistent with the clickhouse-client
      • Addresses bind when no location is set