You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13-9
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,17 @@
1
1
# 4.0.0
2
2
3
+
_Breaking Changes:_
4
+
5
+
- Reordered the `error` and `info` arguments in the callback of the `startExport` function.
6
+
- Renamed the environment variables for a better representation of their roles (refer to all envs in the README's `Environment Variables` section).
7
+
- Renamed the `HIGHCHARTS_MODULES` environment variable to `HIGHCHARTS_MODULE_SCRIPTS`.
8
+
- Renamed the `HIGHCHARTS_INDICATORS` environment variables to `HIGHCHARTS_INDICATOR_SCRIPTS`.
9
+
- Renamed the `POOL_LISTEN_TO_PROCESS_EXITS` environment variable to `OTHER_LISTEN_TO_PROCESS_EXITS`.
10
+
- Renamed the `customCode` section of the options config to the `customLogic` in order to avoid confusion with the existing `customCode` property within.
11
+
- Renamed the `scripts` property in the `highcharts` section of the options config to the `customScripts`.
12
+
- Renamed the `initPool` function to `initExport` in the main module.
13
+
- Renamed the `init` function to `initPool` in the pool module.
14
+
3
15
_New Features:_
4
16
5
17
- Implemented debug mode, including new environment variables, a config section, 'console' event listener, and npm script for debugging the headful Puppeteer browser.
@@ -27,16 +39,9 @@ _Enhancements:_
27
39
- Made corrections for gracefully shutting down resources, including running servers, ongoing intervals, browser instance, created pages, and workers pool.
28
40
- Updated `createImage` and `createPDF` functions with faster execution options including `optimizeForSpeed` and `quality`.
29
41
- Set `waitUntil` to 'domcontentloaded' for `setContent` and `goto` functions to improve performance.
30
-
- Replaced browser's deprecated `isConnected()` with the `onnected` property.
42
+
- Replaced browser's deprecated `isConnected()` with the `connected` property.
31
43
- Added information on all available pool resources.
32
44
- Numerous minor improvements for performance and stability.
33
-
- Changed the `customCode` section of options to `customLogic` in order to avoid confusion with the existing `customCode` property within.
34
-
- Renamed the environment variables for a better representation of their roles (refer to all envs in the README's `Environment Variables` section).
35
-
- Renamed the `HIGHCHARTS_MODULES` and `HIGHCHARTS_INDICATORS` environment variables respectively to `HIGHCHARTS_MODULE_SCRIPTS` and `HIGHCHARTS_INDICATOR_SCRIPTS`.
36
-
- Renamed the `scripts` property of the config options to `customScripts`.
37
-
- Renamed the `initPool` function to `initExport` in the main module.
38
-
- Renamed the `init` function to `initPool` in the pool module.
39
-
- Renamed the environment variable `POOL_LISTEN_TO_PROCESS_EXITS` to `OTHER_LISTEN_TO_PROCESS_EXITS`.
40
45
- Moved the `listenToProcessExits` from the `pool` to the `other` section of the options.
41
46
- Replaced the temporary benchmark module with a simpler server benchmark for evaluating export time.
42
47
- Removed unnecessary separate `body-parser` package (already implemented in Express v4.16+).
@@ -53,7 +58,6 @@ _Enhancements:_
53
58
- Added a new process event handler for the `SIGHUP` signal.
54
59
- Added `mapChart` and `ganttChart` constructors in the exporting UI [(#503)](https://github.com/highcharts/node-export-server/issues/503).
55
60
- Added the series-on-point module [(#532)](https://github.com/highcharts/node-export-server/issues/532).
56
-
- Reordered the `error` and `info` arguments in the callback of the `startExport` function.
57
61
- Updates were made to the `config.js` file.
58
62
- Updated the `killPool` function.
59
63
- The `uncaughtException` handler now kills the pool, browser, and terminates the process with exit code 1, when enabled.
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Additionally, with the v3 release, we transitioned from HTTP to HTTPS for export
14
14
15
15
## Changelog
16
16
17
-
**The v4 introduces numerous breaking changes. For further details, please refer to the changelog document provided below.**
17
+
**Version 4 introduces some breaking changes, mostly related to renamed options, environment variables, function names, and reordered function parameters. For further details, please refer to the changelog document provided below, under the Breaking Changes section.**
18
18
19
19
The full change log for all versions can be viewed [here](CHANGELOG.md).
0 commit comments