tui-widgets-v0.2.4
Other
-
(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.
0.27.0
Version 0.27
Added ⭐
- 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.
Changes
- Make the events module an optional feature
events
(to make crossterm more lightweight) ([#776](https://github.com/joshka/tui-widgets/pull/776))
Breaking
⚠️ - 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.
Unreleased
Version 0.28.1
Fixed 🐛
- Fix broken build on linux when using
use-dev-tty
with ([#906](https://github.com/joshka/tui-widgets/pull/906))
Breaking
⚠️ - Fix desync with mio and signalhook between repo and published crate. (upgrade to mio 1.0)
Version 0.28
Added ⭐
- 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))
Changed ⚙️
- 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))
Breaking
⚠️ - Fix duplicate bit masks for caps lock and num lock ([#863](https://github.com/joshka/tui-widgets/pull/863)).
This breaks serialization of
KeyEventState
Version 0.27.1
Added ⭐
- Add support for (de)serializing
Reset
Color
Version 0.27
Added ⭐
- 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.
Changed ⚙️
... (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.
0.21.0
Use
crate-name
feature to enable the crate rename support (enabled by default)Changelog
Sourced from rstest's changelog.
[0.21.0] 2024/6/1
Changed
- Add feature
crate-name
enabled by default to opt-in crate rename support. See [#258](https://github.com/joshka/tui-widgets/pull/258)
[0.20.0] 2024/5/30
Add
- 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)
Fixed
- 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
[0.19.0] 2024/4/9
Changed
- Defined
rust-version
for each crate (see [#227](https://github.com/joshka/tui-widgets/pull/227))
Fixed
-
#[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.
[0.18.2] 2023/8/13
Changed
- Now
#[files]
accept also parent folders (see [#205](https://github.com/joshka/tui-widgets/pull/205) for more details).
[0.18.1] 2023/7/5
... (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