Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tui-widget-list from 0.7.1 to 0.10.0 #82

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2024

Bumps tui-widget-list from 0.7.1 to 0.10.0.

Release notes

Sourced from tui-widget-list's releases.

v0.10.0

Bump ratatui to v0.27

v0.9.0

  • Introduced PreRender trait as a replacement for ListableWidget.
    • This change is non-breaking
    • It provides a more concise and clearer interface. Migration Guide
  • Update trait implementations to use the new pre_render signature:
fn pre_render(&mut self, context: &PreRenderContext) -> u16 {
    let main_axis_size = // The widgets size in the main axis
if context.is_selected {
    self = // You can modify the selected item here
}
main_axis_size

}

  • Deprecated ListState::selected(). Use the struct field selected instead.
  • Updated examples
  • Add example for long lists

v0.8.3

Fix: Missing base style on truncated items

v0.8.2

  • Truncate last element correctly
  • Add tests

v0.8.1

  • Remove truncate paramter

v0.8.0

  • Add support for horizontal scroll

Breaking Change

The ListableWidgets trait method main_axis_size() was renamed to size with an additional scroll_direction parameter. This parameter can be ignored if the ListItem is only used in vertical or horizontal scroll mode, and not in both.

v0.7.2

Deprecate Listable trait in favor of ListableWidget

  • Migration: height() becomes main_axis_size()
  • Listable got deprectated, but old apps still compile
  • ListableWidget is more descriptive and using main_axis_size allows for reusing the trait in horizontal lists, which will come in the future
Changelog

Sourced from tui-widget-list's changelog.

0.10.0 - 27 June 2024

  • Bump ratatui to v0.27

0.9.0 - 11 May 2024

  • Introduced PreRender trait as a replacement for ListableWidget.
  • This change is non-breaking
  • It provides a more concise and clearer interface. Migration Guide
  • Update trait implementations to use the new pre_render signature:
fn pre_render(&mut self, context: &PreRenderContext) -> u16 {
  let main_axis_size = // The widgets size in the main axis
if context.is_selected {
  self = // You can modify the selected item here
}

main_axis_size
}

  • Deprecated ListState::selected(). Use the struct field selected instead.
  • Updated examples
  • Add example for long lists

0.8.3 - 1 May 2024

  • Fix: Missing base style on truncated items

0.8.2 - 29 February 2024

  • Truncate last element correctly
  • Add tests

0.8.1 - 24 February 2024

  • Add support for horizontal scroll
  • Remove truncate option

Breaking Change The ListableWidgets trait method main_axis_size() was renamed to size with an additional scroll_direction parameter. This parameter can be ignored if the ListItem is only used in vertical or horizontal scroll mode, and not in both.

0.7.2 - 14 February 2024

  • Deprecate Listable trait in favor of ListableWidget

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 1, 2024
@dependabot dependabot bot force-pushed the dependabot/cargo/tui-widget-list-0.10.0 branch 2 times, most recently from caade06 to 4a06c24 Compare July 1, 2024 18:08
@dependabot dependabot bot force-pushed the dependabot/cargo/tui-widget-list-0.10.0 branch from 4a06c24 to 6af991a Compare July 8, 2024 23:30
@dependabot dependabot bot force-pushed the dependabot/cargo/tui-widget-list-0.10.0 branch from 6af991a to 065b59f Compare July 18, 2024 01:58
Bumps [tui-widget-list](https://github.com/preiter93/tui-widget-list) from 0.7.1 to 0.10.0.
- [Release notes](https://github.com/preiter93/tui-widget-list/releases)
- [Changelog](https://github.com/preiter93/tui-widget-list/blob/main/CHANGELOG.md)
- [Commits](preiter93/tui-widget-list@v0.7.1...v0.10.0)

---
updated-dependencies:
- dependency-name: tui-widget-list
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/tui-widget-list-0.10.0 branch from 065b59f to 69791ae Compare July 26, 2024 03:41
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 29, 2024

Superseded by #95.

@dependabot dependabot bot closed this Jul 29, 2024
@dependabot dependabot bot deleted the dependabot/cargo/tui-widget-list-0.10.0 branch July 29, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants