Skip to content

Commit

Permalink
Version bumped to 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
xzkostyan committed Feb 6, 2022
1 parent 73c4518 commit 2e1555c
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
# Changelog

## Unreleased
### Added
- `tzlocal`>=4.0 support. Pull request [#263](https://github.com/mymarilyn/clickhouse-driver/pull/263) by [azat](https://github.com/azat).
- `quota_key` support.
- Wheels for Python 3.10.
- Bool type. Pull request [#279](https://github.com/mymarilyn/clickhouse-driver/pull/279) by [adrian17](https://github.com/adrian17).
- Nested type with `flatten_nested=0`. Pull request [#285](https://github.com/mymarilyn/clickhouse-driver/pull/285) by [spff](https://github.com/spff).

### Fixed
- Handle partially consumed query. Solves issue [#117](https://github.com/mymarilyn/clickhouse-driver/issues/117).
- Fallback to generic columns when NumPy support is not implemented for column type. Solves issue [#254](https://github.com/mymarilyn/clickhouse-driver/issues/254).
- Broken ZSTD decompression. Solves issue [#269](https://github.com/mymarilyn/clickhouse-driver/issues/269).
- External tables passing with NumPy. Solves issue [#267](https://github.com/mymarilyn/clickhouse-driver/issues/267).
- Consider tzinfo for datetime parameters substitution. Solves issue [#268](https://github.com/mymarilyn/clickhouse-driver/issues/268).
- Do not use NumPy columns inside generic columns. Solves issue [#272](https://github.com/mymarilyn/clickhouse-driver/issues/272).
- Decimal128 and Decimal256 types_check. Solves issue [#274](https://github.com/mymarilyn/clickhouse-driver/issues/274).
- Insertion using `execute` in DB API. Solves issue [#179](https://github.com/mymarilyn/clickhouse-driver/issues/179). Pull request [#276](https://github.com/mymarilyn/clickhouse-driver/pull/276) by [nnseva](https://github.com/nnseva).
- Variables cannot be declared with `cpdef` in Cython 3. Pull request [#281](https://github.com/mymarilyn/clickhouse-driver/pull/281) by [ym](https://github.com/ym).

### Changed
- Switch from nose test runner to pytest.
- Migrate from Travis CI to GitHub Actions.

## [0.2.2] - 2021-09-24
### Added
Expand Down Expand Up @@ -359,7 +380,8 @@
- Date/DateTime types.
- String types.

[Unreleased]: https://github.com/mymarilyn/clickhouse-driver/compare/0.2.2...HEAD
[Unreleased]: https://github.com/mymarilyn/clickhouse-driver/compare/0.2.3...HEAD
[0.2.3]: https://github.com/mymarilyn/clickhouse-driver/compare/0.2.2...0.2.3
[0.2.2]: https://github.com/mymarilyn/clickhouse-driver/compare/0.2.1...0.2.2
[0.2.1]: https://github.com/mymarilyn/clickhouse-driver/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/mymarilyn/clickhouse-driver/compare/0.1.5...0.2.0
Expand Down
2 changes: 1 addition & 1 deletion clickhouse_driver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .dbapi import connect


VERSION = (0, 2, 2)
VERSION = (0, 2, 3)
__version__ = '.'.join(str(x) for x in VERSION)

__all__ = ['Client', 'connect']
6 changes: 5 additions & 1 deletion clickhouse_driver/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class Client(object):
* ``opentelemetry_tracestate`` -- OpenTelemetry tracestate header as
described by W3C Trace Context recommendation.
New in version *0.2.2*.
* ``quota_key`` -- A string to differentiate quotas when the user have
keyed quotas configured on server.
New in version *0.2.3*.
"""

available_client_settings = (
Expand All @@ -54,7 +57,8 @@ class Client(object):
'strings_encoding',
'use_numpy',
'opentelemetry_traceparent',
'opentelemetry_tracestate'
'opentelemetry_tracestate',
'quota_key'
)

def __init__(self, *args, **kwargs):
Expand Down
8 changes: 8 additions & 0 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,11 @@ Set ``TZ=UTC`` and run tests:
export TZ=UTC
py.test -v
GitHub Actions in forked repository
-----------------------------------

Workflows in forked repositories can be used for running tests.

Workflows don't run in forked repositories by default.
You must enable GitHub Actions in the **Actions** tab of the forked repository.

0 comments on commit 2e1555c

Please sign in to comment.