Packages

pg

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

Upgrading pg From 0.15.0 to 2.11.2

35 releases in betweennotes for 16

Other targets from 0.15.0Newest 0.x0.15.1Latest8.23.1
  1. 0.15.0yours
  2. 1 release
  3. 1.0.0major
  4. 10 releases
  5. 2.0.0major
  6. 21 releases
  7. 2.11.2target
1+
change to make
1
advisory fixed
5+
new
?
fixes

Counted from 16 of 35 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking1.0.0

Security

Fixes 1 advisory affecting 0.15.0

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.