Skip to content

Commit 3725e93

Browse files
committed
1 parent 8b727d8 commit 3725e93

File tree

16 files changed

+101
-16
lines changed

16 files changed

+101
-16
lines changed

packages/cli/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [1.28.0](https://github.com/launchql/pgsql-parser/compare/@launchql/[email protected]...@launchql/[email protected]) (2025-06-21)
7+
8+
**Note:** Version bump only for package @launchql/proto-cli
9+
10+
11+
12+
13+
614
# [1.27.0](https://github.com/launchql/pgsql-parser/compare/@launchql/[email protected]...@launchql/[email protected]) (2025-06-21)
715

816
**Note:** Version bump only for package @launchql/proto-cli

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@launchql/proto-cli",
3-
"version": "1.27.0",
3+
"version": "1.28.0",
44
"description": "The LaunchQL PG Proto parser",
55
"author": "Dan Lynch <[email protected]>",
66
"main": "index.js",
@@ -53,6 +53,6 @@
5353
"minimist": "1.2.8",
5454
"mkdirp": "3.0.1",
5555
"nested-obj": "^0.0.1",
56-
"pg-proto-parser": "^1.25.0"
56+
"pg-proto-parser": "^1.27.0"
5757
}
5858
}

packages/deparser/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,35 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [17.4.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@17.4.0) (2025-06-21)
7+
8+
9+
### Code Refactoring
10+
11+
* **deparser:** improve entry point handling with proper type guards ([a240d13](https://github.com/launchql/pgsql-parser/commit/a240d1313b9a57035656d7b00c7f664d90946248))
12+
13+
14+
### Features
15+
16+
* **deparser:** add ParseResult support, array handling, and configurable function delimiters ([1815fff](https://github.com/launchql/pgsql-parser/commit/1815fff259940adcb1d619b6e8479cf59b11115f))
17+
18+
19+
### BREAKING CHANGES
20+
21+
* **deparser:** Removed unused stmt() and version() methods. Use deparse() with appropriate node types instead.
22+
23+
The deparser now properly handles:
24+
1. ParseResult from libpg-query (bare or wrapped)
25+
2. Wrapped RawStmt nodes
26+
3. Arrays of Nodes
27+
4. Single Node statements
28+
29+
Note: ParseResult.stmts contains RawStmt objects directly (not wrapped as nodes)
30+
31+
32+
33+
34+
635
# [17.2.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@17.2.0) (2025-06-21)
736

837

packages/deparser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pgsql-deparser",
3-
"version": "17.3.0",
3+
"version": "17.4.0",
44
"author": "Dan Lynch <[email protected]>",
55
"description": "PostgreSQL AST Deparser",
66
"main": "index.js",
@@ -48,6 +48,6 @@
4848
"libpg-query": "17.3.3"
4949
},
5050
"dependencies": {
51-
"@pgsql/types": "^17.3.0"
51+
"@pgsql/types": "^17.4.0"
5252
}
5353
}

packages/enums/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [17.4.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@17.4.0) (2025-06-21)
7+
8+
**Note:** Version bump only for package pgsql-enums
9+
10+
11+
12+
13+
614
# [17.2.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@17.2.0) (2025-06-21)
715

816
**Note:** Version bump only for package pgsql-enums

packages/enums/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pgsql-enums",
3-
"version": "17.3.0",
3+
"version": "17.4.0",
44
"author": "Dan Lynch <[email protected]>",
55
"description": "PostgreSQL AST enums for pgsql-parser",
66
"main": "index.js",
@@ -31,7 +31,7 @@
3131
"test:watch": "jest --watch"
3232
},
3333
"devDependencies": {
34-
"pg-proto-parser": "^1.26.0"
34+
"pg-proto-parser": "^1.27.0"
3535
},
3636
"keywords": []
3737
}

packages/parser/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [17.4.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@17.4.0) (2025-06-21)
7+
8+
**Note:** Version bump only for package pgsql-parser
9+
10+
11+
12+
13+
614
# [17.2.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@17.2.0) (2025-06-21)
715

816
**Note:** Version bump only for package pgsql-parser

packages/parser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pgsql-parser",
3-
"version": "17.3.0",
3+
"version": "17.4.0",
44
"author": "Dan Lynch <[email protected]>",
55
"description": "The real PostgreSQL query parser",
66
"main": "index.js",
@@ -42,7 +42,7 @@
4242
"database"
4343
],
4444
"dependencies": {
45-
"@pgsql/types": "^17.3.0",
45+
"@pgsql/types": "^17.4.0",
4646
"libpg-query": "17.3.3",
4747
"minimist": "^1.2.6"
4848
}

packages/proto-parser/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [1.27.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@1.27.0) (2025-06-21)
7+
8+
**Note:** Version bump only for package pg-proto-parser
9+
10+
11+
12+
13+
614
# [1.25.0](https://github.com/launchql/pgsql-parser/compare/[email protected]@1.25.0) (2025-06-21)
715

816

packages/proto-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pg-proto-parser",
3-
"version": "1.26.0",
3+
"version": "1.27.0",
44
"description": "The LaunchQL Proto parser",
55
"author": "Dan Lynch <[email protected]>",
66
"main": "index.js",

0 commit comments

Comments
 (0)