Packages

pg

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

Upgrading pg From 0.8.8 to 2.11.2

50 releases in betweennotes for 18

Reading releases, release notes and advisories…

Other targets from 0.8.8Newest 0.x0.15.1Latest8.23.1
  1. 0.8.8yours
  2. 0.9.0major
  3. 0.10.0major
  4. 4 releases
  5. 0.12.0major
  6. 2 releases
  7. 0.13.0major
  8. 2 releases
  9. 0.14.0major
  10. 1 release
  11. 0.15.0major
  12. 1 release
  13. 1.0.0major
  14. 10 releases
  15. 2.0.0major
  16. 21 releases
  17. 2.11.2target
2+
changes to make
1
advisory fixed
5+
new
1+
fix

Counted from 18 of 50 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking1.0.0
  • Deprecated0.14.0

Security

Fixes 1 advisory affecting 0.8.8

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

13 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.