You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove support for generating isize and usize values with StandardUniform, Uniform (except via UniformUsize) and Fill and usage as a WeightedAliasIndex weight (#1487)
Add impl DistString for distributions Slice<char> and Uniform<char> (#1315)
Make Uniform for usize portable via UniformUsize (#1487)
Fix IndexdRandom::choose_multiple_weighted for very small seeds and optimize for large input length / low memory (#1530)
Reproducibility-breaking optimisations
Optimize fn sample_floyd, affecting output of rand::seq::index::sample and rand::seq::SliceRandom::choose_multiple (#1277)
New, faster algorithms for IteratorRandom::choose and choose_stable (#1268)
New, faster algorithms for SliceRandom::shuffle and partial_shuffle (#1272)
Optimize distribution Uniform: use Canon's method (single sampling) / Lemire's method (distribution sampling) for faster sampling (breaks value stability; #1287)
Optimize fn sample_single_inclusive for floats (+~20% perf) (#1289)
Add attributes to overwrite return (``unchecked_return_type) and parameter types (unchecked_param_type), descriptions (return_descriptionandparam_description) as well as parameter names (js_name`) for exported functions and methods. See the guide for more details. #4394
Add a copy_to_uninit() method to all TypedArrays. It takes &mut [MaybeUninit<T>] and returns &mut [T]. #4340
Support importing memory and using wasm_bindgen::module() in Node.js. #4349
Add --list, --ignored, --exact and --nocapture to wasm-bindgen-test-runner, analogous to cargo test. #4356
Add bindings to Date.to_locale_time_string_with_options. #4384
#[wasm_bindgen] now correctly applies #[cfg(...)]s in structs. #4351
Changed
Optional parameters are now typed as T | undefined | null to reflect the actual JS behavior. #4188
Adding getter, setter, and constructor methods to enums now results in a compiler error. This was previously erroneously allowed and resulted in invalid JS code gen. #4278
Handle stuck and failed WebDriver processes when re-trying to start them. #4340
Align test output closer to native cargo test. #4358
Error if URL in <WEBDRIVER>_REMOTE can't be parsed instead of just ignoring it. #4362
Remove WASM_BINDGEN_THREADS_MAX_MEMORY and WASM_BINDGEN_THREADS_STACK_SIZE. The maximum memory size can be set via -Clink-arg=--max-memory=<size>. The stack size of a thread can be set when initializing the thread via the default function. #4363
console.*() calls in tests are now always intercepted by default. To show them use --nocapture. When shown they are always printed in-place instead of after test results, analogous to cargo test. #4356
Using JS keywords as struct and enum names will now error at compile time, instead of causing invalid JS code gen.
Using JS keywords that are not valid to call or access properties on will now error at compile time, instead of causing invalid JS code gen if used as:
The first part of a js_namespace on imports.
The name of an imported type or constant if the type or constant does not have a js_namespace or module attribute.
The name of an imported function if the function is not a method and does not have a js_namespace or module attribute.
Using JS keywords on imports in places other than the above will no longer cause the keywords to be escaped as _{keyword}.
Fixed passing large arrays into Rust failing because of internal memory allocations invalidating the memory buffer. #4353
Pass along an ignore attribute to unsupported tests. #4360
Use OS provided temporary directory for tests instead of Cargo's target directory. #4361
Error if URL in <WEBDRIVER>_REMOTE can't be parsed. #4362
Internal functions are now removed instead of invalidly imported if they are unused. #4366
Fixed no_std support for all APIs in web-sys. #4378
Prevent generating duplicate exports for closure conversions. #4380
Configuration
📅 Schedule: Branch creation - "before 9am on monday" in timezone Europe/Gibraltar, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
If you want to rebase/retry this PR, check this box
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/biome_grit_patterns/Cargo.toml --package [email protected] --precise 0.9.0
Updating crates.io index
error: failed to select a version for the requirement `rand = "^0.8"`
candidate versions found which didn't match: 0.9.0
location searched: crates.io index
required by package `quickcheck v1.0.3`
... which satisfies dependency `quickcheck = "^1.0.3"` (locked to 1.0.3) of package `biome_rowan v0.5.7 (/tmp/renovate/repos/github/biomejs/biome/crates/biome_rowan)`
... which satisfies path dependency `biome_rowan` (locked to 0.5.7) of package `biome_analyze v0.5.7 (/tmp/renovate/repos/github/biomejs/biome/crates/biome_analyze)`
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.19.0
->0.20.0
0.17.9
->0.17.11
0.3.76
->0.3.77
0.2.25
->0.2.29
0.8.5
->0.9.0
0.10.9
->0.10.10
1.6.0
->1.6.1
1.0.101
->1.0.103
0.2.99
->0.2.100
Release Notes
rust-lang/git2-rs (git2)
v0.20.0
Compare Source
0.19.0...0.20.0
Added
Debug
is now implemented fortransport::Service
#1074
Repository::commondir
#1079
Repository::merge_base_octopus
#1088
PartialOrd
,Ord
, andHash
for bitflags types that were inadvertently removed in a prior release.#1096
CheckoutBuilder::disable_pathspec_match
#1107
PackBuilder::write
#1110
Changed
#1111
ssh_key_from_memory
Cargo feature, it was unused.#1087
Tree::walk
are now correctly reported to the caller.#1098
trace_set
callback now takes a&[u8]
instead of a&str
.#1071
Error::last_error
now returnsError
instead ofOption<Error>
.#1072
Fixed
OdbReader::read
return value.#1061
#1075
console-rs/indicatif (indicatif)
v0.17.11
Compare Source
What's Changed
OnceCell
toOnceLock
inTabExpandedString
by @tgross35 in https://github.com/console-rs/indicatif/pull/694v0.17.10
Compare Source
What's Changed
With some great performance improvements from @jaheba.
ProgressBar:set_tab_with
take&self
by @jaheba in https://github.com/console-rs/indicatif/pull/685dec
anddec_length
toProgressBar
by @jaheba in https://github.com/console-rs/indicatif/pull/690dtolnay/prettyplease (prettyplease)
v0.2.29
Compare Source
v0.2.28
Compare Source
v0.2.27
Compare Source
v0.2.26
Compare Source
rust-random/rand (rand)
v0.9.0
Compare Source
Security and unsafe
ReseedingRng
andThreadRng
. Instead, it is recommended to callThreadRng::reseed
on fork. (#1379)zerocopy
to replace someunsafe
code (#1349, #1393, #1446, #1502)Dependencies
--ignore-rust-version
rand_core
v0.9.0 (#1558)Features
std
feature withoutgetrandom
orrand_chacha
(#1354)small_rng
by default (#1455)rand_chacha
; usestd_rng
instead. (#1473)serde1
toserde
(#1477)getrandom
toos_rng
(#1537)thread_rng
(#1547)API changes: rand_core traits
RngCore::read_adapter
implementingstd::io::Read
(#1267)CryptoBlockRng: BlockRngCore
; maketrait CryptoRng: RngCore
(#1273)TryRngCore
,TryCryptoRng
(#1424, #1499)fn SeedableRng::from_rng
->try_from_rng
and add infallible variantfn from_rng
(#1424)fn SeedableRng::from_entropy
->from_os_rng
and add fallible variantfn try_from_os_rng
(#1424)Clone
andAsRef
to associated typeSeedableRng::Seed
(#1491)API changes: Rng trait and top-level fns
rand::thread_rng()
torand::rng()
and remove from the prelude (#1506)rand::random()
from the prelude (#1506)random_iter
,random_range
,random_bool
,random_ratio
,fill
(#1488)Rng::gen_iter
asrandom_iter
(#1305, #1500)Rng::gen
torandom
to avoid conflict with the newgen
keyword in Rust 2024 (#1438)Rng::gen_range
torandom_range
,gen_bool
torandom_bool
,gen_ratio
torandom_ratio
(#1505)#[track_caller]
(#1442, #1447)API changes: RNGs
<SmallRng as SeedableRng>::Seed
size to 256 bits (#1455)rng
) ofReseedingRng::new
(#1533)API changes: Sequences
SliceRandom
intoIndexedRandom
,IndexedMutRandom
,SliceRandom
(#1382)IndexedRandom::choose_multiple_array
,index::sample_array
(#1453, #1469)API changes: Distributions: renames
rand::distributions
torand::distr
(#1470)Standard
toStandardUniform
(#1526)distr::Slice
->distr::slice::Choose
,distr::EmptySlice
->distr::slice::Empty
(#1548)distr::DistString
->distr::SampleString
(#1548)distr::DistIter
->distr::Iter
,distr::DistMap
->distr::Map
(#1548)API changes: Distributions
Sized
bound onDistribution<T> for &D
(#1278)Distribution<Option<T>>
forStandardUniform
(#1526)StandardUniform
support allNonZero*
types (#1332){Uniform, UniformSampler}::{new, new_inclusive}
return aResult
(instead of potentially panicking) (#1229)Uniform
implementsTryFrom
instead ofFrom
for ranges (#1229)UniformUsize
(#1487)isize
andusize
values withStandardUniform
,Uniform
(except viaUniformUsize
) andFill
and usage as aWeightedAliasIndex
weight (#1487)DistString
for distributionsSlice<char>
andUniform<char>
(#1315)Slice::num_choices
(#1402)p()
for distributionBernoulli
to access probability (#1481)API changes: Weighted distributions
pub
modulerand::distr::weighted
, movingWeightedIndex
there (#1548)weighted::Weight
, allowingWeightedIndex
to trap overflow (#1353)weight, weights, total_weight
to distributionWeightedIndex
(#1420)WeightedError
toweighted::Error
, revising variants (#1382) and mark as#[non_exhaustive]
(#1480)API changes: SIMD
std::simd
, expand SIMD & docs (#1239)Reproducibility-breaking changes
ReseedingRng::reseed
discard remaining data from the last block generated (#1379)SmallRng::seed_from_u64
implementation (#1203)UniformFloat::new
samples andUniformFloat::sample_single
to yieldhigh
(#1462)Slice
(#1469)Uniform
forusize
portable viaUniformUsize
(#1487)IndexdRandom::choose_multiple_weighted
for very small seeds and optimize for large input length / low memory (#1530)Reproducibility-breaking optimisations
sample_floyd
, affecting output ofrand::seq::index::sample
andrand::seq::SliceRandom::choose_multiple
(#1277)IteratorRandom::choose
andchoose_stable
(#1268)SliceRandom::shuffle
andpartial_shuffle
(#1272)Uniform
: use Canon's method (single sampling) / Lemire's method (distribution sampling) for faster sampling (breaks value stability; #1287)sample_single_inclusive
for floats (+~20% perf) (#1289)Other optimisations
SmallRng
initialization performance (#1482)Other
Cargo.lock.msrv
file (#1275)rustfmt
and enforce (#1448)benches
crate (#1329, #1439) and migrate to Criterion (#1490)Documentation
ThreadRng
related docs (#1257)--generate-link-to-definition
feature (#1327)doc_auto_cfg
(#1411, #1450)RoaringBitmap/roaring-rs (roaring)
v0.10.10
Compare Source
What's Changed
Extend::extend
implementation for performances by @Kerollmops in https://github.com/RoaringBitmap/roaring-rs/pull/306Full Changelog: RoaringBitmap/roaring-rs@v0.10.9...v0.10.10
mitsuhiko/similar-asserts (similar-asserts)
v1.6.1
Compare Source
dtolnay/trybuild (trybuild)
v1.0.103
Compare Source
v1.0.102
Compare Source
..
(#300)rustwasm/wasm-bindgen (wasm-bindgen)
v0.2.100
Compare Source
Released 2025-01-12
Added
Add attributes to overwrite return (``unchecked_return_type
) and parameter types (
unchecked_param_type), descriptions (
return_descriptionand
param_description) as well as parameter names (
js_name`) for exported functions and methods. See the guide for more details.#4394
Add a
copy_to_uninit()
method to allTypedArray
s. It takes&mut [MaybeUninit<T>]
and returns&mut [T]
.#4340
Add test coverage support for Node.js.
#4348
Support importing memory and using
wasm_bindgen::module()
in Node.js.#4349
Add
--list
,--ignored
,--exact
and--nocapture
towasm-bindgen-test-runner
, analogous tocargo test
.#4356
Add bindings to
Date.to_locale_time_string_with_options
.#4384
#[wasm_bindgen]
now correctly applies#[cfg(...)]
s instruct
s.#4351
Changed
Optional parameters are now typed as
T | undefined | null
to reflect the actual JS behavior.#4188
Adding
getter
,setter
, andconstructor
methods to enums now results in a compiler error. This was previously erroneously allowed and resulted in invalid JS code gen.#4278
Handle stuck and failed WebDriver processes when re-trying to start them.
#4340
Align test output closer to native
cargo test
.#4358
Error if URL in
<WEBDRIVER>_REMOTE
can't be parsed instead of just ignoring it.#4362
Remove
WASM_BINDGEN_THREADS_MAX_MEMORY
andWASM_BINDGEN_THREADS_STACK_SIZE
. The maximum memory size can be set via-Clink-arg=--max-memory=<size>
. The stack size of a thread can be set when initializing the thread via thedefault
function.#4363
console.*()
calls in tests are now always intercepted by default. To show them use--nocapture
. When shown they are always printed in-place instead of after test results, analogous tocargo test
.#4356
Fixed
Fixed using JavaScript keyword as identifiers not being handled correctly.
#4329
struct
andenum
names will now error at compile time, instead of causing invalid JS code gen.js_namespace
on imports.js_namespace
ormodule
attribute.js_namespace
ormodule
attribute._{keyword}
.Fixed passing large arrays into Rust failing because of internal memory allocations invalidating the memory buffer.
#4353
Pass along an
ignore
attribute tounsupported
tests.#4360
Use OS provided temporary directory for tests instead of Cargo's
target
directory.#4361
Error if URL in
<WEBDRIVER>_REMOTE
can't be parsed.#4362
Internal functions are now removed instead of invalidly imported if they are unused.
#4366
Fixed
no_std
support for all APIs inweb-sys
.#4378
Prevent generating duplicate exports for closure conversions.
#4380
Configuration
📅 Schedule: Branch creation - "before 9am on monday" in timezone Europe/Gibraltar, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.