Skip to content

Update Rust#59

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/rust
Open

Update Rust#59
renovate[bot] wants to merge 1 commit intomainfrom
renovate/rust

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 27, 2025

This PR contains the following updates:

Package Type Update Change
cfg-if dependencies patch 1.0.01.0.4
html5ever dependencies minor 0.30.00.38.0
indoc dependencies patch 2.0.62.0.7
js-sys (source) dependencies patch 0.3.770.3.85
once_cell dependencies patch 1.21.11.21.3
regex dependencies minor 1.11.11.12.3
ruma-common (source) dependencies minor 0.15.00.17.0
speculoos dev-dependencies minor 0.12.00.13.0
strum dependencies patch 0.27.10.27.2
strum_macros dependencies patch 0.27.10.27.2
uniffi workspace.dependencies digest 789a902e39dac5
uniffi_build workspace.dependencies digest 789a902e39dac5
uniffi_macros workspace.dependencies digest 789a902e39dac5
url dependencies patch 2.5.42.5.8
wasm-bindgen (source) dependencies patch 0.2.1000.2.108
wasm-bindgen-futures (source) dependencies patch 0.4.500.4.58
wasm-bindgen-test dev-dependencies patch 0.3.500.3.58
web-sys (source) dependencies patch 0.3.770.3.85
widestring dependencies patch 1.2.01.2.1

Release Notes

rust-lang/cfg-if (cfg-if)

v1.0.4

Compare Source

  • Support cfg(true) and cfg(false) (#​99)
  • Set and test a MSRV of 1.32
  • Have a single top-level rule

v1.0.3

Compare Source

  • Revert "Remove @__identity rule."

v1.0.2

Compare Source

  • Remove @__identity rule.

v1.0.1

Compare Source

  • Remove compiler-builtins from rustc-dep-of-std dependencies
  • Remove redundant configuration from Cargo.toml
  • More readable formatting and identifier names. (#​39)
  • Add expanded example to readme (#​38)
servo/html5ever (html5ever)

v0.35.0: 0.35.0

From this release forward, html5ever, xml5ever, markup5ever, and match_token are now released using a synced version number. Thus this release is version 0.35.0 of all of these crates.

Changes

  • Version numbers of all crates apart from web_atoms are now in sync. (#​637)
  • Remove dependency on the mac crate. (#​639)
  • Remove unused TreeBuilder option. (#​631)
  • Document scripting_enabled and iframe_srcdoc options (#​631)
  • Don't return a string from TreeSink::attach_declarative_shadow_root (#​633)
  • Determine the initial state for fragment parsing using the scripting flag of the context element (#​629)
dtolnay/indoc (indoc)

v2.0.7

Compare Source

  • Support C-string literals indoc! {c"..."}, indoc! {cr"..."} (#​67)
matklad/once_cell (once_cell)

v1.21.3

Compare Source

v1.21.2

Compare Source

  • Relax success ordering from AcqRel to Release in race: #​278.
rust-lang/regex (regex)

v1.12.3

Compare Source

===================
This release excludes some unnecessary things from the archive published to
crates.io. Specifically, fuzzing data and various shell scripts are now
excluded. If you run into problems, please file an issue.

Improvements:

  • #​1319:
    Switch from a Cargo exclude list to an include list, and exclude some
    unnecessary stuff.

v1.12.2

Compare Source

===================
This release fixes a cargo doc breakage on nightly when --cfg docsrs is
enabled. This caused documentation to fail to build on docs.rs.

Bug fixes:

  • BUG #​1305:
    Switches the doc_auto_cfg feature to doc_cfg on nightly for docs.rs builds.

v1.12.1

Compare Source

===================
This release makes a bug fix in the new regex::Captures::get_match API
introduced in 1.12.0. There was an oversight with the lifetime parameter
for the Match returned. This is technically a breaking change, but given
that it was caught almost immediately and I've yanked the 1.12.0 release,
I think this is fine.

v1.12.0

Compare Source

===================
This release contains a smattering of bug fixes, a fix for excessive memory
consumption in some cases and a new regex::Captures::get_match API.

Improvements:

  • FEATURE #​1146:
    Add Capture::get_match for returning the overall match without unwrap().

Bug fixes:

  • BUG #​1083:
    Fixes a panic in the lazy DFA (can only occur for especially large regexes).
  • BUG #​1116:
    Fixes a memory usage regression for large regexes (introduced in regex 1.9).
  • BUG #​1195:
    Fix universal start states in sparse DFA.
  • BUG #​1295:
    Fixes a panic when deserializing a corrupted dense DFA.
  • BUG 8f5d9479:
    Make regex_automata::meta::Regex::find consistently return None when
    WhichCaptures::None is used.

v1.11.3

Compare Source

===================
This is a small patch release with an improvement in memory usage in some
cases.

Improvements:

  • BUG #​1297:
    Improve memory usage by trimming excess memory capacity in some spots.

v1.11.2

Compare Source

===================
This is a new patch release of regex with some minor fixes. A larger number
of typo or lint fix patches were merged. Also, we now finally recommend using
std::sync::LazyLock.

Improvements:

  • BUG #​1217:
    Switch recommendation from once_cell to std::sync::LazyLock.
  • BUG #​1225:
    Add DFA::set_prefilter to regex-automata.

Bug fixes:

  • BUG #​1165:
    Remove std dependency from perf-literal-multisubstring crate feature.
  • BUG #​1165:
    Clarify the meaning of (?R)$ in the documentation.
  • BUG #​1281:
    Remove fuzz/ and record/ directories from published crate on crates.io.
ruma/ruma (ruma-common)

v0.17.1: ruma-common 0.17.1

Compare Source

Bug fixes:

  • Fix the Clone implementation of the Owned* types generated with the IdDst macro. It used to always create a new instance from the borrowed type instead of using the Clone implementation of the internal type.

Improvements:

  • Add AppserviceUserIdentity::maybe_add_to_uri() to add an identity assertion to an http::Uri. This allows to reimplement the behavior of OutgoingRequestAppserviceExt::try_into_http_request_with_identity() outside of Ruma, if using this trait is inconvenient.
  • Add MatrixVersion::V1_17.
  • JoinRule holds arbitrary data in its fallback variant, with can be accessed with JoinRule::data(). It also means that this type won't fail to serialize for undocumented variants anymore.

v0.17.0: ruma-common 0.17.0

Compare Source

Breaking changes:

  • Merge the PartialOrdAsRefStr derive macro into OrdAsRefStr, so both traits are always implemented using the same logic.
  • Rename the PartialEqAsRefStr derive macro to EqAsRefStr and make it implement both PartialEq and Eq.
  • The StringEnum derive macro also implements Ord, PartialOrd, Eq and PartialEq using the AsRef<str> implementation of the enum.
  • The predefined push rules for legacy mentions PatternedPushRule::contains_user_name(), ConditionalPushRule::contains_display_name() and ConditionalPushRule::roomnotif() were removed, according to MSC4210. Their rule IDs are still available in PredefinedContentRuleId and PredefinedOverrideRuleId, and they are still supported in PatternedPushRule::applies_to() and ConditionalPushRule::applies(), for backwards-compatibility for clients.
  • Macros no longer support importing the ruma and ruma-events crate from the matrix-sdk-appservice crate. This crate was dropped 2 years ago.
  • Metadata was changed from a struct to a trait. It is a supertrait of OutgoingRequest and IncomingRequest, and its fields are now associated types or constants.
    • The authentication field of the Metadata struct is now an associated type named Authentication. The AuthScheme enum was changed from an enum to a trait. Its variants are now structs implementing the AuthScheme trait. The None variant was renamed to NoAuthentication and the ServerSignatures variant was moved to ruma-federation-api. The access_token argument of OutgoingRequest::try_into_http_request() is renamed to authentication_input and is generic over the Input associated type of the AuthScheme trait.
    • The history field of the Metadata struct is now an associated constant named PATH_BUILDER. The type of this constant is defined by the PathBuilder associated type, which must implement the PathBuilder trait. The considering argument of OutgoingRequest::try_into_http_request() is renamed to path_builder_input and is generic over the Input associated type of the PathBuilder trait. The Input of VersionHistory was changed from &'_ SupportedVersions to Cow<'_, SupportedVersions>.
    • The other fields of the Metadata struct are now associated constants with the same name converted to uppercase.
    • The metadata! macro generates the Metadata trait implementation for a type named Request by default. This type can be changed with an @for setting.
  • The http_headers module is now behind the api cargo feature.
  • OutgoingRequestAppserviceExt::try_into_http_request_with_user_id() is renamed to try_into_http_request_with_identity() and takes an AppserviceUserIdentity instead of a UserId. This allows to specify a device ID, according to MSC4326.
  • IntoHttpError::NeedsAuthentication is a newtype variant renamed to Authentication that accepts any error type.
  • Remove support for the following rules for the StringEnum, AsRefStr and FromString derive macros' rename_all attribute, because they either can be replaced by the (prefix = "prefix", rule = "rule") syntax or are unused as far as we know:
    • "PascalCase"
    • "SCREAMING-KEBAB-CASE"
    • "m.dotted.case"
    • "M_MATRIX_ERROR_CASE"
    • "m.lowercase"
    • "m.snake_case"
    • ".m.rule.snake_case"
    • "m.role.snake_case"

Bug fixes:

  • With the request and response attribute macros, the Content-Type header defaults to application/octet-stream instead of application/json if the raw_body attribute is set on a field.
  • Fix the check to make sure that all paths used to build VersionHistory contain the same number of variables. It was broken since the syntax was changed from :variable to {variable}.

Improvements:

  • Add org.matrix.msc4380 unstable feature support to /versions.
  • Add MatrixVersion::V1_16
  • Remove support for the org.matrix.hydra.11 room version and the corresponding unstable-hydra cargo feature. It should only have been used for development, and room version 12 should be used instead.
  • Metadata::make_endpoint_url() is also available as VersionHistory::make_endpoint_url().
  • PushCondition::ContainsDisplayName is deprecated, according to MSC4210.
  • Add SinglePath as a PathBuilder. It should be used for APIs that don't have a /versions endpoint and for endpoints that can't be versioned.
  • AuthScheme data can be extracted from incoming HTTP requests with AuthScheme::extract_authentication().
  • The StringEnum, AsRefStr and FromString derive macros allow to set a custom prefix alongside the rule to rename all the variants, like this: #[ruma_enum(rename_all(prefix = "m.", rule = "snake_case"))]. The previous syntax using #[ruma_enum(rename_all = "snake_case")] still works and assumes that the prefix is empty.

v0.16.0: ruma-common 0.16.0

Compare Source

Breaking changes:

  • PushCondition::applies, ConditionalPushRule::applies, AnyPushRuleRef::applies, AnyPushRule::applies, Ruleset::applies, Ruleset::get_actions, Ruleset::get_match all became async, to allow for lazy evaluation of push rules.
  • UserId parsing and deserialization are now compatible with all non-compliant user IDs in the wild by default, due to a clarification in the spec.
    • The compat-user-id cargo feature was removed.
    • UserId::validate_historical() and UserId::validate_strict() allow to check for spec compliance.
    • The (owned_)user_id! macros always validate against the strict grammar in the spec, regardless of the compat features that are enabled.
  • (owned_)room_id! macros disallow the NUL byte, due to a clarification in the spec.
  • (owned_)room_alias_id! macros disallow the NUL byte for the localpart, due to a clarification in the spec.
  • MatrixVersion does not implement Display anymore as it is not correct to convert V1_0 to a string. Instead MatrixVersion::as_str() can be used that only returns None for that same variant.
  • MatrixVersion::(into/from)_parts are no longer exposed as public methods. They were usually used to sort MatrixVersions, now the PartialOrd and Ord implementations can be used instead.
  • Protocol and ProtocolInit are generic on the protocol instance type.
  • Add support for endpoints that only allow appservices to call them, renaming AppserviceToken to AppserviceTokenOptional, with the new variant taking AppserviceToken's place.
  • The redact* functions in canonical_json take RedactionRules instead of RoomVersionId. This avoids undefined behavior for unknown room versions.
  • OutgoingRequest::try_into_http_request(), OutgoingRequestAppserviceExt::try_into_http_request_with_user_id() and Metadata::make_endpoint_url() take a SupportedVersions instead of a &[MatrixVersion].
  • The metadata macro allows to specify stable and unstable feature flags for the paths in history.
    • VersionHistory::new() takes a &'static [(Option<&'static str>, &'static str)] for the unstable paths and a &'static [(StablePathSelector, &'static str)] for the stable paths.
    • VersionHistory::unstable_paths() returns an impl Iterator<Item = (Option<&'static str>, &'static str)>.
    • VersionHistory::stable_paths() returns an impl Iterator<Item = (StablePathSelector, &'static str)>.
    • VersionHistory::stable_endpoint_for() was renamed to version_path().
    • VersioningDecision's Stable variant was renamed to Version and Unstable was renamed to Feature.
  • The syntax of variables in endpoint paths segments in the metadata macro has changed: the variable must now be surrounded by {} instead of being preceded by :. For example /_matrix/client/foo/{bar}. This matches the OpenAPI syntax and the new syntax supported by axum 0.8.
  • JoinRule and its associated types where imported from ruma-events into the room module.
  • space::SpaceRoomJoinRule was removed and replaced by room::JoinRuleSummary.
  • directory::PublicRoomJoinRule was moved and renamed to room::JoinRuleKind.
    • It can be constructed with JoinRule::kind() and JoinRuleSummary::kind().
  • Make PushConditionRoomCtx and PushConditionPowerLevelsCtx non-exhaustive.
  • The versions field of SupportedVersions is now a BTreeSet<MatrixVersion>, to make sure that the versions are always deduplicated and sorted.
  • NotificationPowerLevels now takes a NotificationPowerLevelsKey for the key, an enum that accepts any string.
    • The key field of PushCondition::SenderNotificationPermission uses the same type.
  • RoomId::new() was renamed to RoomId::new_v1(), as several formats are now supported for this type.
  • StateResolutionVersion::V2 now takes StateResolutionV2Rules as a unit field, to specify tweaks to be used when resolving state with version 2 of the state resolution algorithm.
    • This field can be accessed with StateResolutionVersion::v2_rules, returning None if state_res is not StateResolutionVersion::V2.
    • StateResolutionV2Rules has the following fields:
      • begin_iterative_auth_checks_with_empty_state_map, to determine whether to begin the first phase of iterative auth checks with an empty state map.
      • consider_conflicted_state_subgraph, to determine whether to include the conflicted state subgraph in the full conflicted state.

Bug fix:

  • Set the disposition of RoomVersionRules::MSC2870 as unstable.

Improvements:

  • Implement the Zeroize trait for the Base64 type.
  • ProtocolInstance has an instance_id field, due to a clarification in the spec.
  • The unstable-unspecified cargo feature was removed.
  • Add AnyKeyName as a helper type to use KeyId APIs without validating the key name.
  • Add IdentityServerBase64PublicKey as a helper type to decode identity server public keys encoded using standard or URL-safe base64.
  • RoomVersion was imported from ruma-state-res and renamed to RoomVersionRules, along with the following changes:
    • RoomVersionRules::new() was removed and replaced by RoomVersionId::rules().
    • The RoomDisposition enum was renamed to RoomVersionDisposition.
    • The event_format field was renamed to event_id_format and the EventFormat enum was renamed to EventIdFormat.
    • The tweaks in the authorization rules were extracted into the AuthorizationRules struct, which is available in the authorization field of RoomVersionRules.
    • The special_case_aliases_auth field was renamed to special_case_room_aliases.
    • The strict_canonicaljson field was renamed to strict_canonical_json.
    • The extra_redaction_checks field was renamed to special_case_room_redaction.
    • The allow_knocking field was renamed to knocking.
    • The restricted_join_rules field was renamed to restricted_join_rule.
    • RedactionRules was added under the redaction field.
    • SignaturesRules was added under the signatures field.
  • RoomVersionId has an MSC2870 variant for the org.matrix.msc2870 room version defined in MSC2870.
  • Add OutgoingRequest::is_supported() and VersionHistory::is_supported() to be able to know if a server advertises support for an endpoint.
  • Re-export ID_MAX_BYTES from ruma-identifiers-validation.
  • Implement From<PublicRoomsChunk> for RoomSummary.
  • Add content_field_redacts field to RedactionRules, which is used to determine whether the content or top-level redacts field should be used to determine what event an m.room.redaction event redacts.
  • Add SpaceChildOrder which allows to validate the order of an m.space.child event.
  • Add support for room version 12 and its unstable version org.matrix.hydra.11.
  • Add explicitly_privilege_room_creators and additional_room_creators to AuthorizationRules to indicate whether room creators are considered to have "infinite" power level and whether additional room creators can be specified with the content.additional_creators field of an m.room.create event respectively.
  • Add RoomPowerLevelsRules, to provide tweaks to how the power level of a user is determined, and add it to PushConditionPowerLevelsCtx via the rules field.
  • Add room_id_format to RoomVersionRules, to identify the format to use for room IDs depending on the room version.
  • Add RoomId::new_v2() for the new format of room IDs. RoomId::strip_sigil() allows to access the reference hash used in that format.
  • Add unstable support for in-app-only notifications as per MSC3768 under a new unstable-msc3768 feature.
  • Add room_create_event_id_as_room_id to AuthorizationRules to indicate whether the reference hash of the m.room.create event is used to construct the room ID. It has other implications, like the m.room.create event not having a room ID, and the m.room.create event not listed in the auth_events of a PDU.
  • Add require_room_create_room_id and allow_room_create_in_auth_events to EventFormatRules to indicate whether the room ID is required for m.room.create events and whether the event ID of the m.room.create is allowed in the auth_events, respectively.

v0.15.4: ruma-common 0.15.4

Compare Source

Bug fix:

  • Fix serde::default_on_error deserialization helper. It was working with serde_json::from_value but not other functions like serde_json::from_(str/slice). It now works with all 3 methods but is limited to deserializing JSON.

v0.15.3: ruma-common 0.15.3

Compare Source

Improvements:

  • Add RoomSummary that represents the summary of a room's state.
    • Implement From<RoomSummary> for PublicRoomsChunk
  • Add MatrixVersion::V1_15.
  • PublicRoomJoinRule now includes all possible join rule kinds, due to a clarification in Matrix 1.15.
  • Add serde::default_on_error() as a helper to ignore errors during deserialization.
  • Implement conversions between PublicRoomJoinRule and SpaceRoomJoinRule.
  • Add FeatureFlag as an enum whose variants are the flags of features supported by Ruma.
  • Add SupportedVersions, a type to parse /versions responses to get lists of supported versions and features.

v0.15.2: ruma-common 0.15.2

Compare Source

Bug fixes:

  • MatrixVersion::V1_0 now also matches Identity Service API versions r0.2.0 to r0.3.0.
  • Allow configure exhaustive types via RUMA_UNSTABLE_EXHAUSTIVE_TYPES environment variable

Improvements:

  • MatrixVersion implements PartialOrd and Ord. The variants are ordered by release date, with a newer version being greater than an older version.
  • Signatures implements IntoIterator
  • Implement PartialEqAsRefStr, Eq, PartialOrdAsRefStr, OrdAsRefStr for ruma_common::media::Method.
  • DeviceId::new() generates a string with 10 chars instead of 8.
  • Add ignore_invalid_vec_items, to assist deserialization of Vecs, where invalid items should be ignored.
  • Add MatrixVersion::V1_14.
oknozor/speculoos (speculoos)

v0.13.0

Compare Source

What's Changed

New Contributors

Full Changelog: oknozor/speculoos@0.12.0...0.13.0

Peternator7/strum (strum)

v0.27.2

Compare Source

  • #​141: Adding support for doc comments on EnumDiscriminants generated type.

    • The doc comment will be copied from the variant on the type itself.
  • #​435:allow discriminants on empty enum.

  • #​443: Change enum table callbacks to FnMut.

  • #​444: Add #[automatically_derived] to the impls by @​dandedotdev in #​444

    • This should make the linter less noisy with warnings in generated code.
  • #​440: Implement a suffix attribute for serialization of enum variants.

    #[derive(strum::Display)]
    #[strum(suffix=".json")]
    #[strum(serialize_all="snake_case")]
    enum StorageConfiguration {
      PostgresProvider,
      S3StorageProvider,
      AzureStorageProvider,
    }
    
    fn main() {
      let response = SurveyResponse::Other("It was good".into());
      println!("Loading configuration from: {}", StorageConfiguration::PostgresProvider);
      // prints: Loaded Configuration from: postgres_provider.json
    }
  • #​446: Drop needless rustversion dependency.

servo/rust-url (url)

v2.5.8

Compare Source

v2.5.7

What's Changed

v.2.5.6
v.2.5.7

New Contributors

Full Changelog: servo/rust-url@v2.5.5...v2.5.7

v2.5.5

Compare Source

What's Changed

New Contributors

Full Changelog: servo/rust-url@v2.5.4...v2.5.5

wasm-bindgen/wasm-bindgen (wasm-bindgen)

v0.2.108

Compare Source

Fixed
  • Fixed regression where panic=unwind builds for non-Wasm targets would trigger UnwindSafe assertions.
    #​4903

v0.2.107

Compare Source

Added
  • Support catching panics, and raising JS Exceptions for them, when building
    with panic=unwind on nightly, with the std feature.
    #​4790

  • Added support for passing &[JsValue] slices from Rust to JavaScript functions.
    #​4872

  • Added private attribute on exported types to allow generating
    exports and structs as implicit internal exported types for function
    arguments and returns, without exporting them on the public interface.
    #​4788

  • Added iter_custom and iter_custom_future for bench to do custom measurements.
    #​4841

  • Added Window Management API.
    #​4843

Changed
  • Changed WASM import namespace from wbg to ./{name}_bg.js for web and no-modules targets,
    aligning with bundler and experimental-nodejs-module to enable cross-target WASM sharing.
    #​4850

  • Replace WASM_BINDGEN_UNSTABLE_TEST_PROFRAW_OUT and WASM_BINDGEN_UNSTABLE_TEST_PROFRAW_PREFIX with parsing LLVM_PROFILE_FILE analogous to Rust test coverage.
    #​4367

  • Typescript custom sections sorted alphabetically across codegen-units.
    #​4738

  • Optimized demangling performance by removing redundant string formatting
    #​4867

  • Changed WASM import namespace from __wbindgen_placeholder__ to ./{name}_bg.js for node targets, aligning with bundler and experimental-nodejs-module to enable cross-target WASM sharing.
    #​4869

  • Changed WASM import namespace from __wbindgen_placeholder__ to ./{name}_bg.js for deno and module targets, aligning with node, bundler and experimental-nodejs-module to enable cross-target WASM sharing.
    #​4871

  • Consolidate JavaScript glue generation
    Move target-specific JS emission into a single finalize phase, reducing
    branching and making the generated output more consistent across targets.

    • Centralize JS output assembly in a single finalize phase (exports/imports/wasm loading).
    • Make --target experimental-nodejs-module emit one JS entrypoint (no separate _bg.js).
    • Ensure Node (CJS/ESM) and bundler entrypoints only expose public exports (no internal import shims).
    • Add /* @&#8203;ts-self-types="./<name>.d.ts" */ to JS entrypoints for JSR/Deno resolution.
    • Refresh reference test fixtures.
      #​4879
  • Forward worker errors to test output in the test runner.
    #​4855

Fixed
  • Fix: Include doc comments in TypeScript definitions for classes
    #​4858

  • Interpreter: support try_table blocks
    #​4862

  • Interpreter: Stop interpretting descriptor after __wbindgen_describe_cast
    #​4862

v0.2.106

Compare Source

Added
  • New MSRV policy, and bump of the MSRV fo 1.71.
    #​4801

  • Added typed this support in the first argument in free function exports via
    a new #[wasm_bindgen(this)] attribute.
    #​4757

  • Added reexport attribute for imports to support re-exporting imported types,
    with optional renaming.
    #​4759

  • Added js_namespace attribute on exported types, mirroring the import
    semantics to enable arbitrarily nested exported interface objects.
    #​4744

  • Added 'container' attribute to ScrollIntoViewOptions
    #​4806

  • Updated and refactored output generation to use alphabetical ordering
    of declarations.
    #​4813

  • Added benchmark support to wasm-bindgen-test.
    #​4812
    #​4823

Fixed
  • Fixed node test harness getting stuck after tests completed.
    #​4776

  • Quote names containing colons in generated .d.ts.
    #​4488

  • Fixes TryFromJsValue for structs JsValue stack corruption on failure.
    #​4786

  • Fixed wasm-bindgen-test-runner outputting empty line when using the --list option. In particular, cargo-nextest now works correctly.
    #​4803

  • It now works to build with -Cpanic=unwind.
    #​4796
    #​4783
    #​4782

  • Fixed duplicate symbols caused by enabling v0 mangling.
    #​4822

  • Fixed a multithreaded wasm32+atomics race where Atomics.waitAsync promise callbacks could call run without waking first, causing sporadic panics.
    #​4821

Removed

v0.2.105

Compare Source

Added
  • Added Math::PI binding to js_sys, exposing the ECMAScript Math.PI constant.
    #​4748

  • Added ability to use --keep-lld-exports in wasm-bindgen-test-runner by setting the WASM_BINDGEN_KEEP_LLD_EXPORTS environment variable.
    #​4736

  • Added CookieStore API.
    #​4706

  • Added run_cli_with_args library functions to all wasm_bindgen_cli entrypoints.
    #​4710

  • Added get_raw and set_raw for WebAssembly.Table.
    #​4701

  • Added new_with_value and grow_with_value for WebAssembly.Table.
    #​4698

  • Added better support for async stack traces when building in debug mode.
    #​4711

  • Extended support for TryFromJsValue trait implementations.
    #​4714

  • New JsValue.is_null_or_undefined() method and intrinsic.
    #​4751

  • Support for Option<JsValue> in function arguments and return.
    #​4752

  • Support for WASM_BINDGEN_KEEP_TEST_BUILD=1 environment variable
    to retain build files when using the test runner.
    #​4758

Fixed
  • Fixed multithreading JS output for targets bundler, deno and module.
    #​4685

  • Fixed TextDe/Encoder detection for audio worklet use-cases.
    #​4703

  • Fixed post-processing failures in case Std has debug assertions enabled.
    #​4705

  • Fixed JS memory leak in wasm_bindgen::Closure.
    #​4709

  • Fixed warning when using #[wasm_bindgen(wasm_bindgen=xxx)] on struct.
    #​4715

Removed
  • Internal crate wasm-bindgen-backend will no longer be published.
    #​4696

v0.2.104

Compare Source

Added
  • Added bindings for WeakRef.
    #​4659

  • Support Symbol.dispose methods by default, when it is supported in the environment.
    #​4666

  • Added aarch64-unknown-linux-musl release artifacts.
    #​4668

Changed
  • Unconditionally use the global TextEncoder/TextDecoder for string encoding/decoding. The Node.js output now requires a minimum of Node.js v11.
    #​4670

  • Deprecate the msrv crate feature. MSRV detection is now always on.
    #​4675

Fixed
  • Fixed wasm-bindgen-cli's encode_into argument not working.
    #​4663

  • Fixed a bug in --experimental-reset-state-function support for heap reset.
    #​4665

  • Fixed compilation failures on Rust v1.82 and v1.83.
    #​4675


v0.2.103

Compare Source

Fixed
  • Fixed incorrect function mapping during post-processing.
    #​4656

v0.2.102

Compare Source

Added
  • Added DocumentOrShadowRoot.adoptedStyleSheets.
    #​4625

  • Added support for arguments with spaces using shell-style quoting in webdriver *_ARGS
    environment variables to wasm-bindgen-test.
    #​4433

  • Added ability to determine WebDriver JSON config location via
    WASM_BINDGEN_TEST_WEBDRIVER_JSON environment variable to
    wasm-bindgen-test.
    #​4434

  • Generate DWARF for tests by default. See the guide on debug information for more details.
    #​4635

  • New --target=module target for outputting source phase imports.
    #​4638

Changed
  • Hidden deprecated options from the wasm-bindgen --help docs.
    #​4646
Fixed
  • Fixed wrong method names for GestureEvent bindings.
    #​4615

  • Fix crash caused by allocations during TypedArray interactions.
    #​4622


v0.2.101

Compare Source

Added
  • Added format and colorSpace support to VideoFrameCopyToOptions
    #​4543

  • Added support for the onbeforeinput attribute.
    #​4544

  • TypedArray::new_from_slice(&[T]) constructor that allows to create a
    JS-owned TypedArray from a Rust slice.
    #​4555

  • Added Function::call4 and Function::bind4 through Function::call9 Function::bind9 methods for calling and binding JavaScript functions with 4-9 arguments.
    #​4572

  • Added isPointInFill and isPointInStroke methods for the SVGGeometryElement idl.
    #​4509

  • Added unstable bindings for GestureEvent.
    #​4589

  • Stricter checks for module, raw_module and inline_js attributes applied to inapplicable items.
    #​4522

  • Add bindings for PictureInPicture.
    #​4593

  • Added bytes method for the Blob idl
    #​4506

  • Add error message when export symbol is not found
    #​4594

Changed
  • Deprecate async constructors.
    #​4402

  • The size argument to GPUCommandEncoder.copyBufferToBuffer is now optional.
    #​4508

  • MSRV of CLI tools bumped to v1.82. This does not affect libraries like wasm-bindgen, js-sys and web-sys!
    #​4608

Fixed
  • Detect more failure scenarios when retrieving the Wasm module.
    #​4556

  • Add a workaround for TextDecoder failing in older version of Safari when too many bytes are decoded through it over its lifetime.
    #​4472

  • TypedArray::from(&[T]) now works reliably across memory reallocations.
    #​4555

  • Fix incorrect memory loading and storing assertions during post-processing.
    #​4554

  • Fix test --exact option not working as expected.
    #​4549

  • Fix tables being removed even though they are used by stack closures.
    #​4119

  • Skip __wasm_call_ctors which we don't want to interpret.
    #​4562

  • Fix infinite recursion caused by the lack of proc-macro hygiene.
    #​4601

  • Fix running coverage with no_modules.
    #​4604

  • Fix proc-macro hygiene with core.
    #​4606

Removed
  • Crates intended purely for internal consumption by the wasm-bindgen CLI will no longer be published:
    #​4608

    • wasm-bindgen-externref-xform
    • wasm-bindgen-multi-value-xform
    • wasm-bindgen-threads-xform
    • wasm-bindgen-wasm-conventions
    • wasm-bindgen-wasm-interpreter

VoidStarKat/widestring-rs (widestring)

v1.2.1

Compare Source

Changed
  • Git repository URL has changed due to GitHub user name change. Old URL is redirected.
Fixed
  • trim_end character boundary panic when processing 4-byte characters. By [@​syrflover].
  • Fixed completely broken U16String::insert_char which always panicked. Fixes [#​46].
  • Documentation typos on WideCString type alias.
  • Fixed unused_import lint on wide* macros.
Added
  • Added GDB pretty printers for Utf32String and Utf32Str. You can load them from gdb/widestring.py.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the Rust label Mar 27, 2025
@codecov-commenter
Copy link

codecov-commenter commented Mar 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.37%. Comparing base (3408a75) to head (24eb63a).

❗ There is a different number of reports uploaded between BASE (3408a75) and HEAD (24eb63a). Click for more details.

HEAD has 6 uploads less than BASE
Flag BASE (3408a75) HEAD (24eb63a)
unittests 3 1
unittests-rust 1 0
unittests-ios 1 0
uitests 1 0
uitests-ios 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
- Coverage   89.14%   83.37%   -5.77%     
==========================================
  Files         169       18     -151     
  Lines       19641     1582   -18059     
  Branches      296      296              
==========================================
- Hits        17508     1319   -16189     
+ Misses       2130      260    -1870     
  Partials        3        3              
Flag Coverage Δ
uitests ?
uitests-ios ?
unittests 83.37% <ø> (-4.46%) ⬇️
unittests-ios ?
unittests-react 83.37% <ø> (ø)
unittests-rust ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/rust branch from 5fce243 to 5bf3e58 Compare March 28, 2025 18:54
@renovate renovate bot changed the title Update Rust crate once_cell to v1.21.2 Update Rust crate once_cell to v1.21.3 Mar 28, 2025
@renovate renovate bot force-pushed the renovate/rust branch from 5bf3e58 to d05744b Compare April 6, 2025 05:37
@renovate renovate bot changed the title Update Rust crate once_cell to v1.21.3 Update Rust Apr 6, 2025
@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from c0c287d to bf98879 Compare April 10, 2025 07:55
@sonarqubecloud
Copy link

@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from 56dba3c to a4ddd06 Compare June 9, 2025 22:30
@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from cc0f717 to 2ee657d Compare June 26, 2025 23:40
@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from 9f7e70c to d500be9 Compare July 8, 2025 21:16
@renovate renovate bot force-pushed the renovate/rust branch 2 times, most recently from 52bbe6d to fffb65e Compare July 25, 2025 11:42
@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from 8e32ba8 to 39d588a Compare August 24, 2025 17:42
@renovate
Copy link
Author

renovate bot commented Sep 4, 2025

⚠️ Artifact update problem

Renovate failed to update artifacts 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/wysiwyg/Cargo.toml --package wasm-bindgen@0.2.100 --precise 0.2.108
    Updating crates.io index
error: failed to select a version for the requirement `wasm-bindgen = "=0.2.100"`
candidate versions found which didn't match: 0.2.108
location searched: crates.io index
required by package `web-sys v0.3.77`
    ... which satisfies dependency `web-sys = "^0.3.60"` (locked to 0.3.77) of package `wysiwyg v2.41.1 (/tmp/renovate/repos/github/element-hq/matrix-rich-text-editor/crates/wysiwyg)`
    ... which satisfies path dependency `wysiwyg` (locked to 2.41.1) of package `uniffi-wysiwyg-composer v2.41.1 (/tmp/renovate/repos/github/element-hq/matrix-rich-text-editor/bindings/wysiwyg-ffi)`

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path bindings/wysiwyg-wasm/Cargo.toml --package js-sys@0.3.77 --precise 0.3.85
    Updating crates.io index
error: failed to select a version for the requirement `js-sys = "=0.3.77"`
candidate versions found which didn't match: 0.3.85
location searched: crates.io index
required by package `web-sys v0.3.77`
    ... which satisfies dependency `web-sys = "^0.3.60"` (locked to 0.3.77) of package `wysiwyg v2.41.1 (/tmp/renovate/repos/github/element-hq/matrix-rich-text-editor/crates/wysiwyg)`
    ... which satisfies path dependency `wysiwyg` (locked to 2.41.1) of package `uniffi-wysiwyg-composer v2.41.1 (/tmp/renovate/repos/github/element-hq/matrix-rich-text-editor/bindings/wysiwyg-ffi)`

@renovate renovate bot force-pushed the renovate/rust branch 4 times, most recently from 3e49aaa to 228e92a Compare September 30, 2025 04:47
@sonarqubecloud
Copy link

@renovate renovate bot force-pushed the renovate/rust branch 10 times, most recently from 7727cfb to 811a7ee Compare January 12, 2026 05:12
@renovate renovate bot force-pushed the renovate/rust branch 5 times, most recently from ef7f236 to 0c124e9 Compare January 19, 2026 06:14
@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from 4b1a04c to 423848f Compare January 22, 2026 13:11
@renovate renovate bot force-pushed the renovate/rust branch 5 times, most recently from 64de4ab to 8a8e82e Compare February 6, 2026 18:07
@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from 24c2d54 to aea74b2 Compare February 12, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant