From 5928ee3a9101395cc2b3b15a6d13756a9a8a518e Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev Date: Sun, 3 Jun 2018 23:18:30 +0300 Subject: [PATCH] Version bumped to 0.0.10 --- CHANGELOG.md | 16 ++++++++++++++-- README.rst | 8 ++++++++ src/__init__.py | 2 +- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11f59906..c112414e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ ## [Unreleased] +## [0.0.11] - 2018-06-03 +### Added +- Timezone support in DateTime type. +- Python 3.7 and PyPy in Travis CI build matrix. +- Direct bytes support in FixedString. Pull request [#26](https://github.com/mymarilyn/clickhouse-driver/pull/26) by [lidalei](https://github.com/lidalei). + +### Removed +- Python 3.3 support. + ## [0.0.10] - 2018-03-14 ### Added - Server version specific tests. @@ -25,9 +34,11 @@ - SSL file descriptors closing in Python 2.7. ### Changed -- Drop Python 3.2 support due to lz4 issues. - Log level for normal operations raised to DEBUG. Pull request [#17](https://github.com/mymarilyn/clickhouse-driver/pull/17) by [kmatt](https://github.com/kmatt). +### Removed +- Drop Python 3.2 support due to lz4 issues. + ## [0.0.8] - 2017-10-23 ### Added - Parameters substitution for SELECT queries. @@ -115,7 +126,8 @@ - Date/DateTime types. - String types. -[Unreleased]: https://github.com/mymarilyn/clickhouse-driver/compare/0.0.10...HEAD +[Unreleased]: https://github.com/mymarilyn/clickhouse-driver/compare/0.0.11...HEAD +[0.0.11]: https://github.com/mymarilyn/clickhouse-driver/compare/0.0.10...0.0.11 [0.0.10]: https://github.com/mymarilyn/clickhouse-driver/compare/0.0.9...0.0.10 [0.0.9]: https://github.com/mymarilyn/clickhouse-driver/compare/0.0.8...0.0.9 [0.0.8]: https://github.com/mymarilyn/clickhouse-driver/compare/0.0.7...0.0.8 diff --git a/README.rst b/README.rst index f2f6a856..a254ffab 100644 --- a/README.rst +++ b/README.rst @@ -255,6 +255,14 @@ Specifying `query_id`: query_id = str(uuid1()) print(client.execute('SHOW TABLES', query_id=query_id)) +Client settings: + + .. code-block:: python + + # Set max number threads for all queries execution. + settings = {'max_threads': 2} + client = Client('localhost', settings=settings) + Overriding default query settings: .. code-block:: python diff --git a/src/__init__.py b/src/__init__.py index e8aeac5e..bcaf23bb 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -2,7 +2,7 @@ from .client import Client -VERSION = (0, 0, 10) +VERSION = (0, 0, 11) __version__ = '.'.join(str(x) for x in VERSION) __all__ = ['Client']