Skip to content

Release 2.2.0#804

Merged
bgunebakan merged 1 commit into
mainfrom
2.2.0
Jun 4, 2026
Merged

Release 2.2.0#804
bgunebakan merged 1 commit into
mainfrom
2.2.0

Conversation

@bgunebakan
Copy link
Copy Markdown
Contributor

Summary of the changes / Why this is an improvement

  • Added JSON serialization support for Python's datetime.time type,
    encoding it as an ISO 8601 string compatible with CrateDB's TIMETZ
    column type.
  • Added gzip compression for outgoing request bodies via the compress
    parameter (default: 8192 bytes).
    Pass True to always compress, False to disable, or an integer
    as a byte threshold. The driver always sends Accept-Encoding: gzip, deflate to negotiate compressed responses from the server when
    compression is enabled.
  • Added named parameter support (pyformat paramstyle). Passing a
    :class:py:dict as parameters to cursor.execute() now accepts
    %(name)s placeholders and converts them to positional ? markers
    client-side. Positional parameters using ? continue to work unchanged.

Checklist

  • Link to issue this PR refers to (if applicable): Fixes #???

@bgunebakan bgunebakan self-assigned this Jun 4, 2026
@bgunebakan bgunebakan requested a review from kneth June 4, 2026 13:35
@bgunebakan bgunebakan merged commit cbdab8c into main Jun 4, 2026
17 checks passed
@bgunebakan bgunebakan deleted the 2.2.0 branch June 4, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants