From 7aae0eba10ab0981fbe298895da8e7fb70b6ad8a Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev Date: Thu, 14 Mar 2024 17:58:49 +0300 Subject: [PATCH] Version bumped to 0.3.1 --- CHANGELOG.md | 17 ++++++++++++++++- clickhouse_sqlalchemy/__init__.py | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7bada20..b31e7522 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,20 @@ # Changelog ## [Unreleased] + +## [0.3.1] - 2023-11-06 +### Added +- ``DISTINCT ON`` support. Pull request [#293](https://github.com/xzkostyan/clickhouse-sqlalchemy/pull/293) by [aronbierbaum](https://github.com/aronbierbaum). Solves issue [#234](https://github.com/xzkostyan/clickhouse-sqlalchemy/issues/234). + +### Fixed +- ``select(...).join(...)`` query generation. Pull request [#284](https://github.com/xzkostyan/clickhouse-sqlalchemy/pull/284) by [Net-Mist](https://github.com/Net-Mist). +- [Native] Streaming results without explicitly setting `max_row_buffer`. Pull request [#287](https://github.com/xzkostyan/clickhouse-sqlalchemy/pull/287) by [akurdyukov](https://github.com/akurdyukov). Solves issue [#286](https://github.com/xzkostyan/clickhouse-sqlalchemy/issues/286). +- Username and password quoting for SQLAlchemy>=2.0.25. Pull request [#285](https://github.com/xzkostyan/clickhouse-sqlalchemy/pull/285) by [Net-Mist](https://github.com/Net-Mist). +- ``match`` function case. Pull request [#283](https://github.com/xzkostyan/clickhouse-sqlalchemy/pull/283) by [bader-tayeb](https://github.com/bader-tayeb). +- [alembic] Missing column on reflection. Pull request [#277](https://github.com/xzkostyan/clickhouse-sqlalchemy/pull/277) by [littlebtc](https://github.com/littlebtc). Solves issue [#280](https://github.com/xzkostyan/clickhouse-sqlalchemy/issues/280). +- [alembic] Use `replace_existing=True` for alembic_version.version_num column. Pull request [#275](https://github.com/xzkostyan/clickhouse-sqlalchemy/pull/275) by [leemurus](https://github.com/leemurus). Solves issue [#288](https://github.com/xzkostyan/clickhouse-sqlalchemy/issues/288). +- [alembic] Table reflection for alembic version < 1.11. Solves issue [#274](https://github.com/xzkostyan/clickhouse-sqlalchemy/issues/274). + ## [0.3.0] - 2023-11-06 ### Changed - Supported SQLAlchemy version is 2.0. Pull request [#256](https://github.com/xzkostyan/clickhouse-sqlalchemy/pull/256) by [PedroAquilino](https://github.com/PedroAquilino) and [#268](https://github.com/xzkostyan/clickhouse-sqlalchemy/pull/268) by [Net-Mist](https://github.com/Net-Mist). Solves issue [#259](https://github.com/xzkostyan/clickhouse-sqlalchemy/issues/259). @@ -329,7 +343,8 @@ Log, TinyLog, Null. - Chunked `INSERT INTO` in one request. - Engines: MergeTree, CollapsingMergeTree, SummingMergeTree, Buffer, Memory. -[Unreleased]: https://github.com/xzkostyan/clickhouse-sqlalchemy/compare/0.3.0...HEAD +[Unreleased]: https://github.com/xzkostyan/clickhouse-sqlalchemy/compare/0.3.1...HEAD +[0.3.1]: https://github.com/xzkostyan/clickhouse-sqlalchemy/compare/0.3.0...0.3.1 [0.3.0]: https://github.com/xzkostyan/clickhouse-sqlalchemy/compare/0.2.5...0.3.0 [0.2.5]: https://github.com/xzkostyan/clickhouse-sqlalchemy/compare/0.2.4...0.2.5 [0.2.4]: https://github.com/xzkostyan/clickhouse-sqlalchemy/compare/0.2.3...0.2.4 diff --git a/clickhouse_sqlalchemy/__init__.py b/clickhouse_sqlalchemy/__init__.py index 646a0428..1943cc4e 100644 --- a/clickhouse_sqlalchemy/__init__.py +++ b/clickhouse_sqlalchemy/__init__.py @@ -4,7 +4,7 @@ from .sql import Table, MaterializedView, select -VERSION = (0, 3, 0) +VERSION = (0, 3, 1) __version__ = '.'.join(str(x) for x in VERSION)