tui-rs v0.7.0 Release Notes

Release Date: 2019-11-29 // 12 days ago
  •  Changed

    • 👉 Use Constraint instead of integers to specify the widths of the Table 📱 widget's columns. This will allow more responsive tables.
    Table::new(header, row)
      .widths(&[15, 15, 10])
      .render(f, chunk);
    

    becomes:

    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.

Previous changes from v0.6.2

  •  Added

    • Text implements PartialEq

    🛠 ### Fixed

    • Avoid overflow errors in canvas

     v0.6.1 - 2019-06-16

    🛠 ### Fixed

    • Avoid a division by zero when all values in a barchart are equal to 0.
    • 🛠 Fix the inverted cursor position in the curses backend.
    • Ensure that the correct terminal size is returned when using the crossterm backend.
    • Avoid highlighting the separator after the selected item in the Tabs widget.

     v0.6.0 - 2019-05-18

     Changed

    • ⚡️ Update crossterm backend

     v0.5.1 - 2019-04-14

    🛠 Fixed

    • 🛠 Fix a panic in the Sparkline widget