Releases: purescript-node/purescript-node-readline
Releases · purescript-node/purescript-node-readline
v8.1.1
v8.1.0
Bugfixes:
- Bump
node-streamstov9.0.0to fix FFI issues (#37 by @JordanMartinez)
v8.0.0
Breaking changes:
-
Removed
setLineHandlerandLineHandlertype alias (#34 by @JordanMartinez)setLineHandlerwas previously implemented asreadline.removeAllListeners("line"); readline.on("line", cb); With the addition of bindings from `EventEmitter`, this can be done using `on` ```purs example = do removeListener <- interface # on lineH \line -> do ... ... removeListener
New features:
-
Added missing
createInterfaceoptions (#35 by @JordanMartinez)- history
- removeHistoryDuplicates
- prompt
- crlfDelay
- escapeCodeTimeout
- tabSize
-
Added missing APIs (#35, #36 by @JordanMartinez)
pause/resumequestion'getPromptwriteexposed aswriteDataandwriteKeyline,cursorgetCursorPos,clearLinevariants,clearScreenDownvariantscursorTovariants,moveCursorvariantsemitKeyPressEvents
-
Added
Aff-based convenience methods (#36 by @JordanMartinez)questionquestion'countLinesblockUntilClosed
-
Added bindings for
AbortController/AbortSignal(#36 by @JordanMartinez)
Bugfixes:
Other improvements:
- Update CI
nodeversion tolts/*(#31, #32 by @JordanMartinez) - Update CI actions to
v3(#31, #32 by @JordanMartinez) - Format code via
purs-tidy; enforce formatting in CI (#31, #32 by @JordanMartinez) - Update FFI to use uncurried functions (#33 by @JordanMartinez)
- Reordered export list (#35 by @JordanMartinez)
v7.0.0
Breaking changes:
- Update project and deps to PureScript v0.15.0 (#28 by @JordanMartinez, @sigma-andex)
v6.0.0
Due to implementing a breaking change incorrectly, use v7.0.0 instead.
v5.0.0
v4.0.1
v4.0.0
Updates for 0.12