Skip to content

Commit 04d6466

Browse files
committed
1 parent bbf6af0 commit 04d6466

File tree

3 files changed

+77
-31
lines changed

3 files changed

+77
-31
lines changed

CHANGELOG.md

Lines changed: 53 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,162 +1,207 @@
1-
03-07-2025 Paul Rütter
1+
19-11-2025 Paul Rütter
2+
3+
- 3.7.2
4+
- Fix for https://github.com/blueconic/node-oom-heapdump/security/dependabot/14 by updating dependencies
5+
6+
03-07-2025 Paul Rütter
7+
28
- 3.7.1
39
- Fix for https://github.com/blueconic/node-oom-heapdump/security/dependabot/12 by updating dependencies
410

511
04-06-2025 Paul Rütter
12+
613
- 3.7.0
714
- Node 24 binaries
815

916
12-05-2025 Paul Rütter
17+
1018
- 3.6.0
1119
- Upgrade dependencies
1220

1321
11-12-2024 Paul Rütter
22+
1423
- 3.4.0
1524
- Upgrade dependencies due to https://security.snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
1625

1726
18-06-2024 Paul Rütter
27+
1828
- 3.3.1
1929
- Upgrade dependencies due to https://security.snyk.io/vuln/SNYK-JS-WS-7266574
2030

2131
10-06-2024 Paul Rütter
32+
2233
- 3.3.0
2334
- Add prebuilt binaries for Alpine, https://github.com/blueconic/node-oom-heapdump/pull/16
2435

2536
16-05-2024 Paul Rütter
37+
2638
- 3.2.3
2739
- Release to fix prebuilt binaries for node 22.x
2840

2941
25-04-2024 Paul Rütter
42+
3043
- 3.2.2
3144
- Release to update dependencies
3245

3346
27-10-2023 Paul Rütter
47+
3448
- 3.2.0
3549
- https://github.com/blueconic/node-oom-heapdump/issues/31: Node20 support
3650
- Change native code to use different method signature for Node20 and above, remain compatible for Node18 and below.
3751

3852
26-10-2023 Paul Rütter
53+
3954
- 3.1.0
4055
- https://github.com/blueconic/node-oom-heapdump/issues/28: only build prebuilt binaries for > 16.x, as Github Actions no longer supports older versions.
4156

4257
19-10-2023 Paul Rütter
58+
4359
- 3.0.4
4460
- Update dependencies
4561

