Skip to content

Releases: vadimdemedes/ink

v2.5.0

05 Oct 23:28
Compare
Choose a tag to compare

Highlights

  • Clear terminal if output is taller than viewport (#210) af480b8
  • Add useApp, useStdin and useStdout hooks (#235) e0d2b4f
  • Fix removal of props in non-experimental mode e5b7569
  • Fix aligning multiple text nodes within <Box> 1f96300

v2.4.0...v2.5.0

v2.4.0

26 Sep 04:07
Compare
Choose a tag to compare

Highlights

  • Add useInput hook to handle user input (#227) 4960ff7
  • Update react, react-reconciler and scheduler dependencies, which fixes useEffect hook usage 4a0afb6 9487c00
  • Add new experimental reconciler (#232) 8943332
  • Don't error on empty string input to (#219) 46f243d

v2.3.0...v2.4.0

v2.3.0

25 Jun 13:57
Compare
Choose a tag to compare

Highlights

  • Speed up <Static> component 78be775

v2.2.0...v2.3.0

v2.2.0

23 May 04:08
Compare
Choose a tag to compare

Highlights

  • Fix setRawMode() with non-TTY stdin and expose isRawModeSupported on StdinContext 7f0b2c0

Credits

❤️ Thanks to @eweilow for contributing towards this release!

All changes

v2.1.1...v2.2.0

v2.1.1

02 Apr 02:53
Compare
Choose a tag to compare
  • Cut text taller than its container height 328b750
  • Prevent writing empty strings to output instance 8f44d6d

v2.1.0...v2.1.1

v2.1.0

31 Mar 04:48
Compare
Choose a tag to compare
  • Reject waitUntilExit() promise if error occurs during render (#178) 526d5c3
  • Render only last frame on CI 92f4393
  • Fix rendering identical children 98b3c3e
  • Add wrapping/truncating for text content e8e6811
  • Allow passing an error on exit (#165) dcaaafa
  • Initialize reconciler once (#170) 405fe7a
  • Add flexBasis prop to cfcc1a7
  • Add minWidth and minHeight props to e5f7322
  • Allow width/height to be set in percent 538010a

Credits

❤️ Thanks to @mAAdhaTTah, @sindresorhus and @sebald for contributing to this release!

v2.0.6...v2.1.0

v2.0.6

18 Mar 03:06
Compare
Choose a tag to compare
  • Prevent squashing of text nodes if flexDirection="column" is set on container 2e8091d

v2.0.5...v2.0.6

v2.0.5

09 Mar 07:24
Compare
Choose a tag to compare
  • Fix reordering of children a022a38

v2.0.4...v2.0.5

v2.0.4

08 Mar 05:50
Compare
Choose a tag to compare
  • Enable keypress events when raw mode is turned on 675b456
  • Keep track of components which requested raw mode 321aa1e

v2.0.3...v2.0.4

v2.0.3

05 Mar 07:30
Compare
Choose a tag to compare
  • Fix replacing child nodes with text aba6a89

v2.0.2...v2.0.3