Skip to content

Commit c70bc22

Browse files
committed
docs: v1.14.0 release
1 parent dcd64e5 commit c70bc22

File tree

4 files changed

+54
-8
lines changed

4 files changed

+54
-8
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,34 @@ All notable changes to the "PostgreSQL Hacker Helper" extension will be document
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.14.0]
9+
10+
### Added
11+
12+
Support flexible array members as array members, so they are expanded as normal arrays.
13+
14+
Display `XLogRecPtr` in `File/Offset` hex form (like PG does), not integer.
15+
16+
Support for integer enums which elements defined using `#define` preprocessor.
17+
18+
Tests for formatter module.
19+
20+
### Fixed
21+
22+
Normalize function names passed to configuration files, so cppdbg and CodeLLDB notations do not conflict.
23+
24+
Some array members with scalar types are not displayed for CodeLLDB.
25+
26+
### Changed
27+
28+
Formatter module now works with `pgindent` instead of invoking `pg_bsd_indent` directly.
29+
30+
Array members now specified in `"arrays"` section in configuration, instead of `"specialMembers" -> "array"`.
31+
32+
Internal state initialization using knowledge of pg version using `server_version_num` GUC parameter. This is for initialization of internal runtime properties and acquiring enum members according to version.
33+
34+
Internal state reinitialized each debug session start with configuration file updates.
35+
836
## [1.13.0]
937

1038
### Added

README.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Extension provides assistance with postgres variables:
1616
- View `Node *` variables with real type according to `NodeTag`
1717
- Get the contents of container types: `List *`, `HTAB *`, `Bitmapset *`
1818
- Render `Expr` nodes by the original expression
19+
- Show integer enums as enum values, not integers
1920

2021
> More info you can find in documentation for [`PG Variables` view](docs/pg_variables.md).
2122
@@ -33,6 +34,7 @@ Extension creates separate view in debug section - `PG Variables`. It contains p
3334
- `Bitmapset *` elements (numbers) store references to which they point, i.e. `Relids` will store `RelOptInfo` and `RangeTable` references
3435
- `List *` can support custom pointer types (not `Node *` types)
3536
- Some scalar types are rendered in more convenient way, i.e. `XLogRecPtr` displayed in `File/Offset` form - not integer
37+
- Enum values, which defined using preprocessor (`#define`) are shown as enum values, not integers.
3638

3739
### Configuration file
3840

@@ -215,7 +217,23 @@ Known issues:
215217

216218
## Release Notes
217219

218-
## 1.13.0
220+
### 1.14.0
221+
222+
Support flexible array members as array members, so they are expanded as normal arrays.
223+
224+
Array members now specified in `"arrays"` section in configuration, instead of `"specialMembers" -> "array"`.
225+
226+
Formatter module now works with `pgindent` instead of invoking `pg_bsd_indent` directly.
227+
228+
Display `XLogRecPtr` in `File/Offset` hex form (like PG does), not integer.
229+
230+
Normalize function names passed to configuration files, so cppdbg and CodeLLDB notations do not conflict.
231+
232+
Fix some array members with scalar types are not displayed for CodeLLDB.
233+
234+
Support for integer enums, defined using preprocessor (`#define ENUM_VALUE 1`).
235+
236+
### 1.13.0
219237

220238
Add some more array special members.
221239

@@ -227,13 +245,13 @@ Cached `typedefs.list` file now stored in `.vscode` directory instead of global
227245

228246
Add command `Find custom typedefs.list in repository` to quickly find `typedefs.list` files in repository.
229247

230-
## 1.12.1
248+
### 1.12.1
231249

232250
Improve performance by caching current context properties, i.e. if it is safe to call `palloc`, etc...
233251

234252
Handle `ROWID` special varno when rendering Var expression.
235253

236-
## 1.12.0
254+
### 1.12.0
237255

238256
Support for generic expressions for length expression in array special members.
239257

@@ -243,11 +261,11 @@ Check length in array special members not greater than 1024 to prevent errors/bu
243261

244262
Show expression in `PlaceHolderVar` instead of `EXPR` placeholder.
245263

246-
## 1.11.2
264+
### 1.11.2
247265

248266
Fix invalid attribute rendering if it does not have `alias` member set.
249267

250-
## 1.11.1
268+
### 1.11.1
251269

252270
Search `context` or `cxt` variable in walkers/mutators to find `rtable` and render attributes in `Expr` variables.
253271

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "postgresql-hacker-helper",
33
"displayName": "PostgreSQL Hacker Helper",
44
"description": "Extension to assist Postgres hackers - source code developers",
5-
"version": "1.13.0",
5+
"version": "1.14.0",
66
"engines": {
7-
"vscode": "^1.30.0"
7+
"vscode": "^1.67.0"
88
},
99
"categories": [
1010
"Debuggers",

0 commit comments

Comments
 (0)