Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 20 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.3.0] - 2026-09-10

### Changed

- TypeScript 7, and `pg` to 8.23, `@inquirer/prompts` and `@biomejs/biome` to their current
releases. Verified against a real database container through both the CLI and the
programmatic API, not on a green type-check alone.
- `@types/node` is named explicitly in `tsconfig.json`. TypeScript 7 no longer reliably
auto-includes it, which left every Node global — `console`, `process`, `URL`,
`setTimeout` — unresolved.

### Note

The 1.2.0 entry originally listed these dependency updates, but they were not in that
release; only the Node 22 floor, the `nodenext` move and the Actions bumps were. That entry
has been corrected and the updates ship here.

## [1.2.0] - 2026-09-10

### Changed
Expand All @@ -15,13 +32,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
30 April 2026. This also fixes a latent bug: `@inquirer/prompts` v8 is ESM-only, and
`require()` of an ES module only works from Node 20.19 onward — so interactive mode was
broken on Node 20.0 through 20.18, which the previous `>=20` range claimed to support.
- TypeScript 7. It removes the legacy `node10` module resolution, so the projects moved to
`nodenext`, which is what correctly models Node 22+ being able to `require()` an ES
module. `@types/node` is pinned to the supported floor rather than the newest release, so
the compiler rejects APIs that would not exist at runtime.
- Updated `ioredis` to 6, `mongodb` to 7, `pg`, `@inquirer/prompts` and `@biomejs/biome`,
and the GitHub Actions to their current majors. Each was verified against a real database
container, not just a green type-check.
- Moved to `nodenext` module resolution, which correctly models Node 22+ being able to
`require()` an ES module.
- Updated the GitHub Actions to their current majors.

## [1.1.0] - 2026-09-10

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@deniscuciuc/pg-analyzer",
"version": "1.2.0",
"description": "CLI tool that analyzes PostgreSQL databases for performance issues — indexes, slow queries, table bloat, connections and cache health.",
"version": "1.3.0",
"description": "CLI tool that analyzes PostgreSQL databases for performance issues \u2014 indexes, slow queries, table bloat, connections and cache health.",
"keywords": [
"postgresql",
"postgres",
Expand Down Expand Up @@ -70,15 +70,15 @@
"test": "node --test dist/tests/*.test.js"
},
"dependencies": {
"@inquirer/prompts": "^8.1.0",
"pg": "^8.14.0"
"@inquirer/prompts": "^8.7.2",
"pg": "^8.23.0"
},
"devDependencies": {
"@biomejs/biome": "2.3.11",
"@biomejs/biome": "2.5.12",
"@types/node": "^22.19.3",
"@types/pg": "^8.16.0",
"@types/pg": "^8.23.1",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
"typescript": "^7.0.2"
},
"engines": {
"node": ">=22",
Expand Down
Loading