All Versions
30
Latest Version
Avg Release Cycle
74 days
Latest Release
676 days ago

Changelog History
Page 1

  • v0.2.4 Changes

    June 13, 2022

    βž• Added

    • dict and namedtuple cursor factories. Solves issue #290.
    • Geo types: Point, Ring, Polygon, MultiPolygon. Solves issue #228.
    • NumPy Tuple type.
    • input_format_null_as_default option for NULL insert into not NULL columns. Solves issue #312.
    • Chunk size controlling in execute_iter by parameter chunk_size. Solves issue #314. Pull request #315 by MIracleyin.

    πŸ›  Fixed

    • Decimal precision check on INSERT. Solves issue #289. Pull request #295 by joelynch.
    • 0️⃣ Using server's default database instead or default. Solves issue #309.
    • python_requires to valid PEP 440 syntax in setup.py. Pull request #291 by LSturtew.

    πŸ”„ Changed

    • Protocol version bumped to 54453.
  • v0.2.3 Changes

    February 07, 2022

    βž• Added

    • πŸ‘ tzlocal>=4.0 support. Pull request #263 by azat.
    • πŸ‘ quota_key support.
    • Wheels for Python 3.10.
    • Bool type. Pull request #279 by adrian17.
    • Nested type with flatten_nested=0. Pull request #285 by spff.

    πŸ›  Fixed

    • πŸ– Handle partially consumed query. Solves issue #117.
    • πŸ‘ Fallback to generic columns when NumPy support is not implemented for column type. Solves issue #254.
    • Broken ZSTD decompression. Solves issue #269.
    • External tables passing with NumPy. Solves issue #267.
    • Consider tzinfo for datetime parameters substitution. Solves issue #268.
    • Do not use NumPy columns inside generic columns. Solves issue #272.
    • Decimal128 and Decimal256 types_check. Solves issue #274.
    • Insertion using execute in DB API. Solves issue #179. Pull request #276 by nnseva.
    • Variables cannot be declared with cpdef in Cython 3. Pull request #281 by ym.

    πŸ”„ Changed

    • βœ… Switch from nose test runner to pytest.
    • πŸ‘· Migrate from Travis CI to GitHub Actions.
  • v0.2.2 Changes

    September 24, 2021

    βž• Added

    • DateTime64 extended range. Pull request #222 by 0x4ec7.
    • πŸ‘Œ Support for using Client as context manager closing connection on exit. Solves issue #237. Pull request #206 by wlhjason.
    • πŸ‘ OpenTelemetry support. Solves issue #230.
    • πŸ‘ tzlocal>=3.0 support.
    • Date32 type.
    • πŸ‘ NumPy Nullable(T) support.

    πŸ›  Fixed

    • Boxing on DataFrames INSERT.
    • Empty external tables sending. Solves issue #240.
    • Create error message before disconnect. Pull request #247 by NikiforovG.
    • Writing explicit NumPy NaN values. Solves issue #249.
    • UInt128 INSERTing. Solves issue #251.
    • Large DataFrames chunking. Solves issue #243.
    • πŸ‘ Allow arbitrary DataFrame columns order on INSERT. Solves issue #245.

    πŸ”„ Changed

    • Protocol version bumped to 54442.
    • πŸ“Œ Unpin lz4 for CPython. Pin lz4<=3.0.1 only for PyPy.

    βœ‚ Removed

    • transpose parameter from insert_dataframe.
  • v0.2.1 Changes

    June 02, 2021

    βž• Added

    • 🐧 Linux wheels for AArch64. Pull request #197 by odidev.
    • [U]Int28/256 types.
    • Decimal256 type.
    • Code coverage for cython code.
    • Map type.
    • πŸ‘Œ Support for private key/certificate file. Pull request #219 by alexole.

    πŸ›  Fixed

    • Empty Array(Tuple(T)) writing. Solves issue #177.
    • Preserve Decimal precision on INSERT. Solves issue #192.
    • βœ‚ Remove closed cursors from connection. Solves issue #194.
    • 0️⃣ DB API connect with default params.
    • πŸ›  Fix log blocks handling. Solves issue #203.
    • Multidimensional Array decoding. Solves issue #204. Pull request #206 by smagellan.
    • πŸ‘‰ Use last database after reconnect. Solves issue #205.
    • Decimal(N, 1) handling. Pull request #210 by raw0w.

    πŸ”„ Changed

    • πŸš€ Decimal128 performance increased (up to 25% compared to 0.2.0 release).

    βœ‚ Removed

    • πŸ‘ Python 2.7 support.
  • v0.2.0 Changes

    December 14, 2020

    βž• Added

    • πŸ”€ NumPy reading/writing for columns: Float32/64, [U]Int8/16/32/64, Date/DateTime(β€˜timezone’)/DateTime64(β€˜timezone’), String/FixedString(N), LowCardinality(T). Merge Arturus's fork.
    • pandas DataFrame reading/writing.
    • Ability to mark all settings as important to fail on unknown settings on sever side.
    • πŸ‘ SSL SNI support. Solves issue #172.
    • Wheels for Python 3.9 and PyPy.
    • Remember last successful host on connection. Solves issue #168.

    πŸ›  Fixed

    • πŸ”Š Server logs displaying on INSERT.
    • πŸ‘‰ Make exceptions picklable. Pull request #169 by azat.
    • Enum type deserializing when it wrapped in SimpleAggregateFunction. Pull request #170 by flyAwayGG.
    • πŸ“Œ Pin major tzlocal version. Solves issue #166.

    πŸ”„ Changed

    • String and DateTime columns writing optimization.
    • Array columns reading/writing optimization.
    • Chunking optimization for large lists/tuples.
    • Protocol version bumped to 54441.
  • v0.1.5 Changes

    September 19, 2020

    βž• Added

    • πŸ‘ Do not require settings declaration if server support setting-as-string. Pull request #142 by azat.
    • πŸ”Š host_name in logs. Pull request #144 by azat.
    • Cursor attribute columns_with_types to DB API. Issue #149.
    • Cursor method set_query_id to DB API. Issue #152.

    πŸ›  Fixed

    • Connection error messages formatting.
    • Client.from_url credentials unquoting. Issue #146.
    • Empty nested array handling. Pull request #161 by dourvaris.
    • read_varint overflow. Issue #163.
    • Malformed reads/writes in BufferedReader. This addresses CVE-2020-26759.

    πŸ”„ Changed

    • πŸ‘‰ Use deque for ~4x speedup when reading Array columns. Pull request #164 by dourvaris.
  • v0.1.4 Changes

    June 13, 2020

    βž• Added

    • Tuple type.
    • Custom String column encoding.
    • ⚑️ Settings update to v20.4.1.2742 server version. Pull request #133 by azat.
    • ⚑️ Settings update to v20.5.1.3657 server version. Pull request #141 by azat.
    • πŸ“š Unsupported server versions to documentation.
    • πŸ“š Performance section to documentation.
    • πŸ— Python 3.9 in Travis CI build matrix.

    πŸ›  Fixed

    • Reading/writing Array(Tuple).
    • πŸ‘ 20.x server version support.
    • Settings mutation in execute.
    • Slow columnar results returning (columnar=True).
    • βœ… Segfault on passing not encoded strings during INSERT into ByteString column.

    πŸ”„ Changed

    • Miscellaneous read/write optimizations
    • Protocol version bumped to 54429.
  • v0.1.3 Changes

    February 21, 2020

    βž• Added

    • Python DB API 2.0.
    • πŸ‘ Multiple hosts support on connection errors.
    • πŸ‘ Insert columnar data support. Pull request #122 by Anexen.
    • Wheels for Python 3.8.
    • DateTime64 type.
    • ⚑️ Settings update to v20.2.1.2201 server version. Pull request #123 by azat.

    πŸ›  Fixed

    • Client.from_url settings detection.
    • Close socket on KeyboardInterrupt while running query.
    • Null handling in LowCardinality columns.

    πŸ”„ Changed

    • Protocol version bumped to 54421.
    • πŸš€ Increased speed (up to 20-30% compared to 0.1.2 release) on heavy SELECT and INSERT queries. Pull request #122 by Anexen.
    • πŸš€ Memory consumption decreased (up to 20% compared to 0.1.2 release). Pull request #122 by Anexen.
  • v0.1.2 Changes

    October 18, 2019

    βž• Added

    • ⚑️ Settings update to 19.16.1 server version. Pull request #111 by azat.
    • πŸ— Python 3.8 in Travis CI build matrix.
    • πŸ‘ Returning inserted rows count on INSERT queries with data. Returning rows count from INSERT FROM SELECT is not supported.

    πŸ›  Fixed

    • Exposing columnar parameter to execute_with_progress. Pull request #108 by igorbb.
    • βœ… LowCardinality tests. Pull request #112 by azat.

    πŸ”„ Changed

    • πŸš€ Increased speed (up to 5 times compared to 0.1.1 release) of INSERT queries.
    • Date/DateTime columns selecting and inserting optimizations.
  • v0.1.1 Changes

    September 20, 2019

    βž• Added

    • πŸ”§ Client.from_url method that creates client configured from the given URL.

    πŸ›  Fixed

    • If source column was timezone-aware values from DateTime column are returned with timezone now.
    • πŸ›  Handling zero bytes in the middle of FixedString column. Issue #104.