v6.8.0

vadimdemedes/inkv6.8.0Feb 19, 2026by sindresorhus

AI Summary

Focuses on performance improvements, new utility functions like renderToString, and fixes for various rendering and input handling issues.

Key Highlights

  • Adds renderToString() for synchronous string output
  • Improves performance via caching
  • Fixes hyperlinks, wrapping, and keypress handling

New Features

  • renderToString()
  • exit() result value passing
  • react-devtools v7 support

Full Release Notes

### Improvements

- Add `renderToString()` for synchronous string output (#868)  0a0c549
- Add support for react-devtools v7 (#877)  d633d7c
- Allow `exit()` to pass a result value to `waitUntilExit()`  20b4a3d
- Improve performance by caching some expensive calls (#835)  bd2f6a4

### Fixes

- Fix wrapping with nested `Text` (#879)  1761c3a
- Fix support for hyperlinks (#871)  2bd1a74
- Fix: Handle ended stdout during unmount  54c4e65
- Fix duplicated `<Static>` output on exit  5815651
- Fix dropped keypresses when multiple inputs arrive in one readable tick  4848547
- Fix handling of colored output from child processes  9da2dfa

---

https://github.com/vadimdemedes/ink/compare/v6.7.0...v6.8.0