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());
Added support for trim_blocks and lstrip_blocks for Jinja2
compatibility. #447
Changed API of unstable_machinery. The tokenize function got an
extra argument for the WhitespaceConfig. It's however recommended
to use the new Tokenizer struct instead. parse_expr was added,
the parse function now takes a SyntaxConfig and WhitespaceConfig. #447
Install minijinja-cli 1.0.16
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/minijinja/releases/download/1.0.16/minijinja-cli-installer.sh | sh
Added support for trim_blocks and lstrip_blocks for Jinja2
compatibility. #447
Changed API of unstable_machinery. The tokenize function got an
extra argument for the WhitespaceConfig. It's however recommended
to use the new Tokenizer struct instead. parse_expr was added,
the parse function now takes a SyntaxConfig and WhitespaceConfig. #447
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 prod-dependencies group with 5 updates:
4.5.3
4.5.4
1.36.0
1.37.0
0.4.35
0.4.37
1.0.15
1.0.16
1.0.114
1.0.115
Updates
clap
from 4.5.3 to 4.5.4Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
5e4facf
chore: Release8880b0a
docs: Update changelog132b5dd
Merge pull request #5425 from epage/litdf915fe
fix(derive): Re-allow expressions for id's8eab48f
refactor(derive): Make it easier to work with 'Name'be73195
refactor(derive): Clarify tests024089b
Merge pull request #5415 from Pi-Cla/patch-13b35dba
docs: Add mention of nushell to clap_complete README58469d1
Merge pull request #5405 from epage/docs655d829
docs(derive): Fix ToC links within tutorial chaptersUpdates
tokio
from 1.36.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
chrono
from 0.4.35 to 0.4.37Release notes
Sourced from chrono's releases.
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
minijinja
from 1.0.15 to 1.0.16Release notes
Sourced from minijinja's releases.
Changelog
Sourced from minijinja's changelog.
Commits
c798576
Move out cargo publish4940667
Fix workflow config83e5ad3
1.0.1643ca87f
Do not publish on PR3302b0f
Add publish-crates2f5424f
Clean up unused markers23d2c44
Add the tokenize function back (#450)bccfcca
Added an example for handling nones like undefined8cae805
Enable cargo-dist for minijinja-cli (#448)b38b1be
Refactor lexer and update for better jinja2 compatibility (#447)Updates
serde_json
from 1.0.114 to 1.0.115Release notes
Sourced from serde_json's releases.
Commits
b1ebf38
Release 1.0.115c3dc153
Merge pull request #1119 from titaniumtraveler/pr218770b
Explicitly install a Rust toolchain for cargo-outdated job840da8e
Fix missing backticks in doc comments3a3f61b
Temporarily disable miri on doctests4a0be88
Format regression tests with rustfmtd2dbbf7
Ignore dead code lint in tests8e7b37b
Merge pull request #1118 from serde-rs/transparenta25f6c6
Remove conditional on repr(transparent)fedf834
Ignore non_local_definitions false positive in testDependabot 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