4 Commits

7 changed files with 110 additions and 11 deletions

View File

@@ -1,12 +1,13 @@
<services>
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/rustwasm/wasm-bindgen.git</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<!-- WARNING WARNING WARNING -->
<!-- This version *MUST* be updated in lock-step with wasm-pack -->
<!-- This version *MUST* be updated in lock-step -->
<!-- and lldap and wasm-pack -->
<!-- Failure to do so WILL break packages!!! -->
<param name="revision">0.2.97</param>
<param name="revision">0.2.100</param>
<!-- WARNING WARNING WARNING -->
<param name="match-tag">*</param>
<param name="changesgenerate">enable</param>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/rustwasm/wasm-bindgen.git</param>
<param name="changesrevision">7fa2afabdb259516fe8b942ed8353faaa8366da0</param></service></servicedata>
<param name="changesrevision">2405ec2b4bcd1cc4e3bd1562c373e9d5f0cbdcb5</param></service></servicedata>

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af61678fe19fc8d0da73d3e925e511818a3fcaafca746da484c47db385da5e12
size 37360188
oid sha256:7ba526d1a8112f17fe0b1c1e6abc2ae4e382bf020eac7fbfcdf647bcf6bfc657
size 37565465

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f1e024550ad21d4cbac9d1d88a9bedda9b34aa1cfb7ba28d1fca4f9a1a054b1
size 1701795

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4b881d3cd85018d358972190ac934344d8378ef7fc10ef9d73fcbc0161a45b7
size 1685705

View File

@@ -1,3 +1,101 @@
-------------------------------------------------------------------
Thu Nov 06 08:12:21 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- remove TAG_OFFSET from version number, as this makes version
constraints a pain
- Update to version 0.2.100:
* Added
- Add attributes to overwrite return (``unchecked_return_type)
and parameter types (unchecked_param_type`), descriptions
(`return_description` and `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 all TypedArrays. 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 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
* Fixed
- Fixed using JavaScript keyword as identifiers not being
handled correctly. #4329
- 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
- Update to version 0.2.99:
* Fixed
- Mark wasm-bindgen v0.2.98 only compatible with
wasm-bindgen-cli of the same version. #4331
- Update to version 0.2.98:
* Added
- Add support for compiling with atomics for Node.js. #4318
- Add WASM_BINDGEN_TEST_DRIVER_TIMEOUT environment variable to
control the timeout to start and connect to the test driver.
#4320
- Add support for number slices of type MaybeUninit<T>. #4316
* Changed
- Remove once_cell/critical-section requirement for no_std with
atomics. #4322
- static FOO: Option<T> now returns None if undeclared in JS
instead of throwing an error in JS. #4319
* Fixed
- Fix macro-hygiene for calls to std::thread_local!. #4315
- Fix feature resolver version 1 compatibility. #4327
-------------------------------------------------------------------
Wed May 7 04:34:29 UTC 2025 - William Brown <william.brown@suse.com>
- bsc#1242600 - CVE-2025-3416 - openssl use-after-free
-------------------------------------------------------------------
Wed Jan 08 00:07:18 UTC 2025 - william.brown@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package wasm-bindgen
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: wasm-bindgen
Version: 0.2.97~0
Version: 0.2.100
Release: 0
Summary: Facilitating high-level interactions between Wasm modules and JavaScript
License: Apache-2.0 OR MIT