Packages

pg

8.23.1 · 30 Sep 2026MIT105.8M / weekRepositorynpmAtom feed

Upgrading pg From 1.0.1 to 2.11.2

32 releases in betweennotes for 15

Other targets from 1.0.1Newest 1.x1.3.0Latest8.23.1
The note of 2.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 1.0.1yours
  2. 9 releases
  3. 2.0.0major
  4. 21 releases
  5. 2.11.2target
?
changes to make
1
advisory fixed
5+
new
?
fixes

Counted from 15 of 32 release notes. Advisories are counted from the advisory database, in full.

Security

Fixes 1 advisory affecting 1.0.1

Release by release

  1. 2.11.1 – 2.11.22 releases, no release note

  2. 2.11.0

    6 Jan 20141 new
  3. 2.10.0

    27 Dec 20131 new
  4. 2.9.0

    20 Dec 20131 new
  5. 2.8.1 – 2.8.55 releases, no release note

  6. 2.8.0

    18 Oct 20131 new
    • New

      Add support for parsing JSON and UUID result types

  7. 2.2.0 – 2.7.010 releases, nothing new or fixed; 4 without a note

  8. 2.1.0

    10 Jul 20131 new
    • New

      Add support for SSL connections in JavaScript driver

11 other lines we could not sort, mostly version bumps
  • Use single row mode in native bindings when available [@rpedela]

    2.7.0
  • Automatically bind buffer type parameters as binary [@eugeneware]

    2.7.0
  • Respect PGSSLMODE environment variable

    2.6.0
  • Ability to opt-in to int8 parsing via pg.defaults.parseInt8 = true

    2.5.0
  • Use eval in the result set parser to increase performance

    2.4.0
  • Remove built-in support for binary Int64 parsing. Due to the low usage & required compiled dependency this will be pushed into a 3rd party add-on

    2.3.0
  • This means you can connect to heroku postgres from your local machine without the native bindings!

    2.1.0
  • Properly handle various PostgreSQL to JavaScript type conversions to avoid data loss:

    2.0.0
  • Make client_encoding configurable and optional

    1.3.0
  • Return field metadata on result object: access via result.fields[i].name/dataTypeID

    1.2.0

3 internal lines (docs, tests, tooling) left out.

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.