4662
04-08-2023 Paul Rütter
63+
4764
- 3.0.3
4865
- Prefer IPv4 (https://github.com/blueconic/node-oom-heapdump/pull/29)
4966
- Update dependencies
5067

5168
24-07-2022 Paul Rütter
69+
5270
- 3.0.2
5371
- Add Node18, as it's LTS now
5472
- Upgrade dependencies
5573

5674
10-02-2022 Paul Rütter
75+
5776
- 3.0.1
5877
- Fixed building native artifacts on Windows, thanks spmiller! https://github.com/blueconic/node-oom-heapdump/issues/22
5978

6079
10-02-2022 Paul Rütter
80+
6181
- 3.0.0
6282
- Added Node 16 support (by merging https://github.com/blueconic/node-oom-heapdump/pull/20, Thanks Simon Abbott!).
6383
This fixes a recursion issue.
6484
- Removed "GC_MONITORING" at it relied on `gc-stats`, which is no longer maintained (and contained security issues)
6585
- Updated `node-pre-gyp` to `@mapbox/node-pre-gyp` so security issues are mitigated
6686

6787
12-10-2020 Paul Rütter
88+
6889
- 2.1.0
6990
- Added Node 14 support
7091

71-
12-10-2020 Paul Rütter
92+
12-10-2020 Paul Rütter
93+
7294
- 2.0.2
7395
- Fix latest published version, was replaced with beta.
7496

75-
02-08-2020 Paul Rütter
97+
02-08-2020 Paul Rütter
98+
7699
- 2.0.1
77100
- Fixed prebuilt binaries path.
78101

79-
20-07-2020 Paul Rütter
102+
20-07-2020 Paul Rütter
103+
80104
- 2.0
81105
- Added prebuilt binaries again, in a new major version. To "solve" https://github.com/blueconic/node-oom-heapdump/issues/13.
82106

83-
20-07-2020 Paul Rütter
107+
20-07-2020 Paul Rütter
108+
84109
- 1.3.1
85110
- Revert prebuilt binaries, since it's a breaking change.
86111

87112
24-06-2020 Stuart Miller / Paul Rütter
113+
88114
- 1.3.0
89115
- Stuart Miller added support for having prebuilt binaries for all supported Node.js versions.
90116

91117
16-10-2019 Paul Rütter
118+
92119
- 1.2.0
93120
- Node 12 support.
94121
- Still some deprecated API's are used, which should be avoided.
95-
See https://github.com/joyeecheung/node/blob/v8-maybe-doc/CPP_STYLE_GUIDE.md#use-maybe-version-of-v8-apis
122+
See https://github.com/joyeecheung/node/blob/v8-maybe-doc/CPP_STYLE_GUIDE.md#use-maybe-version-of-v8-apis
96123
- Adjusted test script a bit, by removing some flags which seem to complicate nodejs 12 support.
97124

98125
02-09-2019 Paul Rütter
126+
99127
- 1.2.0-beta.0
100128
- Updated dependencies (nan update is needed for nodejs 12)
101129
- Add nodejs 12 to travis
102130
- Add experimental node 12 support. Still some deprecated API's are used, which should be avoided.
103-
See https://github.com/joyeecheung/node/blob/v8-maybe-doc/CPP_STYLE_GUIDE.md#use-maybe-version-of-v8-apis
131+
See https://github.com/joyeecheung/node/blob/v8-maybe-doc/CPP_STYLE_GUIDE.md#use-maybe-version-of-v8-apis
104132

105133
02-01-2019 Paul Rütter
134+
106135
- 1.1.4
107136
- Updated dependencies
108137
- Add travis file to trigger a build. Just run a dummy script which does nothing; the default "npm install" will check if the native module compiles.
109138

110139
09-06-2018 Paul Rütter
140+
111141
- 1.1.3 - Updated dependencies, to mitigate security issues.
112142

113143
02-20-2018 Paul Rütter
144+
114145
- 1.1.2 - Fixed heapdump generation on Unix machines.
115146
- Added option to use the "old" implementation (GCmonitoring), as the new implementatuion is more prone to run in with the OoM killer when in memory restricted environments (like Docker). The old implementation was less impacted by this, because the "threshold" parameter can be used to create the heapdump earlier.
116-
You can specify which OoM implementation to use, either: "NATIVE_HOOK" (default) or "GC_MONITORING" (old implementation).
147+
You can specify which OoM implementation to use, either: "NATIVE_HOOK" (default) or "GC_MONITORING" (old implementation).
117148

118149
02-19-2018 Paul Rütter
150+
119151
- 1.1.0 - Changed the way the "out of memory" heapdump is created, based on the work of 'trevnorris' (https://github.com/trevnorris/node-ofe/blob/master/ofe.cc). Using V8 engine isolate.SetOOMErrorHandler() to hook in on the out of memory event.
120152
- Updated readme and removed deprecated 'limit' and 'threshold' parameters.
121153
- Removed 'gc-stats' module, as we no longer need it with the native C++ add-on.
122154

123155
02-13-2018 - Paul Rütter
156+
124157
- 1.0.12 - Use 'require-main-filename' instead of require.main.filename, to resolve 'https://github.com/blueconic/node-oom-heapdump/issues/3'.
125158
- Upgrade dependencies
126159

127160
11-21-2017 - Paul Rütter
161+
128162
- 1.0.11 - Added port verification; when the module is loaded, the configured WebSocket port is verified. If the websocket responds with ECONNREFUSED, the process might have been started without the --inspect flag.
129163

130164
11-17-2017 - Paul Rütter
165+
131166
- 1.0.10 - Use gc-stats to calculate when to make a OoM heapdumo instead of process.memoryUsage() as this memory information (heapTotal) is growing over time, which is not expected.
132167
- Stringify gc-stats output, so it runs over only 1 line.
133168

134169
06-10-2017 - Paul Rütter
170+
135171
- 1.0.9 - Handle exit codes better and reject promise if so.
136172

137173
05-10-2017 - Paul Rütter
174+
138175
- 1.0.8 - Add CPU profile functionality.
139176

140177
04-10-2017 - Paul Rütter
178+
141179
- 1.0.7 - Add addTimestamp option.
142180

143181
04-10-2017 - Paul Rütter
182+
144183
- 1.0.6 - Add limit option.
145184

146185
03-10-2017 - Paul Rütter
186+
147187
- 1.0.5 - Change heap calculation.
148188

149189
03-10-2017 - Paul Rütter
190+
150191
- 1.0.4 - Add error handler in case the calling process is not running anymore. Also, block execution a while to allow heapdump to be created.
151192

152193
01-10-2017 - Paul Rütter
194+
153195
- 1.0.3 - Minor doc changes.
154196

155197
01-10-2017 - Paul Rütter
198+
156199
- 1.0.2 - Refactored code; split up API and implementation. Also added API for creating heapdumps on the fly. Documentation updated.
157200

158201
29-09-2017 - Paul Rütter
202+
159203
- 1.0.1 - minor changed
160204

161205
29-09-2017 - Paul Rütter
206+
162207
- 1.0.1 - initial version

package-lock.json

Lines changed: 22 additions & 21 deletions
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
@@ -1,6 +1,6 @@
11
{
22
"name": "node-oom-heapdump",
3-
"version": "3.7.1",
3+
"version": "3.7.2",
44
"description": "Create a V8 heap snapshot when an \"Out of Memory\" error occurs, or create a heap snapshot or CPU profile on request.",
55
"main": "index.js",
66
"scripts": {
@@ -44,7 +44,7 @@
4444
"@mapbox/node-pre-gyp": "2.0.0",
4545
"bindings": "^1.5.0",
4646
"chrome-remote-interface": "^0.33.3",
47-
"nan": "^2.22.2",
47+
"nan": "^2.23.1",
4848
"require-main-filename": "^2.0.0",
4949
"ws": "^8.18.3"
5050
}

0 commit comments

Comments
 (0)