mirro-rs
mirro-rs copied to clipboard
fix(deps): update tui
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| ratatui (source) | dependencies | minor | 0.28.0 -> 0.29.0 |
| tui-logger | dependencies | minor | 0.13.0 -> 0.17.0 |
Release Notes
ratatui/ratatui (ratatui)
v0.29.0
0.30.0-alpha.1 is a pre-release of the upcoming 0.30.0 release. It is intended for testing and
feedback. Please report any issues you encounter. The primary change is that we've split the crate
into multiple crates. The main crate is now ratatui-core and the widgets are in ratatui-widgets.
This allows for widget crates to depend on a stable core crate, and for the core crate to be used
without widgets.
Features
-
56d5e05 (bar) Update label and text_value to accept Into<> by @Emivvvvv in #1471 [breaking]
-
b76ad3b (bar) Impl Styled for Bar by @Emivvvvv in #1476
-
369b18e (barchart) Reduce barchart creation verbosity by @Emivvvvv in #1453
-
9275d34 (layout) Add Offset::new() constructor by @joshka in #1547
-
ff729b7 (scrollbar) Support retrieving the current position of state by @orhun in #1552
-
ce4856a (widgets) Add the missing constructor to canvas types by @orhun in #1538
-
50ba965 (uncategorized) Add a new RatatuiMascot widget by @Its-Just-Nans in #1584
-
1d28c89 (uncategorized) Add conversions for anstyle by @joshka in #1581
Bug Fixes
-
860e48b (buffer) Buffer::get_pos() now correctly handles index > u16::MAX by @joshka in #1447
-
ec30390 (canvas) Round coordinates to nearest grid cell by @joshka in #1507
-
afd1ce1 (canvas) Lines that start outside the visible grid are now drawn by @renesat in #1501
-
18e70d3 (crossterm) Terminal should keep Bold when removing Dim by @MarSik in #1541
-
a692a6e (lint) Apply rust 1.84 clippy suggestions by @joshka in #1612
-
3b13240 (scrollbar) Check for area.is_empty() before rendering by @farmeroy in #1529
-
f57b696 (span) Dont render control characters by @EdJoPaTo in #1312
-
2ce958e (table) Allow display of additional table row, if row height > 1 by @Lunderberg in #1452
-
2892bdd (uncategorized) Rust 1.83 clippy lints by @joshka in #1527
-
36e2d1b (uncategorized) Add feature(doc_cfg) when generating docs by @joshka in #1506
-
4d7704f (uncategorized) Make StatefulWidget and Ref work with unsized State by @thscharler in #1505
-
7b87509 (uncategorized) Typo by @marcoieni in #1480
Refactor
-
f132fa1 (table) Small readability improvements by @joshka in #1510
-
904b0aa (uncategorized) Move symbols to modules by @joshka in #1594
-
7c8573f (uncategorized) Rearrange selection_spacing code by @raylu in #1540
-
217c57c (uncategorized) Modularize backends by @orhun in #1508
-
e461b72 (uncategorized) Move {Stateful,}Widget{,Ref} types into individual files by @joshka in #1479
Documentation
-
d291042 (block) Revise the block example by @orhun in #1520
-
3ae6bf1 (contributing) Use cargo-xtask for instructions by @orhun in #1509
-
04e1b32 (layout) Rename cassowary-rs references to cassowary by @miroim in #1448
-
088aac1 (readme) Tweak links and badges by @joshka in #1598
-
8f28247 (readme) Correct examples links by @HoKim98 in #1484
-
9f90f74 (readme) Fix broken link by @nilsmartel in #1485
-
260af68 (readme) Include iocraft as an alternative by @kdheepak in #1483
-
dafb716 (widgets) Add example for grouped barchart by @orhun in #1566
-
fab5321 (widgets) Add example for scrollbar by @orhun in #1545
-
452366a (widgets) Add example for sparkline by @orhun in #1556
-
6ddde0e (widgets) Add example for table by @orhun in #1557
-
93ad6b8 (widgets) Update values in chart example by @orhun in #1558
-
15f442a (widgets) Add example for paragraph by @orhun in #1544
-
17bba14 (widgets) Move the logo example to widgets by @orhun in #1543
-
f2451e7 (widgets) Add example for gauge by @orhun in #1539
-
4f0a8b2 (widgets) Add example for canvas by @orhun in #1533
-
91147c4 (widgets) Add example for chart by @orhun in #1536
-
6dd25a3 (widgets) Add example for calendar by @orhun in #1532
-
99ac005 (widgets) Add simple barchart example by @joshka in #1511
-
da05957 (uncategorized) Add widget-ref-container example by @joshka in #1603
-
1798512 (uncategorized) Fix wording in user_input example by @dawedawe in #1611
-
03066d8 (uncategorized) Fix punctuation in canvas.rs documentation by @dawedawe in #1583
-
e411d9e (uncategorized) Add input form example by @joshka in #1551
-
ed071f3 (uncategorized) Add mouse-drawing example by @joshka in #1546
-
46902f5 (uncategorized) Improve docs for workspace crates by @orhun in #1490
-
a6b5792 (uncategorized) Fix example link in readme by @thomas-tacquet in #1462
Miscellaneous Tasks
-
abe2f27 (backend) Change From<T> impls to new backend specific IntoBackend and FromBackend traits by @joshka in #1464 [breaking]
-
0a47ebd (bencher) Update bencher CLI usage by @epompeii in #1470
-
eaa4038 (ci) Install pre-built binaries for cargo-rdme by @orhun in #1477
-
e5e2316 (ci) Add check for keeping README.md up-to-date by @orhun in #1473
-
2ef3583 (ci) Replace cargo-make with a custom cargo-xtask by @joshka in #1461
-
98df774 (core) Move core types to ratatui-core by @joshka in #1460
-
35eba76 (example) Move demo2 to top level folder by @joshka in #1524
-
5f57d35 (examples) Add colors explorer demo app by @orhun in #1580
-
a6a1368 (examples) Add calendar explorer demo app by @orhun in #1571
-
819e92c (examples) Add weather demo app by @orhun in #1567
-
b5f7e44 (examples) Move async example to apps by @joshka in #1503
-
17316ec (github) Enable sponsorship button by @orhun in #1478
-
d3f01eb (lint) Ensure lint config is correct by @joshka in #1528
-
2b7ec5c (widgets) Enable calendar widget as default by @orhun in #1521
-
d201b8e (xtask) Check lints for only library targets by @orhun in #1531
-
6f21319 (uncategorized) Rename examples with clashing names by @joshka in #1597
-
11cbb2b (uncategorized) Use cargo xtask for bacon clippy command by @joshka in #1592
-
b544e39 (uncategorized) Use clap instead of argh for demo example by @joshka in #1591
-
9a54198 (uncategorized) Make source files non-executable by @orhun in #1577
-
357ae7e (uncategorized) Move terminal types to ratatui-core by @joshka in #1530 [breaking]
-
21e62d8 (uncategorized) Move the demo example to main folder by @joshka in #1523
-
fbf6050 (uncategorized) Prepare alpha modularization release by @joshka in #1525
-
e4e95bc (uncategorized) Remove --color always flags from bacon.toml by @joshka in #1502
-
a41c97b (uncategorized) Move unstable widget refs to ratatui by @joshka in #1491 [breaking]
-
e7085e3 (uncategorized) Move widgets into ratatui-widgets crate by @joshka in #1474
-
f1d0a18 (uncategorized) Move ratatui crate into workspace folder by @joshka in #1459
-
55fb2d2 (uncategorized) Update repo links to ratatui instead of ratatui-org by @joshka in #1458
Continuous Integration
New Contributors
- @dawedawe made their first contribution in #1611
- @Its-Just-Nans made their first contribution in #1584
- @MarSik made their first contribution in #1541
- @raylu made their first contribution in #1540
- @renesat made their first contribution in #1501
- @HoKim98 made their first contribution in #1484
- @nilsmartel made their first contribution in #1485
- @marcoieni made their first contribution in #1480
- @epompeii made their first contribution in #1470
- @thomas-tacquet made their first contribution in #1462
- @miroim made their first contribution in #1448
Full Changelog: https://github.com/ratatui/ratatui/compare/v0.29.0...0.30.0-alpha.1
gin66/tui-logger (tui-logger)
v0.17.4
Fixed
- fix lifetime warning in demo.rs
- fix cargo clippy warnings by opencode+grok
- fix documentation
- fix README, which is controlled by lib.rs
Other
- run cargo fmt
- resolve lifetime warnings as proposed by compiler
- resolve security warning for fxhash by eliminating it (#91)
- Create FUNDING.yml
v0.17.3
Other
- update Readme
- add ai generated documentation reference
- add attributes of the current span for tracing subscriber (#90)
- work on Readme
v0.17.2
Other
- update README
- Fix invalid docs for TuiTracingSubscriverLayer (#87)
v0.17.1
Other
- run cargo fmt
- use env_filter for configuration by environment variable as proposed by #86
- remove stray comment line in tests
v0.17.0
Other
- file/module_path/line are now Option, because log::Record defines them as such, too
v0.16.0
Other
- ExtLogRecord stores for file and module_path their static strings, if available. In addition provides module_path getter
- provide accessors for the strings
- update DEV_NOTES
v0.15.0
Fixed
- fix bug with page up at top
Other
- lib.rs factoring complete
- refactor TuiLoggerError out of lib.rs
- refactor TuiLogger API out of lib.rs
- refactor TuiLogger out of lib.rs
- refactor LevelConfig out of lib.rs
- refactor TuiLoggerTargetWidget out of lib.rs
- reduce visibility of internal structures
- add test case for log message being larger than widget
- turn off debugging
- add test case with standard formatter
- add test with wrapped lines
- disable println in lib code with render_debug switch
- intermediate version with debug prints
- circular buffer allows absolute indexing
- test cases for standard widget display and scroll
v0.14.5
Other
- update Changelog and Readme
- Made target width also use unicode_segmentation
- Use unicode-segmentation for splitting chars
- Split lines safely
- change &mut to & reference in TuiWidgetState.transition as #83
- Update mermaid diagram in README.md
- Update lib.rs for readme change
- Update README.md
- Update README.md with mermaid diagram
- rename dev_notes.md
- cleanup files in doc
- udpate readme
- new demo of the widget using vhs
- rename cargo test workflow
- remove stray space in github action
v0.14.4
Fixed
- fix cargo test
Other
- update Readme for custom formatter example in demo
- example demo extended to use custom formatter in one of the widgets
- run cargo test in github actions
v0.14.3
Other
- work on Readme and add formatter() to smartwidget
- standard formatter appears to work as before, but using Line/Span
- assure LogFormatter Send+Sync
- implement formatter trait as discussed in #77 and #82
v0.14.2
Fixed
- fix warnings
Other
-
split lib.rs into several files
-
Merge pull request #77 from tofubert/add_style_for_file
-
Merge pull request #78 from andrei-ng/fix-order-of-fields-tracing-feature
-
Merge pull request #79 from andrei-ng/skip-printing-message-key
-
use env::temp_dir for demo log file target
-
do not print the 'message' key in the formatter for tracing support
-
fix formatter for tracing events
-
make comment for file logging a bit better
-
give file logging format options
-
Update CHANGELOG.md
0.14.1:
- re-export log::LevelFilter
0.14.0:
- Update version of ratatui
0.13.2:
- fix tracing support
0.13.1:
- fix missing
move_events()on half full buffer in case hot buffer capacity was odd
0.13.0:
move_events()is not published anymore, but called by a cyclic internal task. This task is called by timeout (10ms) unless the hot buffer is half full.init_logger()returns nowResult<(), TuiLoggerError>
0.12.1:
- fix for issue #69: avoid unwrap panic by using default level
- add
set_buffer_depth()to modify circular buffer size
0.12.0:
- update ratatui to 0.28
0.11.2:
- update ratatui to 0.27
0.11.1:
- one line error report for demo example, if feature flag crossterm or termion not given
- use cargo readme and test in github build
- Fix of issue #60: panic on too small widget size
0.11.0:
- BREAKING CHANGE: TuiWidgetEvent::transition() method now takes a TuiWidgetEvent by value instead of by reference.
- update ratatui to 0.25
0.10.1:
- update ratatui to ^0.25.0
0.10.0:
- Remove support for tui legacy crate
- Use
Cell::set_symbol()as performance optimization from ratatui - Require chrono >= 0.4.20 for avoid security vulnerability (https://rustsec.org/advisories/RUSTSEC-2020-0159.html)
0.9.6:
- update ratatui to 0.23.0
0.9.5:
- rework examples/demo to not use termion
0.9.4:
- fix breaking change in 0.9.3 as reported by issue #43
0.9.3:
- update to ratatui 0.22 and fix clippy warnings
0.9.2:
- update to ratatui 0.21
0.9.1:
- Implement Eq for TuiWidgetEvent
- suppport
border_type()for TuiLoggerSmartWidget - Disable default features of chrono to avoid import of
timev0.1.x
0.9.0:
- support for tracing-subscriber
- add optional ratatui support as proposed by (#32)
- slog is NOT a default feature anymore. Enable with
slog-support
0.8.3:
- Make
TuiWidgetState.set_default_display_level()work for TuiLoggerWidget (#30)
0.8.2:
- Allow TuiLoggerWidget to be controlled with TuiWidgetState by calling state() builder function (#30)
- Extend demo for an example for this TuiLoggerWidget control
0.8.1:
- Update to tui-rs 0.19 and slog to 2.7.0
0.8.0:
- Update to tui-rs 0.18
0.7.1:
- Update to tui-rs 0.17
0.7.0:
- Update rust edition in Cargo.toml to 2021
- Fix all warnings from cargo clippy
- new function for TuiWidgetState to set the default display level - not impacting the recording
set_default_display_level(self, levelfilter: LevelFilter) -> TuiWidgetState - changed signature for TuiWidgetState function from
toset_level_for_target(&self, target: &str, levelfilter: LevelFilter) -> &TuiWidgetStateset_level_for_target(self, target: &str, levelfilter: LevelFilter) -> TuiWidgetState
0.6.6:
- Add functions to format output of log data as discussed in issue #19
The functions are with their default values:
output_separator(':') output_timestamp(Some("%H:%M:%S".to_string())) output_level(Some(TuiLoggerLevelOutput::Long)) output_target(true) output_file(true) output_line(true)
0.6.5:
- Use thread safe counterparts for Rc/RefCell
0.6.4:
- Bump version up for update to tui 0.16
0.6.3:
- Removed verbose timestamp info log (issue #16)
0.6.2:
- Fix by Wuelle to avoid panic on line wrapping inside a utf8 character
0.6.1:
- Changes in README
0.6.0:
- Support Scrollback in log history with TuiWidgetEvent::PrevPageKey, NextPageKey and EscapeKey
- log and target panes' title can be set via .title_log(String) and .title_target(String)
0.5.1:
- TuiWidgetEvent is now Debug, Clone, PartialEq, Hash
0.5.0:
- Remove dispatcher completely
- Get rid of dependency to termion and crossterm
- KeyCommands to be translated by the application into KeyEvents for TuiWidgetState::transition()
v0.14.1
v0.14.0
v0.13.2
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/mirro-rs/Cargo.toml --package [email protected] --precise 0.29.0
error: failed to acquire package cache lock
Caused by:
failed to open: /home/ubuntu/.cargo/.package-cache
Caused by:
failed to create directory `/home/ubuntu/.cargo`
Caused by:
File exists (os error 17)