chore(deps): update all dependencies #13
Reference in New Issue
Block a user
Delete Branch "renovate/all"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
4.5.8->4.5.160.27.0->0.28.02.0.0->2.0.10.26.2->0.28.01.0.118->1.0.1251.0.118->1.0.1250.7.4->0.8.03.10.1->3.12.01.38.0->1.39.30.8.14->0.8.191.9.1->1.10.01.9.1->1.10.0Release Notes
clap-rs/clap (clap)
v4.5.16Compare Source
Fixes
derivefeature is missingv4.5.15Compare Source
Compatiblity
Arg::removechanged return typesFixes
Arg::removereturn the removed itemv4.5.14Compare Source
Features
Arg::addfor attaching arbitrary state, like completion hints, toArgwithoutArgknowing about itv4.5.13Compare Source
Fixes
#[flatten]ing an optional#[group(skip)]v4.5.12Compare Source
v4.5.11Compare Source
v4.5.10Compare Source
v4.5.9Compare Source
Fixes
crossterm-rs/crossterm (crossterm)
v0.28.1Fixed 🐛
use-dev-ttywith (#906)Breaking ⚠️
rust-cli/human-panic (human-panic)
v2.0.1Compare Source
Compatibility
ratatui-org/ratatui (ratatui)
v0.28.0Compare Source
"If you are what you eat, then I only want to eat the good stuff." – Remy
We are excited to announce the new version of
ratatui- a Rust library that's all about cooking up TUIs 🐭In this version, we have upgraded to Crossterm 0.28.0, introducing enhanced functionality and performance improvements.
New features include GraphType::Bar, lines in bar charts, and enhanced scroll/navigation methods.
We have also refined the terminal module and added brand new methods for cursor positions and text operations.
✨ Release highlights: https://ratatui.rs/highlights/v028/
⚠️ List of breaking changes can be found here.
Features
8d4a102 (barchart) Allow axes to accept Lines by @joshka in #1273 [breaking]
a23ecd9 (buffer) Add Buffer::cell, cell_mut and index implementations by @joshka in #1084
afe1534 (chart) Accept
IntoIteratorfor axis labels by @EdJoPaTo in #1283 [breaking]5b51018 (chart) Add GraphType::Bar by @joshka in #1205
f97e07c (frame) Replace Frame::size() with Frame::area() by @EdJoPaTo in #1293
5b89bd0 (layout) Add Size::ZERO and Position::ORIGIN constants by @EdJoPaTo in #1253
b2aa843 (layout) Enable serde for Margin, Position, Rect, Size by @EdJoPaTo in #1255
36d49e5 (table) Select first, last, etc to table state by @robertpsoane in #1198
3bb374d (terminal) Add Terminal::try_draw() method by @joshka in #1209
3725262 (text) Add
AddandAddAssignimplementations forLine,Span, andTextby @joshka in #1236c34fb77 (text) Remove unnecessary lifetime from ToText trait by @joshka in #1234 [breaking]
c68ee6c (uncategorized) Add
get/set_cursor_position()methods to Terminal and Backend by @EdJoPaTo in #1284 [breaking]b70cd03 (uncategorized) Add ListState / TableState scroll_down_by() / scroll_up_by() methods by @josueBarretogit in #1267
Bug Fixes
864cd9f (testbackend) Prevent area mismatch by @EdJoPaTo in #1252
7e1bab0 (buffer) Dont render control characters by @EdJoPaTo in #1226
c08b522 (chart) Allow removing all the axis labels by @EdJoPaTo in #1282
03f3124 (paragraph) Line_width, and line_count include block borders by @airblast-dev in #1235
3ca920e (span) Prevent panic on rendering out of y bounds by @EdJoPaTo in #1257
84cb164 (terminal) Make terminal module private by @joshka in #1260 [breaking]
29c8c84 (uncategorized) Ignore newlines in Span's Display impl by @SUPERCILEX in #1270
cd93547 (uncategorized) Remove unnecessary synchronization in layout cache by @SUPERCILEX in #1245
b344f95 (uncategorized) Only apply style to first line when rendering a
Lineby @joshka in #12477ddfbc0 (uncategorized) Unnecessary allocations when creating Lines by @SUPERCILEX in #1237
84f3341 (uncategorized) Clippy lints from rust 1.80.0 by @joshka in #1238
Refactor
bb68bc6 (backend) Return
SizefromBackend::sizeinstead ofRectby @EdJoPaTo in #1254 [breaking]e81663b (list) Split up list.rs into smaller modules by @joshka in #1204
e707ff1 (uncategorized) Internally use Position struct by @EdJoPaTo in #1256
32a0b26 (uncategorized) Simplify WordWrapper implementation by @tranzystorekk in #1193
Documentation
6ce447c (block) Add docs about style inheritance by @joshka in #1190
55e0880 (block) Update block documentation by @leohscl in #1206
f2fa1ae (breaking-changes) Add missing code block by @orhun in #1291
f687af7 (breaking-changes) Mention removed lifetime of ToText trait by @orhun in #1292
d468463 (breaking-changes) Fix the PR link by @orhun in #1294
1b9bdd4 (contributing) Fix minor issues by @EdJoPaTo in #1300
5f7a7fb (examples) Update barcharts gifs by @joshka in #1306
fe4eeab (examples) Simplify the barchart example by @joshka in #1079
6e7b4e4 (examples) Add async example by @joshka in #1248
935a718 (examples) Add missing examples to README by @kibibyt3 in #1225
50e5674 (examples) Fix: fix typos in tape files by @kibibyt3 in #1224
810da72 (examples) Fix hyperlink example tape by @kibibyt3 in #1222
5eeb1cc (github) Create CODE_OF_CONDUCT.md by @joshka in #1279
7c0665c (layout) Fix typo in example by @EmiOnGit in #1217
272d059 (paragraph) Update main docs by @joshka in #1202
bb71e5f (readme) Remove MSRV by @EdJoPaTo in #1266
8857037 (terminal) Fix imports by @EdJoPaTo in #1263
2fd5ae6 (widgets) Document stability of WidgetRef by @joshka in #1288
716c931 (uncategorized) Document crossterm breaking change by @joshka in #1281
f775030 (uncategorized) Update main lib.rs / README examples by @joshka in #1280
8433d09 (uncategorized) Update demo image by @joshka in #1276
Performance
663486f (list) Avoid extra allocations when rendering
Listby @airblast-dev in #12444753b72 (reflow) Eliminate most WordWrapper allocations by @SUPERCILEX in #1239
be3eb75 (table) Avoid extra allocations when rendering
Tableby @airblast-dev in #1242f04bf85 (uncategorized) Add buffer benchmarks by @joshka in #1303
e6d2e04 (uncategorized) Move benchmarks into a single benchmark harness by @joshka in #1302
Styling
a80a8a6 (format) Lint markdown by @joshka in #1131
Testing
Miscellaneous Tasks
82b70fd (ci) Integrate cargo-semver-checks by @orhun in #1166
c245c13 (ci) Onboard bencher for tracking benchmarks by @orhun in #1174
efef0d0 (ci) Change label from
breaking changetoType: Breaking Changeby @kdheepak in #124341a9100 (github) Use the GitHub organization team as codeowners by @EdJoPaTo in #1081
3e7458f (github) Add forums and faqs to the issue template by @joshka in #1201
45fcab7 (uncategorized) Add rect::rows benchmark by @joshka in #1301
edc2af9 (uncategorized) Replace big_text with hardcoded logo by @joshka in #1203
c2d3850 (uncategorized) Use LF line endings for CHANGELOG.md instead of CRLF by @joshka in #1269
a9fe428 (uncategorized) Update cargo-deny config by @EdJoPaTo in #1265
ffc4300 (uncategorized) Remove executable flag for rs files by @EdJoPaTo in #1262
7bab9f0 (uncategorized) Add more CompactString::const_new instead of new by @joshka in #1230
ccf83e6 (uncategorized) Update labels in issue templates by @joshka in #1212
Build
Continuous Integration
476ac87 (uncategorized) Split up lint job by @EdJoPaTo in #1264
New Contributors
@SUPERCILEX made their first contribution in #1239
@josueBarretogit made their first contribution in #1267
@airblast-dev made their first contribution in #1242
@kibibyt3 made their first contribution in #1225
@EmiOnGit made their first contribution in #1217
@leohscl made their first contribution in #1206
@robertpsoane made their first contribution in #1198
Full Changelog: https://github.com/ratatui/ratatui/compare/v0.27.0...0.28.0
v0.27.0Compare Source
In this version, we have focused on enhancing usability and functionality with new features like
background styles for LineGauge, palette colors, and various other improvements including
improved performance. Also, we added brand new examples for tracing and creating hyperlinks!
✨ Release highlights: https://ratatui.rs/highlights/v027/
⚠️ List of breaking changes can be found here.
Features
eef1afe (linegauge) Allow LineGauge background styles by @nowNick in #565
https://github.com/ratatui/ratatui/assets/5149215/5fb2ce65-8607-478f-8be4-092e08612f5b
Implements:ratatui#424
1365620 (borders) Add FULL and EMPTY border sets by @joshka in #1182
border::FULLuses a full block symbol, whileborder::EMPTYuses anempty space. This is useful for when you need to allocate space for the
border and apply the border style to a block without actually drawing a
border. This makes it possible to style the entire title area or a block
rather than just the title content.
7a48c5b (cell) Add EMPTY and (const) new method by @EdJoPaTo in #1143
3f2f2cd (docs) Add tracing example by @joshka in #1192
https://forum.ratatui.rs/t/how-do-you-println-debug-your-tui-programs/66
1520ed9 (layout) Impl Display for Position and Size by @joshka in #1162
46977d8 (list) Add list navigation methods (first, last, previous, next) by @joshka in #1159 [breaking]
Fixes:ratatui#1159
BREAKING CHANGE:The
Listwidget now clamps the selected index to thebounds of the list when navigating with
first,last,previous, andnext, as well as when setting the index directly withselect.10d7788 (style) Add conversions from the palette crate colors by @joshka in #1172
7ef2dae (text) support conversion from Display to Span, Line and Text by @orhun in #1167
74a32af (uncategorized) Re-export backends from the ratatui crate by @joshka in #1151
3594180 (uncategorized) Make Stylize's
.bg(color)generic by @kdheepak in #1103 [breaking]0b5fd6b (uncategorized) Add writer() and writer_mut() to termion and crossterm backends by @enricozb in #991
Bug Fixes
efa965e (line) Remove newlines when converting strings to Lines by @joshka in #1191
Line::from("a\nb")now returns a line with twoSpans instead of 1Fixes:ratatui#1111
d370aa7 (span) Ensure that zero-width characters are rendered correctly by @joshka in #1165
127d706 (table) Ensure render offset without selection properly by @joshka in #1187
Fixes:ratatui#1179
4bfdc15 (uncategorized) Render of &str and String doesn't respect area.width by @thscharler in #1177
e6871b9 (uncategorized) Avoid unicode-width breaking change in tests by @joshka in #1171
7f3efb0 (uncategorized) Pin unicode-width crate to 0.1.13 by @joshka in #1170
42cda6d (uncategorized) Prevent panic from string_slice by @EdJoPaTo in #1140
https://rust-lang.github.io/rust-clippy/master/index.html#string_slice
Refactor
73fd367 (block) Group builder pattern methods by @EdJoPaTo in #1134
257db62 (cell) Must_use and simplify style() by @EdJoPaTo in #1124
bf20369 (cell) Reset instead of applying default by @EdJoPaTo in #1127
7d175f8 (lint) Fix new lint warnings by @EdJoPaTo in #1178
cf67ed9 (lint) Use clippy::or_fun_call by @EdJoPaTo in #1138
https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call
4770e71 (list) Remove deprecated
start_cornerandCornerby @Valentin271 in #759 [breaking]List::start_cornerwas deprecated in v0.25. UseList::directionandListDirectioninstead.layout::Corneris removed entirely.4f77910 (padding) Add Padding::ZERO as a constant by @EdJoPaTo in #1133
8061813 (uncategorized) Expand glob imports by @joshka in #1152
d929971 (uncategorized) Dont manually impl Default for defaults by @EdJoPaTo in #1142
8a60a56 (uncategorized) Needless_pass_by_ref_mut by @EdJoPaTo in #1137
https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut
1de9a82 (uncategorized) Simplify if let by @EdJoPaTo in #1135
Documentation
1908b06 (borders) Add missing closing code blocks by @orhun in #1195
38bb196 (breaking-changes) Mention
LineGauge::gauge_styleby @orhun in #1194see #565
07efde5 (examples) Add hyperlink example by @joshka in #1063
7fdccaf (examples) Add vhs tapes for constraint-explorer and minimal examples by @joshka in #1164
4f307e6 (examples) Simplify paragraph example by @joshka in #1169
Related:ratatui#1157
f429f68 (examples) Remove lifetimes from the List example by @matta in #1132
308c1df (readme) Add links to forum by @joshka in #1188
2f8a936 (uncategorized) Fix links on docs.rs by @EdJoPaTo in #1144
Performance
4ce67fc (buffer) Filled moves the cell to be filled by @EdJoPaTo in #1148 [breaking]
8b447ec (rect)
Rect::innertakesMargindirectly instead of reference by @EdJoPaTo in #1008 [breaking]BREAKING CHANGE:Margin needs to be passed without reference now.
Styling
Testing
d6587bc (style) Use rstest by @EdJoPaTo in #1136
Miscellaneous Tasks
7b45f74 (prelude) Add / remove items by @joshka in #1149 [breaking]
BREAKING CHANGE:The following items have been removed from the prelude:
style::Styled- this trait is useful for widgets that want tosupport the Stylize trait, but it adds complexity as widgets have two
stylemethods and aset_stylemethod.symbols::Marker- this item is used by code that needs to draw tothe
Canvaswidget, but it's not a common item that would be used bymost users of the library.
terminal::{CompletedFrame, TerminalOptions, Viewport}- these itemsare rarely used by code that needs to interact with the terminal, and
they're generally only ever used once in any app.
The following items have been added to the prelude:
layout::{Position, Size}- these items are used by code that needsto interact with the layout system. These are newer items that were
added in the last few releases, which should be used more liberally.
cd64367 (symbols) Add tests for line symbols by @joshka in #1186
8cfc316 (uncategorized) Alphabetize examples in Cargo.toml by @joshka in #1145
Build
70df102 (bench) Improve benchmark consistency by @EdJoPaTo in #1126
New Contributors
Full Changelog: https://github.com/ratatui/ratatui/compare/v0.26.3...v0.27.0
serde-rs/json (serde_json)
v1.0.125Compare Source
v1.0.124Compare Source
v1.0.123Compare Source
v1.0.122Compare Source
json!in no-std crates (#1166)v1.0.121Compare Source
v1.0.120Compare Source
indexmapdependency (#1152, thanks @cforycki)v1.0.119Compare Source
serde_json::Map::shift_insert(#1149, thanks @joshka)launchbadge/sqlx (sqlx)
v0.8.0Compare Source
70 pull requests were merged this release cycle.
#2697 was merged the same day as release 0.7.4 and so was missed by the automatic CHANGELOG generation.
Breaking
#[sqlx::test]usages are applied in the correct order now.MigrateError.-- no-transactionto the beginning.Migrationi64as intermediate when decoding [[@abonander]]#[derive(sqlx::Type)]in Postgres [[@abonander]]#[sqlx(no_pg_array)]where conflicts occur.PgTypeInfo::with_name()infers types that start with_to be arrays of the un-prefixed type. Wrap type names in quotes to bypass this behavior.FromRow, returnError::ColumnDecodeforTryFromerrors [[@abonander]]#[sqlx(try_from = "T")]now returnError::ColumnDecodeinstead ofError::ColumnNotFound.#[sqlx(default)]on an individual field or the struct itself would have previously suppressed the error.This doesn't seem like good behavior as it could result in some potentially very difficult bugs.
Fromand apply the default explicitly.#[sqlx(rename)]and#[sqlx(rename_all)]to match the expected behavior (renamewins).ConnectOptions::to_url_lossy()to match what parsing expects.Added
MySqlTime, auditmysql::typesfor panics [[@abonander]]NonZero*scalar types [[@AlphaKeks]]Changed
Sendtrait bound from argument binding [[@bobozaur]]libsqlite3-sysare not considered breaking changes as per our semver guarantees.MySqlConnectionto reduce sizes of futures [[@stepantubanov]]sqlx migrate add ...[[@CommanderStorm]]Fixed
ConnectionHandleRawtype [[@abonander]]docker composeinstead ofdocker-compose[[@abonander]]pathownership problems when usingsqlx_macros_unstable[[@lily-mosquitoes]]sqlx_postgres::any[[@Zarathustra2]]migrateerror message. (#3275) [[@nk9]]persistentquery setting when preparing queries with theAnydriver [[@etorreborre]]select_input_type!()being unhygenic [[@CommanderStorm]]MorCNotice fields are not UTF-8 [[@YgorSouza]]json-feature should activatesqlx-postgres?/jsonas well [[@CommanderStorm]]clockandstdfeatures ofworkspace.dependencies.chrono.Stebalien/tempfile (tempfile)
v3.12.0keep(keep: bool)function to builder that suppresses delete-on-drop behavior (thanks to @RalfJung).windows-sysfrom 0.52 to 0.59.v3.11.0Compare Source
tokio-rs/tokio (tokio)
v1.39.3: Tokio v1.39.3Compare Source
1.39.3 (August 17th, 2024)
This release fixes a regression where the unix socket api stopped accepting the abstract socket namespace. (#6772)
v1.39.2: Tokio v1.39.2Compare Source
1.39.2 (July 27th, 2024)
This release fixes a regression where the
select!macro stopped accepting expressions that make use of temporary lifetime extension. (#6722)v1.39.1: Tokio v1.39.1Compare Source
1.39.1 (July 23rd, 2024)
This release reverts "time: avoid traversing entries in the time wheel twice" because it contains a bug. (#6715)
v1.39.0: Tokio v1.39.0Compare Source
1.39.0 (July 23rd, 2024)
Added
AsyncSeekforEmpty(#6663)num_alive_tasks(#6619, #6667)Command::as_std_mut(#6608)watch::Sender::same_channel(#6637){Receiver,UnboundedReceiver}::{sender_strong_count,sender_weak_count}(#6661)Defaultforwatch::Sender(#6626)CloneforAbortHandle(#6621)consume_budget(#6622)Changed
ReadBuf::put_slice()(#6629)copy_bidirectionalandcopy(#6532)num_cpuswithavailable_parallelism(#6709)block_on(#6692)IntoFuturewithtimeout(#6666)IntoFuturewithjoin!andselect!(#6710)Fixed
Interval(#6612)Added (unstable)
unhandled_panicbehavior for#[tokio::main]and#[tokio::test](#6593)spawned_tasks_count(#6114)worker_park_unpark_count(#6696)Documented
tokio::io::stdoutdocumentation (#6674)join.rsandtry_join.rs(#6641)unhandled_panic(#6660)JoinSet::try_join_nextwhen all tasks are running (#6671)v1.38.1: Tokio v1.38.1Compare Source
1.38.1 (July 16th, 2024)
This release fixes the bug identified as (#6682), which caused timers not
to fire when they should.
Fixed
wake_upwhile holding all the locks of sharded time wheels (#6683)toml-rs/toml (toml)
v0.8.19Compare Source
v0.8.18Compare Source
v0.8.17Compare Source
v0.8.16Compare Source
v0.8.15Compare Source
uuid-rs/uuid (uuid)
v1.10.0Compare Source
Deprecations
This release deprecates and renames the following functions:
Builder::from_rfc4122_timestamp->Builder::from_gregorian_timestampBuilder::from_sorted_rfc4122_timestamp->Builder::from_sorted_gregorian_timestampTimestamp::from_rfc4122->Timestamp::from_gregorianTimestamp::to_rfc4122->Timestamp::to_gregorianWhat's Changed
New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.9.1...1.10.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Renovate Bot.