npm · npm:postgres
postgres 活跃
Fastest full featured PostgreSQL client for Node.js, Bun and Cloudflare Workers
postgres 的最新稳定版本是 4.1.1,发布于 2026-11-11。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 4.1.1 |
|---|---|
| 发布时间 | 2026-11-11 09:58:48 UTC |
| 安装 | npm install postgres@latest |
| 运行要求(engines) | {"node":">=18"} |
| Peer 依赖 | — |
| Dist 标签 | beta: 3.0.0-rc.3 latest: 4.1.1 |
| 许可证 | Unlicense |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 10:51:30 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-11-11 09:58:48 UTC · 1 天前 |
| 过去 12 个月的稳定版本数 | 5 |
| 已发布版本数 | 51 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
4.1.1 | 2026-11-11 09:58:48 UTC |
4.1.0 | 2026-11-05 22:09:05 UTC |
4.0.0 | 2026-10-29 18:02:56 UTC |
3.4.9 | 2026-04-05 15:18:33 UTC |
3.4.8 | 2026-01-06 14:40:45 UTC |
3.4.7 | 2025-05-21 16:17:26 UTC |
3.4.6 已撤回 | 2025-05-20 23:40:54 UTC |
3.4.5 | 2024-10-25 08:43:14 UTC |
3.4.4 | 2024-03-21 20:51:35 UTC |
3.4.3 | 2023-11-02 07:45:18 UTC |
3.4.2 | 2023-10-27 15:58:28 UTC |
3.4.1 | 2023-10-23 21:37:40 UTC |
3.4.0 | 2023-10-10 18:47:26 UTC |
3.3.5 | 2023-05-31 07:57:31 UTC |
3.3.4 | 2023-03-07 19:54:53 UTC |
3.3.3 | 2023-01-03 13:10:45 UTC |
3.3.2 | 2022-11-16 20:48:53 UTC |
3.3.1 | 2022-10-03 05:02:16 UTC |
3.3.0 | 2022-09-30 19:33:00 UTC |
3.2.4 | 2022-05-25 12:48:30 UTC |
显示 36 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 3.4.9 |
node 18 | 4.1.1 |
node 20 | 4.1.1 |
node 22 | 4.1.1 |
node 24 | 4.1.1 |
此软件包的升级指南
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
postgres 的最新版本是什么?
postgres 的最新稳定版本是 4.1.1,发布于 2026-11-11。Vigia 于 2026-11-12 核实。
如何安装 postgres 的最新版本?
运行 npm install postgres@latest。最新稳定版本是 4.1.1(2026-11-12 核实)。
postgres 是否已弃用?
否。注册表中 postgres 未被标记为已弃用。
postgres 需要哪个版本的 Node.js?
postgres 4.1.1 声明的要求为:{"node":">=18"}。
postgres 4.1.1 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 postgres 4.1.1。
postgres 是否仍在维护?
postgres 在过去 12 个月内发布了 5 个稳定版本,最近一次在 1 天前。活跃度:活跃。
观察到的变更
- Wed Nov 11 2026 10:51:07 GM +0000 (Coordinated Universal Time) — released 4.1.0 → 4.1.1
- hu Nov 05 2026 22:48:38 GMT+0000 (Coordinated Universal Time) — runtime_requirement_changed
- hu Nov 05 2026 22:48:38 GMT+0000 (Coordinated Universal Time) — released 4.0.0 → 4.1.0
- Fri Oct 30 2026 14:45:46 GM +0000 (Coordinated Universal Time) — released 4.0.0 → 4.0.0
- hu Oct 29 2026 18:45:33 GMT+0000 (Coordinated Universal Time) — runtime_requirement_changed
- hu Oct 29 2026 18:45:33 GMT+0000 (Coordinated Universal Time) — released 3.4.9 → 4.0.0
相关软件包
- @keyv/serialize
- @commitlint/types
- @jsep-plugin/assignment
- fast-sha256
- @radix-ui/react-toolbar
- tuf-js
- @svgr/webpack
- earcut
- pino-pretty
- @sinonjs/samsam
- openid-client
- @mui/private-theming
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/postgres) [](https://vigia.coredls.cloud/npm/postgres) [](https://vigia.coredls.cloud/npm/postgres)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/postgres
GET https://vigia.coredls.cloud/v1/packages/npm/postgres/versions/{version}