All notable changes to this project will be documented in this file.
- Updated the following local packages: tui-scrollview
- (cards) Add new tui-cards library for playing cards
- Broken links from move to tui-widgets
-
Remove patch from main Cargo.toml file that was pointing at a local path (#38)
-
(deps) Update rstest requirement from 0.22.0 to 0.23.0 (#41)
Updates the requirements on rstest to permit the latest version.
Changelog
Sourced from rstest's changelog.
- Now it's possible destructuring input values both for cases, values and fixtures. See [#231](https://github.com/joshka/tui-widgets/pull/231) for details
- Implemented
#[ignore]
attribute to ignore test parameters during fixtures resolution/injection. See [#228](https://github.com/joshka/tui-widgets/pull/228) for details
- Lot of typo in code
- Add feature
crate-name
enabled by default to opt-in crate rename support. See [#258](https://github.com/joshka/tui-widgets/pull/258)
- Implemented
#[by_ref]
attribute to take get a local lifetime for test arguments. See [#241](https://github.com/joshka/tui-widgets/pull/241) for more details. Thanks to@narpfel
for suggesting it and useful discussions. - Support for import
rstest
with another name. See [#221](https://github.com/joshka/tui-widgets/pull/221)
- Don't remove Lifetimes from test function if any. See [#230](https://github.com/joshka/tui-widgets/pull/230) [#241](https://github.com/joshka/tui-widgets/pull/241) for more details.
PathBuf
does no longer need to be in scope when using#[files]
(see [#242](https://github.com/joshka/tui-widgets/pull/242))#[from(now::accept::also::path::for::fixture)]
See [#246](https://github.com/joshka/tui-widgets/pull/246) for more details
- Defined
rust-version
for each crate (see [#227](https://github.com/joshka/tui-widgets/pull/227))
#[once]
fixtures now require the returned type to beSync
to prevent UB when tests are executed in parallel. (see [#235](https://github.com/joshka/tui-widgets/pull/235)
... (truncated)
Commits
- See full diff in compare view
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)
Ratatui-0.28.0 compatible release
- Bump ratatui-macros to 0.5.0
- Bump tui-big-text to 0.6.0
- Bump tui-popup to 0.5.0
- Bump tui-prompts to 0.4.0
- Bump tui-scrollview to 0.4.0
- (deps) Bump ratatui-macros and re-enable multiple versions lint
- Add missing cfg (#28)
-
(tui-big-text) Release v0.5.5 (#25)
tui-big-text
: 0.5.4 -> 0.5.5
Changelog
Note that for projects that rely on crossterm, Ratatui 0.28.0 now relies internally on Crossterm 0.28.0. Ratatui release notes highlights: https://ratatui.rs/highlights/v028/ See ratatui/ratatui#1298 for notes about crossterm compatibility
This PR was generated with release-plz.
-
(deps) Update crossterm requirement from 0.27.0 to 0.28.1 (#22)
Updates the requirements on crossterm to permit the latest version.
Release notes
Sourced from crossterm's releases.
- Add
NO_COLOR
support (https://no-color.org/) - Add option to force overwrite
NO_COLOR
([#802](https://github.com/joshka/tui-widgets/pull/802)) - Add support for scroll left/right events on windows and unix systems ([#788](https://github.com/joshka/tui-widgets/pull/788)).
- Add
window_size
function to fetch pixel width/height of screen for more sophisticated rendering in terminals. - Add support for deserializing hex color strings to `Color`` e.g #fffff.
- Make the events module an optional feature
events
(to make crossterm more lightweight) ([#776](https://github.com/joshka/tui-widgets/pull/776))
- Set minimum rustc version to 1.58 ([#798](https://github.com/joshka/tui-widgets/pull/798))
- Change all error types to
std::io::Result
([#765](https://github.com/joshka/tui-widgets/pull/765))
@Gronis
,@kevin-vigor
,@Wilfred
,@benjajaja
,@blt-r
,@Piturnah
,@kdheepak
,@DeathVenom54
,@senekor
,@joseluis
,@gibbz00
,@lesleyrs
,@jhartzell42
Changelog
Sourced from crossterm's changelog.
- Fix broken build on linux when using
use-dev-tty
with ([#906](https://github.com/joshka/tui-widgets/pull/906))
- Fix desync with mio and signalhook between repo and published crate. (upgrade to mio 1.0)
- Capture double click mouse events on windows ([#826](https://github.com/joshka/tui-widgets/pull/826))
- (De)serialize Reset color ([#824](https://github.com/joshka/tui-widgets/pull/824))
- Add functions to allow constructing
Attributes
in a const context ([#817](https://github.com/joshka/tui-widgets/pull/817)) - Implement
Display
forKeyCode
andKeyModifiers
([#862](https://github.com/joshka/tui-widgets/pull/862))
- Use Rustix by default instead of libc. Libc can be re-enabled if
necessary with the
libc
feature flag ([#892](https://github.com/joshka/tui-widgets/pull/892)) FileDesc
now requires a lifetime annotation.- Improve available color detection ([#885](https://github.com/joshka/tui-widgets/pull/885))
- Speed up
SetColors
by ~15-25% ([#879](https://github.com/joshka/tui-widgets/pull/879)) - Remove unsafe and unnecessary size argument from
FileDesc::read()
([#821](https://github.com/joshka/tui-widgets/pull/821))
- Fix duplicate bit masks for caps lock and num lock ([#863](https://github.com/joshka/tui-widgets/pull/863)).
This breaks serialization of
KeyEventState
- Add support for (de)serializing
Reset
Color
- Add
NO_COLOR
support (https://no-color.org/) - Add option to force overwrite
NO_COLOR
([#802](https://github.com/joshka/tui-widgets/pull/802)) - Add support for scroll left/right events on windows and unix systems ([#788](https://github.com/joshka/tui-widgets/pull/788)).
- Add
window_size
function to fetch pixel width/height of screen for more sophisticated rendering in terminals. - Add support for deserializing hex color strings to
Color
e.g #fffff.
... (truncated)
Commits
- See full diff in compare view
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)
- Add
-
(deps) Update rstest requirement from 0.21.0 to 0.22.0 (#21)
Updates the requirements on rstest to permit the latest version.
Release notes
Sourced from rstest's releases.
Use
crate-name
feature to enable the crate rename support (enabled by default)Changelog
Sourced from rstest's changelog.
- Add feature
crate-name
enabled by default to opt-in crate rename support. See [#258](https://github.com/joshka/tui-widgets/pull/258)
- Implemented
#[by_ref]
attribute to take get a local lifetime for test arguments. See [#241](https://github.com/joshka/tui-widgets/pull/241) for more details. Thanks to@narpfel
for suggesting it and useful discussions. - Support for import
rstest
with another name. See [#221](https://github.com/joshka/tui-widgets/pull/221)
- Don't remove Lifetimes from test function if any. See [#230](https://github.com/joshka/tui-widgets/pull/230) [#241](https://github.com/joshka/tui-widgets/pull/241) for more details.
PathBuf
does no longer need to be in scope when using#[files]
(see [#242](https://github.com/joshka/tui-widgets/pull/242))#[from(now::accept::also::path::for::fixture)]
See [#246](https://github.com/joshka/tui-widgets/pull/246) for more details
- Defined
rust-version
for each crate (see [#227](https://github.com/joshka/tui-widgets/pull/227))
-
#[once]
fixtures now require the returned type to beSync
to prevent UB when tests are executed in parallel. (see [#235](https://github.com/joshka/tui-widgets/pull/235) for more details) -
#[future(awt)]
and#[awt]
now properly handle mutable (mut
) parameters by treating futures as immutable and treating the awaited rebinding as mutable.
- Now
#[files]
accept also parent folders (see [#205](https://github.com/joshka/tui-widgets/pull/205) for more details).
... (truncated)
Commits
- See full diff in compare view
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)
- Add feature
- Clean up changelogs (#17)
- removed unnecessary footer comments
- removed [unreleased] sections
- removed duplicate release notes
- Remove changelog footer (#19)
wrt https://github.com/joshka/tui-widgets/pull/18/files#r1701302921
not working as expected with
release-plz
- Updated the following local packages: tui-big-text
- Update readme / lib.rs links
-
Remove anyhow dependency
Replaced with color_eyre generally
-
Update bacon config
-
Update READMEs and licensing info
-
(tui-big-text) Add alignment helper methods
Adds helper methods to the
BigTextBuilder
struct to set the alignment of the text. This makes it simpler to set the alignment of the text.let left = BigText::builder() .left_aligned() .lines(vec!["Left".white().into()]) .build()?; let right = BigText::builder() .right_aligned() .lines(vec!["Right".green().into()]) .build()?; let centered = BigText::builder() .centered() .lines(vec!["Centered".red().into()]) .build()?;
-
(tui-big-text) [breaking] Make
BigText
builder infallible (#14)BigTextBuilder.build() no longer returns a Result. Instead it returns the BigText widget directly. This change is made to simplify rendering code which often otherwise doesn't have any error conditions.
This also makes the fields on BigText public (marked as non-exhaustive)
BREAKING CHANGE:BigTextBuilder.build() no longer returns a Result.
Remove the
?
/expect
/unwrap
calls code which calls the build method.let big_text = BigText::builder() .lines(vec![Line::from("SingleLine")]) - .build()?; + .build();
-
Fixup readme
-
Simplify tui-big-text examples
- Include commit body in changelog
- Add tui-popup to widgets
- Remove cargo.lock file
- Delete and backspace behavior for multi-byte characters (#57)
- Fixup tui-prompts version to match crates.io
- Various fixes / clippy lints (#6)
0.1.3 - 2024-07-24
- (deps) update minimal version for futures
- add workflows and dependabot settings
- Move to tui-widgets repository