File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,16 @@ Notable changes to this project are documented in this file. The format is based
44
55## [ Unreleased]
66
7+ Breaking changes:
8+
9+ New features:
10+
11+ Bugfixes:
12+
13+ Other improvements:
14+
15+ ## [ v11.0.0] ( https://github.com/purescript-node/purescript-node-process/releases/tag/v11.0.0 ) - 2023-07-21
16+
717Breaking changes:
818- Breaking changes to ` exit ` (#39 by @JordanMartinez )
919
@@ -30,6 +40,30 @@ Breaking changes:
3040- Bump ` node-streams ` to ` v8.0.0 ` (#40 by @JordanMartinez )
3141- Migrate ` onEventName ` to ` eventH ` -style event handling API (#40 by @JordanMartinez )
3242
43+ ``` purs
44+ -- Before
45+ onExit \exitCode -> ...
46+
47+ -- After
48+ process # on_ exitH \exitCode ->
49+ ```
50+
51+ See https://pursuit.purescript.org/packages/purescript-node-event-emitter/3.0.0/docs/Node.EventEmitter for more details.
52+
53+ ` onSignal ` has many possible enumerations, so a generic one was provided instead:
54+ ``` purs
55+ -- Before
56+ onSignalExit SIGTERM do
57+ ...
58+
59+ -- After
60+ process # on_ (mkSignalH SIGTERM) do
61+ ...
62+ -- Or, is `Signal` doesn't have it
63+ process # on_ (mkSignalH' "SIGTERM") do
64+ ...
65+ ```
66+
3367New features:
3468- Add missing APIs (#39 by @JordanMartinez )
3569
You can’t perform that action at this time.
0 commit comments