cursive/CHANGELOG.md

60 lines
1.6 KiB
Markdown
Raw Normal View History

2018-01-17 02:54:37 +00:00
# Changelog
2018-03-11 17:16:25 +00:00
## Next version: 0.8.2
2018-02-20 21:59:10 +00:00
2018-03-11 17:16:25 +00:00
## 0.8.1
### New features
- Add `Cursive::clear_global_callbacks`
### Bugfixes
- Fix non-ASCII input with pancurses backend
- Fix `StackView::move_layer`
- Fix layout computation for `SelectView`
- Remove unused `maplit` dependency for termion and blt backends
2018-02-20 21:59:10 +00:00
## 0.8.0
2018-01-17 02:54:37 +00:00
### New features
2018-01-18 18:32:08 +00:00
- Style (breaking change):
2018-01-17 18:31:20 +00:00
- Added support for bold/italic/underlined text
2018-01-17 02:54:37 +00:00
- Added `StyledString` for markup text
2018-01-18 18:32:08 +00:00
- Refactored line-break module
- Colors (breaking change):
- Added ColorStyle and PaletteColor for more flexible colored text
2018-01-17 02:54:37 +00:00
- Buttons:
- Added `Dialog::buttons` to iterate on buttons
- Added `Button::set_label` and `Button::label`
- TextView:
2018-01-17 18:31:20 +00:00
- Added TextContent, a way to separate model and view for TextView
- Added manual scrolling methods
2018-01-17 02:54:37 +00:00
- Allow multiple global callbacks per event
- Allow buttons and delimiters in top-level menubar
- StackView:
2018-02-20 21:59:10 +00:00
- Added `StackView::move_layer` to re-order layers
2018-01-17 02:54:37 +00:00
- `StackView::pop_layer` now returns the pop'ed view
2018-02-20 21:59:10 +00:00
- Added `StackView::reposition_layer` to move a layer around
- Dialog: added `Dialog::focus(&self)`
- SelectView: added `SelectView::selected`
- `Cursive::cb_sink` now accepts `FnOnce` (previously `Fn` only)
2018-01-17 02:54:37 +00:00
### Bugfixes
- Fix a bug in `TextArea::set_content`
- Fix `Color::from_256colors` for grayscale colors
- Fix resize detection on windows
2018-02-20 21:59:10 +00:00
- Fix possible panic with weird input on pancurses
- Fix possible panic in ListView layout
2018-01-17 02:54:37 +00:00
### Doc
- Add per-distributions instructions to install ncurses
- Improved comments in examples
- Improve doc for `Cursive::find_id`
- Improve doc for `Identifiable::with_id`
2018-02-20 21:59:10 +00:00
- Include Changelog