Releases: purescript-node/purescript-node-readline
Releases · purescript-node/purescript-node-readline
v8.1.1
v8.1.0
Bugfixes:
- Bump
node-streams
tov9.0.0
to fix FFI issues (#37 by @JordanMartinez)
v8.0.0
Breaking changes:
-
Removed
setLineHandler
andLineHandler
type alias (#34 by @JordanMartinez)setLineHandler
was 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
createInterface
options (#35 by @JordanMartinez)- history
- removeHistoryDuplicates
- prompt
- crlfDelay
- escapeCodeTimeout
- tabSize
-
Added missing APIs (#35, #36 by @JordanMartinez)
pause
/resume
question'
getPrompt
write
exposed aswriteData
andwriteKey
line
,cursor
getCursorPos
,clearLine
variants,clearScreenDown
variantscursorTo
variants,moveCursor
variantsemitKeyPressEvents
-
Added
Aff
-based convenience methods (#36 by @JordanMartinez)question
question'
countLines
blockUntilClosed
-
Added bindings for
AbortController
/AbortSignal
(#36 by @JordanMartinez)
Bugfixes:
Other improvements:
- Update CI
node
version 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