Skip to content

Version Packages - #830

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@slonik/driver@49.14.0

Minor Changes

  • 8eb25b2 Thanks @gajus! - fix: the type of QueryResult.command (and of DriverCommand) now includes every command that Postgres reports, e.g. MERGE, SET and CREATE (for CREATE TABLE), not only COPY, DELETE, INSERT, SELECT and UPDATE. The command is null if the query has no statement (e.g. it consists only of a comment), which was already the case at runtime. Code that handles the commands exhaustively, or that uses the command without checking for null, may need to be updated.

Patch Changes

  • 777d254 Thanks @gajus! - fix: the connections that the pool keeps open for minPoolSize are no longer closed and replaced after idleTimeout. Besides the pool, the driver closed every connection idleTimeout after it was released, regardless of minPoolSize, so the pool kept opening new connections to replace them. Now only the pool closes idle connections, and it keeps minPoolSize connections open.

  • Updated dependencies []:

    • @slonik/types@49.14.0
    • @slonik/utilities@49.14.0

slonik@49.14.0

Minor Changes

  • 8eb25b2 Thanks @gajus! - fix: the type of QueryResult.command (and of DriverCommand) now includes every command that Postgres reports, e.g. MERGE, SET and CREATE (for CREATE TABLE), not only COPY, DELETE, INSERT, SELECT and UPDATE. The command is null if the query has no statement (e.g. it consists only of a comment), which was already the case at runtime. Code that handles the commands exhaustively, or that uses the command without checking for null, may need to be updated.

  • 625c3e7 Thanks @gajus! - fix: the types no longer accept arrays and buffers as values interpolated in a query, or as members of sql.join, sql.list, sql.and and sql.or. They passed type-checking, but always threw at runtime (e.g. "Unexpected value expression."). Bind arrays using sql.array and buffers using sql.binary. Code that interpolates a value typed as PrimitiveValueExpression (which includes arrays and buffers) no longer compiles; type the value as ValueExpression instead.

Patch Changes

  • 777d254 Thanks @gajus! - fix: the connections that the pool keeps open for minPoolSize are no longer closed and replaced after idleTimeout. Besides the pool, the driver closed every connection idleTimeout after it was released, regardless of minPoolSize, so the pool kept opening new connections to replace them. Now only the pool closes idle connections, and it keeps minPoolSize connections open.

  • 4edcfd6 Thanks @gajus! - fix: rowCount is the number of returned rows for statements that do not report a row count (e.g. SHOW and EXPLAIN), instead of 0. This also stops slonik-interceptor-query-cache from treating the results of such statements as empty (discardEmpty).

  • Updated dependencies [8eb25b2, 777d254, 625c3e7]:

    • @slonik/driver@49.14.0
    • @slonik/sql-tag@49.14.0
    • @slonik/errors@49.14.0
    • @slonik/pg-driver@49.14.0
    • @slonik/utilities@49.14.0

@slonik/sql-tag@49.14.0

Minor Changes

  • 625c3e7 Thanks @gajus! - fix: the types no longer accept arrays and buffers as values interpolated in a query, or as members of sql.join, sql.list, sql.and and sql.or. They passed type-checking, but always threw at runtime (e.g. "Unexpected value expression."). Bind arrays using sql.array and buffers using sql.binary. Code that interpolates a value typed as PrimitiveValueExpression (which includes arrays and buffers) no longer compiles; type the value as ValueExpression instead.

Patch Changes

  • Updated dependencies []:
    • @slonik/errors@49.14.0
    • @slonik/types@49.14.0

@slonik/errors@49.14.0

Patch Changes

  • Updated dependencies []:
    • @slonik/types@49.14.0

@slonik/pg-driver@49.14.0

Patch Changes

  • Updated dependencies [8eb25b2, 777d254, 625c3e7]:
    • @slonik/driver@49.14.0
    • @slonik/sql-tag@49.14.0
    • @slonik/errors@49.14.0
    • @slonik/types@49.14.0
    • @slonik/utilities@49.14.0

slonik-sql-tag-raw@49.14.0

Patch Changes

  • Updated dependencies [625c3e7]:
    • @slonik/sql-tag@49.14.0

@slonik/utilities@49.14.0

Patch Changes

  • Updated dependencies []:
    • @slonik/errors@49.14.0
    • @slonik/types@49.14.0

@slonik/dataloaders@49.14.0

slonik-interceptor-field-name-transformation@49.14.0

slonik-interceptor-query-cache@49.14.0

slonik-interceptor-query-logging@49.14.0

@slonik/test-ssls@49.14.0

@slonik/types@49.14.0

@slonik/benchmark@49.14.0

Patch Changes

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from b6bf871 to 81ac996 Compare November 6, 2026 05:13
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 81ac996 to a32c19d Compare November 6, 2026 05:28

This branch has not been deployed

No deployments
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.

0 participants