Skip to content

Release 2.3.0 #831

Description

@bgunebakan

Changes

Added

Fixed

Behavior changes

  • connect() now raises ConnectionError immediately if no configured server node responds, instead of deferring the error until the first statement is executed. Code that creates a connection eagerly, before the cluster is reachable, needs to handle the error at connect() time. (Fix: Fail early when database cluster does not respond #711)
  • 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 Register converter for DataType.BIT #828)
  • DefaultTypeConverter now decodes DataType.UUID columns to Python uuid.UUID objects instead of returning the raw string. Code that expected a string can call str() on the value, or map DataType.UUID to a converter of its own.

Both converter changes only affect code that opts into DefaultTypeConverter; the default Converter is unchanged.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions