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.
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 minor-patch group with 17 updates in the / directory:
0.4.37
0.4.38
0.10.16
0.10.18
0.26.1
0.26.2
1.0.197
1.0.198
0.20.10
0.22.5
0.20.1
0.22.5
0.20.4
0.21.0
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
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.198Release notes
Sourced from serde's releases.
Commits
c4fb923
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"3d1b19e
Implement Ser+De forSaturating\<T>
5b24f88
Resolve legacy_numeric_constants clippy lints74d0670
Explicitly install a Rust toolchain for cargo-outdated job3bfab6e
Temporarily disable miri on doctestsUpdates
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.0Commits
4736342
ci: update workflowscca90a1
chore: generateae506b9
build: update bindings and workflows21483d0
fix: rework token tree punctuation58188b6
feat: break apartraw_string_literal
bd352d2
fix: allow integer literals in struct field initializers for tuple structse6b6401
feat: allow generics in tuple struct patterns97b4e66
fix: ambiguity with unit types24adbb7
fix: allow tuple types in abstract types2166365
fix: allow..
range expressions in range patternsUpdates
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 badgesDependabot 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