Skip to content

Commit 8139d19

Browse files
Finalize changelog (#41)
1 parent fb0d679 commit 8139d19

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

CHANGELOG.md

+34
Original file line numberDiff line numberDiff 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+
717
Breaking 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+
3367
New features:
3468
- Add missing APIs (#39 by @JordanMartinez)
3569

0 commit comments

Comments
 (0)