Skip to content

Release crate-python v2.3.0 - #832

Merged
bgunebakan merged 4 commits into
mainfrom
831-release-230
Sep 17, 2026
Merged

bgunebakan merged 4 commits into
mainfrom
831-release-230

Conversation

@bgunebakan

@bgunebakan bgunebakan commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary of the changes / Why this is an improvement

  • Added DefaultTypeConverter support that decodes DataType.UUID columns to Python uuid.UUID objects instead of returning the raw string.

  • Added CrateDB column type identifiers to DataType: INTERVAL (17), ROW (18), FLOAT_VECTOR (28), UUID (29), and REGTYPE (30). Fixed Converter.get() raising ValueError for column type identifiers it does not know. Unknown identifiers now fall back to the default converter.

  • Breaking change: connect() now raises ConnectionError immediately if no configured server node responds.

  • Breaking change: DefaultTypeConverter now decodes DataType.BIT columns, converting CrateDB's B'0110' wire format to a plain string of 0/1 digits. Code that stripped the wrapper itself needs to be adjusted, or can restore the previous behaviour by mapping DataType.BIT to a converter of its own.

Fix for packaging

Our sdist include pattern was /src/crate/*.py and published sdists contained no source at all. This already reported on @mfussenegger's comment in #786 and mentioned in #792. I explored while releasing a beta package. Fixed by including /src/crate as a directory. Also anchored the *.rst/*.txt patterns, which matched at any depth and swept unrelated files into the sdist. I keep this fix here because it's related with package.

Checklist

@bgunebakan bgunebakan self-assigned this Sep 16, 2026
@bgunebakan bgunebakan linked an issue Sep 16, 2026 that may be closed by this pull request

@florinutz florinutz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, let's release 🥇

@mergify

mergify Bot commented Sep 17, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@bgunebakan
bgunebakan merged commit 0941159 into main Sep 17, 2026
17 checks passed
@bgunebakan
bgunebakan deleted the 831-release-230 branch September 17, 2026 15:20
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.

Release 2.3.0 Validate packaging configuration: uv build vs. hatch build

2 participants