Skip to content

Bump version to 2.6.0 - #46

Merged
quinnj-bot[bot] merged 1 commit into
mainfrom
claude/release-2.6.0
Nov 5, 2026
Merged

quinnj-bot[bot] merged 1 commit into
mainfrom
claude/release-2.6.0

Conversation

@quinnj-bot

@quinnj-bot quinnj-bot Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Why

Ships the Nov 5 fixes to users: #42 (closes #41), #45 (fixes #44) and #33.

Bumps the version to 2.6.0. It is a minor release because validate_dsn is new public API. Included since 2.5.0:

Added

  • Postgres.validate_dsn(dsn) returns nothing for a connection string that parse_dsn accepts. Otherwise it returns a Postgres.ConnectionParameterError with the failing parameter (key), a reason (:unknown_key, :invalid_value, :unsupported_ignored or :malformed) and the message parse_dsn would throw, so a caller no longer has to match on error text. It is public but not exported. (Add validate_dsn for structured connection-parameter errors #33)

Fixed

  • DBInterface.close! now sends the protocol's Terminate message before it closes the socket, as libpq does. The server no longer logs "unexpected EOF on client connection" when a connection is closed normally. (Send Terminate before closing a connection #42)
  • Postgres.cancel_query! now cancels a statement after an InterruptException closed the connection while that statement ran. It used to throw "cannot cancel query: connection not open", and the statement kept running on the server. On a connection closed with close!, it now sends a request that the server ignores instead of throwing. (Let cancel_query! cancel a statement after an interrupt closed the socket #45)

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@quinnj-bot
quinnj-bot Bot merged commit c76eca2 into main Nov 5, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant