This release fixes a test failure on 32-bit targets introduced with 0.4.27, see chronotope/chrono#1234.
0.4.27
This release bumps the MSRV from 1.56 to 1.57. This allows us to take advantage of the panicking in const feature. In this release most methods on NaiveDate and NaiveTime are made const, NaiveDateTime and others will follow in a later release.
The parser for the %+ formatting specifier and the RFC3339 formatting item is switched from a strict to a relaxed parser (see chronotope/chrono#1145). This matches the existing documentation, and the parser used by DateTime::from_str. If you need to validate the input, consider using DateTime::from_rfc3339.
This is a patch release that fixes a bug where RegexSet::is_match(..) could
incorrectly return false (even when RegexSet::matches(..).matched_any()
returns true).
Bug fixes:
[BUG #1070](rust-lang/regex#1070):
Fix a bug where a prefilter was incorrectly configured for a RegexSet.
Fix "failed to parse manifest" error when building serde using a Cargo version between 1.45 and 1.50 (#2603)
v1.0.187
Remove support for Emscripten targets on rustc older than 1.40 (#2600)
v1.0.186
Disallow incompatible versions of serde_derive and serde in the dependency graph (#2588, thanks @soqb)
v1.0.185
Fix error "cannot move out of *self which is behind a shared reference" deriving Serialize on a non_exhaustive enum (#2591)
v1.0.184
Restore from-source serde_derive build on all platforms — eventually we'd like to use a first-class precompiled macro if such a thing becomes supported by cargo / crates.io
We are thrilled to release the new version of ratatui 🐭, the official successor* of tui-rs.
In this version, we improved the existing widgets such as Barchart and Scrollbar. We also made improvements in the testing/internal APIs to provide a smoother testing/development experience. Additionally, we have addressed various bugs and implemented enhancements.
Here is a blog post that highlights the new features and breaking changes along with a retrospective about the project: https://blog.orhun.dev/ratatui-0-23-0
Features
(barchart) Add direction attribute. (horizontal bars support) (#325)
(0dca6a6)
* feat(barchart): Add direction attribute
Enable rendering the bars horizontally. In some cases this allow us to
make more efficient use of the available space.
(cell) Add voluntary skipping capability for sixel (#215)
(e4bcf78)
> Sixel is a bitmap graphics format supported by terminals.
> "Sixel mode" is entered by sending the sequence ESC+Pq.
> The "String Terminator" sequence ESC+\ exits the mode.
The graphics are then rendered with the top left positioned at the
cursor position.
It is actually possible to render sixels in ratatui with just
buf.get_mut(x, y).set_symbol("^[Pq ... ^[\"). But any buffer covering
the "image area" will overwrite the graphics. This is most likely the same
buffer, even though it consists of empty characters ' ', except for
the top-left character that starts the sequence.
Thus, either the buffer or cells must be specialized to avoid drawing
over the graphics. This patch specializes the Cell with a
set_skip(bool) method, based on James' patch:
https://github.com/TurtleTheSeaHobo/tui-rs/tree/sixel-support
I unsuccessfully tried specializing the Buffer, but as far as I can tell
buffers get merged all the way "up" and thus skipping must be set on the
Cells. Otherwise some kind of "skipping area" state would be required,
which I think is too complicated.
Having access to the buffer now it is possible to skip all cells but the
first one which can then set_symbol(sixel). It is up to the user to
deal with the graphics size and buffer area size. It is possible to get
the terminal's font size in pixels with a syscall.
We are thrilled to release the new version of ratatui 🐭, the official successor* of tui-rs.
In this version, we improved the existing widgets such as Barchart and Scrollbar. We also made improvmements in the testing/internal APIs to provide a smoother testing/development experience. Additionally, we have addressed various bugs and implemented enhancements.
Here is a blog post that highlights the new features and breaking changes along with a retrospective about the project: https://blog.orhun.dev/ratatui-0-23-0
Features
(barchart) Add direction attribute. (horizontal bars support) (#325)
(0dca6a6)
* feat(barchart): Add direction attribute
Enable rendering the bars horizontally. In some cases this allow us to
make more efficient use of the available space.
(cell) Add voluntary skipping capability for sixel (#215)
(e4bcf78)
> Sixel is a bitmap graphics format supported by terminals.
> "Sixel mode" is entered by sending the sequence ESC+Pq.
> The "String Terminator" sequence ESC+\ exits the mode.
The graphics are then rendered with the top left positioned at the
cursor position.
It is actually possible to render sixels in ratatui with just
buf.get_mut(x, y).set_symbol("^[Pq ... ^[\"). But any buffer covering
the "image area" will overwrite the graphics. This is most likely the same
buffer, even though it consists of empty characters ' ', except for
the top-left character that starts the sequence.
Thus, either the buffer or cells must be specialized to avoid drawing
over the graphics. This patch specializes the Cell with a
set_skip(bool) method, based on James' patch:
https://github.com/TurtleTheSeaHobo/tui-rs/tree/sixel-support
I unsuccessfully tried specializing the Buffer, but as far as I can tell
buffers get merged all the way "up" and thus skipping must be set on the
Cells. Otherwise some kind of "skipping area" state would be required,
which I think is too complicated.
Having access to the buffer now it is possible to skip all cells but the
first one which can then set_symbol(sixel). It is up to the user to
deal with the graphics size and buffer area size. It is possible to get
the terminal's font size in pixels with a syscall.
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the deps group with 12 updates:
0.13.0
0.13.1
1.0.72
1.0.75
0.4.26
0.4.28
4.3.21
4.4.2
0.8.0
0.8.1
0.10.56
0.10.57
6.0.1
6.1.1
1.9.3
1.9.4
1.0.183
1.0.188
1.30.0
1.32.0
0.22.0
0.23.0
2.4.0
2.4.1
Updates
actix
from 0.13.0 to 0.13.1Commits
72c680a
chore(actix): prepare release 0.13.13c92cf7
Add test for and fix issue with SinkWrite not sending items in buffer (#563)f3ea974
docs: fix broken link (#564)d04a2ae
Bump taiki-e/cache-cargo-install-action from 1.2.0 to 1.2.1 (#560)94bf449
Bump JamesIves/github-pages-deploy-action from 4.4.0 to 4.4.3 (#562)f7a46fc
Bump giraffate/clippy-action from 1.0.0 to 1.0.1 (#561)92d6c52
docs: fix broken links in README (#558) (#559)f21f3a2
chore: bump MSRV to 1.68b2dc0d3
ci: run deps bot daily23d45e6
add stack size configuration for SyncArbiter threads (#542)Updates
anyhow
from 1.0.72 to 1.0.75Release notes
Sourced from anyhow's releases.
Commits
6485cae
Release 1.0.75238223a
Work around ridiculous rust-analyzer behaviorcbade7d
Release 1.0.740798a9a
Reword bootstrap comment61d8676
Merge pull request #320 from RalfJung/bootstrap663c663
don't run build probes in rustc bootstrape471b2b
Release 1.0.738cf1d15
Merge pull request #319 from dtolnay/errorprovide31c8dff
Update to nightly's new Error::provide API496b958
Ignore ignored_unit_patterns pedantic clippy lint in test suiteUpdates
chrono
from 0.4.26 to 0.4.28Release notes
Sourced from chrono's releases.
... (truncated)
Commits
243d26d
Bump version to 0.4.2880946ed
Fixtest_type_types
on 32-bit targetsb6a5244
Add pitdicker as an authorb5a9850
Bump version to 0.4.2700d389e
CI: Skip winapi feature incargo hack check
30b6294
Switch to windows-bindgen9ab0259
Remove hack to accept "UTC" intimezone_offset_zulu
e985f08
SwitchRFC3339
formatting item to relaxed parser to match documentation3f8a500
Useparse_rfc3339
directly inDateTime::parse_from_rfc3339
ccd7f85
Allow 't' as a seperator between date and time inparse_rfc3339_relaxed
Updates
clap
from 4.3.21 to 4.4.2Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
3cd571e
chore: Release59f1d01
docs: Update changelog7a4f7d3
Merge pull request #5106 from epage/once087224a
perf: Drop a dep for faster builds98712db
Merge pull request #5105 from geometryolife/fix4012b19
fix(builder): Update documentation comments7126f78
chore: Releasef31e6af
docs: Update changelog0a4c8e2
Merge pull request #5096 from epage/nu4647a8a
chore: Update dependenciesUpdates
lade-sdk
from 0.8.0 to 0.8.1Updates
openssl
from 0.10.56 to 0.10.57Release notes
Sourced from openssl's releases.
Commits
00dacb9
Merge pull request #2025 from alex/bump-for-release2d8f2f6
Release openssl v0.10.57 and openssl-sys v0.9.9203bc819
clippyb60f3b8
Merge pull request #1906 from qwandor/bitflags528c3d7
Merge pull request #2023 from JadedBlueEyes/patch-19708951
Add perl-FindBin dep for fedora2db5377
Merge pull request #2018 from dhouck/x509-email117b459
Merge pull request #2017 from johntyner/feature/cipher-ctx-clonec317ffe
Add X509VerifyParam::set_emaild266360
Update openssl/src/cipher_ctx.rsUpdates
notify
from 6.0.1 to 6.1.1Release notes
Sourced from notify's releases.
Changelog
Sourced from notify's changelog.
... (truncated)
Commits
4a00121
remove serde restriction and publish new versions03ac300
Fix a filename of example2e971e5
cleanup removed used-by entries1cdf75f
fixup changelog to correct serde version738957a
prepare notify 6.1.0, debouncer-mini, 0.4.0 debouncer-full 0.3.0, file-id 0.2.01420e46
opt-out of serde binary experimente6b239b
remove old artistic link5ef6dce
fixup readme license linked2e0fb36
add manual polling for PollWatcher6e2f1f4
document more known issues and typosUpdates
regex
from 1.9.3 to 1.9.4Changelog
Sourced from regex's changelog.
Commits
f39ab4d
1.9.43f15f1c
deps: bump regex-syntax and regex-automata versions89b452a
regex-automata-0.3.7990979b
regex-syntax-0.7.5e008f83
changelog: 1.9.4c788378
ci: drop mips, add powerpc and s390xde03399
automata: fix incorrect use of Aho-Corasick's "standard" semantics7536e05
syntax: remove superfluousborrow
81e328a
doc: fix typo in module-level doc10faa44
doc: fix a couple typosUpdates
serde
from 1.0.183 to 1.0.188Release notes
Sourced from serde's releases.
Commits
dad15b9
Release 1.0.188d89c19f
Revert "Adopt new Cargo feature resolver"146dc0f
Release 1.0.187d26852d
Merge pull request #2602 from dtolnay/resolvere1c2724
Adopt new Cargo feature resolverdbbfe7a
Merge pull request #2600 from dtolnay/oldemscriptendc24d12
Clean up all usage of serde_if_integer1284e7533e
Remove support for emscripten targets on rustc older than 1.405d03651
Release 1.0.186a741293
Merge pull request #2599 from dtolnay/encodeutf8Updates
tokio
from 1.30.0 to 1.32.0Release notes
Sourced from tokio's releases.
Commits
a7d52c2
chore: prepare Tokio v1.32.0 release (#5937)f5f2b58
rt: improve docs for Builder::max_blocking_threads (#5793)718dcc8
docs: BytesMut::with_capacity does not guarantee exact capacity (#5870)10e141d
io: addReady::ERROR
and report error readiness (#5781)6e42c26
rt(alt): tweak some constants to improve scalability (#5935)82bef00
io: minor tweaks toAsyncFd
(#5932)40633fc
readme: list previous LTS releases (#5931)3dd5f7a
sync: move broadcast waiters into separate list before waking (#5925)2c92cad
process: stabilizeCommand::raw_arg
(#5930)197757d
streams: create StreamMock for testing Streams (#5915)Updates
ratatui
from 0.22.0 to 0.23.0Release notes
Sourced from ratatui's releases.
... (truncated)
Changelog
Sourced from ratatui's changelog.
... (truncated)
Commits
3f781ca
chore(release): prepare for 0.23.0 (#444)fc727df
refactor(barchart): reduce some calculations (#430)47fe4ad
docs(project): make the project description cooler (#441)7a70602
docs(examples): fix the instructions for generating demo GIF (#442)14eb6b6
test(tabs): add unit tests (#439)6009844
chore(changelog): ignore alpha tags (#440)8b36683
docs(lib): extract feature documentation from Cargo.toml (#438)e9bd736
test(clear): test Clear rendering (#432)a890f2a
test(block): test all block methods (#431)b35f19e
test(test_backend): add tests for TestBackend coverage (#434)Updates
url
from 2.4.0 to 2.4.1Commits
a08aa2c
Fix panic in set_path for file URLs (#865)edabc79
Fix no_std for idna (#843)1158370
Update WPT data and expectations (#859)beb2cde
Stabilize debugger_visualizer feature (#855)86730f1
Add--generate-link-to-definition
option when building on docs.rs (#858)e4dbb43
Implement std::error::Error for InvalidBase64 (#856)b33514a
Rewrite WPT runner (#857)b228574
Enable the GitHub merge queue (#851)3a474c3
Merge pull request #698 from lucacasonato/impl_error_for_data_url1f7dbe0
Merge pull request #848 from lucacasonato/fix_trailing_space_pathname_setterDependabot 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