This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.
Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.
In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.
This is a patch release that fixes bugs and adds enhancements, including new iterator constructors, List scroll padding, and various rendering improvements. ✨
This adds `FromIterator` impls for `Line` and `Text` that allow creating
`Line` and `Text` instances from iterators of `Span` and `Line`
instances, respectively.
let line = Line::from_iter(vec!["Hello".blue(), " world!".green()]);
let line: Line = iter::once("Hello".blue())
.chain(iter::once(" world!".green()))
.collect();
let text = Text::from_iter(vec!["The first line", "The second line"]);
let text: Text = iter::once("The first line")
.chain(iter::once("The second line"))
.collect();
Introduces scroll padding, which allows the api user to request that a certain number of ListItems be kept visible above and below the currently selected item while scrolling.
This is a patch release that fixes bugs and adds enhancements, including new iterator constructors, List scroll padding, and various rendering improvements. ✨
This adds `FromIterator` impls for `Line` and `Text` that allow creating
`Line` and `Text` instances from iterators of `Span` and `Line`
instances, respectively.
let line = Line::from_iter(vec!["Hello".blue(), " world!".green()]);
let line: Line = iter::once("Hello".blue())
.chain(iter::once(" world!".green()))
.collect();
let text = Text::from_iter(vec!["The first line", "The second line"]);
let text: Text = iter::once("The first line")
.chain(iter::once("The second line"))
.collect();
Introduces scroll padding, which allows the api user to request that a certain number of ListItems be kept visible above and below the currently selected item while scrolling.
Bumps the minor-patch group with 19 updates:
0.4.37
0.4.38
0.10.16
0.10.18
0.26.1
0.26.2
1.0.197
1.0.199
0.3.10
0.3.11
0.20.10
0.22.5
0.20.1
0.22.5
0.20.4
0.21.2
0.20.4
0.21.0
0.20.8
0.21.0
0.20.2
0.21.0
0.20.5
0.22.0
0.20.0
0.21.0
0.20.4
0.21.0
0.20.5
0.21.0
0.20.0
0.22.2
0.20.2
0.21.0
0.20.4
0.22.0
0.1.11
0.1.12
Updates
chrono
from 0.4.37 to 0.4.38Release notes
Sourced from chrono's releases.
Commits
352a352
Prepare 0.4.3846d44d6
Manually implementCopy
forDateTime
if offset isCopy
760eb66
Update windows-bindgen requirement from 0.55 to 0.56391187f
Return error when rounding with zero durationffc75e5
AddTimeDelta::checked_mul
andTimeDelta::checked_div
f8cecbe
MakeWeekday::num_days_from public
, rename todays_since
.0cfc405
Optimize number formatting74ba83b
Takepad
by value78e79db
Match on tuples informat_fixed
f3d76c7
Match on tuples informat_numeric
Updates
figment
from 0.10.16 to 0.10.18Commits
4bb7876
New version: 0.10.18.2c83ffa
Add lossy extraction.d2a31e8
New version: 0.10.17.94d09e1
Use consistent path/key wording. Fix error paths.Updates
ratatui
from 0.26.1 to 0.26.2Release notes
Sourced from ratatui's releases.
... (truncated)
Changelog
Sourced from ratatui's changelog.
... (truncated)
Commits
363c4c5
chore(release): prepare for 0.26.2 (#1029)b7778e5
fix(paragraph): unit test typo (#1022)b5061c5
chore(deps): update stability requirement from 0.1.1 to 0.2.0 (#1021)359204c
refactor: simplify to io::Result (#1016)14461c3
docs(breaking-changes): typos and markdownlint (#1009)3b002fd
docs: update incompatible code warning in examples readme (#1013)0207160
fix(line): line truncation respects alignment (#987)26af650
feat(text): add push methods for text and line (#998)07da90a
chore(funding): add eth address for receiving funds from drips.network (#994)125ee92
chore(docs): fix typos in crate documentation (#1002)Updates
serde
from 1.0.197 to 1.0.199Release notes
Sourced from serde's releases.
Commits
1477028
Release 1.0.199789740b
Merge pull request #2732 from aatifsyed/master8fe7539
fix: ambiguous associated type in forward_to_deserialize_any!f6623a3
Ignore cast_precision_loss pedantic clippy lintc4fb923
Release 1.0.19865b7eea
Merge pull request #2729 from dtolnay/saturating01cd696
Integrate Saturating<T> deserialization into impl_deserialize_num macroc13b3f7
Format PR 2709a6571ee
Merge pull request #2709 from jbethune/master6e38aff
Revert "Temporarily disable miri on doctests"Updates
tui-prompts
from 0.3.10 to 0.3.11Release notes
Sourced from tui-prompts's releases.
Changelog
Sourced from tui-prompts's changelog.
Commits
6247853
chore: release (#45)cedfc3d
build(deps): bump ratatui from 0.26.1 to 0.26.2 (#44)Updates
tree-sitter
from 0.20.10 to 0.22.5Release notes
Sourced from tree-sitter's releases.
... (truncated)
Changelog
Sourced from tree-sitter's changelog.
... (truncated)
Commits
Updates
tree-sitter-highlight
from 0.20.1 to 0.22.5Release notes
Sourced from tree-sitter-highlight's releases.
... (truncated)
Changelog
Sourced from tree-sitter-highlight's changelog.
... (truncated)
Commits
cdd4688
0.22.532b8794
docs: Add note about 0.22.3 release to CHANGELOG.md295344b
fix: Avoid generating unused character set constantsa7a47d5
fix(rust): compilation on wasm32-wasi9ba8f6d
fix(cli): test parsing on windows2852579
0.22.450d0dfb
Always bump at least the patch version inbump
xtask63fa0f2
Include 2-character ranges in array-based state transitions056237f
Fix sorting of transitions within a lex statea3d3387
0.22.3Updates
tree-sitter-rust
from 0.20.4 to 0.21.2Commits
0435214
0.21.2c6f0df9
build: bump deps for prebuildify windows fixc075a8d
0.21.11fc178f
fix: add optional where clauses in associated types1795e95
fix: compilation on windowsb77c0d8
fix: rename highlights query constant886e8df
build: update dependencies1591212
ci: add dependabot4736342
ci: update workflowscca90a1
chore: generateUpdates
tree-sitter-javascript
from 0.20.4 to 0.21.0Commits
d9b3a58
ci: update workflows3d0c5b7
build: update bindings and versionsUpdates
tree-sitter-c
from 0.20.8 to 0.21.0Commits
b125bec
build: update makefile for macos installation70c0dde
ci: update workflowsdb11e91
build: update bindings and versions652433f
ci: remove appveyorf64a422
ci: use nodejs 20 for appveyor72a60ea
chore: generatee3f4c95
fix: ms call modifier missing in some spots579f349
fix: allow ms pointer modifiers in abstract pointer declarators8e6e28c
fix: ternary consequences can have comma expressionsbac0e89
fix: asm strings can be concatenatedUpdates
tree-sitter-json
from 0.20.2 to 0.21.0Commits
80e623c
ci: update workflowse1c6301
build: update bindings and versions3b12920
Clean up rust binding466fa11
Loosen tree-sitter dependency in Cargo tomlac6ddfa
docs: update badgesUpdates
tree-sitter-cpp
from 0.20.5 to 0.22.0Commits
72fd001
0.22.0f3d2757
chore: generatef8efc57
feat: support reference declarators in types60d357f
feat: add optional attribute declarations after 'namespace'1c3c93d
feat: support pure virtual destructorsaa79a17
fix: specifier and virtual do not strictly require each otherf79b9d9
fix(scanner): only call memcpy iflength
is greater than 0d0b4e00
chore: generate8a64c2d
feat(scanner): use alloc header075886a
ci: update workflowsUpdates
tree-sitter-go
from 0.20.0 to 0.21.0Commits
5c0024c
ci: update workflows174bc44
build: updating bindings and versionscb83456
chore: generateb82ab80
refactor!: rework type parameters and interface type elementse395081
feat: support type instantiation expressionsfd577c4
docs: update badgesff86c7f
chore: regenerate with masterUpdates
tree-sitter-python
from 0.20.4 to 0.21.0Commits
0f9047c
build: update bindings and versionsbac8189
ci: update workflows03e88c1
ci: add failurebf1c091
chore: update bindings1030ed7
fix: don't parse thel
suffix in floats, allow trailing commas in type22d3f87
ci: clone all examples at once64619c4
ci: use new upstream workflows27f866b
feat: improve bindings671bb1b
fix(queries): use last-precedence for highlights0bb270c
fix: regenerate with operator precedence fixUpdates
tree-sitter-bash
from 0.20.5 to 0.21.0Commits
f3f26f4
docs: add pypi badge152c934
feat!: use the array api in the scannerde04ef1
build: update makefile for macos installationfd394b8
ci: bump tree-sitter/parser-setup-action from 1.1 to 1.2e318c3e
ci: update workflows664c274
build: update bindings and versions975bc70
docs: update badges8df9ea8
ci: bump actions/setup-node from 3 to 486cd460
ci: bump actions/checkout from 3 to 48247a5b
ci: add dependabot for actionsUpdates
tree-sitter-php
from 0.20.0 to 0.22.2Release notes
Sourced from tree-sitter-php's releases.
Commits
78a78df
0.22.23405704
fix: constructor hl precedence5ca6c12
0.22.15035cca
fix: move 'this' query lower in the highlights35bcb53
test: clone examples with depth=1 to speed up teste6cc656
feat: add external-files key to tree-sitter configba42dc9
chore: bump cli version1ea74a6
Merge pull request #224 from calebdw/fix_comment_againcf38b7f
chore: generate338b71b
fix: comment precedenceUpdates
tree-sitter-java
from 0.20.2 to 0.21.0Commits
953abfc
ci: update workflows60d0376
build: update bindings and versionsd6791cf
chore: generatebe8ecb6
fix: tweak escape sequence and identifier rules388720a
refactor: remove condition rule2aae502
fix(test): remove leading space5e62fbb
fix: unescaped curly brace in regex and invert query precedence for test99b29f1
docs: update badgesUpdates
tree-sitter-ocaml
from 0.20.4 to 0.22.0Release notes
Sourced from tree-sitter-ocaml's releases.
Commits
f7e6311
Upgrade to tree-sitter 0.22 and add Python, C and Go bindings (#87)dabe60a
v0.21.2975d019
Allow windows newlines in strings and characters (#88)d33ad26
v0.21.1d8c1d99
Move grammars to grammars directory (#86)712d9bf
Fix set_language for tree-sitter 0.211caf8c3
v0.21.0066699e
Update queries for tree-sitter 0.21.0 (#85)9965d20
ci: rework actionebfd4d1
docs: update badgesUpdates
unicode-width
from 0.1.11 to 0.1.12Commits
8092f84
Bump to 0.1.1273f816e
Merge pull request #41 from Jules-Bertholet/emoji-presentation6b503fa
Support emoji presentation sequences3885393
Merge pull request #39 from Jules-Bertholet/no-more-unicodedataafd136a
Merge pull request #40 from Jules-Bertholet/document-widths1e623c5
Carg... _Description has been truncated_