Skip to content

Release 2.3.0 - #262

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

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

Conversation

@quinnj-bot

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

Copy link
Copy Markdown
Contributor

Why

Ships #259, #260 and #261 to users: named parameters in prepared statements, a bounded ping, and the set_timeouts! deadline fix.

Bumps the version to 2.3.0. It is a minor release because it adds features. Included since 2.2.2:

Added

  • Prepared statements take named parameters. DBInterface.prepare(conn, "INSERT INTO t VALUES (:id, :name)") sends each :name to the server as ?, and DBInterface.execute binds a NamedTuple, or an AbstractDict with Symbol or String keys, by name. A name can appear more than once, and a missing name throws MySQLInterfaceError before anything is sent. DBInterface.executemany binds each row of a NamedTuple batch by name. Statements with ? markers behave as before. (Named Parameters Does not Work for prepare() function #207, Support named parameters in prepared statements #261)
  • MySQL.ping(conn; timeout) bounds the whole ping by timeout seconds. When the time runs out, the connection is closed and MySQL.Protocol.TimeoutError is thrown, so a connection pool's health check no longer waits minutes on a network that drops packets. ping(conn) behaves as before. (A bounded ping(conn; timeout) #258, Add a timeout keyword to MySQL.ping #260)

Fixed

Changed

  • On MariaDB with sql_mode=ORACLE, where :x is the server's own positional marker, a NamedTuple now binds by name instead of in field order. A Tables.jl row passed as the parameters there throws MySQLInterfaceError; pass a tuple or vector to bind by position. (Support named parameters in prepared statements #261)

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@quinnj quinnj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[review generated via AI]

Approving the 2.3.0 release: only the version changes, and CI on this head tests #259, #260 and #261 together.

@quinnj-bot
quinnj-bot Bot merged commit 8f0e127 into main Nov 11, 2026
17 checks passed
@quinnj-bot
quinnj-bot Bot deleted the claude/release-2.3.0 branch November 11, 2026 04:45
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.

1 participant