Another bugfix release 🩹
A patch release full of stability fixes, mostly from our favorite contributors!
Security
Fixed a crash on malformed escape sequences. An ANSI sequence with more than 32 parameters (e.g. \x1b[1;1;1;…m) could panic the renderer with an index-out-of-range error. Any app that shows text it doesn't control, like logs, file contents, chat messages or LLM output, could be crashed by a single crafted line. If you render untrusted text, we recommend upgrading.
There are more fixes below 👇🏻
Have a nice week,
Charm ⭐
Changelog
Fixed
- b681f23: fix(renderer): flush queued view before insert above (#1741) (@yanmxa)
- 7ab4335: fix: don't panic on uncomparable color.Color values (#1852) (@drawmeanelephant)
- 585149e: fix: drain terminal query replies before releasing the terminal (#1894) (@andrinoff)
- 7dd9c4c: fix: keep signal subscription alive through shutdown (#1853) (@drawmeanelephant)
- 9c65983: fix: return write errors from Program.Run (#1879) (@janearc)
- bc55190: fix: synchronize canceled input cleanup (#1876) (@johnnychen94)
Other stuff
- 4d61172: v2.1.3 (@andrinoff)
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.