Skip to content

Bump cursive from 0.9.2 to 0.15.0#107

Open
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/cursive-0.15.0
Open

Bump cursive from 0.9.2 to 0.15.0#107
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/cursive-0.15.0

Conversation

@dependabot-preview

@dependabot-preview dependabot-preview Bot commented May 27, 2020

Copy link
Copy Markdown
Contributor

Bumps cursive from 0.9.2 to 0.15.0.

Release notes

Sourced from cursive's releases.

v0.14.0

Breaking changes

  • cursive::event::AnyCb changed from Box<...> to &mut ..., so users of View::call_on_any no longer need to box their closures.
  • Remove BoxView::squishable.
  • Update crossterm to 0.14.
  • Removed From implementations for Margins. Use Margins::lrtb and the like instead.
    • Or Dialog::padding_lrtb.
  • Renamed multiple types (old names are still re-exported, but deprecated):
    • BoxView -> ResizedView
    • ViewBox -> BoxedView
    • SizedView -> LastSizeView
    • Identifiable -> Nameable
    • Boxable -> Resizable
    • IdView -> NamedView
    • Selector::Id -> Selector::Name
    • with_id -> with_name
    • call_on_id -> call_on_name
    • find_id -> find_name
    • focus_id -> focus_name

API updates

  • SelectView::{item, with_all} now accept S: Into<StyledString> for colored labels.
  • Add ScrollView::scroll_to_important_area.
  • Add LinearLayout::set_focus_index.
  • Add XY::{sum, product}.
  • view::scroll is now a public module.
  • Add Cursive::process_events and Cursive::post_events.
    • This gives users finer control than Cursive::step.
  • Layer now has a color option.
  • LinearLayout can now directly add boxed views without re-boxing.
  • Add inner getters to EnableableView.
  • Add PaddedView::get_inner(_mut).
  • Add a bunch of constructors for Margins.
  • Add Dialog::padding_lrtb
  • Add Dialog::set_padding*
  • Add PaddedView::lrtb

Improvements

  • Changed the default color for TitleSecondary from yellow to light blue.
  • Changed the default color for Tertiary from grey to white.
  • Reduced dependencies (toml is now optional, removed hashbrown).
  • Cursive::default() now fallbacks do dummy backend if no other is available.

Bugfixes

  • Fixed ScrollView::show_scrollbars().
  • Correctly update the offset for ScrollView after focus change.
... (truncated)
Changelog

Sourced from cursive's changelog.

0.15.0

Breaking changes

  • Split library into a backend-agnostic cursive-core and a user-facing cursive.
  • Cursive::default now needs the cursive::CursiveExt trait to be in scope.
  • Update dependencies:
    • crossterm to 0.17.
    • enumset to 1.0
    • ahash to 0.3
    • pulldown-cmark to 0.7
  • Add PaletteColor::HighlightText
  • AnyCb now takes a &mut dyn View rather than a &mut dyn Any.

API updates

  • Added cursive::{default,ncurses,pancurses,termion,crossterm,blt,dummy} functions.
  • Add Cursive::debug_name
  • Add ScreensView to move some code away from the Cursive root
    • Reworked global callbacks configuration
    • Ctrl-C can be rewired to no longer exit the application
  • Add SelectView::(try_)iter_mut()
  • Dialog::{test, info} now accept StyledString as input
  • Add missing functions to Checkbox re: enabled state

Bugfixes

  • Fix Ctrl-Z binding for ncurses
  • Fix potential crash with empty SelectView
  • Add toml and markdown features to docs.rs

0.14.0

Breaking changes

  • cursive::event::AnyCb changed from Box<...> to &mut ..., so users of View::call_on_any no longer need to box their closures.
  • Remove BoxView::squishable.
  • Update crossterm to 0.14.
  • Removed From implementations for Margins. Use Margins::lrtb and the like instead.
    • Or Dialog::padding_lrtb.
  • Renamed multiple types (old names are still re-exported, but deprecated):
    • BoxView -> ResizedView
    • ViewBox -> BoxedView
    • SizedView -> LastSizeView
    • Identifiable -> Nameable
    • Boxable -> Resizable
    • IdView -> NamedView
    • Selector::Id -> Selector::Name
    • with_id -> with_name
... (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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label May 27, 2020
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/cargo/cursive-0.15.0 branch from b5644a2 to 7037a5a Compare July 22, 2020 09:37
Bumps [cursive](https://github.com/gyscos/cursive) from 0.9.2 to 0.15.0.
- [Release notes](https://github.com/gyscos/cursive/releases)
- [Changelog](https://github.com/gyscos/cursive/blob/master/CHANGELOG.md)
- [Commits](gyscos/cursive@0.9.2...cursive-v0.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/cargo/cursive-0.15.0 branch from 7037a5a to 0e21b43 Compare August 6, 2020 00:55
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