Releases: php-tui/php-tui
Releases · php-tui/php-tui
0.2.1
Features:
- Add paragraph word wrap support #219 @KennedyTedesco
Improvements:
- Improve the gauge label style when filled #195 @KennedyTedesco
Refactoring:
- (Re)introduces the
areaargument toWidgetRenderer#207 - Renames RawWidget to BufferWidget #207
- Massive namespace reorganisation (most significantly removed the
Modelnamespace) #206 - Make
Line::fromSpans()variadic #197 @KennedyTedesco
Bug fixes:
- Fix put line truncation #211
- Fix block adjacent border renderering #201
- Fix
StyledGraphemesymbol width #214 @KennedyTedesco - Fix issue when truncating unicode text #215 @KennedyTedesco
0.1.0
Features:
Improvements:
- Fallback to placeholder if Imagemagick not loaded in image widget
- Support multi-width unicode chars #180
- Support multi-byte input characters and CTRL key modifier #178
- Add fine-grained builder methods to
Padding#165 @KennedyTedesco - Add fine-grained builder methods to
Margin#167 @KennedyTedesco - Add
VERTICALandHORIZONTALvariants toBorders#168 @KennedyTedesco
Refactoring:
- Make all classes final #186
- Added int range type hints
- Split
terminto a separate package.
Bug fixes:
- Fix multibyte issues with
parse()#192 @KennedyTedesco - Fix
putBuffer()behaviour #193 @KennedyTedesco
0.0.2
Features:
- Gauge widget #118
- Image widget #113
- BarChart widget #126
- Allow content to be inserted before the Inline viewport #134
- Style shortcuts
Span::fromString('foo')->green()->onWhite()#136 @KennedyTedesco - Linear Gradient Color #138
- Support creation of spans from subset of Symfony console markup #140 @KennedyTedesco
Bug fixes:
- Make mouse event properties public
- Fixed margin in image widget rendering #132
- Fix incorrect style patching for Spans #131 @KennedyTedesco
- Fix inline viewport sets terminal to raw but does not set it back #154
- Fix inline viewport clear eating first line #150
- Fix terminal echos raw escape codes when getting cursor position #149
- Inline "clear" is too greedy #158
- Chart does not crash with 1 label on y axis #153
- Fix bar chart horizontal bar width #160
Improvements
- Add
TableRow::fromStrings('one', 'two') - Chart automatically determines bounds if none are set #161
- Chart renders a single X label #161
Refactoring:
Initial release
Initial release.
The following are differences from Ratatui:
- Renamed
TerminaltoDisplayto avoid naming conflicts with PHP-Terms
Terminal(and it's also perhaps more accurate). - Added
Gridwidget (allows "layouts" as widgets) #18 Blockhas a widget instead of widgets having blocks #22- Introduced
Spriteshape - Added
TextShapeshape which renders fonts. - Added
ImageShapewidget to render images on the canvas #36. - Added
Canvas#draw(Widget)to avoid using the closure for most cases. #51 - Added
Display#drawWidget(Widget)to avoid using the closure for most cases. #55 - Rendering responsiblity split from the Widget (
Widgethas an associatedWidgetRenderer) #60