In chrono 0.4.34 we finished the work to make all methods const where doing so is supported by rust 1.61.
We renamed the Duration type to TimeDelta. This removes the confusion between chrono's type and the later Duration type in the standard library. It will remain available under the old name as a type alias for compatibility.
The Windows implementation of Local is rewritten. The new version avoids panics when the date is outside of the range supported by windows (the years 1601 to 30828), and gives more accurate results during DST transitions.
The Display format of TimeDelta is modified to conform better to ISO 8601. Previously it converted all values greater than 24 hours to a value with days. This is not correct, as doing so changes the duration from an 'accurate' to a 'nominal' representation to use ISO 8601 terms.
Fixes
Add missing range check in TimeDelta::milliseconds (#1385, thanks @danwilliams)
Remove check for DurationExceedsTimestamp in DurationRound (#1403, thanks @joroKr21)
This release includes wgpu and wgpu-hal. The rest of the crates are unchanged since 0.19.0.
Bug Fixes
DX12
Properly register all swapchain buffers to prevent error on surface present. By @dtzxporter in #5091
Check for extra null states when creating resources. By @nical in #5096
Fix depth-only and stencil-only views causing crashes. By @teoxoy in #5100
OpenGL
In Surface::configure and Surface::present on Windows, fix the current GL context not being unset when releasing the lock that guards access to making the context current. This was causing other threads to panic when trying to make the context current. By @Imberflur in #5087.
WebGPU
Improve error message when compiling WebGPU backend on wasm without the web_sys_unstable_apis set. By @rukai in #5104
Documentation
Document Wayland specific behavior related to SurfaceTexture::present. By @i509VCB in #5093.
v0.19.0
This release includes:
wgpu
wgpu-core
wgpu-hal
wgpu-types
wgpu-info
naga (skipped from 0.14 to 0.19)
naga-cli (skipped from 0.14 to 0.19)
d3d12 (skipped from 0.7 to 0.19)
Improved Multithreading through internal use of Reference Counting
Large refactoring of wgpu’s internals aiming at reducing lock contention, and providing better performance when using wgpu on multiple threads.
Properly register all swapchain buffers to prevent error on surface present. By @dtzxporter in #5091
Check for extra null states when creating resources. By @nical in #5096
Fix depth-only and stencil-only views causing crashes. By @teoxoy in #5100
OpenGL
In Surface::configure and Surface::present on Windows, fix the current GL context not being unset when releasing the lock that guards access to making the context current. This was causing other threads to panic when trying to make the context current. By @Imberflur in #5087.
WebGPU
Improve error message when compiling WebGPU backend on wasm without the web_sys_unstable_apis set. By @rukai in #5104
Documentation
Document Wayland specific behavior related to SurfaceTexture::present. By @i509VCB in #5092.
v0.19.0 (2024-01-17)
This release includes:
wgpu
wgpu-core
wgpu-hal
wgpu-types
wgpu-info
naga (skipped from 0.14 to 0.19)
naga-cli (skipped from 0.14 to 0.19)
d3d12 (skipped from 0.7 to 0.19)
Improved Multithreading through internal use of Reference Counting
Large refactoring of wgpu’s internals aiming at reducing lock contention, and providing better performance when using wgpu on multiple threads.
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 backend-deps group in /src-tauri with 3 updates: chrono, thiserror and wgpu.
Updates
chrono
from 0.4.33 to 0.4.34Release notes
Sourced from chrono's releases.
Commits
dc19606
Prepare 0.4.3458a2149
AddStrftimeItems::parse_to_owned
59eeb8c
AddStrftimeItems::parse
79de122
Add more documentation toStrftimeItems::new_with_locale
5b7cf85
Add more documentation toStrftimeItems::new
be6af79
MakeDisplay
format ofTimeDelta
conform better to ISO 8601d1cf0e9
Add test for issue 6510ef34e4
Extend test to more distant datesfc67f3e
Remove obsolete testacb693a
Windows: rewrite usingGetTimeZoneInformationForYear
Updates
thiserror
from 1.0.56 to 1.0.57Release notes
Sourced from thiserror's releases.
Commits
1d106b1
Release 1.0.578a5c4d1
Use write_str when args only consists of trailing commaf790bee
Phrase flag in terms of whether core::fmt machinery is requiredd43b759
Ignore needless_raw_string_hashes pedantic clippy lint in testd09c418
Touch up PR 286097251d
Merge pull request #286 from nyurik/litstrcd79876
optimize by avoiding second fmt.value() calld7e738e
Optimize simple literals for Display::fmt0717de3
Update ui test suite to nightly-2024-02-08c7c7547
Update ui test suite to nightly-2024-01-31Updates
wgpu
from 0.18.0 to 0.19.1Release notes
Sourced from wgpu's releases.
... (truncated)
Changelog
Sourced from wgpu's changelog.
... (truncated)
Commits
b8a8ff6
Versions6e95491
Update changelogec48ee3
Document Wayland specifics related to SurfaceTexture::present (#5093)f9454d1
Error on missing web_sys_unstable_apis (#5104)e1481b6
Make sure to unset current context in wgl Surface::configure/present (#5087)c094e62
[d3d12] use plane 1 for stencil only views (#5100)a0db2a2
Make sure to copy all of the buffers into the resource array for dx12. (#5091)ba74217
d3d12: Null check the out ComPtr of a few creation functions (#5096)484457d
Fix wgpu-hal build7eac4ce
Fix naga releaseDependabot 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