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.1 #95

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps tui-widget-list from 0.7.1 to 0.10.1.

Release notes

Sourced from tui-widget-list's releases.

v0.10.1

Implement Styled for List (contributor: airblast-dev)

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.1 - 28 July 2024

  • Implement Styled for List (contributor: airblast-dev)

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.

... (truncated)

Commits
  • e04c341 Version update v0.10.1
  • 4ca930d Update example to use Styled when possible
  • 71b0967 Merge pull request #18 from airblast-dev/main
  • 8e46f6b Implement Styled for List instead of List::style.
  • 009b976 Bump ratatui to v0.27
  • de6a8e2 Release v0.9
  • ff82747 Merge pull request #16 from preiter93/v0.9
  • eea2f1e Add example for long lists
  • 6203672 Minimize calls to prerender
  • 1eb062c Simplify update viewport method
  • Additional commits viewable in compare view

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 29, 2024
Bumps [tui-widget-list](https://github.com/preiter93/tui-widget-list) from 0.7.1 to 0.10.1.
- [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.1)

---
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.1 branch from 1c6bc43 to f267838 Compare August 6, 2024 03:45
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2024

Superseded by #99.

@dependabot dependabot bot closed this Aug 12, 2024
@dependabot dependabot bot deleted the dependabot/cargo/tui-widget-list-0.10.1 branch August 12, 2024 16:14
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