npm · npm:pg
pg active
PostgreSQL client - pure javascript & libpq with the same API
The latest stable version of pg is 8.23.1, published on 2026-09-30. Verified by Vigia on 2026-11-12.
| Latest stable version | 8.23.1 |
|---|---|
| Published | 2026-09-30 15:39:58 UTC |
| Install | npm install pg@latest |
| Requires (engines) | {"node":">= 16.0.0"} |
| Peer dependencies | pg-native >=3.0.1 |
| Dist-tags | beta: 8.14.2-alpha.1 latest: 8.23.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:19:34 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-30 15:39:58 UTC · 43 days ago |
| Stable releases in the last 12 months | 10 |
| Published versions | 250 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
8.23.1 | 2026-09-30 15:39:58 UTC |
8.23.0 | 2026-08-08 19:27:05 UTC |
8.22.0 | 2026-06-19 00:53:54 UTC |
8.21.0 | 2026-05-18 12:00:19 UTC |
8.20.0 | 2026-03-04 23:48:49 UTC |
8.19.0 | 2026-02-25 17:19:56 UTC |
8.18.0 | 2026-01-30 18:35:28 UTC |
8.17.2 | 2026-01-20 18:10:41 UTC |
8.17.1 | 2026-01-15 02:50:19 UTC |
8.17.0 | 2026-01-14 18:07:37 UTC |
8.16.3 | 2025-06-27 14:52:44 UTC |
8.16.2 | 2025-06-19 21:16:10 UTC |
8.16.1 | 2025-06-18 15:46:54 UTC |
8.16.0 | 2025-05-12 16:50:27 UTC |
8.15.6 | 2025-04-25 19:09:57 UTC |
8.15.5 | 2025-04-23 18:48:57 UTC |
8.15.2 | 2025-04-23 16:57:08 UTC |
8.15.1 | 2025-04-22 20:28:08 UTC |
8.15.0 | 2025-04-22 15:55:53 UTC |
8.14.1 | 2025-03-17 15:38:24 UTC |
Showing the 20 most recent of 247 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 8.23.1 |
node 18 | 8.23.1 |
node 20 | 8.23.1 |
node 22 | 8.23.1 |
node 24 | 8.23.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of pg?
The latest stable version of pg is 8.23.1, published on 2026-09-30. Verified by Vigia on 2026-11-12.
How do I install the latest version of pg?
Run npm install pg@latest. The latest stable version is 8.23.1 (verified 2026-11-12).
Is pg deprecated?
No. pg is not marked as deprecated in the registry.
Which Node.js version does pg require?
pg 8.23.1 declares this requirement: {"node":">= 16.0.0"}.
Does pg 8.23.1 have known vulnerabilities?
No known advisories affect pg 8.23.1 according to the data Vigia checks.
Is pg still maintained?
pg published 10 stable releases in the last 12 months; the most recent was 43 days ago. Activity: active.
Observed changes
- hu Oct 01 2026 09:36:23 GMT+0000 (Coordinated Universal Time) — released 8.23.1 → 8.23.1
- Wed Sep 30 2026 16:02:11 GM +0000 (Coordinated Universal Time) — released 8.23.0 → 8.23.1
Related packages
- @types/graceful-fs
- stringify-entities
- image-size
- @octokit/endpoint
- @radix-ui/react-toast
- motion-utils
- unist-util-position
- @next/env
- string-argv
- camel-case
- @octokit/request-error
- @babel/plugin-transform-typeof-symbol
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/pg) [](https://vigia.coredls.cloud/npm/pg) [](https://vigia.coredls.cloud/npm/pg)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/pg
GET https://vigia.coredls.cloud/v1/packages/npm/pg/versions/{version}