What's Changed
Improvements
- Add support for mid-stream exceptions. Closes #626
- Add support for QBit data type. Closes #570
- Add the ability to create table from PyArrow objects. Addresses #588
- Always generate
query_idfrom the client side as aUUID4if it is not explicitly set. Closes #596 - Extend support for creating tables from PyArrow objects to include datetime/timestamp types. Closes #605
- Add pre-commit hooks for auto-linting contributions at commit time. Addresses #607
- Auto-enable
cancel_http_readonly_queries_on_client_closesetting for HTTP clients to ensure SELECT queries are cancelled on the server when the client disconnects. Closes #641
Bug Fixes
- Raise
OperationalErrorwhenResponseSourcehits network failure before any data is received. Previously, empty result would be returned. Closes #620 - Fixed a bug where
InsertContextstate was not reset on insert failure, leading to reuse errors when data was passed separately. Closes #616 - Fixed UTC-equivalent timezone recognition issue where servers returning
Etc/UCT,GMT, or other UTC-equivalent timezone names caused inconsistent behavior withutc_tz_aware=False. DateTime columns with explicit UTC timezones now correctly return naive datetimes whenutc_tz_aware=Falseregardless of the specific UTC-equivalent timezone name returned by the server. Closes #629 - Extend UTC-equivalence checks to Arrow queries.
New Contributors
- @akkik04 made their first contribution in #597
- @m-dziuba made their first contribution in #613
- @abhisheksurve45 made their first contribution in #618
- @dave-shawley made their first contribution in #611
- @Milias made their first contribution in #621
- @veeceey made their first contribution in #643
Full Changelog: v0.10.0...v0.11.0