Packages

postgres

4.1.1 · 11 Nov 2026Unlicense38.9M / weekRepositoryHomepagenpmAtom feed

Upgrading postgres From 4.0.0 to 4.1.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.0.0Newest 4.x, Latest4.1.1
  1. 4.0.0yours
  2. 4.1.0target
0
changes to make
0
advisories fixed
14
new
15
fixes

Release by release

  1. 4.1.0

    5 Nov 202614 new · 15 fixes
    • New

      query_timeout (#1278). Seconds a query may take, waiting for a connection and running together, before it is canceled and rejects with QUERY_TIMEOUT. Off by default. Unlike statement_timeout it also ends a query whose server or network has gone silent, which TCP alone takes many minutes to notice. Transaction control queries and forEach are limited too; cursors, streams and sql.listen are not.

    • New

      cancel_timeout, 5 seconds by default: how long a canceled query may take to end before its connection is closed.

    • New

      sql.batch([queries]) sends queries in one round trip with a single Sync: outside a transaction they commit or roll back together, and the batch rejects with the failing query's position in error.index.

    • New

      json on a transform (#1169). The built-in transforms rename the keys of JSON values in results but send JSON values as they are. json: false leaves JSON values as they are both ways, and json: true renames their keys when sending too, with the transform's column.to. Without it nothing changes.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.