Version 0.4.36 introduced an unexpected breaking change and was yanked. In it LocalResult was renamed to MappedLocalTime to avoid the impression that it is a Result type were some of the results are errors. For backwards compatibility a type alias with the old name was added.
As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with use chrono::LocalResult::*. With 0.4.37 we make the new name MappedLocalTime the alias, but keep using it in function signatures and the documentation as much as possible.
See also the release notes of chrono 0.4.36 from yesterday for the yanked release.
v0.4.36
This release un-deprecates the methods on TimeDelta that were deprecated with the 0.4.35 release because of the churn they are causing for the ecosystem.
New is the DateTime::with_time() method. As an example of when it is useful:
use chrono::{Local, NaiveTime};
// Today at 12:00:00
let today_noon = Local::now().with_time(NaiveTime::from_hms_opt(12, 0, 0).unwrap());
Use different method to ignore feature-dependent doctests (#1534)
Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.35
Most of our efforts have shifted to improving the API for a 0.5 release, for which cleanups and refactorings are landing on the 0.4.x branch.
The most significant changes in this release are two sets of deprecations.
We deprecated all timestamp-related methods on NaiveDateTime. The reason is that a timestamp is defined to be in UTC. The NaiveDateTime type doesn't know the offset from UTC, so it was technically wrong to have these methods. The alternative is to use the similar methods on the DateTime<Utc> type, or from the TimeZone trait.
Added trait MutableValues for opt-in mutable access to set values.
2.2.5
Added optional borsh serialization support.
2.2.4
Added an insert_sorted method on IndexMap, IndexSet, and VacantEntry.
Avoid hashing for lookups in single-entry maps.
Limit preallocated memory in serde deserializers.
2.2.3
Added move_index and swap_indices methods to IndexedEntry,
OccupiedEntry, and RawOccupiedEntryMut, functioning like the existing
methods on IndexMap.
Added shift_insert methods on VacantEntry and RawVacantEntryMut, as
well as shift_insert_hashed_nocheck on the latter, to insert the new entry
at a particular index.
Added shift_insert methods on IndexMap and IndexSet to insert a new
entry at a particular index, or else move an existing entry there.
2.2.2
Added indexing methods to raw entries: RawEntryBuilder::from_hash_full,
RawEntryBuilder::index_from_hash, and RawEntryMut::index.
2.2.1
Corrected the signature of RawOccupiedEntryMut::into_key(self) -> &'a mut K,
This a breaking change from 2.2.0, but that version was published for less
than a day and has now been yanked.
2.2.0
The new IndexMap::get_index_entry method finds an entry by its index for
in-place manipulation.
The Keys iterator now implements Index<usize> for quick access to the
entry's key, compared to indexing the map to get the value.
The new IndexMap::splice and IndexSet::splice methods will drain the
given range as an iterator, and then replace that range with entries from
an input iterator.
The new trait RawEntryApiV1 offers opt-in access to a raw entry API for
IndexMap, corresponding to the unstable API on HashSet as of Rust 1.75.
... (truncated)
Commits
3f0fffb Merge pull request #323 from cuviper/mutable
As of this release, I am not planning to publish further versions of serde_yaml as none of my projects have been using YAML for a long time, so I have archived the GitHub repo and marked the crate deprecated in the version number. An official replacement isn't designated for those who still need to work with YAML, but https://crates.io/search?q=yaml&sort=relevance and https://crates.io/keywords/yaml has a number of reasonable-looking options available.
0.9.33
Fix quadratic parse time for YAML containing deeply nested flow collections (dtolnay/unsafe-libyaml#26)
0.9.32
Fix unused_imports warnings when compiled by rustc 1.78
0.9.31
Add swap_remove and shift_remove methods on Mapping (#408)
0.9.30
Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache
0.9.29
Turn on deny(unsafe_op_in_unsafe_fn) lint
0.9.28
Update unsafe-libyaml dependency to pull in unaligned write fix
This is a patch release that fixes bugs and adds enhancements, including new iterators, title options for blocks, and various rendering improvements. ✨
Useful for performing some action on all the cells in a particular area.
E.g.,
fn render(area: Rect, buf: &mut Buffer) {
for position in area.positions() {
buf.get_mut(position.x, position.y).set_symbol("x");
}
}
9182f47(uncategorized) Add Block::title_top and Block::title_top_bottom (#940)
This adds the ability to add titles to the top and bottom of a block
without having to use the `Title` struct (which will be removed in a
future release - likely v0.28.0).
Fixes a subtle bug if the title was created from a right aligned Line
and was also right aligned. The title would be rendered one cell too far
to the right.
Block::bordered()
.title_top(Line::raw("A").left_aligned())
.title_top(Line::raw("B").centered())
.title_top(Line::raw("C").right_aligned())
.title_bottom(Line::raw("D").left_aligned())
.title_bottom(Line::raw("E").centered())
.title_bottom(Line::raw("F").right_aligned())
.render(buffer.area, &mut buffer);
// renders
"┌A─────B─────C┐",
"│ │",
"└D─────E─────F┘",
</code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md">ratatui's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/ratatui-org/ratatui/releases/tag/0.26.1">0.26.1</a> - 2024-02-12</h2>
<p>This is a patch release that fixes bugs and adds enhancements, including new iterators, title options for blocks, and various rendering improvements. ✨</p>
<h3>Features</h3>
<ul>
<li>
<p><a href="https://github.com/ratatui-org/ratatui/commit/74a051147a4059990c31e08d96a8469d8220537b">74a0511</a>
<em>(rect)</em> Add Rect::positions iterator (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/928">#928</a>)</p>
<pre lang="text"><code>Useful for performing some action on all the cells in a particular area.
E.g.,
```rust
fn render(area: Rect, buf: &mut Buffer) {
for position in area.positions() {
buf.get_mut(position.x, position.y).set_symbol("x");
}
}
9182f47(uncategorized) Add Block::title_top and Block::title_top_bottom (#940)
This adds the ability to add titles to the top and bottom of a block
without having to use the `Title` struct (which will be removed in a
future release - likely v0.28.0).
Fixes a subtle bug if the title was created from a right aligned Line
and was also right aligned. The title would be rendered one cell too far
to the right.
Block::bordered()
.title_top(Line::raw("A").lef...
_Description has been truncated_
Bumps the deps group with 20 updates:
0.13.1
0.13.3
3.1.0
4.0.1
1.0.75
1.0.81
0.4.31
0.4.37
4.4.7
4.4.18
0.4.13
0.4.14
0.4.20
0.4.22
2.1.0
2.2.6
0.9.1
0.10.0
0.10.58
0.10.64
1.10.2
1.10.4
1.0.190
1.0.197
0.9.27
0.9.34+deprecated
0.16.0
0.16.1
1.33.0
1.37.0
0.23.0
0.26.1
2.4.1
2.5.0
2.0.12
2.0.14
1.0.20
1.0.22
1.2.0
1.3.0
Updates
actix
from 0.13.1 to 0.13.3Release notes
Sourced from actix's releases.
Commits
f3a3233
chore(actix): prepare release 0.13.3e67b078
docs: idiomatic ActorFuture docs07baeb8
chore(deps): bump codecov/codecov-action from 4.0.0 to 4.0.1 (#579)4e7dab3
chore: use friendlier mod namesa809645
docs: use intra-doc links in crate root9928306
chore(actix): prepare release 0.13.2fddd075
ci: standardize job names31b0f4b
ci: fix cargo-nextest install7d40ea5
ci: switch to nextestc0cf913
chore: prevent dead code warningsUpdates
ansi-to-tui
from 3.1.0 to 4.0.1Commits
Updates
anyhow
from 1.0.75 to 1.0.81Release notes
Sourced from anyhow's releases.
Commits
4aad4ed
Release 1.0.818be9091
Merge pull request #354 from dtolnay/deadcodea2eb7dd
Make compatible with -Dwarnings5443719
Release 1.0.80dfc7bc0
Work around prelude redundant import warnings6e4f86b
Import from alloc not std, where possiblef885a13
Ignore incompatible_msrv clippy false positives in testfefbcbc
Ignore incompatible_msrv clippy lint78f2d81
Update ui test suite to nightly-2024-02-08edd88d3
Update ui test suite to nightly-2024-01-31Updates
chrono
from 0.4.31 to 0.4.37Release notes
Sourced from chrono's releases.
... (truncated)
Commits
7d62045
Prepare 0.4.376857d00
Hide re-export ofLocalResult
in docs9e22e48
SwapMappedLocalTime
andLocalResult
type aliasca3c3b6
Prepare 0.4.361850198
RevertTimeDelta
deprecationse05ba8b
AddMappedLocalTime::and_then
3adfd88
Main documentation: simplify links and reflow text1e8df65
Rustfmt doc comments1b57859
Run doctests withalloc
feature if possible6f2c7cc
Use different method to run feature-dependent doctestsUpdates
clap
from 4.4.7 to 4.4.18Release notes
Sourced from clap's releases.
... (truncated)
Changelog
Sourced from clap's changelog.
... (truncated)
Commits
0134f45
chore: Release995ee03
docs: Update changelog2f18909
Merge pull request #5314 from epage/required0a635b9
fix(parser): Don't duplicate requireds when usage disablede648e08
Merge pull request #5311 from sourcefrog/doc-exitcode8c83971
docs: Link to exit code infob250c0b
Merge pull request #5310 from epage/ptyc742b8e
chore(complete): Update completest-ptyUpdates
globset
from 0.4.13 to 0.4.14Commits
47e3717
globset-0.4.148697946
release/doc: set date in man page9b5091b
deps: bump to memmap2 0.9.0d1def67
deps: bump pcre2 to 0.2.656af4d4
cli: add simple flag suggestions6a055d9
doc: clarify errors for -z/--search-zipe007523
doc: note the precedence of -t/--type88353c8
doc: be more explicit about ripgrep's behavior when printing to a tty9ed7565
cli: error when searching for NUL7bb9f35
doc: clarify that --pre can accept any kind of pathUpdates
ignore
from 0.4.20 to 0.4.22Commits
2c38975
ignore-0.4.22c8e4a84
cli: prefix all non-fatal error messages with 'rg: 'b9c7749
ignore: fix reference cycle for compiled matchers67dd809
ignore: add some 'allow(dead_code)' annotationse0a8567
complete/fish: improve shell completions for fish56c7ad1
ignore/types: add Lean2a4dba3
ignore/types: add meson.optionsdaa157b
core: actually implement --sortr=path0096c74
grep-0.3.18c48355
deps: bump grep-printer to 0.2.1Updates
indexmap
from 2.1.0 to 2.2.6Changelog
Sourced from indexmap's changelog.
... (truncated)
Commits
3f0fffb
Merge pull request #323 from cuviper/mutable33c1a7c
Fixunused_imports
b76ff73
Fixclippy::multiple_bound_locations
0060546
Release 2.2.6210b027
Opt-in mutable access on IndexSet184fe4b
Merge pull request #320 from cuviper/release-2.2.55d7bd5e
Release 2.2.5c934ace
Merge pull request #313 from heliaxdev/heliax/borsh-supportb81a4d2
Use S for the BuildHasher parameter32793f1
Don't require BuildHasher in BorshSerializeUpdates
lade-sdk
from 0.9.1 to 0.10.0Updates
openssl
from 0.10.58 to 0.10.64Release notes
Sourced from openssl's releases.
... (truncated)
Commits
4a19cd4
Merge pull request #2175 from reaperhulk/changelog4e0e05a
bump openssl and openssl-sys + changelogsc2b124a
Be explicit that aliases are not part of X.509 certificates1abf4a5
Merge pull request #2167 from alex/expose-aliasa644ec2
Merge pull request #2170 from botovq/crypto-free83940d1
LibreSSL 3.9: fix CRYPTO_malloc/free signatures51fc569
Merge pull request #2168 from sfackler/alex-patch-13c53dee
Added binding for EVP_default_properties_enable_fipsa12abe1
Expose alias on X509 structs3acf2ef
Merge pull request #2157 from reaperhulk/rebuild-if-changedUpdates
regex
from 1.10.2 to 1.10.4Changelog
Sourced from regex's changelog.
Commits
aa2d8bd
1.10.4088d7f3
api: add Cow guarantee to replace APIa5ae351
regex-automata-0.4.69cf4a42
automata: fix bug where reverse NFA lacked an unanchored prefix10fe722
style: clean up some recent lint violationsd7f9347
regex-automata-0.4.507ef7f1
automata: make additional prefileter metadata public0c09903
1.10.3653bb59
deps: bump regex-automata to 0.4.4e7b5401
regex-automata-0.4.4Updates
serde
from 1.0.190 to 1.0.197Release notes
Sourced from serde's releases.
Commits
5fa711d
Release 1.0.197f5d8ae4
Resolve prelude redundant import warnings1d54973
Merge pull request #2697 from nyurik/format-strb8fafef
A few minorwrite_str
optimizations and inliningc42ebb8
Update ui test suite to nightly-2024-02-129e68062
Ignore incompatible_msrv clippy lint for conditionally compiled code846f865
Ignore dead_code warnings in testede9762
Release 1.0.196d438c2d
Merge pull request #2682 from dtolnay/decimalpointbef110b
Format Unexpected::Float with decimal pointUpdates
serde_yaml
from 0.9.27 to 0.9.34+deprecatedRelease notes
Sourced from serde_yaml's releases.
Commits
2009506
Release 0.9.343ba8462
Add unmaintained note77236b0
Ignore dead code lint in testsf4c9ed9
Release 0.9.33b4edaee
Pull in yaml_parser_fetch_more_tokens fix from libyaml8a5542c
Resolve non_local_definitions warning in testea57d8c
Release 0.9.32a52b7ac
Resolve prelude redundant import warnings9e0b8d3
Replace curly quotes with ascii straight quotes2a77483
Release 0.9.31Updates
textwrap
from 0.16.0 to 0.16.1Release notes
Sourced from textwrap's releases.
Changelog
Sourced from textwrap's changelog.
Commits
39914e0
Merge pull request #533 from mgeisler/release-0.16.18f84d66
Bump version to 0.16.1a87c395
Update changelog for version 0.16.13dd0774
Add dependency graph for version 0.16.1b656c07
Merge pull request #532 from mgeisler/skip-ansi-escape-sequence-early-return599b78a
Early return inskip_ansi_escape_sequence
e7a20ef
Merge pull request #526 from tertsdiepraam/ansi-hyperlink5d28004
display_width: support BEL as a separator in hyperlinksaa09798
Merge pull request #529 from mgeisler/dependabot/npm_and_yarn/examples/wasm/w...12feb68
Bump follow-redirects from 1.15.2 to 1.15.4 in /examples/wasm/wwwUpdates
tokio
from 1.33.0 to 1.37.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
9c337ca
chore: prepare Tokio v1.37.0 (#6435)e542501
io: document cancel safety ofAsyncBufReadExt::fill_buf
(#6431)4601c84
stream: addnext_many
andpoll_next_many
toStreamMap
(#6409)deff252
util: document cancel safety ofSinkExt::send
andStreamExt::next
(#6417)4565b81
sync: add arwlock()
method to ownedRwLock
guards (#6418)3ce4720
sync: addis_closed
,is_empty
, andlen
to mpsc receivers (#6348)8342e4b
util: assert compatibility betweenLengthDelimitedCodec
options (#6414)4c453e9
readme: add description about benchmarks (#6425)1846483
sync: expose strong and weak counts of mpsc sender handles (#6405)baad270
sync: add Semaphore example for limiting the number of outgoing requests (#6419)Updates
ratatui
from 0.23.0 to 0.26.1Release notes
Sourced from ratatui's releases.