Skip to content

Releases: vadimdemedes/ink

v2.0.1

05 Mar 06:23

Choose a tag to compare

  • Fix subsequent calls to setRawMode 3dba883

v2.0.0...v2.0.1

v2.0.0

07 Mar 04:10

Choose a tag to compare

TODO

v0.5.1

09 Jul 05:27

Choose a tag to compare

This is a patch release, that brings back <Text> for backwards compatibility 0e29cac.

v0.5.0

09 Jul 05:21

Choose a tag to compare

This is a breaking release, along with a few new features.

  • Remove <Text> in favor of <Color> #69
  • Support JSX fragments #70

Thanks

❤️ Huge thanks to @karaggeorge for helping out with this release!

v0.4.0

22 Jan 21:35

Choose a tag to compare

This release brings important core improvements, a bug fix and new docs.

  • Major rewrite of the diffing process and core parts 0972381
  • Disable input in a non-tty environment 2daf599
  • Document <Text> component 6ae7acc
  • Document Yeoman generators 78e8653

Thanks

❤️ Huge thanks to @Thesuperfly, @talon and @shakyink for helping out with this release!

v0.3.1

07 Aug 18:12

Choose a tag to compare

This is mainly a bug fix release with an additional update to make Ink's API consistent with React's.

  • Pass props to setState() callback 9c33272
  • Add example on how to set up JSX transpiler 67591cd
  • Update log-update, fixes #28 61cd653

Thanks

❤️ Thanks to @ForbesLindesay and @zgreen for helping out with this release!

v0.3.0

16 Jul 16:34

Choose a tag to compare

This release brings minor breaking changes as well as nice improvements.

  • <div> now renders a newline (\n) after children. Use <span> if you need to group elements, but don't want a newline 376dc3a
  • Add missing functionality from Chalk 2, including methods for 256 and Truecolor color support 023e8d8 3124ecf
  • Rerender when terminal resizes. Responsiveness to the terminals! e68f2d7

Thanks

❤️ Huge thanks to @xdave for suggesting to add newline after <div>, which makes UI building more pleasant and less verbose.

v0.2.1

15 Jul 14:58

Choose a tag to compare

Despite the patch version increase, this release brings a few nifty features and an important bug fix.

  • Support defaultProps to specify default props for every render 72fb252
  • Support propTypes via the official prop-types module 034707d
  • Handle the output written via console.log() and others by clearing the terminal screen, writing it, then restoring the output from Ink components afterwards, so that console.log()'s output is always above live Ink output b0e451c
  • Let the process exit gracefully on unmount 2840fbb

Thanks

❤️ Huge thanks to @sindresorhus for convincing to add the native support for prop types.

v0.2.0

14 Jul 17:21

Choose a tag to compare

This is a breaking release, which contains API changes and a few important improvements.

  • Rename mount() to render() to provide more familiar API to React users a5bb287
  • Auto-enable keypress events on process.stdin (enable raw mode) when render() is used 696d0fb
  • Handle exiting with Esc and Ctrl+C. Since Ink enables raw mode, this has unfortunate consequences, such as deactivating default behavior like exiting with Ctrl+C. To provide a better experience for developers, Ink brings back that functionality automatically f1a653d
  • Throw error when component is missing 34ff78e

Thanks

❤️ Huge thanks to @sindresorhus and @brigand for helping with this release!