|
|
|
@ -2,6 +2,38 @@
|
|
|
|
|
|
|
|
|
|
## To be released
|
|
|
|
|
|
|
|
|
|
## v0.7.0 - 2019-11-29
|
|
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
|
|
* Use `Constraint` instead of integers to specify the widths of the `Table`
|
|
|
|
|
widget's columns. This will allow more responsive tables.
|
|
|
|
|
|
|
|
|
|
```rust
|
|
|
|
|
Table::new(header, row)
|
|
|
|
|
.widths(&[15, 15, 10])
|
|
|
|
|
.render(f, chunk);
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
becomes:
|
|
|
|
|
|
|
|
|
|
```rust
|
|
|
|
|
Table::new(header, row)
|
|
|
|
|
.widths(&[
|
|
|
|
|
Constraint::Length(15),
|
|
|
|
|
Constraint::Length(15),
|
|
|
|
|
Constraint::Length(10),
|
|
|
|
|
])
|
|
|
|
|
.render(f, chunk);
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
* Bump crossterm to 0.13.
|
|
|
|
|
* Use Github Actions for CI (Travis and Azure Pipelines integrations have been deleted).
|
|
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
|
|
* Add support for horizontal and vertical margins in `Layout`.
|
|
|
|
|
|
|
|
|
|
## v0.6.2 - 2019-07-16
|
|
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|