NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4177 most downloaded on crates.io
Utilities for working with Wasm codegen conventions (usually established by LLVM/lld)
Latest stable
0.2.100
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 5 months
Nearly every release is documented
notes for 50 of 50 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
50 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Add attributes to overwrite return (`unchecked_return_type) and parameter types (unchecked_param_type), descriptions (return_description and param_des
Released 2025-01-12
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
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
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 using JavaScript keyword as identifiers not being handled correctly. #4329
struct and enum names will now error at compile time, instead of causing invalid JS code gen.js_namespace on imports.js_namespace or module attribute.js_namespace or module attribute._{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
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Mark wasm-bindgen v0.2.98 only compatible with wasm-bindgen-cli of the same version. #4331
Released 2024-12-07
wasm-bindgen v0.2.98 only compatible with wasm-bindgen-cli of the same version.
#4331Add support for compiling with atomics for Node.js. #4318
Released 2024-12-07
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
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
Fix macro-hygiene for calls to std::thread_local!.
#4315
Fix feature resolver version 1 compatibility. #4327
Fixed js-sys and wasm-bindgen-futures relying on internal paths of wasm-bindgen that are not crate feature additive. #4305
Released 2024-11-30
js-sys and wasm-bindgen-futures relying on internal paths of wasm-bindgen that are not crate feature additive.
#4305Deprecate autofocus, tabIndex, focus() and blur() bindings in favor of bindings on the inherited Element class. #4143
Released 2024-11-29
Added support for the HTMLOrSVGElement mixin, which is used for all interfaces deriving from Element.
#4143
Added bindings for MathMLElement. #4143
Added JSDoc type annotations to C-style enums. #4192
Added support for C-style enums with negative discriminants. #4204
Added bindings for MediaStreamTrack.getCapabilities.
#4236
Added WASM ABI support for u128 and i128
#4222
Added support for the wasm32v1-none target.
#4277
Added support for no_std to js-sys, web-sys, wasm-bindgen-futures and wasm-bindgen-test.
#4277
Added support for no_std to link_to!, static_string (via thread_local_v2) and throw.
#4277
Added environment variables to configure tests: WASM_BINDGEN_USE_BROWSER, WASM_BINDGEN_USE_DEDICATED_WORKER, WASM_BINDGEN_USE_SHARED_WORKER WASM_BINDGEN_USE_SERVICE_WORKER, WASM_BINDGEN_USE_DENO and WASM_BINDGEN_USE_NODE_EXPERIMENTAL. The use of wasm_bindgen_test_configure! will overwrite any environment variable.
#4295
String enums now generate private TypeScript types but only if used. #4174
Remove unnecessary JSDoc type annotations from generated .d.ts files
#4187
Deprecate autofocus, tabIndex, focus() and blur() bindings in favor of bindings on the inherited Element class.
#4143
Optimized ABI performance for Option<{i32,u32,isize,usize,f32,*const T,*mut T}>.
#4183
Deprecate --reference-types in favor of automatic target feature detection.
#4237
wasm-bindgen-test-runner now tries to restart the WebDriver on failure, instead of spending its timeout period trying to connect to a non-existing WebDriver.
#4267
Deprecated #[wasm_bindgen(thread_local)] in favor of #[wasm_bindgen(thread_local_v2)], which creates a wasm_bindgen::JsThreadLocal. It is similar to std::thread::LocalKey but supports no_std.
#4277
Updated the WebGPU API to the current draft as of 2024-11-22. #4290
Improved error messages for self arguments in invalid positions.
#4276
Fixed methods with self: &Self consuming the object.
#4178
Fixed unused string enums generating JS values. #4193
Fixed triggering lints in testing facilities. #4195
Fixed #[should_panic] not working with #[wasm_bindgen_test(unsupported = ...)].
#4196
Fixed potential null error when using JsValue::as_debug_string().
#4192
Fixed generated types when the getter and setter of a property have different types. #4202
Fixed generated types when a static getter/setter has the same name as an instance getter/setter. #4202
Fixed invalid TypeScript return types for multivalue signatures. #4210
Only emit table.fill instructions if the bulk-memory proposal is enabled.
#4237
Fixed calls to JsCast::instanceof() not respecting JavaScript namespaces.
#4241
Fixed imports for functions using this and late binding.
#4225
Don't expose non-functioning implicit constructors to classes when none are provided. #4282
Added support for implicit discriminants in enums. #4152
Released 2024-10-10
Added support for implicit discriminants in enums. #4152
Added support for Self in complex type expressions in methods.
#4155
Fixed generated setters from WebIDL interface attributes binding to wrong JS method names. #4170
Fix string enums showing up in JS documentation and TypeScript bindings without corresponding types. #4175
Deprecated Gamepad::display_id and GamepadHapticActuator::type_. #4134
Released 2024-10-09
Added support for the WebAssembly Tail Call proposal.
#4111
Add bindings for RTCPeerConnection.setConfiguration(RTCConfiguration) method.
#4105
Add bindings to RTCRtpTransceiverDirection.stopped.
#4102
Added experimental support for Symbol.dispose via WASM_BINDGEN_EXPERIMENTAL_SYMBOL_DISPOSE.
#4118
Added bindings for the draft WebRTC Encoded Transform spec. #4125
Added Debug implementation to JsError.
#4136
Added support for js_name and skip_typescript attributes for string enums.
#4147
Added unsupported crate to wasm_bindgen_test(unsupported = test) as a way of running tests on non-Wasm targets as well.
#4150
Added additional bindings for methods taking buffer view types (e.g. &[u8]) with corresponding JS types (e.g. Uint8Array).
#4156
Added additional bindings for setters from WebIDL interface attributes with applicaple parameter types of just JsValue.
#4156
Implicitly enable reference type and multivalue transformations if the module already makes use of the corresponding target features. #4133
Updated Gamepad API. #4134
Deprecated Gamepad::display_id and GamepadHapticActuator::type_.
#4134
Removed GamepadAxisMoveEvent, GamepadAxisMoveEventInit, GamepadButtonEvent, GamepadButtonEventInit and GamepadServiceTest, which were seemingly never implemented by any JS environment.
#4134
Changed TextDecoder.decode() input parameter type from &mut [u8] to &[u8].
#4141
Updated the WebGPU API to the current draft as of 2024-10-07. #4145
Deprecated generated setters from WebIDL interface attribute taking JsValue in favor of newer bindings with specific parameter types.
#4156
Fixed linked modules emitting snippet files when not using --split-linked-modules.
#4066
Fixed incorrect deprecation warning when passing no parameter into default() (init()) or initSync().
#4074
Fixed many proc-macro generated impl blocks missing #[automatically_derived], affecting test coverage.
#4078
Fixed negative BigInt values being incorrectly formatted with two minus signs.
#4082
#4088
Fixed emitted package.json structure to correctly specify its dependencies
#4091
Fixed returning Option<Enum> now correctly has the | undefined type in TS bindings.
#4137
Fixed enum variant name collisions with object prototype fields. #4137
Fixed multiline doc comment alignment and remove empty ones entirely. #4135
Fixed experimental-nodejs-module target when used with #[wasm_bindgen(start)].
#4093
Fixed error when importing very large JS files. #4146
Specify "type": "module" when deploying to nodejs-module
#4092
Fixed string enums not generating TypeScript types. #4147
Bindings that take buffer view types (e.g. &[u8]) as parameters will now correctly return a Result when they might not support a backing SharedArrayBuffer. This only applies to new and unstable APIs, which won't cause a breaking in the API.
#4156
Deprecate builder-pattern type setters for WebIDL dictionary types and introduce non-mutable setters instead. #3993
Released 2024-08-13
Allow exporting functions named default. Throw error in wasm-bindgen-cli if --target web and
an exported symbol is named default.
#3930
Added support for arbitrary expressions when using #[wasm_bindgen(typescript_custom_section)].
#3901
Implement From<NonNull<T>> for JsValue.
#3877
Add method copy_within for TypedArray, add methods find_last,find_last_index for Array.
#3888
Added support for returning Vecs from async functions.
#3630
Added bindings for InputDeviceInfo and MediaTrackCapabilities.
#3935
Add bindings for RTCRtpReceiver.getCapabilities(DOMString) method.
#3941
Add bindings for VisualViewport.
#3931
Add bindings for queueMicrotask.
#3981
Add experimental bindings for User Agent Client Hints API #3989
Add bindings for FocusOptions.
#3996
Add bindings for RTCRtpReceiver.jitterBufferTarget.
#3968
Generate getters for all WebIDL dictionary types. #3993
Support for iterable in WebIDL. Gives entries, keys, values methods for regular and asynchronous, as well as for_each for regular, iterables.
#3962
Add bindings for HTMLTableCellElement.abbr and scope properties.
#3972
Add WebIDL definitions relating to Popover API.
#3977
Added the thread_stack_size property to the object parameter of default() (init()) and initSync(), making it possible to set the stack size of spawned threads. __wbindgen_thread_destroy() now has a third optional parameter for the stack size, the default stack size is assumed when not passing it. When calling from the thread to be destroyed, by passing no parameters, the correct stack size is determined internally.
#3995
Added bindings to the Device Memory API. #4011
Added support for WebIDL records. This added new methods to various APIs, notably ClipboardItem(), GPUDeviceDescriptor.requiredLimits and Header().
#4030
Added an official MSRV policy. Library MSRV changes will be accompanied by a minor version bump. CLI tool MSRV can change with any version bump. #4038
Added bindings to NavigatorOptions.vibrate.
#4041
Added an experimental Node.JS ES module target, in comparison the current node target uses CommonJS, with --target experimental-nodejs-module or when testing with wasm_bindgen_test_configure!(run_in_node_experimental).
#4027
Added importing strings as JsString through #[wasm_bindgen(thread_local, static_string)] static STRING: JsString = "a string literal";.
#4055
Added experimental test coverage support for wasm-bindgen-test-runner, see the guide for more information.
#4060
Stabilize Web Share API. #3882
Generate JS bindings for WebIDL dictionary setters instead of using Reflect. This increases the size of the Web API bindings but should be more performant. Also, importing getters/setters from JS now supports specifying the JS attribute name as a string, e.g. #[wasm_bindgen(method, setter = "x-cdm-codecs")].
#3898
Greatly improve the performance of sending WebIDL 'string enums' across the JavaScript boundary by converting the enum variant string to/from an int. #3915
Use table.fill when appropriate.
#3446
Annotated methods in WebCodecs that throw. #3970
Update and stabilize the Clipboard API. #3992
Deprecate builder-pattern type setters for WebIDL dictionary types and introduce non-mutable setters instead. #3993
Allow imported async functions to return any type that can be converted from a JsValue.
#3919
Update Web Authentication API to level 3. #4000
Deprecate AudioBufferSourceNode.onended and AudioBufferSourceNode.stop().
#4020
Increase default stack size for spawned threads from 1 to 2 MB. #3995
Deprecated parameters to default (init) and initSync in favor of an object.
#3995
Update AbortSignal and AbortController according to the WHATWG specification.
#4026
Update the Indexed DB API. #4027
UnwrapThrowExt for Result now makes use of the required Debug bound to display the error as well.
#4035
#4049
MSRV of CLI tools bumped to v1.76. This does not affect libraries like wasm-bindgen, js-sys and web-sys!
#4037
Filtered files in published crates, significantly reducing the package size and notably excluding any bash files. #4046
Deprecated JsStatic in favor of #[wasm_bindgen(thread_local)], which creates a std::thread::LocalKey. The syntax is otherwise the same.
#4057
Removed impl Deref for JsStatic when compiling with cfg(target_feature = "atomics"), which was unsound.
#4057
Updated the WebGPU WebIDL to the current draft as of 2024-08-05. #4062
Use object URLs for linked modules without --split-linked-modules.
#4067
Copy port from headless test server when using WASM_BINDGEN_TEST_ADDRESS.
#3873
Fix catch not being thread-safe.
#3879
Fix MSRV compilation. #3927
Fix clippy::empty_docs lint.
#3946
Fix missing target features in module when enabling reference types or multi-value transformation. #3967
Fixed Rust values getting GC'd while still borrowed. #3940
Fixed Rust values not getting GC'd if they were created via. a constructor. #3940
Fix triggering clippy::mem_forget lint in exported structs.
#3985
Fix MDN links to static interface methods. #4010
Fixed Deno support. #3990
Fix __wbindgen_thread_destroy() ignoring parameters.
#3995
Fix no_std support and therefor compiling with default-features = false.
#4005
Fix byte order for big-endian platforms. #4015
Allow ex/importing structs, functions and parameters named with raw identifiers. #4025
Implement a more reliable way to detect the stack pointer. #4036
#[track_caller] is now always applied on UnwrapThrowExt methods when not targeting wasm32-unknown-unknown.
#4042
Fixed linked modules emitting snippet files when not using --split-linked-modules.
#4066
Add bindings for RTCPeerConnectionIceErrorEvent. #3835
Released 2024-03-04
Add bindings for RTCPeerConnectionIceErrorEvent.
#3835
Add bindings for CanvasState.reset(), affecting CanvasRenderingContext2D and OffscreenCanvasRenderingContext2D.
#3844
Add TryFrom implementations for Number, that allow losslessly converting from 64- and 128-bits numbers.
#3847
Add support for Option<*const T>, Option<*mut T> and NonNull<T>.
#3852
#3857
Allow overriding the URL used for headless tests by setting WASM_BINDGEN_TEST_ADDRESS.
#3861
Make .wasm output deterministic when using --reference-types.
#3851
Don't allow invalid Unicode scalar values in char.
#3866
Deprecate wasm_bindgen_test_configure!s run_in_worker in favor of run_in_dedicated_worker. #3804
Released 2024-02-06
Added bindings for the RTCRtpTransceiver.setCodecPreferences() and unstable bindings for the RTCRtpEncodingParameters.scalabilityMode.
#3828
Add unstable bindings for the FileSystemAccess API #3810
Added support for running tests in shared and service workers with wasm_bindgen_test_configure! run_in_shared_worker and run_in_service_worker.
#3804
Accept the --skip flag with wasm-bindgen-test-runner.
#3803
Introduce environment variable WASM_BINDGEN_TEST_NO_ORIGIN_ISOLATION to disable origin isolation for wasm-bindgen-test-runner.
#3807
Add bindings for USBDevice.forget().
#3821
Stabilize ClipboardEvent.
#3791
Use immutable buffers in SubtleCrypto methods.
#3797
Deprecate wasm_bindgen_test_configure!s run_in_worker in favor of run_in_dedicated_worker.
#3804
Updated the WebGPU WebIDL to the current draft as of 2024-01-30. Note that this retains the previous update's workaround for GPUPipelineError, and holds back an update to the buffer argument of the GPUQueue.{writeBuffer,writeTexture} methods.
#3816
Deprecate --weak-refs and WASM_BINDGEN_WEAKREF in favor of automatic run-time detection.
#3822
Fixed UB when freeing strings received from JS if not using the default allocator. #3808
Fixed temporary folder detection by wasm-bindgen-test-runner on MacOS.
#3817
Fixed using #[wasm_bindgen(js_name = default)] with #[wasm_bindgen(module = ...)].
#3823
Fixed nightly build of wasm-bindgen-futures.
#3827
Fix JS shim default path detection for the no-modules target. #3748
Released 2024-01-06
Add bindings for HTMLFormElement.requestSubmit().
#3747
Add bindings for RTCRtpSender.getCapabilities(DOMString) method, RTCRtpCapabilities, RTCRtpCodecCapability and RTCRtpHeaderExtensionCapability.
#3737
Add bindings for UserActivation.
#3719
Add unstable bindings for the Compression Streams API. #3752
#[wasm_bindgen] inside macro_rules!.
#3725InstallTriggerData and Gecko-internal FlexLineGrowthState, GridDeclaration, GridTrackState,
RtcLifecycleEvent and WebrtcGlobalStatisticsReport features.
#3723Add additional constructor to DataView for SharedArrayBuffer. #3695
Released 2023-11-27.
Add additional constructor to DataView for SharedArrayBuffer.
#3695
Stabilize wasm_bindgen::module().
#3690
The DWARF section is now correctly modified instead of leaving it in a broken state. #3483
Fixed an issue where #[wasm_bindgen] automatically derived the TryFrom trait for any struct, preventing custom TryFrom<JsValue> implementations. It has been updated to utilize a new TryFromJsValue trait instead.
#3709
Update the TypeScript signature of __wbindgen_thread_destroy to indicate that it's parameters are optional.
#3703
Csp, CspPolicies, CspReport and CspReportProperties.
#3721It was also automatically changed for IdbFileHandle, which is deprecated. #3537
Released 2023-11-01
Add bindings for RTCRtpTransceiverInit.sendEncodings.
#3642
Add bindings for the Web Locks API to web-sys.
#3604
Add bindings for ViewTransition to web-sys.
#3598
Extend AudioContext with unstable features supporting audio sink configuration.
#3433
Add bindings for WebAssembly.Tag and WebAssembly.Exception.
#3484
Re-export wasm-bindgen from js-sys, web-sys and wasm-bindgen-futures.
#3466
#3601
Re-export js-sys from web-sys and wasm-bindgen-futures.
#3466
#3601
Add bindings for async variants of Atomics.wait.
#3504
Add bindings for WorkerGlobalScope.performance.
#3506
Add support for installing pre-built artifacts of wasm-bindgen-cli
via cargo binstall wasm-bindgen-cli.
#3544
Add bindings for RTCDataChannel.id.
#3547
Add bindings for HTMLElement.inert.
#3557
Add unstable bindings for the Prioritized Task Scheduling API. #3566
Add bindings for CssStyleSheet constructor and replace(_sync) methods.
#3573
Add bindings for CanvasTransform.setTransform(DOMMatrix2DInit).
#3580
Add a crate attribute to the wasm_bindgen_test proc-macro to specify a
non-default path to the wasm-bindgen-test crate.
#3593
Add support for passing Vecs of exported Rust types and strings to/from JS.
#3554
Implement TryFrom<JsValue> for exported Rust types and strings.
#3554
Handle the #[ignore = "reason"] attribute with the wasm_bindgen_test
proc-macro and accept the --include-ignored flag with wasm-bindgen-test-runner.
#3644
Added missing additions to the Notification API. #3667
Updated the WebGPU WebIDL.
The optional message argument of GPUPipelineError's constructor has been manually specified as a required argument,
because required arguments occurring after optional arguments are currently not supported by the generator.
#3480
Replaced curl with ureq. By default we now use Rustls instead of OpenSSL.
#3511
Changed mutability of the argument buffer in write functions to immutable for FileSystemSyncAccessHandle and FileSystemWritableFileStream.
It was also automatically changed for IdbFileHandle, which is deprecated.
#3537
Changed behavior when compiling to wasm32-wasi to match wasm32-emscripten and
non-Wasm targets, generating a stub that panics when called rather than a wasm-
bindgen placeholder.
#3233
Changed constructor implementation in generated JS bindings, it is now
possible to override methods from generated JS classes using inheritance.
When exported constructors return Self.
#3562
Made wasm-bindgen forwards-compatible with the standard C ABI.
#3595
Changed the design of the internal WasmAbi trait. Rather than marking a type
which can be passed directly as a parameter/result to/from JS, it now lets
types specify how they can be split into / recreated from multiple primitive
types which are then passed to/from JS.
WasmPrimitive now serves the old function of WasmAbi, minus allowing
#[repr(C)] types.
#3595
Use queueMicrotask in wasm-bindgen-futures for scheduling tasks on the next tick.
If that is not available, use the previous Promise.then mechanism as a fallback.
This should avoid quirks, like exceptions thrown get now properly reported
as normal exceptions rather than as rejected promises.
#3611
Improved TypeScript bindings to accurately reference Rust enum types in function signatures, enhancing type safety and compatibility. #3647
Throw an error on enum name collisions, previously only one enum would be emitted. #3669
Fixed wasm_bindgen macro to handle raw identifiers in field names.
#3621
Fixed bindings and comments for Atomics.wait.
#3509
Fixed wasm_bindgen_test macro to handle raw identifiers in test names.
#3541
Fixed Cargo license field to follow the SPDX 2.1 license expression standard. #3529
Use fully qualified paths in the wasm_bindgen_test macro.
#3549
Fixed bug allowing JS primitives to be returned from exported constructors. #3562
Fixed optional parameters in JSDoc. #3577
Use re-exported js-sys from wasm-bindgen-futures to account for
non-default path specified by the crate attribute in wasm_bindgen_futures
proc-macro.
#3601
Fix bug with function arguments coming from macro_rules!.
#3625
Fix some calls to free() missing alignment.
#3639
Fix wrong ABI for raw pointers. #3655
Removed ReadableStreamByobReader::read_with_u8_array() because it doesn't work with Wasm.
#3582
Removed GetNotificationOptions, NotificationBehavior and Notification.get() because
they don't exist anymore.
Deprecate HtmlMenuItemElement and parts of HtmlMenuElement. #3448
Released 2023-05-16. changes --------------------------------------------------------------------------------
Released 2023-05-09. changes --------------------------------------------------------------------------------
Released 2023-02-01. changes --------------------------------------------------------------------------------
Released 2022-09-12. changes --------------------------------------------------------------------------------
Released 2022-07-25. changes --------------------------------------------------------------------------------
Released 2022-06-14. changes --------------------------------------------------------------------------------
Released 2022-04-04. changes --------------------------------------------------------------------------------
Released 2022-01-19. changes --------------------------------------------------------------------------------
7f820db4b4b8b2e9707363aaa48883e79868e082 Bump to 0.2.78
Extend<A> for Array where A: AsRef<JsValue> (#2681)This list of changes was auto generated.
123d5f584f3861f2e1d1ffed10d1a579c9bdd1c2 Bump to 0.2.77
JsValues (#2629)async functions (#2665)WorkerType feature (#2666) [ #2656 ]This list of changes was auto generated.
a881a83c5aa48e841dcc13b7089f1f9f35252fe1 Bump to 0.2.76
no_deref attribute to opt out of generating deref impls for imported types (#2652)This list of changes was auto generated.
e104d1695a89de8c8050b7abaedf5ea9330f3cd8 Bump to 0.2.75
e104d1695a89de8c8050b7abaedf5ea9330f3cd8 Bump to 0.2.75 (#2643)
814efc918ebd66f704f2e0b5edb47e740b1a69fa Add #[wasm_bindgen(getter_with_clone)] attribute (#2633)
0e69e0ec10cca3c84b828bed9db2f78d4b1e0879 fix ui-tests for rust 1.54 (#2638)
3b3d95a1ba3b3055ec06be68815ae30401099c35 Fix cast in performance API example (#2634)
b97837b0989b58595f3ef72bd5691ce420591204 Implement Default for JS types (#2626)
c2f6b000bf14f0703f24014ba2b734126c23598f Implement FromStr for JsString (#2625)
7caeb3198e6af8903f080ae12d720b964787f0bd Fix non-compliling examples (#2624)
872c57e2dd3efc011222f834993a526f2197c6b4 Document #2614 (#2621)
bf39cfd8bc7e6189425042c864d0079fc1b9c8b4 Implement To/FromWasmAbi traits for boxed slices of JsValue wrappers (#2614)
17eab63426b5db485b69f15dbefa2e52e2f77c89 added WebHID to web-sys (#2617) <details><summary><b>See More</b></summary>
d83d33ce9a41f49b2ffb90138899c5a3834764db Fix webrtc_datachannel example panic in Safari (#2616)
a8245bda4676f165c9c12195dd34de834dbbcf78 Upgraded examples/webgl to use WebGL2 instead of WebGL1 (#2609)
eb855e3fd48188bef6bbea8180102f5fe550a0e5 fix: load internal node modules without string raw (#2606) [ #2605 ]
837e354aefe672dc3111f6658a9b0705846e859a Pass-through file urls to Deno.readFile (#2600)
e4ab2602da0eb41cadf367aad254a075647ae403 Added WebAssembly.Global (#2595)
1e4152913ca90f316a1434b395a58c42d8beb774 bump the IDL for Clipboard, and make navigator.clipboard fallible (#2598)
b2caf8370fa16a69fc405e667d6936247e14b64d Update to latest WebGPU WebIDL (#2596)
80da105db8b94f034eb271722929f595702ee6e4 Try to fix #2296 and support to get wasm file through http protocol (#2297)
41a6a438eb7d498c423c9ffae7f60e857c6356e6 Clarify use of final in docs (#2592) [ #2588 ]
316b0ce222c156fcbe12e8c2c88576bb990e8d1e Enabling more Stream functionality (#2584)
87406a6c937771b05efbfbe169e37cfeed76bdeb Adding unstable APIs for stable types. (#2586)
8594cae64b435cb5ab4d5233336fd15b3cb8cec2 Use standard memory name for the export (#2583)
e8bf537001432e7727e4477508bdc445f54df594 3 Features were missing in Cargo.toml (#2580)
cf578cccd4cea5788a8c3c5d48d1de11cec98fe7 Fixed some find/replace errors (aundefined => avoid) (#2579)
95ef255d1e74d7edad1ce20318960a7ca7eb8985 Removed a duplicate use statement (#2577)
70bc8916cdfeb58df44f6424e6b1ec0368ec6bac Enable additional TextMetrics properties (#2575)
72ef869f208164ec016f0d1b8deeec71b59bb1a8 ScreenWakeLock.webidl (#2568)
78a372183b5d285c6ad4936d5abc8e6d1c461a96 Add wasm in web worker example (#2556) [ #2549 ]
This list of changes was auto generated.</details>
27c7a4d06c7514fc8b8ba2260255728c96778d3e Bump to 0.2.74
27c7a4d06c7514fc8b8ba2260255728c96778d3e Bump to 0.2.74
f722cec33535b770ebaebb7ae90f0cf0b796a9e7 Fix build of raytrace example on nightly (#2488) [ #2487 ]
c8fb41faf1d367e4b5e4b695c9493dc1684742e6 Don't flag published docs as experimental
44fb4ad28ca6a8ba7170c8443d88c8e033bc82eb Update trybuild expected errors
723674820fa78115cdafabadfb7a4b52fbd4285d Relax schema version constraints (#2546)
4e677bb73a3ffef9953595498ce54f8423df2187 Upgrade to GitHub-native Dependabot (#2542)
d4679a03369fb1bc52f83108c8d30b77b4494055 Add --omit-default-module-path CLI flag (#2519)
fda6bb9f24273239ff2519e66a13e214209f5d0b Work around for building with webpack5 (#2512)
0d911ead9cc05e40605518a3c2e6a77d5238f1ac Update walrus to 0.19.0 (#2529) [ #2522 ]
cb413adf0ef5841d7b4836a037d0c01cfd93ed9c Fix typo wasm_bidngen to wasm_bindgen (#2528) <details><summary><b>See More</b></summary>
aa32f4aeed2a8675c759a67acf88779a4b2e46b1 Add complete WebIDL for ReadableStream (#2478)
862e13defa2aa888f84f33e58d3e3e149cd170a2 docs: fix typo and grammar in browser-support (#2515)
This list of changes was auto generated.</details>
3cefe2c8246141fa32c169ccbaf0e49a07b6f056 Bump to 0.2.73
js_namespace (#2510) [ #2508 ]This list of changes was auto generated.
44d577f6b89dc7cc572ea0747833d38ba680e93b Bump to 0.2.72
--target no-modules example (#2501)This list of changes was auto generated.
38ba37484514ada14fafb5c98d3b82c6988dba99 Bump to 0.2.71
38ba37484514ada14fafb5c98d3b82c6988dba99 Bump to 0.2.71 (#2468)
b54c9f43f77c1a80a44ed1204abeea6a727ca034 Update lib.rs (#2464)
68fa1938858467d14079d53410c03ba6e4675b92 Update scrollHeight and scrollTop (#2458)
bc901ad617caf013225276bd0edfcca4afa98146 Rerun rustfmt
e987f94389b820d429adfc4d7fe0c32da99bf720 Fix the codegen of the TableGrow intrinsic (#2450) [ #2446 ]
5442f2664aa2efc4ca1d60b20ded146d2354cd36 Getting the no-modules TypeScript *.d.ts Files Working (#2396)
03c692e112d3efcad5eb9348a1964d9e1b4f4c8a [cli] Fix the UAF with by-value receivers and --weak-refs (#2448)
de2a5d7bda9ee60d53f779794bc3b3643d205272 Emit new URL('...', import.meta.url) for Wasm (#2444)
d6228e687532ba690877af02e2fca8f9024127bb Update browser support caveats (#2441)
920494cde5b13a88f198ddf4f8cc874d99003dcc Avoid errors if vendor-prefixed APIs do not exist (#2438) <details><summary><b>See More</b></summary>
743135f6e9a1070ed95cd4679ec6830faa7733c0 Makes slice argument of web_sys::AudioBuffer::copy_to_channel* non mutable (#2434) (#2436)
This list of changes was auto generated.</details>
b6355c2702ca8ca227463ff55752581e30dc758c Bump to 0.2.70
b6355c2702ca8ca227463ff55752581e30dc758c Bump to 0.2.70 (#2435)
906fa91cb834e59f75b0bfa72e4b49e55f51c9de Fix typo (#2431)
0049fa5b5455d3aebc6d23f0a994bbf71c9536e4 Update WebIDL to use undefined instead of void (#2427)
544bfa3c32cb34c89c3224ee4d6c520de761c0d8 Add WebIDL items DisplayMediaStreamConstraints and getDisplayMedia (#2423)
ffa3e93a7b3efb36c34e4c46fba680eba2aa774c Remove reference to nightly Rust for now stabilised feature. (#2420)
7465a4f84f8047f4acc8e7a2f6ea6977ebea4e58 Fix typo in comment (#2415)
b2fe5d1bc57eec93660be07ceecdd08cb712ab6f Convert async iterators to streams (#2401)
9f725e76b025dbb85d911a54c4a764408ec70bda Try to fix CI
c195746e837d6a1c345e992c316a9c2e43c7bc4f Allow constructors to be immutable and add it for ImageData (#2400)
9d80e7dc17a1f458a2e071959ca6fe66c55b5787 Fix canvas is not a self closing tag. (#2408) <details><summary><b>See More</b></summary>
b79f5b2739885cc33d5b4a8ba5529e8ee8262fbc Add documentation for importing export default (#2403)
d6825ad5ef6e4eeb2ac6c980a319ca2c86f62f55 Handle Expr::Group in the macro parser (#2395) [ #2393 ]
b584407a46a1b9f517d0f606fff954aaa079fa6b Don't emit mutable globals (#2391)
d6d222c9006d4c834042a1ac8cf2e3ebe5861232 Update html_root_url to point to version 0.3 (#2390)
7702823a53b0fd96b70c315231a2d72b4f6a2e9f Adjust Bluetooth IDL for Rust (#2385)
a1259031775ad10c3f84f143825ea95d9f5d26d0 Update lazy_static dependency to "1.0.2" (#2378)
This list of changes was auto generated.</details>
69546a26c19a5bb75bfb9c5a6a02cf495fc3499d Bump to 0.2.69
69546a26c19a5bb75bfb9c5a6a02cf495fc3499d Bump to 0.2.69 (#2377)
83cc988cbfa9ced7be419a3429cbd99c74b1fec1 Document the backend (#2365)
e0ffa8fed39cc49d67863ab6a2c479bf39e29992 Update waitAsync signature to latest spec (#2362) [ #2361 ]
eb0ff9b5dc1247f31c3a6def30d00e6e3d99068d Add support for renaming a struct field with js_name (#2360)
316c5a70fdc4a052fb65ef82bf02d52107b5671b Update to latest WebGPU WebIDL (#2353)
b87a901e1f3345bf79adbfca774e6f44c13e80c8 added WebUSB API (#2345)
1d2d345781943bbe5fc919573a296be007b7e9f9 Fix ImageCapture API (#2347) (#2348)
45d2f2df2d2a1424bc835e010073343c2d3b18c7 Update reference tests for wat changes (#2352)
3c0c2b39a44a584fa9ed984c663a59d08561d179 Fix typo (#2349)
1817a88c1df6d8c9c331875011dc6c367a5e795d Fix typo (#2346) <details><summary><b>See More</b></summary>
b49bc2e9fd0273daf3552efb4d2962edf6ff0924 Fix typo (#2344)
a314c86a0c50331d4571d2fa4e66403ef1aededf Bump cfg-if to 1.0 (#2336)
60e39c65ec346bb3816a6a6b0d614e85bb287430 Update env_logger requirement from 0.7 to 0.8 (#2333)
0b5b8009711f0d580ffcc2973eac3e93d9bfa7ea Fix typo (#2332)
9554beef5fa929d7b3c8d68e582ee2084f945fae Update cfg-if requirement from 0.1.9 to 1.0.0 (#2326)
28d4575839b55dad58426353d06b67e342b9180c Add dataview attribute output to WebIDL Codegen (#2316) [ #2312 ]
4da073ca06ca81f05e78c19e75ba7f7702141850 example/webaudio: Fix typo for the link to compiled example (#2315)
d6399607bff71bad2250540fe9c027ef466f0e6c Add WebBluetooth to unstable directory (#2311)
6dd8f1cb394ed19b35e6e21e9e4499f321fd4857 cli-support: Remove Node.js specific passStringToWasm (#2310)
09c5b82eb32a603435821161325cb4edf46c1abe Remove obsolete note from raytrace-parallel example (#2307)
This list of changes was auto generated.</details>
Released 2020-11-30.
Unstable bindings for WebBluetooth have been added. #2311
Unstable bindings for WebUSB have been added. #2345
Renaming a struct field with js_name is now supported.
#2360
The WebGPU WebIDL has been updated. #2353
The ImageCapture APIs of web-sys have been moved to unstable and were fixed. #2348
Bindings for waitAsync have been updated.
#2362
a04e189712a6e55056b871967f1408c8b9344f5f Bump to 0.2.68
a04e189712a6e55056b871967f1408c8b9344f5f Bump to 0.2.68 (#2305)
1ca54f271936b8cdbb86c8ef72807ccedb456b11 Fix two cases of non-deterministic iteration (#2304) [ #2302 ]
c34606e274912cbf67475bfb34e695146d30322c Set Content-Type header when curling webdriver (#2261) (#2301)
7ef55916225cdcd6879487d4e14ee0b2577e5f97 Fix compile error with futures crate using a renamed function (#2299)
0be6887089d19f11bda7a821410e40ae941e7539 Update a reference test for 1.46
5ed1f177d9b59dcb88d057647dcc6cfed6e6abad Update rustc errors for new stable release
520e2ada1029369a6d57659f486aeb8c09ddfde0 Changed externref_table to use geometric resizing, giving amortized O(1) insertions (#2294)
0cd5f164c5bc1da372b8c2772ad09dac2b3bd853 ts declaration file name for wasm import (#2283)
49dc58e58f0a8b5921eb7602ab72e82ec51e65e4 Add userVisibleOnly property to PushSubscriptionOptionsInit (#2288) [ #2287 ]
567364eb1958bf8a90799f542b52aa5c50e6a0ab Fix typo in wasm-bindgen-test README (#2275) <details><summary><b>See More</b></summary>
b11a4e3fb5e6fae1b0d719d532e3bc7829db7709 Update to latest WebGPU WebIDL (#2267)
af60f476c8c08616c9480e9b58578fb9bca93b2d Update Map.for_each docs (#2266)
b1daf8180348c296b65f762fd2be455cb4c8dd91 Modernize some documentation
c6db48807690bea09ed8d238c3ca6728e1159819 wut
This list of changes was auto generated.</details>
Released 2020-09-08.
TypeScript files now import *.wasm instead of bare files.
#2283
Usage of externref now appropriately resizes the table by using 2x the
previous capacity, fixing a performance issue with lots of externref objects.
#2294
Compatibility with the latest Firefox WebDriver has been fixed. #2301
Non deterministic output with closures has been fixed. #2304
7badcd3ad62c72c84a4c9c84212557681e6fd06e Bump to 0.2.67
Closure::forget (#2258)--reference-types CLI flag (#2257)This list of changes was auto generated.
Released 2020-07-28.
--reference-types flag was added to the CLI.
#2257Closure::forget in 0.2.66 was fixed.
#2258b72678a6ea37e299816bc1ba54fa318d084ff76a Bump to 0.2.66
This list of changes was auto generated.
Released 2020-07-28.
Functions using a return pointer in threaded programs now correctly load and store return values in a way that doesn't interfere with other threads. #2249
Support for weak references has been updated and a --weak-refs flag is now
available in the CLI for enabling weak references.
#2248
6742d9673619f94e8dd3197e855724cfc4c4794e Bump to 0.2.65
This list of changes was auto generated.
Released 2020-07-15.
async and will use
promises under the hood.
#219631c2d6fbe572e85ec5d4dc67698449713d3f6c74 Bump to 0.2.64
31c2d6fbe572e85ec5d4dc67698449713d3f6c74 Bump to 0.2.64 (#2219)
979f0d28bfcaa83ed78e5966803b3e9a9167d261 Added example for weather report using rust and webassembly (#2216)
1a7d6de1b2988e34b510a5c9714f9e28786bad26 add dyn for Fn (#2212)
810e6a84c82f84f10ae1f01e7773906786591c69 Remove inaccurate typed array constructor doc (#2213)
41409d2b866805dae2a7dd2cd1f9fcd20c68b109 trims trailing space in doc comments (#2210)
64e53a5502d92143ff312d461c286cc22522c8ae typo (extra trailing colon ':') in asynchronous-tests.md, ln 22, causing compilation error for code snippet (#2198)
1edd43a224c50dffc51658824967ca4309cdc5b5 Update askama requirement from 0.7.2 to 0.9.0 (#2187)
e0151898b7d28f46b04adeb26c373dab2801b35f Update assert_cmd requirement from 0.11 to 1.0 (#2188)
74a411faee51c2bfd5f9a259f507158d907cafd0 Merge pull request #2186 from rustwasm/dependabot/cargo/humantime-2
dd93d83db2fb3689f49e463b5563eb474be7710a Update UI tests for latest stable <details><summary><b>See More</b></summary>
3725e7157d12bcf50b806929132ce0bf25aca1f4 Remove accidental debugging code added to example
8e6b3c0724ce4ca0b8bbe4985f39ed447209b540 Update humantime requirement from 1 to 2
9c5a6dfff6d1e85386b93e2b4cffc2f943e8171d Merge pull request #2176 from jakobhellermann/deno-target
665785e690b501ce578128cde5d039263f856167 add deno test mode, enabled by WASM_BINDGEN_USE_DENO=1
77bf0e9e6b124dffdeefab35ba790502fd7bc049 make wasm-bindgen-test-runner easier to expand
addb0824d19ec942fa483ef43ecc08a10171aa17 fix deno import logic to include non-placeholder-module imports
84c7cf01ce5941e03e59cbcec97609f4327b6743 address pr comments
36dcbb80663f9c5d8e6057c5d7fed5795b4b2f14 Remove type=module from no-modules example (#2184) [ #2182 ]
8edcda4095cc0468918406870a1189309284aaa7 Update threads-xform for current nightly (#2183) [ #2175 ]
0d39f9013fed652f5a3a5f5ec4756844a3b62442 Fix broken links for Reflect (#2147)
b56233a3ade61ffe9770a077904e396c1db954fa Remove type=module from no-modules example [ #2182 ]
79f96af262185f4326cd49c8fe72343a6b757be8 add deno target
107606560ebb98466fffd6a1c02468984a3619f7 Fix typo in Closure example code (#2174)
cc36bdc00d3a41c67ee0a2c0af04a7c4323637a5 Fix codegen of consuming setters/getters (#2172) [ #2168 ]
b5e377da784f209911689a53ea906f08b0dd2302 enhance wasm-bindgen installation doc (#2171)
87663c6d2a442d98b3d8ea6242f20c5c21fc0174 Enable nested namespace (#951) (#2105)
e0ad7bfeac91fbac6694d677b10c7501167b9caa Add another example to js_namespace (#2157)
This list of changes was auto generated.</details>
Released 2020-06-29.
Getters/setters that consume the original object have been fixed to invalidate the object correctly. #2172
Compatibility with nightly threading in LLVM has been fixed. #2183
Trailing space in generated doc comments is now removed. #2210
df809df9a5c4c74d7edf67ad386c57cc94161729 Bump to 0.2.63
df809df9a5c4c74d7edf67ad386c57cc94161729 Bump to 0.2.63 (#2163)
47ccb49e4ccb9409722cf94ac7f7b97f4806c4a8 Unpin nightly toolchain (#2161)
3dd8f3d2ac3f396830d0faaafd33de6299c07f9d Handle the possibility that the class name is in its own Group (#2159) [ lang/rust#72388 ]
cf45d5b24a35e484f1abbb25951b380102a91596 Pin to an older nightly to fix CI
1e1cab6202519dec2c30314e26aa3c8f601f3506 Add a test that fails to compile if generated code triggers unused lint warning. (#2145)
047b4209ad99946c4eb60162af44fd62d7c91cfd Explictly drop instead of relying on RAII. (#2144)
996e92f3ae45a120bd30c572291f6b560c315c43 Mass rename anyref to externref (#2142)
61e8fc0d3832e483ec5bc5d486aac65c1fa35355 Update tests for new anyref syntax
6ba8c6c2ecf4b6969d1118fc263038188db556a2 Add Blob.stream() method (#2140)
adad1fbf41e086993fdf149a228b743c8f36a18a Add link to summary column (#2135) <details><summary><b>See More</b></summary>
f94e3772bbdecb28e6060351a31e4c7b347eee60 [Examples] Add WebRTC DataChannel example (#2131)
6b5f7342a79beaf7cfd80e3102aa3dcad30801ab Remove outdated comment about path dependency. (#2129) [ #1015 ]
8e3d6fe6192e35a254834f906524153d6163c6ac Update the walrus dependency (#2125)
dc54c0fb253f1f56a9c655745b04f5a766f0b26a Fix name collisions with test functions and intrinsics (#2123) [ #2121 ]
This list of changes was auto generated.</details>
Released 2020-05-27.
A new example about using WebRTC has been added. #2131
Test functions names will no longer collide with test intrinsic names. #2123
Fixed warnings with #[must_use] types in generated code.
#2144
Fixed compatibility with latest Rust nightlies. #2159
d896446edcbf96246d5af76463de7b8c37d9bebc Bump to 0.2.62
This list of changes was auto generated.
6d61cd8b76fc80a9ada7b42272f19f528a92e22a Bump to 0.2.61
6d61cd8b76fc80a9ada7b42272f19f528a92e22a Bump to 0.2.61 (#2113)
e16f7e41bf9ee3446ce1727b9d8826b97f00f266 Adding in wrapper file to fix circular dependency with Webpack 5 (#2110)
a521c9012c9ace37dff42d231026d1a75249201d Websockets binary msgs (#2109)
8728f40aace9d0d44a639a0afcb846ee1270b07e be more precise how to open the example in the browser (needs serving) (#2108)
69aef24acf7cefa176b8e0133e777e931e33e3e6 Fix CI builds for now
541e8f535999a97074d7f4f444439f82f42108dd No longer error for npm dependencies with web (#2103)
a479241c469a39ae5a95a7a08f33ea4cadde3f26 Merge pull request #2100 from vojta7/clipboard
4ff154fbfcb7747c335e3021b4a205f4ef3206c3 Generate web-sys with old ClipboardEvent removed.
d5da20c795bed1d8ed19f5c3dd2615ac328bea1d Remove old ClipboardEvent webidl
e7361d8a36134404d7850075e496e9f0a5c3080a Generate Clipboard APIs <details><summary><b>See More</b></summary>
1d84a842ccae9d9d67bd585c1ce3335268e34a51 Add clipboard webidl
a22bbca92c475c1590f10ebf73edd7f4e2716f44 Making WebIDL generation deterministic (#2101)
7bc91472589ecc6b30c7ac855d140af83d3e6956 Improving the code generation for catch (#2098)
a93b778b5c9370b5c0cf42f788e65982c001234b Fixing bug with Firefox extension content scripts (#2099)
3c40492fa35573ef3cc215ea5e5ba88a36ab8804 exhausively match JSImportName (#2090)
4900732f60e9f8e056b969001249c7c463f69fe4 Add setBindGroup to immutable slice whitelist (#2087)
f7f47993f133cb54554c97e83bb405f1e37402c3 Update raytracing example browser support (#2083)
ad85de50c69630317c0d6dbb18ac071552c58813 try to fix global / modulaized import ns conflict (#2057)
a75570de31e7721247f0c845c14343cb79c58112 Merge pull request #2082 from guest271314/master
a1fe1113ce3ee3f6e7cd3508a448fc5114b3e6e4 Update README.md
826538922fd60f3f6cedfdaa530a5aeca68603c0 Copy more doc comments to JS/TS files, unescape comments (#2070)
fc86589715996bfea5101f2b57493fb2055b0efd Update to latest WebGPU WebIDL (#2080)
2b128288c7f907c1deaaa766e10c8b1853a6fe6d Add ability to rename enums (js_name = new_name) (#2071)
b9f78aba5765aceac2e4cc3d67ba95a312f4c1cc try to fix js_name error when both getter and setter used (#2074)
301a5f36eb089ebfd89fd6ca8c45b2194b5cab2d Installation instructions for wasm-bindgen CLI tool (#2076)
This list of changes was auto generated.</details>
Released 2020-04-29.
Exported Rust enum types can now be renamed with js_name.
#2071
More comments are copied to JS/TS files, and comments should no longer accidentally have escape sequences in them. #2070
Experimental bindings for the Clipboard browser APIs have been added. #2100
WebGPU bindings have been updated. #2080
setBindGroup methods for WebIDL now take immutable slices instead of mutable
slices.
#2087
JS code generation for catch functions has been improved.
#2098
Usage of NPM dependencies with the web target is no longer an error.
#2103
Combining js_name with getter and setter has now been fixed.
#2074
Importing global names which conflict with other namespaces should now work correctly. #2057
Acquiring the global JS object has been fixed for Firefox extension content scripts. #2099
The output of wasm-bindgen is now compatible with Webpack 5 and the updated
version of the Wasm ESM integration specification.
#2110
a19c8a3fe09e36269e2154adc46af17b3429a60f Bump to 0.2.60
a19c8a3fe09e36269e2154adc46af17b3429a60f Bump to 0.2.60 (#2051)
b0ebc98a641b4e07b65c9be4d1eb13004d3bcad9 Don't build webxr example
d04930c2a20180d90111eb39f79a70a0d26d5c89 Run rustfmt
29fabdddb14bcf04b9fc475596b30b82db8f9887 Update macos build agent
2b296509201e953336f0d505a3b544204ec6a87d Webxrdevice (#2000)
3c85ae1fbf99b14da7ec2c1aa149a2800907b9c0 fix contributing docs url (#2043)
ceac51f2605a1535637e8761c24875c9bf6786c2 Fix a test for upstream changes
8f14ccc56d96fea4ed2413856fac1e2ffbeeea2a Add CI example for GitHub Actions (#2044)
5acd6a34518156fd6aa542a1dd69df03ed9c0099 Merge pull request #1986 from clearloop/master
8a3bdbd8ee4ed54a5480f4d3d79ee05b6cb35019 Allow changing the wasm-bindgen-test-runner timeout via an env variable (#2036)
<details><summary><b>See More</b></summary>
035902ab517544e06d4d0543a2873b9976e3953f Update to latest WebGPU WebIDL (#2037)
55342532802ae4936dc18ed5c27597b99439885e Fix undefined error in worker. (#2038)
6d5fc3dccad41226c968fba1c54286fe27472192 reenable UTF-8 BOM tests (#2031)
003dc45d7649e127d6c0c2a8374d21a88440e55b add: docs for typescript_type
84f5fe2c00d8f43bc1e69f6206437e30fa61cd43 add: tests for typescript_type attribute
7a7b412bae3d38969a804afb6e58067c91bfb61c Merge pull request #2029 from Pauan/fixing-typescript-emit
b99ab1069645c85ce95436ed891f90aabe5eb480 Running rustfmt
57f8ed2e1e598a666142831e81d8ad60f41b7a23 Improving the CHANGELOG and docs (#2027)
5a752e5b840e2d6f42e7d6819708fdec24828c3a Adding in typescript_type to the js_sys types (#2028)
d193b2db8f291d476bf7ec27c77050f6fd9ecaae Improving the TypeScript types for the init function
This list of changes was auto generated.</details>
Released 2020-03-25.
The js_sys types are now more accurately reflected in TypeScript.
#2028
The timeout in wasm-bindgen-test-runner's timeout can now be configured via
WASM_BINDGEN_TEST_TIMEOUT.
#2036
WebIDL for WebXR has been added. #2000
db8d3e441229f14fb6890740017bc0101bb7ab94 Bump to 0.2.59
db8d3e441229f14fb6890740017bc0101bb7ab94 Bump to 0.2.59 (#2026)
597af6c2e6d2f2f460b3aecfde72bc0aae1d8574 Document unstable APIs in master docs (#2025)
db49d8124a953b580debd375a5ee9d3dc4dbb796 Include new skip_typescript in book
7ffb5ed70cf3dcbb6a152c2b70b06de994b29930 Add skip_typescript attribute to prevent .d.ts emit (#2016)
3f4acc453b160d6f4cebaa4b02a95226d58d097d Dramatically improving the build time of web-sys (#2012)
eb04cf2ddab0f2efff6c2d987dfcbcd6cf636b74 Upgrade weedle to v0.11 (#2024)
381660c49b73a1ab0f1900c8bad5846c2ae0dcd7 Run rustfmt and keep it running on CI (#2023)
15e9c54a2092d888217fe4a625f01769c3ce7996 Update CI configuration (#2022)
bab83a7ff44b8752d772470c1f996ce4f4e93d00 Whitelist send_with_u8_array slice (#2015) [ #2014 ]
1e75e415b3ae6196135b704766d7de713945180c Fix TypedArray::subarray docs (#2021)
<details><summary><b>See More</b></summary>
93cb6cb65d4f196cae46862dcb778d761636a517 Symlink LICENSE files in crates (#2018)
fb51d9036f41f6a909854f194bf9132940e37f13 Don't doc unstable features on git for now
654af576c7defa77fb152f9c6a04f0bb893e4b09 Tweak some CI things for unstable APIs
99c59a771e11b455de710840c55f507499c9b08c [WIP] Add support for unstable WebIDL (#1997)
d26068dc6ccfc07d0ab1cd2ead85193ddc3880cd Propagate missing memory argument (#2011) [ #2010 ]
ec1b9453c9e248cea81ed923858848a4cf06582c Allow web-sys to emit correct typescript declarations from webidl (#1998)
9d55978af58dbe62d17e15e69f595388025a2df6 Add webidl for Blob arraybuffer / text (#2008)
7db01a7c7cfa8b0251b232516407af15107ab091 Add get/set for TypedArrays. (#2001)
b6190700c94634bbc5b61ec4dd16c3ffb4f4cca8 Reflect optional struct fields in typescript (#1990)
156e1cb47f8f7913f67b1a540ab733283730a8e0 Removing duplicate closure wrappers in the JS glue (#2002)
673e9b78300b38f7510ee6a4229a8ce04deca531 Add electron support via --omit-imports (#1958)
ca742a84c432d404b1202271de5c06233c890143 Improving wasm loading logic (#1996)
91f0dbdb28a508a014031e562dce8b026795c87a Removing self from no-modules target (#1995)
0f3c53b5a5b572ae54423108bf578fa904657b32 Create JavaScript array without using new keyword. (#1987)
f507a2a5ff2fa84d3197909a4b6f095e90ee4b98 Delete failing locale_compare test
02eace9bffa96eae2bffaf951b7ceda42f3d9f43 Update webidl files based on (#1980)
580c7a714a128dea37d2891771dbacb4f31a93cf Fix typo in example code block (#1971)
ae6f4a9c8726c0a3c69b8597a1c4f667fc9f4d25 [WIP] add parameter to async function --> error (#1973)
2b0a4178bf1c5a208f23aaba3c5ce803de063f7e Add getTransform() for CanvasRenderingContext2D (#1966)
aed52c0e961d2edff1d556262922d1a94c8ee5bb Removing WebGPU (#1972)
34eb8a85166c089e2b1f4f2400c24fc6d1e38871 fix: ignore non dependency keys in package json (#1969) [ #1921 ]
0f0d5ee0fb2ce4f27c5cdc9f18f1862f7643b077 Fix our doc upload step
c5c7acc766639ceeb95a41d5a7114021fda77641 Preserve the function table explicitly (#1970) [ #1967 ]
bb066e68a5f202731f0ea9be55b4a4abaf406220 Add javascript Number consts. (#1965)
450c47719767da04e80e4e9b3b93fe56affc84c1 Adding missing uniformMatrix bindings rules for non-square matrices. (#1957)
762bd0dabd32961552340c62f6ddae49cba744d2 test running rustfmt on web-sys bindings. (#1954)
62fee13a46b54896310db0395a634aefe3694845 Add missing word 'is' (#1947)
66e48bd1681fab6ce99a8e3d9230efebaa24d67f Remove now no-longer-necessary pause in publish script
This list of changes was auto generated.</details>
Released 2020-03-03.
The js_sys::Number type now has a number of JS-number associated constants
on it now.
#1965
The getTransform method on CanvasRenderingContext2D has been added.
#1966
Initial experimental support was added for electron targets with a new
--omit-imports flag.
#1958
Optional struct fields are now reflected idiomatically in TypeScript. #1990
Typed arrays in js_sys now have get_index and set_index methods.
#2001
The web_sys::Blob type has been updated with arrayBuffer and text
methods.
#2008
Support for unstable browser interfaces has now been added. By compiling
web_sys with --cfg web_sys_unstable_apis (typically via RUSTFLAGS)
you'll be able to access all bound WebIDL functions, even those like GPU
support on the web, which has now also had its WebIDL updated.
#1997
The compile time for web_sys has been massively reduced by pre-generating
Rust code from WebIDL. It is also readable now since it generates
#[wasm_bindgen] annotations instead of expanded code.
#2012
A new typescript_type attribute can be used to specify the TypeScript type
for an extern type. #2012
It is now possible to use string values with #[wasm_bindgen] enums.
#2012
A new skip_tyepscript attribute is recognized to skip generating TypeScript
bindings for a function or type.
#2016
More uniformMatrix* bindings now are whitelisted take shared slice instead
of a mutable slice.
#1957
Non-dependency keys in package.json are now ignored instead of error'd
about.
#1969
WebGPU has been removed from web_sys since it was outdated and didn't work
anywhere anyway.
#1972
The JS heap of objects managed by wasm-bindgen has had its definition tightended up a bit. #1987
The self identifier is no longer used on the no-modules target, making it a
bit more flexible in more environments.
#1995
The wasm-loading logic is now more flexible and can take promises as well. #1996
JS glue for closures is now deduplicated. #2002
The web_sys crate now emits more accurate TypeScript definitions using named
types instead of any everywhere.
#1998
The send_with_u8_array methods in web_sys are whitelisted to take shared
slices instead of mutable slices.
#2015
2902ceb26fe56b39808e7d10a59e3120d65c6517 Bump to 0.2.58
init for no-modules output mode. (#1938)This list of changes was auto generated.
Released 2020-01-07.
no-modules output type the initialization path for the wasm
file is now optional if it can be inferred from the current JS script.
#193856e4d7de1de58abaf153777182e7091f41744a37 Bump to 0.2.57
This list of changes was auto generated.
Released 2020-01-06.
The js_sys::Promise type is now marked as #[must_use]
#1927
Duplicate imports of the same name are now handled correctly again. #1942
580daab1d33ab1ce86d9ff4b80a12673449bd843 Release 0.2.56
580daab1d33ab1ce86d9ff4b80a12673449bd843 Release 0.2.56 (#1922)
221514acb91c678c6dc1988b01515023229aee86 Adding in Array::iter and Array::to_vec (#1909)
cbfefb312cc16db69d0ed85960e1a451ae2da513 Consistent inline code formatting in js-sys docs (#1915)
c564eb72b167ffd62088d87e7adbe14a58564a7a Use *.wat instead of *.wit for text files (#1901)
090109dea79a7bd154fef0807b11a687b7492dd1 disable eslint in generated type definition file (#1908)
1c08e2b48b7c3b2c3194c1d47e727ceb1a7ae4d2 Adding in async support for start (#1905)
b71b136fe8f3ecc5945e4a55f7a9d64962182cf2 Changing wasm-in-wasm example to be async (#1903)
057c9157b3e74cbc9b5600250278d14b81c03a80 Add test for consuming interface types inputs (#1900)
a1d90398d09af2ec67d6a39f12430e97e8b3214f Adding in support for async iterators (#1895)
203d86f343177e4b460188fa2bf41834e475a3e4 Add tests for the interface types output of wasm-bindgen (#1898) <details><summary><b>See More</b></summary>
b9c93a3c24f25456c9867b4fe50ad19fb844a6f1 Remove the long-outdated typescript crate (#1899) [ #234, #237, #238, #239, #240 ]
d7a4a772cff1728f55ec680f47e61df07e7d3341 Add reference output tests for JS operations (#1894)
9469c1641bd33bdf020009253e6027c423cd982f Remove reliance on wat2wasm in interpreter tests (#1893)
31f7bd5d860df64b8baeddd240cc07f3f3c44b5d Re-enable validation of getter/setter names (#1892) [ #1882 ]
8be8e09d35aacd8b3f58ab7161d6a1bc3d57be58 Don't hardcode the __wbg_function_table name (#1891)
9a1764420ed4b2f3332e01f986c85068c08e2f3c Re-enable validation of getter/setter names [ #1882 ]
8e56cdacc57d4caa420a5a34baf399a93f86dca5 Rewrite wasm-bindgen with updated interface types proposal (#1882)
df34cf843eca7478e3879562670e52c889e32fdf Allow for js property inspection (#1876) [ #1857 ]
181b10be3f150b3eabd2c5f906243a62187d210d Update extends.md (#1874)
0acece0c955eee2663e80136ff36213bb2a8cf51 'function' typo (#1875)
394be5ec2150e16e2ac970b509f0a6e5e0f97071 Update alert message regarding Firefox version (#1870)
9768ec9cabecb5f17cc8737b548f8e6ab396409e Remove extraneous -Ztimings flag
aa461c363bf5719c4532c7d89c25aacd71c2fb1d Add one more webkit-specific whitelist in web-sys (#1865)
This list of changes was auto generated.</details>
Released 2019-12-20.
Added a #[wasm_bindgen(inspectable)] attribute for exported objects to
generate toJSON and toString implementations.
#1876
Support for the most recent interface types proposal has been implemented. #1882
Initial support for async iterators has been added. #1895
Support for an async start function was added.
#1905
Array::iter and Array::to_vec methods were added to js-sys.
#1909
db9d603c8f56afdd1a98193417b317f68be55089 Bump to 0.2.55
This list of changes was auto generated.
Released 2019-11-19.
Running wasm-bindgen over empty anyref modules now works again.
#1861
Support for multi-value JS engines has been fixed as a Wasm interface types polyfill. #1863
3573164b52e1b9dceab37dbd00f74f4bd81885b1 Bump to 0.2.54
failure to anyhow (#1851)This list of changes was auto generated.
Released 2019-11-07.
A safe to_vec method has been added for typed arrays.
#1844
A unsafe method view_mut_raw has been added to typed arrays.
#1850
The HTMLImageElement WebIDL has been updated with recent features.
#1842
Binary crates are now supported and fn main will be automatically executed
like the start function.
#1843
c7c169ae728fb6ca9fc67a5b760610198ba7721a Bump to 0.2.53
webidl_ty field in multi-value transform (#1839)This list of changes was auto generated.
Released 2019-10-29.
a20dd26dde844acce2f7dd437416e5b2f4b5f9a9 Bump to 0.2.52
a20dd26dde844acce2f7dd437416e5b2f4b5f9a9 Bump to 0.2.52 (#1833)
e880baf11ddd49f7d961de16a7e28a85199c58e6 Working around bug in Safari (#1829)
c1b4f67444d014e4a3e606847d10cab99683e395 Adding in unintern function (#1828)
777a12dc70a3a5666c955881e067768ac5aeaa32 Fix TypeScript capitalization in internals guide (#1826)
fe4dd0b301f542e1d345784a635f92d7d132b244 Merge pull request #1805 from fitzgen/wasm-interface-types-and-multi-value
46cbd19e60b8c08e4c1ad94a38df51c0796a20ff Improve worker.js reliability (#1820)
a31b81307c13d29fecd9e3ffa61d67473e2c8d98 Update Worklet IDL to latest version from gecko (#1817)
c7514b7ee8c2531743fed2a48aabb49f611c764a Enable selectionStart and selectionEnd for HTMLInputElement (#1811)
ebef7a7aa798e9eb4d05f914f93b2f73757e9d16 Update toolchain for raytrace example (#1806)
0e3b696fb73347043c7361f2d6ced86d82a7b5a5 Fix return type of WebIDL indexing getters (#1789) <details><summary><b>See More</b></summary>
25dd84c5030d160afa39b87420a0887a47e4dfb9 Get rid of the wasm interface types return pointer hacks
311ae1941f34ee165de0fc7f234ddee10c867f69 Wasm interface types should imply multi-value
085924567f44869b38f92aafba1f8b8bedf044e0 Fix guide for tests in the remote browser (#1804)
ffa6eabffe71ee7c743ca71edab36365177ad6d7 fixed broken link (#1803)
74812bd2366af8c27128798d517202880c278ffc Merge pull request #1802 from alexcrichton/switch-cores
53c0dcf17acd23af4783b24ecd0639b85e319850 Don't offset the number of rayon workers by 1
This list of changes was auto generated.</details>
Released 2019-10-24.
The support for wasm-interface-types now uses multi-value by default. #1805
The Worklet IDL has been updated. #1817
The HTMLInputElement type has selectionStart and selectionEnd properties now. #1811
An unintern function has been added to remove an interned string from the
cache.
#1828
undefined
#1789TextDecoder and Safari has been fxied
#17896d1dc813c49043d82eddf1703ee60710a1aff8e3 Bump to 0.2.51
6d1dc813c49043d82eddf1703ee60710a1aff8e3 Bump to 0.2.51 (#1797)
599ec8b9f4f983e8a145fa55b60a1b283b965edb Use official node releases for anyref test suite (#1798)
bdcf27c7cb0f8d01f59b770e75daf256c72e960d Major improvements to wasm-bindgen-futures (#1760)
0b1a764f8ae17f6232a2e4c5a86754f21a41901e Guarantee static_method_of uses the right this (#1795) [ #1760 ]
025b1d8bca8f34b056672173077578b0d4d29551 Switch to Cargo's -Zbuild-std for building libstd (#1796)
6b3177779488e7619f030688582f5d319e317d41 Fix local webdriver discovery via PATH (#1794)
0607a75b784551c33a896c287c756aaf2aa805e2 Switch CI to testing beta toolchains (#1792)
6f52f2a37c30579dfed40c49d71fb35024c35cc7 Fix logic for is_enabled in the threads transform (#1791)
f4a7fe3ddbc8d4dbff082d70b68861f96e313619 More CHANGELOG updates
72f346871c8e7fd6df2d6b67262fd7369e354aff Handle JSON.stringify(undefined) [ #1778 ]
<details><summary><b>See More</b></summary>
55dbf9478ffedacb5c58f24a92bbbce19a99a3b6 Don't log routine errors as out-of-the-ordinary [ #1785 ]
8b4fd2a94607b0731ae3c2ed5f030d8a6d52e4cc Update CHANGELOG for upcoming release
0afb6aafd34bbee66438f75189e1e7b478ea4c78 Fix importing static values of non-JS types [ #1777 ]
e809a45c618af89e22f80d9c60ea1dedf7de2366 Update ui test expectations
a88003c2ecbdc6d855fa0d34965bb627b7f46afb Update env_logger requirement from 0.6 to 0.7 (#1786)
9c330529f2277e2b34a8189b60c58438b77f3407 Fix codegen for descriptors of async fn returns (#1782) [ #1781 ]
8ba0142dd23f7e7262bf5507210c93294738c51d Update UI expectations
d1f104567b538bd7d8dc0f2e31c20de5f083132a Fix file permissions (#1779)
93f5bbaf95b6b32fc9d68e2685c7fd14eaa2f753 Update async-errors test for nightly
eeebec07652e9904e8ecc50ebbad14de8162d5d0 Add ability to run tests on remote webdriver. (#1744)
04c9b32e345e524a7bcb74923ff604b24dd77187 Merge pull request #1764 from fitzgen/multi-value-xform
b2d1165724cfc56a104a02e5293d07f8a5f7f4b4 CI: Temporarily disable sccache usage
a0582cd6f22cc2a2bffc940907820302c286c6d3 rustfmt the publish script
d9c4164c113d1c211ba458516101c0b83010b7e0 Also publish the wasm-bindgen-wasm-conventions crate
2fbb8359e0ada6c94af467f6b1b1837fecaced62 Create the wasm-bindgen-wasm-conventions crate
a1dfa4bf5e293fedbdf42f3e37677ad128ba0d73 Upgrade sccache to 0.2.11
f5f946721134da54f61f48bea43801092a152acb Minimum viable ReadableStream.
68af85d00119ccefa8c297719f716a9415eed036 Ensure that various Into/From ABI methods are inlined
908fc614c03971423ebb77d48c20070f96cc1a70 cli-support: cargo fmt
5f909514418326a48429d2c6d01251c7a8836e97 Use the multi-value xform when targeting interface types
fc2c502dfbb00fe03d6df326e8ae1864a7543f2a CI: Run the multi-value xform tests in CI
44c3f8ad2d67495ca5b8c154a28ca034c9ac5f77 Introduce the multi-value-xform crate
582b733967096a3a8bc19e1640402d509acc3b4d Update to walrus 0.12.0
7cca2751c1d691d3e667170c69cbb83dd0f9936d remove shell status update (#1758)
f0a55f8930ae582d2a55ea063dab4317dfe6ffe1 Feat/date opt params (#1759)
88618116ac2c4bac33d0c07cdb71e4ab870669fe Add support for #[wasm_bindgen] on async fn (#1754)
7fd6702c6dcfe01d38e0240157e57e0ed6f654d5 Update assertion of stderr on nightly
84898c1d53628a2f3e3c859cec7989f105ae7853 Touch up documentation about futures (#1753)
3c887c40b7ebb19eeec809e590397a6d9da72f5d Default all async support to std::future (#1741) [ #1558, #1695 ]
ba85275d7d13ad8d49035817fbc2fb2aba60afad Adding in more methods for Array (#1749)
4e19ead71bb7a035eb54ca33ba887110b5f8858b Fix the wasm2js example (#1750) [ #1743 ]
1f39a3045fcb652256797cde5a0aef8871fca74d Merge pull request #1738 from freebroccolo/master
0eba2efe45801b71f8873bc368c58a8ed8e894ff Fix warnings in raytrace-parallel example
777828aa957e6d6ebe45919ae8533a53650c116d Merge pull request #1739 from xtuc/upgrade-wasm-pack-plugin-1.0.1
312f5d6dcafdff61b9b0b8d34de44527aa61c130 chore: upgrade @wasm-tool/wasm-pack-plugin to 1.0.1
a16253174a46474b79c3d12d8745ee2a626a71d7 Merge pull request #1736 from Pauan/improving-string-passing
d9ae387536b97828d326fe0fcd72113a03dbb783 Fixing minor typo
92c2e0ebe7fad18d7049e14c3cd03bed0c003ed1 More improvements to the passStringToWasm function
fb0bbc00cb872f777b1c3d8b65648266354eb686 Adding ignoreBOM and fatal to TextDecoder (#1730)
5581cdf656afff7ebbeb348798579ce5a1205d30 Improving the passStringToWasm function
e39e8501dbd52a23b3a1e3ed56f8ba89f42d3a87 Update browser support for BigInt (#1728)
This list of changes was auto generated.</details>
Released 2019-09-26.
The wasm-bindgen-futures and wasm-bindgen-test crates now require Nightly
Rust and have a new major version published as a result. These crates now
support async/await by default, and they will be supported in the stable
Rust 1.39.0 release. The previous versions of crates will continue to work on
stable today.
#1741
Using #[wasm_bindgen] on an async function will now work and return a
Promise on the JS side of things.
#1754
More helper methods for js_sys::Array have been added.
#1749
Initial support for the WebAssembly multi-value proposal has been added. #1764
Constructors for js_sys::Date with optional parameters has been added.
#1759
Headless tests can now be run against a remote webdriver client #1744
passStringToWasm function has been optimized for size.
#1736BOM markers will not be preserved when passing strings to/from wasm. #1730
Importing a static value which isn't a JsValue has been fixed.
#1784
Converting undefined to a Rust value via into_serde has been fixed.
#1783
Routine errors are no longer erroneously logged in debug mode. #1788
One column per quarter.