NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4162 most downloaded on crates.io
Micro-interpreter optimized for wasm-bindgen's use case
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 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
84 releases · first in 2018
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
5c56c02385949c7211da5c289f7efcb613894dc7 Merge pull request #1726 from alexcrichton/bump
This list of changes was auto generated.
Released 2019-08-19.
WASM_INTERFACE_TYPES=1 environment variable has
been added to emit a Wasm Interface Types custom section, making the output of
wasm-bindgen a single standalone WebAssembly file.
#1725instantiateStreaming fallback.
#1723906ac1500fc6371cdd27c3285a25f8b6a33cfc21 Merge pull request #1722 from alexcrichton/bump
906ac1500fc6371cdd27c3285a25f8b6a33cfc21 Merge pull request #1722 from alexcrichton/bump
e08ea46fed5ccc839773ca6fa9899601347f60d9 Fix UI test for beta
c1d4fddeac9cdd931147af6dc61cee3556f57cf5 Bump to 0.2.49
603d5742eeca2a7a978f13614de9282229d1835e Merge pull request #1717 from alexcrichton/walrus-update
aace8cedeecee6443ab64c3933fc39112e1aae12 Move table export to the anyref pass [ #1704 ]
ad34fa29d87fe34b231b2ab7d5815d6d5f0400ba Update with list IR from walrus
8775f9b1b33938cd1fcf94d9162ea23c30d8f76f Merge pull request #1720 from alexcrichton/update-syn
45b43905b4295f4c94ef42722cbf68d528284ac1 Upgrade to syn/quote 1.0
1d0c333a2b017f00b4168cdffbc29fae871728ee Run cargo fmt over all code
3697fb72052f5c1e747847f7dd6d73c56bd9111e Merge pull request #1716 from najamelan/fix/futures-preview-0.3.0-alpha.18 <details><summary><b>See more</b></summary>
9f7afa8a5e03f65b3435fe5394558b3fcf9e8927 Update to work with futures-preview 0.3.0-alpha.18
bb6c0136f3e23b7cad44b9fa72b82e6478f9b5c6 Update sccache again
67e858e32a9eae4db43ec41c2f74080a4e82e7c7 Merge pull request #1638 from ThomasdenH/master
8b99fdc7454cc1d77ebcbf220818e44a12d62489 Add truthy_falsy tests to main.rs
49acddf88e367925880c948828b281abbefa05a3 Merge pull request #1710 from UnHumbleBen/patch-1
50683f0c3c9c0dde73bc0002b4fa7762227afaf4 Removed unnecessary dereference in Store::find
0ab6956747f541edd131d0a2ed96e8ffa84e0491 Merge pull request #1709 from UnHumbleBen/patch-1
af922fb67072de055f11adbea8b55f7e1e4d6cdd Fixup styling in sync_local_storage
640c8077362bdd84628a6548c8079adcd647ab07 Merge pull request #1707 from UnHumbleBen/patch-1
fffcc5ef35d4c109b1f20712a4a5af40c1f2563d Makes code clearing by providing code symmetry.
09b37b4a433f87803636d938e28ad19cdd461bc8 Removed unnecessary and confusing clone of String
cbab8a191dd9c22fe826ac0409f856f0876de8a0 Merge pull request #1704 from alexcrichton/skip-anyref
ba0c6a98e6ede3ef3591ac53114abc89ff961092 Fix anyref table export in empty modules
9314873cd114d5303248d41bfc0e95c72f5b217c Upgrade sccache
0dbf4294c2bbd1548aa6d7f4eeaaa8e661c7281d Merge pull request #1702 from UnHumbleBen/patch-2
c7180ddc8d455d812293d8ef8ac1e8f597bae475 Merge pull request #1699 from UnHumbleBen/patch-1
f76ec9e0661f275010f884c60ad11360564df434 Merge pull request #1703 from Kirguir/parse_client_args
b60ed2ee2743a63d3d7c7d3e0cbdae9ca222a10e Add parse a env args to invocation the browser
89067c1ddf9666c7da0a8787964f0f257dab7283 Updated description for single closure
af4622ff3dbe2033a5d6e4f1ff68f119af2c18b6 Fixes description of Closure lifetime in comments.
b97853153641c0981a1ae0f3980651c5b1eb9dca Use idiomatic syntax of Rc::clone()
732b691bb85dbcba23c31482733b69b484a2a3c2 Merge pull request #1690 from alexcrichton/webidl-polyfill
117fce1c82c26ce458f662b68e6344686e547f8c Merge pull request #1692 from alexcrichton/fix-anyref-bugs
adde6c2da7b1e45f7a2de71c151d690b9c52ebf9 Correct base calculation in anyref allocator
6cc7e3dadf22a69548918292d5a917f063ffce06 Ensure the 0th slot of anyref table is undefined
5aee2f9c6a2e120f0ddfa6e3501ac180800422f3 Fix an off-by-one in anyref stack manipulation
6e3e9d2daea73652d3aa9c3ede1da3de8d89ee1a Correctly hook up the anyref table initialization
36db78882900d7f1c1e9487c2b57561dde72bc68 Merge pull request #1689 from alexcrichton/direct-imports
2aac606d3fa34a3247a7ca0c0258f0b2c4fa98df Support emitting direct imports in wasm files [ #1654, #1584 ]
452ce2916e529c0181363c3b11ff25f218cd38fe Add support as a vanilla polyfill of WebIDL bindings
38b8232f555a58f8919ba21ef80dfb704ca9d93b Merge pull request #1688 from alexcrichton/llvm-9-threads
8cb792474cedbfb8d2e7e3c1c38fc2df4cdabca1 Fully update threading support for LLVM 9
849c3453d966f401df1624668a4d8a8db91f932e Merge pull request #1687 from alexcrichton/in-memory
8b0143669ea48b5914706590219170133dd94e9a Merge pull request #1686 from alexcrichton/update-walrus
10e400bee464088aef9606b1481e70456900ea22 Add support to emit output to memory
71581449327d6dfe16c09d0168a963bf1b9e74b1 Update to walrus 0.10.0
8940ba0ab263d50f36c79cbd168c1042c8644bcd Merge pull request #1682 from alexcrichton/update-walrs
78db35daaccb2fe6007c075768c0f3dcbf3e32ca Merge pull request #1683 from alexcrichton/no-modules-lenient
423bebbd14d324dc782cccd51b142702b654b7c3 Improve leniency of --no-modules output
0daa290129716a6bf5af616c14befb5d0a8032c1 Update to walrus 0.9.0
68a1519eaa23d1c761020d1014b1c1ccc52d3672 Merge pull request #1612 from Pauan/cache
029b8ff249f5531ff15faae5053bd8b05050faaf Merge pull request #1675 from alexcrichton/llvm-9-threads
59af3186af0f95c80f081f8d2578e8dcccf56dde Fixing CI build error
7b6ef7087e6cda3fc438d11fdab76574435e6420 Adding in note to the intern docs
aef62bd56cb11e6ab0b3b6a804f953f865eb697c Adding in enable-interning to CI test suite
f8da1e672f8193ca9d533c13d5d1ab063a2252e1 Fixing unsafe_get_str function
10ab4cbc181e9669ac774e9f4195c7b897af89e5 Fixing TypeScript types for cached strings
554ef90035456934e9225c602841feb1833d1555 Fixing issue with wasm-interpreter
b9b8c209d0dfe24eecf210801de64d3109b4ee80 Update 'threads-xform' for LLVM 9 [ #1631 ]
efacd8b74d73efe1b7ccc6069a0207ca9342e2c3 Merge pull request #1514 from ibaryshnikov/threadsafe-futures
55b486ad78406f49875e61ced4b18787c62b9dbc Merge pull request #1673 from Pauan/web-sys-partial-eq
c82253ca6811cf329746d16d06affd229e1d627d Fixing doc test error
ed778f5eb25b9e9e1961c77e3ffafc49d5cdc32c Adding in PartialEq and Eq to web-sys types
b13f757e90d7c88d579cd4adbb018580a4520dea Shared more betwee legacy with/without atomics
be294c824872690150658255484186e9e46b912c Remove a debugging statement
c8451d6f3ed36ae7bef80088a37d98787e72f237 Rename some files
d590a9e053a87f5db00cf35c99407b5755e923e6 Deduplicate JsFuture definitions
cde9684e4bf7d578285a9b4ea07f1b81a0efaa36 Clean up atomics/futures + polyfill
366ed2308f1954cc495f605d373d1f2f9b590f86 Adding in docs for intern
544ec49e02a992ef9e5f914344d9af060629f4b4 Shifting the unsafe responsibility a bit
ca15a59ace18da32c63d7ab95d3bcc80849233d5 Changing from uluru to HashMap
3177fa9edc3c10bda3f35bf7cb14c200904bbc4a Minor doc fix
2405fad319e0873e02c623850dee9bf992b2b494 Shifting the unsafety guarantees around
c3676bc6f94dad04151830ed82eff8314f5fca32 Removing unneeded if statement
8572255e73ab8c06a77dbb9a893c5e6bc1dd9352 Making uluru optional
adf21fe6cb02ae6be3e4770ea2f3c9bf3fa7d2ca Removing unneeded size argument
cc6ec867f7a83d8eb1ccd913704238cdb6c3fbf9 Fixing compile errors
1723e9d02408789f6122023cdb5d3c67cb9aa61f More simplifications
1e4cac9c951a2191a648ebccfd16953dd3eff2f1 Simplifying the output
4e504654d10b7ba9078a385e385cd362197e7eb2 Undoing some formatting
fd88626e38f0fee0ab780da245e8b309e7517ad8 Fixing compile errors
2ee4c54f003f223db61bd138c7d860bc97a637cb Changing to use WasmSlice for the caching
f7e8e70684f00e74ae3b290b4323b6a47f522590 Fixing compile errors
f28cfc26fe28f5c87b32387415aedc52eea14cb8 Fixing some things for the cache
0359da206097945c275f6e450452e6b2edc80a4c Potential fix for OptionIntoWasmAbi?
0a61e12bd1c4e83442a258230db1e66e3cb67098 Making interning manual
86a8842f24f08a61dd40f62886a124889a2e78d5 Changing IntoWasmAbi to use interning
6767371ca7d0da15234ccb519d172516a477be29 Initial interning implementation
9f77f8dd0057a13c0b4c811fcdba278634adcf55 Update parallel raytrace example to use futures
d122bbca1365dd07327614f56496b88b11378f3c Emit a compiler error with futures 0.3 and atomics
2529bb0b17b9153b7904f7a8cc43acef301f29ff Merge pull request #1670 from fitzgen/check-for-use-after-move-in-methods
02be3690cfb6cd5f32e7811b1cfc8d4589fe52c9 removed AtomicBool from Waker struct
45d2c7ce93a7626d6a7b52bf4e00c3333ff35722 updated to the latest master
cbaa1d302ab83676e273583369775b1169735e7c added documentation comment for a stable version of wasm-bindgen-futures
6ab1a49a41aa003c9846e21626d43b4a8c77535a moved lib.rs to stable.rs in wasm-bindgen-futures, updated during review
221dc732afd92b5e05b825b721bca2781b95f255 updated default timeout and wait_async signature in wasm-bindgen-futures
06c783d5e3cab7242a6c3013c13652f5f899e303 placed web-sys dependency behind a feature flag in wasm-bindgen-futures
16c6bdc966073c2296aa1c4acaa46397c3e28509 moved threadsafe futures implementation to a separate file, made updates after review
e466e1a6f15d36e39593a0605041998668bc9047 moved threadsafe futures behind a flag
2fdfe79574dc7023b61b6f717262738f72da29fa added polyfill implementation in rust
c01575c1bc4d9a1d24e80ab3426939cc4d7e4a93 typo fixed in Atomics docs
d1d3021271d3223848d049ca622b229aed2e2f82 added polyfill for Atomics.wait and used it to notify futures
8fd5f4ed6a51a33725a0f011629252b65e118563 Check for use-after-move in JS glue when --debug is enabled again [ #1669 ]
1807de74a72b9b5d0a5ede3023ef5aefe9db0031 Merge pull request #1665 from ia0/getElementsByClassName
170ce683d865284d67cea10f971c0a652377ccec Add missing Element::get_elements_by_* methods
a48a0aeb939487ec09b0a7de9ecbaadbf1b86cdc Merge pull request #1654 from fitzgen/no-import-shims
31ca5275234eb11a01b389a283f144ba0f1d73bb Bump wasm-webidl-bindings dep to 0.1.2
afb33e5cf4d9fc96909a52dd33be1ec23ad9f4a3 Assert that a bunch more function signatures don't require JS glue
bce892b6255ff76d4a6c021cb3a29ec6ee60f8cd Add #[wasm_bindgen(assert_no_shim)] on imported functions for testing
13b672aac0445e616dd516bbbbc26230166b7775 Merge pull request #1661 from alexcrichton/fix-nightly
4f86653e0d2d854a7873b768771ae1d8ed535c98 Fix parsing of final on Nightly Rust [ lang/rust#62628 ]
2d0866da9a549f1fb655096e2811f7c290f8d579 cli-support: rustfmt
d5d3e463349495f199b52fd939413393a2a1b681 cli-support: Skip generating JS shims for imports when unnecessary [ #1636 ]
f2a4694c696e40423540922a6b32fc1d8e87dc62 cli-support: Fix copy-pasted error message
21fe8dc7069cc4b5163137fd42cdee40effa9d06 cli-support: Fix typo in comment
0ee72366987ee4bcbc92c475c36afb779f93c377 Define is_truthy in terms of is_falsy
e61f691e0bdb618bd95a5f902c6b45168b31951d Add is_truthy, is_falsy
This list of changes was auto generated.</details>
Released 2019-08-14.
Add binding for Element.getElementsByClassName.
#1665
PartialEq and Eq are now implemented for all web-sys types.
#1673
The wasm-bindgen-futures crate now has support for futures when the
experimental WebAssembly threading feature is enabled.
#1514
A new enable-interning feature is available to intern strings and reduce the
cost of transferring strings across the JS/Rust boundary.
#1612
The wasm-bindgen CLI has experimental support for reading native
webidl-bindings custom sections and generating JS glue. This support is in
addition to Rust's own custom sections and allows using wasm-bindgen with
binaries produced by other than rustc possibly.
#1690
New environment variables have been added to configure webdriver startup arguments. #1703
New JsValue::{is_truthy,is_falsy} methods are now available.
#1638
JS import shims are now skipped again when they are unnecessary. #1654
WebAssembly output files now directly embed the module/name for imports if supported for the target and the import, reducing JS shims even further. #1689
Support for threads have been updated for LLVM 9 and nightly Rust. #1675 #1688
The anyref passes in wasm-bindgen have seen a number of fixes to improve
their correctness and get the full test suite running.
#1692
#1704
Support for futures-preview 0.3.0-alpha.18 has been added to
wasm-bindgen-futures.
#1716
a3ddd097eb5288597804d223c4bbf46027efdddf Merge pull request #1660 from alexcrichton/bump
a3ddd097eb5288597804d223c4bbf46027efdddf Merge pull request #1660 from alexcrichton/bump
5c975592be3a369d8ba3ae11e14627b706b27fc3 Merge pull request #1657 from fitzgen/fix-dyn-warnings
e596ef596ca884cf555ec4ce67e0481b91a029da Bump to 0.2.48
6252c7ab78728abe9b479b8ec21a91250e7a36ed Fix warnings about missing dyn on trait objects
c21c85a7ff1dc58873661a7e38ad6c25f4df7f86 Merge pull request #1655 from rustwasm/dependabot/cargo/weedle-0.10
ce40388a7f0337d99ae718b5f85b76c64574c998 Update weedle requirement from 0.9 to 0.10
d02e115fd4d384c9950ae509e7f9e05fa87b99c6 Merge pull request #1650 from alexcrichton/less-csp
b64f5c0ad8beaca21227d6a217278ff64b09935d Merge pull request #1649 from alexcrichton/fix-futures
15cc4fbb0b3d5a8c8c64b3dc9f7bc851f5e2949f Merge pull request #1652 from fitzgen/fix-some-warnings
6cb659d5aca8b7f79a63ef03a2329f21a9e0d8da Fix warning about dead code when testing on non-wasm32 targets <details><summary><b>See more</b></summary>
1ba298548fa0ec8be86e8a684f7988043a966f8b Fix warning about unnecessary parens in generated code
d32b6a916c8f7d7711eb545037b5209daef6a61d Update futures implementation to not destroy callbacks [ #1637 ]
0b08bba0c76d7fed13c8c0a76c06d6a77ae8fada Use static accessors if possible to get global object [ #1641 ]
604c036111542e7ac2bf0ce60a644fd265106c97 Merge pull request #1645 from derekdreery/fix_futures_0_3_hack
16fc0596eb51a9712756dc91af9037d03de3ecb9 Merge pull request #1646 from ibaryshnikov/explicit-extension
8f52f10aea164845271eb0bd8dbed4165efb58a3 added explicit extension for imported .wasm file for --target bundler
25415077893cfaad518eb2daa14dfb91b7b4cff9 Add in (unsafe and incorrect) impls of Send/Sync that are now required.
7fe3dfd4f54bd2e00cd3c015e5dc22839eb4cca5 Merge pull request #1639 from dakom/master
f27de49989f42aaec47e1408c24b5f5e6bd67a93 whitelist slices for webgl2 uniformNuiv
bf631eda1beae45aa77eb426ac0b1a76bb86b773 Merge pull request #1633 from Warfields/master [ #1622 ]
367a56eb2514a9591e968606601cc8169bd011b5 Test are fully implemented
06d0704cf825fa5bab6a13a36d3aa35da616126e Added tests for bind1()
caa86a07a01c408a8b57e10a6d521d6c549614ac Attempted to tackle #1622
792ab403a134da8a9ace46622e135deda43d5585 Merge pull request #1625 from alexcrichton/less-return-ptr
250e84f091ea47cff08e33445bf41ad4d06a0540 Merge pull request #1620 from Pauan/add-typed-array-into
497c5ed423759e1c54139c2006f0190ec02aed06 Removing TODOs
b9fd30b49e0e38026b36c4db10c9fbd53292e9ed Adding in TODO note
92a464d48e4ecfa95c61da41b2f8a6d26087600f Updating a couple examples
8cb9b88acb55bdd4bbe10e777ea6509c1d29a4be Adding in unit tests for From impl
86937b9dbafaa96c4ef7a40f5bcf47d50a1927de Adding in From impl for TypedArrays
e106ca3b615477f6d6220b3a9ed9e015ef2b0aaa Merge pull request #1626 from alexcrichton/more-standard
b9c27b93a56a4dbe012d4bd3cab11b5fd69b02b8 Update all non-mutable slices into Rust to use AllocCopy
eb550f5b4fcc1537b974aef77a49748c81f67237 Remove __wbindgen_global_argument_ptr intrinsic
e16dd1569795f87b500c2d97316dd9dfdd141999 Merge pull request #1624 from alexcrichton/less-stack
a021a967b27bc076097d8bd003662e957f3273c3 Remove the long-defunkt Stack trait
d9e53ac2f6fdc9b659e1b6a812f860c1cf408eab Switch to debug_assert_eq! in intrinic
b601c3fb2ee67d033bad66b92b92929221688119 Revert add example to what was originally intended
1beb19b6984270e25a8ec2c3da88ca98e0e781b9 Merge pull request #1616 from najamelan/fix/travis
597d66ab872fa1686a50dd24b66a7f6dba708170 Update git repo for wasm-webidl-bindings
e41bd688d0a56da3297d39873806cd186276374e remove warning about caching
e0ef329e17a5091e7f7ade80c78143796a24e98d Merge pull request #1594 from alexcrichton/webidl-for-realz
c664110d9ffac8c116b5c048ce48af1b6c6ebb43 Merge pull request #1618 from alexcrichton/update-webgl
7f55067fa0d332ca762245ba502ddfb618e0d51a Merge pull request #1617 from alexcrichton/fix-gc
04aea4e9abb3c4ef063c3c473183b3b6c10ffc5f Use view instead of subarray in WebGL example [ #1615 ]
2e03961ca10ae80622d7a6012c25abbd4de19a0a Be sure to GC our imports as well as the module [ #1613 ]
5bb6c6c577b81da1045ae160571000efc87e3856 Simplify instructions for CI testing of wasm code [ #1611 ]
3cc30843e3181142101666e981fd950897ef0312 Second large refactor for WebIDL bindings [ #1524 ]
This list of changes was auto generated.</details>
Released 2019-07-11.
All typed arrays now implement From for the corresponding Rust slice type,
providing a safe way to create an instance which copies the data.
#1620
Function::bind{2,3,4} are now available in js-sys.
#1633
More WebGL methods have been updated to use shared slices instead of mutable slices. #1639
When using the bundler target the import of the Wasm file now uses the
.wasm extension to ensure a Wasm file is loaded.
#1646
The old internal Stack trait has been removed since it is no longer used.
#1624
The js_sys::global() accessor now attempts other strategies before falling
back to a Function constructor which can violate some strict CSP settings.
#1650
Dropping a JsFuture no longer logs a benign error to the console.
#1649
Fixed an assertion which could happen in some modules when generating bindings. #1617
a1fc270f2a6ebe25d850199eed16258dfd02229a Merge pull request #1608 from alexcrichton/bump
a1fc270f2a6ebe25d850199eed16258dfd02229a Merge pull request #1608 from alexcrichton/bump
b7b92cffe243fccdbfb4a95c0a45a2a7759c5778 Update mdbook install
d71ab78fc65c0dc1ee3420c6fc8a9ba5d7c4ba59 Bump to 0.2.47
9b8191efb1baabe4c3339d8d8e4c3c1b6df0ce5a Merge pull request #1605 from c410-f3r/getters-check
e7902f384f9fb20b0677590bedee92fe20cedb5d Merge pull request #1606 from alexcrichton/gc-elss
c9ee88bda3b46d251440e17d18727f40e2f871e4 Preserve the function table during early gc passes [ #1603 ]
8d90655f98b4db00b8479aa531af908c4d45deeb Merge pull request #1602 from alexcrichton/more-immutable
1aa6773c47629721c01ffda036a14022b01d0d48 Merge pull request #1604 from marienz/link-utils-mixin
597b69701774198414cdf8e7a6b1c7236b79ee46 Forbid duplicated getter/setter names in fields and methods
3361e02cafb4164c90db3d2fe356afc619cd71de Merge pull request #1601 from c410-f3r/unnecessary-result <details><summary><b>See more</b></summary>
af1f051e9bc2022cff371b1db538fbae3dc41e7f Typo
b5da08c6a0a0c200ac1a7889cbb05e9c741c379d Merge pull request #1598 from Pauan/fix-futures
46e3cd5aa26e60e25bde3d3eee564a8e7a7adc5e Make HTMLHyperlinkElementUtils a mixin, not a NoInterfaceObject
379cad047a609c6a260d6678f1867fcae4982f88 Merge pull request #1599 from marienz/typescript-init
3b06e58c9e00ce73de72fb909502473750dbe5e8 Handle more slice types in flag_slices_immutable [ #1539 ]
f1cd643992610bd712fa0a35ab20aad88d32212f Merge pull request #1600 from c410-f3r/repo-url
00d47c1958523eda622e8152f0dca695b778f821 Remove unnecessary Result return
62681425b08fbf13e44b781511916e005fcfe4b8 Update repository url
1b914572007923182af55757cdd1a948f6d89ae0 Make the argument to init optional in the Typescript declaration too
5a1dfdf2abab8b8ff7aca34bd9698125acbe86c7 Fixing panic if the Future wakes up after returning Poll::Ready
This list of changes was auto generated.</details>
Released 2019-06-19.
The HtmlHyperlinkElement should now include more native methods after a
small edit to the WebIDL.
#1604
Duplicate names for getters/setters now have a first-class wasm-bindgen
error.
#1605
TypeScript definition of init with --target web now reflects that the
first argument is optional.
#1599
A panic with the futures 0.3 support has been fixed. #1598
More slice types are recognized as becoming immutable in some WebIDL methods. #1602
The function table is now no longer too aggressively removed. #1606
9cac16f2d60bb63e048df19e0e01b1a2b97b8cf1 Merge pull request #1596 from alexcrichton/bump
9cac16f2d60bb63e048df19e0e01b1a2b97b8cf1 Merge pull request #1596 from alexcrichton/bump
8fc0a38402fb2d808fcc05bbaf562bbca9332006 Bump to 0.2.46
83a3f5d44aaacf89f390790580cbeef038f19aaa Run cargo fmt --all
3aa803c55c41aec0158b46bd5bf6fd25fcf5e8bb Merge pull request #1380 from alexcrichton/rayon-example
eafc6024cc5d6a605e3da39176512819a2c948fd Rewrite the parallel raytracing example with rayon
f027bb2e093a3f83bf1d1c66a891947730b51095 Merge pull request #1593 from vmx/patch-1
5c79298dc90faaf9624e5179bff14fe287c878f6 guide: fix typo in rust-type-conversions.md
1c558fac92072d460f24262b5a3643f287c1ab82 Merge pull request #1592 from alexcrichton/explicit-self
80c75df166fac034f89ff86e5e7be8be4dcddd3e Merge pull request #1590 from alexcrichton/intrinsics
754328bef2d15d09a9ebed66f7f4607d243a3264 Merge pull request #1589 from alexcrichton/clamped <details><summary><b>See more</b></summary>
c0df37b2f2b163c069563091d0825bb580ba503d Merge pull request #1588 from alexcrichton/exnptr
afbd7d3ff88a8fbdcff9f381893a2f36b68315b5 Include self-pointer in Function descriptions
ce4cc317e87cf57e6bae96e92ae9515cb868ea97 Correct some intrinsic signatures
621fc9c4408c6b99fa0bf37578f5f8ed7490de97 Remove the Clamped descriptor type
6796bc689567bed6a6f9b36e4cb7f0e98ace53cc Communicate exceptions through global memory
535aa3193c9e45f225e9bdb26abc943f6a72e64a Attempt to fix compilation issues on CI
c3e0edd956143a4e4cf3284dac8664d9fddb77f8 Merge pull request #1586 from alexcrichton/no-web-sys
a7726545ac5107785df8d45fce77a91f937548f3 Merge pull request #1579 from ibaryshnikov/default-init-module
5cf8224d99522ea1ee3edffe3b1451d6dd82a606 Make env_logger an optional dependency [ #1580 ]
2e05b6201370ce5663c482e8375c4cc9d34f36bc Merge pull request #1583 from Pauan/asref
b205045424747117fe2ae4aef7f9e85f8031687d Adding in AsRef impl for all wasm_bindgen types
8ace8287ff75214fe955bb1819df9e8aa216d325 added default module path inside init function when target is web
96d333af842b35df12265a74df466018f955345a Merge pull request #1577 from c410-f3r/getters-setters-ts
e7e8ae1877f1a6b61d883a5650e5a8f318377199 Fix getter and setter
cf2a42ce7c1d8b45f0d3ee0c9d85cccf0173cfac Merge pull request #1566 from alexcrichton/webidl-bindings-refactor-1
e24c03182b540e1c99c5382f0532db096a7c5c37 Attempt to fix CI
59e773f5ec2b8ed95e05d80ec0c682c5848f587a Update walrus
bf1a31e139f954eb7cc450e00e304659fcef8ec9 Don't generate a free function shim for classes
6e8c3e88f86790cdb526e1fcad2765ba8b451eb9 Directly import __wrap functions if possible
c22b907e7f7b3eca2c22e4ff07fbf64287151cbb Touch up some comments
ee426c03a97413fe2fd4f67e7e1956d9a6d4028d Ensure that generated JS is deterministic
cfd3e0406f94efc2d76953192ab8eade47c68216 Split symbol intrinsics into two
6f727d7c13441beeb0fa650b8daa613270c1defb Refactor the module name slightly in gen_init
4eafaeae2ddf1df5e96072433c56269aa3541f42 Handle the function table export on-demand
71209686e9fc200ce40759895c1f163cad7ad38c Use unwrap_call instead of an explicit match
c7021ba307aab211d48feba825d24a69176c6539 Update crates/cli-support/src/js/mod.rs
3b5e3edd184857075968a150c9dcd76c4cbdf173 Fix anyref closure transformations
b51df39bc961c64c3ad20a8afe53d63f0be80e0b Reimplement anyref processing and passes
55fc5367a500c5e5815a8bf0c30d45f0f0364830 Fix a typo in the JsvalEq intrinsic
cbd4b87d081384b046dc4b453e83e1e4d7062236 Fix handling imported memories
81fbc642f47d819a2e6eff6a68cf6d7b4beb028a Don't pass strings in raytrace-parallel example
b4c395bd6ed4daca8379172c07ae74742e31cbb7 Fix an inverted condition for catch_and_throw
edd1469d216d8bf68ba5878c028a73436d445dbc Include docs in generated JS getters/setters
164712c3054c496d5c709a4f1fe4463b967e3856 Temporarily ignore intentionally failing test
cba1e70077165f5bc11fd9fbb26a5291dc27b276 Fix TypeScript output for fields
ff0a50e31eff62f8b7bec1df109efd19663aaf8f Fix failing interpreter tests
346868f78bdd7c51ef433dcf2bdaaac6ec80ca1f Fix a failing CLI test
22b26db9111a5abe969a8b20b52fa73501e25994 Use delete_typed to improve some ergonomics
e8e84a3f9c9eeca2ced26f22ebf446c67befed54 Remove __exports map on the web target
3e28e6ea46119139e44dfdeeee958896b76332c2 Fix web, no-modules, and bundler output types
68c5233f80d87942bfd4b31a9478e39c7f67aa37 First refactor for WebIDL bindings
b11b6dfe5d86c773a3ed1a3c00a3403c21d72e2d Merge pull request #1573 from not-an-aardvark/implement-flat-and-flatmap [ #1454 ]
5c5c13cf9e6dbb77ad42203358318fb89f1cbebf Add Array#flat and Array#flatMap to js-sys (fixes #1454)
6ac61b5feb730b66be53f3a6d1b14e14e648b8f7 Merge pull request #1572 from alexcrichton/dictionary-fields
117928f0c085a1987e21408eb7885076030d0658 Add doc comments to web-sys dictionaries/fields
877c31cdc8da03e90d40455be87a9b78a9599cce web-sys: Don't remove dictionaries if required fields are removed
618b5d3531844d449e40267f119fa1cebc3c4ce1 Merge pull request #1571 from alexcrichton/less-warnings
82467f9793031c61273c5ec9fdb8351942708c87 Use dyn with all trait objects
f3adee7056a71fdbdcdf9ad4f641d6c58fde3665 Squash warnings about unused variables
c876bd62681a0219e7cb6423a0cd0230b4bbcf5a Merge pull request #1570 from DiamondLovesYou/master
9884c79bd9679636281328c5880977e48fefbe11 Merge pull request #1546 from ibaryshnikov/websockets-example
cbedf0bba0f030ebade93d0c9ef94bb95ab98e7a added websockets example to the guide
e16bb9cd389429c0b0dd3f8aa81f253db48cd7dd exclude websockets from being built using npm
6825da384f68024901f22bd52653abc0415718ce added websockets example
03218d9d3cb51199e349097976125a3c525ac71c Support 8 argument closures.
ad68436cc904bd4a7f0552b2bfa23f1a3d2e3427 Looks like webassembly-js-api package no longer needed! [ #1565 ]
2d13589c56cb25b341feda3b9d2b7cd40430281f Merge pull request #1561 from xtuc/chore-upgrade-wasm-pack-plugin
546f65e2f301292f2ad1846e432994223c400eaf chore: bump again
e65791d5c1f613fde8a6d01cf013e6792a57fee2 fix: remove css modification
f63238ee24078db90158b2ff5d7ca0b26a1e1529 chore: update wasm-pack-plugin to 0.4.1
cd724cb274890cb31f3d61b8bd06e9b64f25d6c0 Merge pull request #1560 from devsnek/clean/linting
2cc40a27d24f93715131194747c280683205984a Run fmt and clippy
dfcaabc73809d222c8042bdefe0332a83b95db9f Merge pull request #1557 from devsnek/new-weakref
2a665a92fd6163e1502ff2dd15f696b62e4a6038 Fix compile errors on nightly
39b5f1845da02da1ea6fff58f572fa2507a4af35 Fix a warning
2d22fa4f03cd08e1b1c388f44e19c566913dde3f Merge pull request #1556 from noelyoo/fix-docs-link
66ade777204937ccf97ce61eed58281ee590d8ba Rewrite weakrefs to use current proposal
f3ec734310456e16aa250495cacf65b5e76bb80e docs: update docs link
62b313d695995d2570ea08caa0cc736c1c6972e5 Fix README's badges
c7b41d03a6affbab0819d66f2a8492bed69dea79 Add standard WG header to README
6f8de177e3ee1cde712ed24c84661d4204ce5ecf Merge pull request #1553 from fitzgen/guide-serde-wasm-bindgen
2a896dbeb3e163b1c015849a4b3615a0657abb54 Also mention that serde-wasm-bindgen supports more types than JSON does
90f1866ddd6a340acc786c7da3c37d9f98fbd58d Add note to the guide about serde-wasm-bindgen
5233139b31e240bded7237788680a2831452fa3a Update README.md sample code to 2018 edition
9b04fe9e457a043a93edb83b72d8767028457a31 Merge pull request #1545 from infinity0/master [ lang/rust#58516 ]
81fb2d97d3050b74dbdb83a9b4005a51b12cfaf1 Work around rust-lang/rust#58516
bc5f73e3d26c9d6499d0eb6dd94816656d7752b2 Merge pull request #1550 from alexcrichton/more-better-errors
b96186e9a6f9c814b2dab587c562ceefbd2a9474 Merge pull request #1549 from alexcrichton/bump
2cbb8b8a69f2aeeee1fe308348efc662019fa0f6 Improve diagnostics with missing trait implementations [ #1528 ]
a02d210d5c0b18c08888436800dbbf6ee1c49765 Catch more errors on non-wasm32 platforms [ #1528 ]
137bbdf2e39a3a839f3a8419eca6716c370aea5f Bump to 0.2.45
f23b8671798aa778bc6bc7dc139e81bf603bd2d6 Merge pull request #1544 from ibaryshnikov/master
a68cdc594d9173ee495edc85b2930dec41a617b4 Add a test that Callback::forget works
4049803c393cc6863740ab168004ddb302537e91 Merge pull request #1548 from lzubiaur/fix-heap-closure-example
c043a952a2dd5bdb447aed5a2f8e8cba4174dea7 Fix closure example compilation errors
805738608dd34d44cf3e0989cd13369d9efb1a6c expose forget to wasm
0cbdea5fa96583319f4b6e18ca45cc300af4a07b Merge pull request #1542 from fitzgen/update-walrus
d4224364879709630aa9b9148fe9223e8ade9ad7 Update dependencies and use new walrus custom sections APIs
fb42e47ba7721c0e9a2240775e1075d66f023247 Merge pull request #1541 from RReverser/rm-wasm-bindgen-test-unsafe
cce12bfe165564e43c18da7742e804f52b310be5 Remove unsafe from #[wasm_bindgen_test] output [ #1540 ]
3e6d89f1cf1345a0a8ac8d33e7575d0d76ec725c Merge pull request #1539 from dakom/master
ae2aba094cdb117b5a4c5e8b91a913a4cc178c7f whitelist uniforms with Int32List
0d895dde1418f42a68ce7f89698b1128b5878062 Fix version title in the CHANGELOG.md
40ec810b86afd32df9e95ab3ae5ac1900cc78f7f Merge pull request #1537 from lqd/weedle-0.9
ca0008174aa08a329358b93693dee189c78b75ac Update weedle to version 0.9
This list of changes was auto generated.</details>
Released 2019-06-14.
Bindings for Array#flat and Array#flatMap have been added.
#1573
All #[wasm_bindgen] types now AsRef to themselves.
#1583
When using --target web the path passed to init is no longer required.
#1579
Some diagnostics related to compiler errors in #[wasm_bindgen] have been
improved.
#1550
The support for weak references has been updated to the current JS proposal. #1557
Documentation and feature gating for web-sys dictionaries has improved. #1572
Getter and setter TypeScript has been fixed. #1577
The env_logger crate and its tree of dependencies is no longer required to
build web-sys.
#1586
Using __wbindgen_cb_forget on --target web has been fixed. #1544
d7695f4e781df89c97e1431ec6598ca4c9cd65cd Merge pull request #1536 from alexcrichton/bump
d7695f4e781df89c97e1431ec6598ca4c9cd65cd Merge pull request #1536 from alexcrichton/bump
773c6ff430459f7d4c61907c97993c3d17e20dab Bump to 0.2.44
5d97b358a28aaa2239297b5e4fc6381833dbdbc0 Merge pull request #1534 from alexcrichton/trybuild
4cc730fc41c703c69553a9dddffb67ef7f515399 Migrate to trybuild from compiletest
401c26b73bcc06ae7e76d67f53b6131bb3c958a9 Merge pull request #1533 from wayeast/master
e728a7ee9e7ceca68d3a33191df4e1e634af93fe Enable text area selectionStart and selectionEnd calls.
827810fa1b7407c005729fcd755f2637aac4c2ca Merge pull request #1483 from dbrgn/typescript-optional-args
fdd6069f7a700755e294c8353042241bf48e827a Merge pull request #1532 from RReverser/even-faster-strings
716ed0d8911e85bc1a6231bdef543ea32aef3aed Hotfix for double encodeInto call
b964201831a014f9267c4a09ec2438f4a06dfd8b Merge pull request #1531 from alexcrichton/less-cruft <details><summary><b>See more</b></summary>
c504c381ca687f5ec95cca37868de5715c8434e2 Merge pull request #1530 from alexcrichton/drop-glue-closures
79dba40e61ae338fd6d3796f3c22943b4ebb40b0 Remove thread_local! weirdness in anyref.rs [ #1523 ]
f97763023cd3d12591ea44baa2341deb71295854 Merge pull request #1470 from RReverser/even-faster-strings
15defcfd3ac092727841b11e1867e6a489797f16 Add a debug assert and more tests
542076d6583f47e8c08497f172e32f8c9780910f Protect against segfaults calling destroyed closures [ #1526 ]
098b67d7f0476204dde179491bc918ebf0089baa Merge pull request #1527 from ibaryshnikov/master
762989e95c7ddd23fbb4f5ba7fcc2ee1f841a806 removed duplicate script from pipelines
0c681ee2baac066cbef8e8891052b73c5eec4d77 Fix offset to arg comparison
7418cec613385ddf2f2adb9517438223946b46cf Reduce reallocation sizes
57b1a57c5e221d5d66a34df9e6152c45de8da561 Speed up passing ASCII-only strings to WASM
befefe0da6ae63b7a4af63ba9910c1086622fd21 Merge pull request #1521 from fitzgen/anyref-heap-live-count
3348ecebdf16e2851ef0266107114eb308ce5863 rustfmt src/anyref.rs
450c9234ad2254e2060ff58c1fb702778f09a429 Add the anyref_heap_live_count function
8ef820a54e92273fbdbc08bd804151c3691d5c5c Merge pull request #1520 from darthtrevino/bugfix/1517_typings
9b5de9f88d48d166fd0a30a1ee22142a2d2a35cc update init test
2850cfc78eef21a56377a65dc7def162ad5ceb08 update init function export
608a819c0b292176bdd7dd129bf29c38e2f976cd fixup! Fix optional arguments in TypeScript
d9c559f2ca615589b9331dff7dd85a0ec2fd20a2 fixup! Fix optional arguments in TypeScript
f4c5532982f35575be324b01a5e5b6f42b21379b Reorder and organize instrinsic extern declarations
2384af21c1dff895db93ed61f202dbda42658dcc Fix optional arguments in TypeScript
d139228a34fba65e9c0b93feaa23d31b2d2f2b9b Merge pull request #1508 from RSSchermer/master
61e2a1271e6e614c18f1c6fae8cfe34d3e1b3438 Merge pull request #1518 from Delet0r/patch-1
cb691100f187db57d7e2efdbb471188a5003c97f corretected unit of UTF-16 from byte to bit
19c3036f7e6d58c20633e148c40d71e00c22bcf2 Update benchmarks source code link
952d9e06f33430d5af61d3f89146b916b40d96c5 Attempt to really fix benchmarks deploy
a85335dee94de431855eec9b89c49c19800b280d Merge pull request #1507 from Pauan/futures-0.3
c00262f210538763da2826ec2e159831d31de5f4 Fixing some nits
6c58afda01aac6d708961dbd248550e0177d2f24 Addressing feedback
d382ad72a3c1fa8c221b76c072b5ba86945c83a3 Try to debug missing files...
9d33dd87172dcafd4fa2559166da6b84c39174b3 Remove unused statements in web-sys build script
d6a6fdfcc7ede483a8dad59f603d9a3683584493 Don't assert rustfmt succeeds
7ef1e35a8561745c48ddb1da84c1518270e8c517 Try to fix publication of benchmarks
ec17ffe6ab6242bc79c156f3c21174bf057b3ae8 Merge pull request #1512 from alexcrichton/benchmarks
e4fd0fccb566e8b163fc372bd3acb11c2f94891f Add a page of microbenchmarks for wasm-bindgen
a7b85362ce5a5dd7f55e53eb3f1a92edc2a67118 Merge pull request #1506 from alexcrichton/fix-same-name
46f29db534af378a70eab6e5d2083fd7f8917029 Merge pull request #1511 from alexcrichton/update-walrus
3d43d6e5e86cfff647f041753fe38ee630e5e6e1 Fix importing and exporting the same name [ #1496 ]
5a017c1e22efd4372451f4a0e069b9c54e4f7d8a Update walrus dependency
15e516227587a2113da0708d48aa6f90f9e627d7 Add bufferData and clearBuffer to immutable slice whitelist
69d7dc24b1274943a1efa39f7805c60a4e467ec2 Adding in Futures 0.3 support
358ee18ab246a215e3d986c42ee7d9545d2d6ebf Merge pull request #1466 from fitzgen/log-stacks
a13eb107638a998a35515a721e2c48040fd1c400 Merge pull request #1503 from alexcrichton/fix-web-imports
22eb34d9ab17a11efaea1d61ad4258dcf345ca23 Fix direct imports in --target web
8174973c818ebe98c8b9efc0ec4b4ea18f1bed5f Merge pull request #1504 from alexcrichton/fix-drop-ref-showing-up
c96e3ce097b1774e608ef10816dff9b85059c29f Fix __wbindgen_object_drop_ref unnecessary bindings
c127ef76918df711ac414eee940523b9cde55cfc Merge pull request #1502 from xtuc/patch-1
98de4d7098c1888993e87c804257f91cf176a69e Update webpack.config.js
187a289ec8e0fce1f46830a511c250e5bb561c77 Merge pull request #1499 from RReverser/patch-2
c6428e2234ba112acd477576f0528cc1fc0833b0 Fix CHANGELOG for 0.2.43
578d59ebc0ce7f70f749028513d58c808d2c171b Merge pull request #1440 from c410-f3r/getters
3031c15bf6bcdcec4603738d682daa8e57b6c915 Rewrite docs for getters/setters
c70ed36be43938184b6fb0698509aa0a9c8d7731 Add some tests which do computation in getters/setters
470eea9fb0249b1bd5da97e5c68795796f65d268 Getters/Setters for fields
0c4cdefd07df46b7bf7912a293a77cac6afe54b6 Rustfmt
805aaa2273d02bf5248a33da997777f6510706a8 Log stacks of imported JS functions that throw but are not marked catch
This list of changes was auto generated.</details>
Released 2019-05-16.
Support for exporting "fields" on JS objects wrapping Rust structs which are
hooked up to getters/setters has been added. This is in addition to pub
struct fields and allows performing more complicated computations in
getters/setters.
#1440
Support for futures 0.3 (and async / await syntax) has been added to the
wasm-bindgen-futures crate.
#1507
Stacks of imported JS functions that throw and aren't marked catch are now
logged in debug mode.
#1466
A utility for counting the size of the anyref heap has been added.
#1521
Passing ASCII-only strings to Wasm should now be significantly faster. #1470
The selectionStart and selectionEnd APIs of text areas have been enabled.
#1533
Some more methods in web-sys now take immutable slices instead of mutable
ones.
#1508
TypeScript bindings for Option<T> arguments now use foo? where possible.
#1483
Unnecessary bindings to __wbindgen_object_drop_ref have been fixed.
#1504
Some direct imports have been fixed for --target web.
#1503
Both importing and exporting the same name has been fixed. #1506
TypeScript typings for init in --target web have been fixed.
#1520
Calling a dropped Closure should no longer "segfault" but produce a clear
error.
#1530
60bb68649b360dfbe4cd689bd9d6c8df56bf325a Merge pull request #1490 from RReverser/deprecate-custom-try-from
402e72ed39f6502830c7fe9466f1a02baa854986 Merge pull request #1495 from alexcrichton/bump
f2429be07f109de4499e13f22e426d9954b49ad5 Bump to 0.2.43
77d2c2856e98182c45f7f7b874134821fbb2c6d6 Don't rustfmt web-sys bindings [ #1482 ]
103da2269229141d871ffa0964707058642d3807 Merge pull request #1494 from limira/patch-1
60bb68649b360dfbe4cd689bd9d6c8df56bf325a Merge pull request #1490 from RReverser/deprecate-custom-try-from
9c7faefed11d1a0af0ecb7d791eb66010d994314 update 'host bindings' -> 'web idl bindings'
36c0a1347dfbd2c8a7428aa5bd6e5ff5b7ae461d Merge pull request #1492 from RReverser/function-new-with-args
4865b0851354b1c6e24692ee7dae5d64da8e1ae5 Merge pull request #1491 from RReverser/more-variadic
814f576b1dd3135a3a0e0284f629c93ba936cc0b Add bindings for new Function(args, body)
85eea18658d9807073cf63d178416c923add22df Adds missing variadic bindings for string methods [ #1460 ] <details><summary><b>See more</b></summary>
ccc99cd047a223a1ed6bb5562a2cf596393ec98e Recommend to use dyn_ref on funcs and strings
26f9d86f62480797e31767aa0a714aa6f797a5b0 Merge pull request #1487 from ibaryshnikov/shared_array_buffer_tests
cd7aa717c54de632f1b57c500954e33763a9a612 Merge pull request #1467 from RReverser/tuple-structs
38fcfc312519adcdf49302d2f209e1a7de3d6e55 Merge pull request #1456 from bakkot/object-from-entries
70480ad29d91c3e9aa4da4ffd2e46c1fdb786983 fix test
a32d2553fcbdc84f060003892f3f9858ef403804 js-sys: add Object.fromEntries
7f4f9ce1363537528f4419625bbeb13b27f3a96f Merge pull request #1486 from alexcrichton/fix-raytrace
26df24ae6aa77fb3f67435728177740038c77ad2 Merge pull request #1484 from alexcrichton/new-node
af22a26880a7c8a789623f845ebc83e25d7e88b0 added tests for SharedArrayBuffer
7e512ba187575162f51ddc4af466a6dcc2f617dd Merge pull request #1463 from ibaryshnikov/atomics-support
4156a378567255c5533c34bd146507487f579f1b Merge pull request #1485 from alexcrichton/missing-vector-len
03299a73b47681edc6abdc2239d58f7ed1091d39 Fix raytrace example by using an older nightly
dea5bad698d20613f4f504e17fd807c3a2062485 Fix test for node 12
21205eccf2ea1f6801ee610372adc1e8f438c674 Add missing expose_wasm_vector_len
7882fe78078b33e712b4664387a44ff46f8f1a18 Upgrade version of node.js used on Azure
b05ae44a8c8352423a02b25656b82f6c3e86baee changed f64 to i32 in static methods of Atomics, changed static_method_of to js_namespace, set typed_array type to Int32Array in notify and wait methods
58245b0587b9f7fa942db704b32636e0ff71fa3a changed String to JsString in Atomics::wait
de2c2cf26c15efa595d5c76b8f2d43fbd0d20607 fixed Atomics::wait and Atomics::wait_with_timeout return type
a0a3a1446d7aefd77d90ead8366ff157aa2a9ae7 Include props usage in exported_types example
cc891090046d07134c1f034a1bf03c43f3df9bad Merge pull request #1473 from RReverser/chars
680a6bbb0cbca198f2ea74513742f8e65d54bc6f Remove PartialEq<char> for JsString for now
0759bfa7e231b7e94e2708cd8107331a866faa0c f32 changed to f64 in Atomics
f1eaefdf0daf8edfac487d201fe71996a07da01b fixed value types in Atomics methods
1071457c3d2ce0711c48e347244f3d54341806bb added SharedArrayBuffer and Atomics to js-sys
bc4a98d14690ea8668cc09f8e39bbab5b9b5947d Add JsString <-> char conversions [ #1363 ]
ac7230b678892e8fc2deeb2dcd2ec8850bfc7b9f Merge pull request #1479 from xeqlol/patch-1
a0700f8de39d7d74d1e32342f7a596a16d581b8a Merge pull request #1477 from lnicola/impl-debug-jsfuture
735b1a1aa8bcb915179e0bad1217a9c71b26b560 guide: fixed typo in js-objects-in.rust.md
04a78badc58c6b5cdc0f9ad9eb67e2dc91a9e78e Implement Debug for JsFuture
7decb133f04b8f9a4f42b85b44a06933273cf933 Merge pull request #1472 from c410-f3r/ts-methods
59fd11b31c141c71e1923171e58ba27e7a75b9c2 TS: Add docs for methods
68e6b4f1875d190a8b12ce1dfe9e316884539587 Merge pull request #1469 from RReverser/fix-primitive-new-tests
d7650863ab704d01b65cc759e2f879d685401e66 Fix or suppress {primitive}::new warnings in tests [ #1447 ]
3a7d384dc8d28d7c04bb0d04debfda7dcc490ddf Generate bindings for indexed struct properties
10cbc789a87c63d36bf8c2820f7ab12fc319e274 Install rustfmt on azure pipelines
ff1addbbaac29503528e6451537c5e254d53c4ea Run cargo fmt
5ebfa27b62515d68bef8d65f2c57002896b24867 Merge pull request #1465 from alexcrichton/only-node-tests
79f370deef035949f15bbd5e9d0b10267271a841 Add env vars to filter wasm-bindgen-test-runner tests [ #1458, #822 ]
18746ecf4a11f362fde0a3f42c267baa2f285b03 Merge pull request #1461 from alexcrichton/rustfmt-web-sys
3ab9bb192a7269481fbcf5f233f4de92e9eca73a Merge pull request #1449 from alexcrichton/no-interface-objects
01a52233d314935ee6f95dffd058bc1e2b791df5 Support [NoInterfaceObject] in web-sys [ #893, #1257, #1315 ]
fd4f0b650844a8830c4f6db97ce6a95c96f71b95 Format web-sys bindings by default [ #1457 ]
526b253b4790230e819aa78de21f03b94ec141bb Merge pull request #1451 from RReverser/more-static-namespaces
7ee4906661367d5d02993a02ea63e4df244ea100 Merge pull request #1410 from alexlapa/add-wasm-bindgen-skip-attr
7238807d539e6dd845e3f15ff147aa0ddfd234b5 Merge pull request #1459 from RReverser/dataview-methods
ed45ca72da01653d57cbf2eed4f067a995d82404 Fix more DataView documentation mistakes
8b6dabcb5ce7023a940f66e34f33d999ff90dbc5 add wasm_bindgen(skip) to reference
00c4dd9b6f70a1c967c419a764f963c31a4a8bd3 Merge branch 'master' into add-wasm-bindgen-skip-attr
62b7d3e3c408b9d20a05cbe0ad0a25cff22b215e Transform JSON into a namespace
75c2971ab9ec86a572363c0161e5e36b43cb8bf0 Transform Reflect into a namespace
fe939bc91199faac0e6222ffd5b027d8ad013603 Transform Math into a namespace
744b031ad417f9e7ba153e31f2830fddc84028d7 Merge pull request #1450 from RReverser/iter-is-type-of
2f524ee49425abcc1d421b70d472a245c913d30d Leverage new is_type_of for iterator protocol
c4776becbb9f7aa01d27a5e014ec14adaed462d7 Touch up descriptions of has_type
657b97b6d84cfc41650decd88e02314113f379ea Merge pull request #1405 from RReverser/instanceof
1a40ba759c53d2e4fc392a668032fb2f6f443b6e Merge pull request #1448 from alexcrichton/isize-usize
c77b46af7d393ab2577f7c0e59169197d62411c1 Add has_type and update is_instance_of docs
cb880bdbff99ad1038a47bbc8b62f6df4335073c Add customisable is_type_of
4211fcd9926c242e27cee4ce89a57e4e2f51cb47 Merge pull request #1444 from alexcrichton/partial-eq
ba1f67d854b1d1ec2613d49ad00ab6c5a823f1fb Remove some unnecessary unsafe in js-sys
df8da56a6cad5bf09f9833058ce49176b3626d08 Add PartialEq/Eq to many js-sys types
e39404e6332748d99e9b17674fd1cc1f4894c9e7 Add support for isize/usize arrays [ #1426 ]
018b9b4e091e168b7254bbbaeb453c2de4520a3e Fix compile of js-sys
529d0bd29a9efc5cc1e41f4ee3dce591b4f58737 Merge pull request #1447 from alexcrichton/js-sys-tweaks
ba88ae8b640820344e9e9097619ef9f23daefa78 Improve Boolean/Number/JsString consistency [ #1446 ]
1dcf468c9d162d5819153107480b96d96496dc62 add wasm_bindgen(skip) attr to disable getters and setters exposure of pub fields
This list of changes was auto generated.</details>
Released 2019-04-29.
Support for isize and usize arrays has been added.
#1448
Support customizing dyn_ref and friends via a new is_type_of attribute and
apply it to some js_sys bindings.
#1405
#1450
#1490
A new skip attribute to #[wasm_bindgen] has been added to skip fields and
methods when generating bindings.
#1410
More bindings have been added to web-sys for interfaces tagged with
[NoInterfaceObject] in WebIDL. These types always fail dyn_ref and friends
and must be manually casted into.
#1449
Added Debug for JsFuture.
#1477
Initial bindings for Atomics and SharedArrayBuffer have been added to
js_sys.
#1463
Bindings for Object.fromEntries has been added to js_sys.
#1456
Tuple structs exported to JS now have indexed struct properties. #1467
Binding for new Function(args, body) has been added to js_sys.
#1492
Bindings for some variadic functions have been added to js_sys.
#1491
Many js-sys types have received various tweaks and improvements to ensure
they're consistent and work similarly to native Rust types.
#1447
#1444
#1473
Dummy types in js-sys only used to namespace methods were removed and now
modules are used for namespacing instead.
#1451
Bindings in web-sys are formatted by default for ease of usage in IDEs.
#1461
df6e15e3ab56ea1237fb2b0a9964fd6aafeb73ca Bump to 0.2.42
encodeInto truncating strings [ #1436 ]This list of changes was auto generated.
Released 2019-04-11.
encodeInto accidentally caused empty
strings to keep getting passed to Rust.
#1434d3fbf707e1c29e53846411aa48a8fe2b4f216084 Merge pull request #1434 from alexcrichton/bump
d3fbf707e1c29e53846411aa48a8fe2b4f216084 Merge pull request #1434 from alexcrichton/bump
02394724eaa841e20d67b318a38ab663d1fa647a Bump to 0.2.41
b670ea44d029b455e71245b94fb532b90df17fd8 Merge pull request #1431 from alexcrichton/function-table
7e5e401076b094a3373c8cf8617cc9d9b8e09f3d Add an accessor for the function table [ #1427 ]
a9a23020c4afe0a911bb2da0e3a046aa594ce68d Merge pull request #1430 from alexcrichton/better-errors
b6d041e4d52cbf2763b6d49ced8f41296e27dc55 Remove debugging code accidentally added in #1416
e4400ac8b4f43006cb6a97ec9cf025e4284cbd95 Improve error message for non-copy struct fields
16745edf3f4226f9ae8b0e195472fc9ab416e4f3 Merge pull request #1416 from alexcrichton/js-string-valid-utf16
44738e049a1c9590e2101df2c993241218041cf1 Add warnings about UTF-16 vs UTF-8 strings [ #1348 ]
d75ae42d4f195dbaff89861d9f04ec78b9b2de78 Merge pull request #1425 from c410-f3r/rustfmt <details><summary><b>See more</b></summary>
a9ad9a96dbda6d54c8cea660786f1759269853ca Update CONTRIBUTING to inform about code formatting
aa0aff674c1c70a8d0601a040f5a0ef77368b716 Merge pull request #1424 from fitzgen/fix-imports
dff9b9b1e347eb69b2f4d24ebdda746a26f14b77 Don't put anything before ES module imports
863a8b9ceaebbe8793755e4e301ce00baccd0f46 Merge pull request #1423 from alexcrichton/fix
f48fdec21e41b10ba98c015b1b0d02c88acda8f6 Fix imported usage of wasm_bindgen macro [ #1422 ]
76a03adfa685587ef73df954fca967178ab6070a Merge pull request #1419 from alexcrichton/init-is-hard
e3473f5e9efb8230697f22cca56afaa027b4bd48 Fix instantiation with a Module [ #1418 ]
fa674df1096f59771de10d68895e5876452fd90b Merge pull request #1412 from c410-f3r/init-ts
a1c457bd152f24bc51eea14bd9cf0f3913f7e74b Merge pull request #1414 from RReverser/smaller-realloc
f367a4247bfc759f6bca111f65c57980716a6010 Merge pull request #1417 from alexcrichton/closure-ref
b6317e3f24e159931ccae7a2ee761c5264cf3433 Add TS type for init fn
d48f4995e5fb4be68b0ee206e9b56f9b5e6aa572 Support 1-reference argument closures [ #1399 ]
2f28b8b80e3f5daaaf9d11df661607541293c6c6 Optimise encodeInto reallocations [ #1313 ]
c5f18b609922bffce459b572daf70b2ddb190f7b Merge pull request #1408 from samcday/impl-debug-on-closure
1914bba0be878d5a16cb633dcbd02ded3bbf1dda Implement Debug on Closures [ #1387 ]
11213932038d5486f7f1a1ec047c9338bf2e3609 Merge pull request #1403 from RReverser/expose-constructor
30b258515d197fcb9bc3b6e6e5ee50d82c4be2be Merge pull request #1401 from alexcrichton/fix-u32
0160f6af451bbf0f32ee0ba4d606990ff481bff4 Fix handling of u32 between Rust and JS [ #1388 ]
db17e9d2a74d9f69cfd9ae4cf8994c08c05f480a Add constructor property to Object
98e554c1fa23f66f851f0e94a00d1e8894588980 Merge pull request #1402 from samcday/patch-1
05fbbb2b92c7a20cfbe47d06daa79eb9dba7c471 Merge pull request #1358 from stevebob/book-linkcheck-pr
ea01043e9a23be5b3093c86edbd74d8ba9ffbe75 Quick type fix in closure.rs
3c12e13c04c97b2ab826c44c5f7aa3818d17cea6 Use rust template in mdbook test
e3aabcb27d959e33fbab74bc120f554c4d761ad7 Merge pull request #1398 from RReverser/is-like-none
a5f5c7a9e804f7aa4bbf7aba72ff9acfd1ff7e16 Consistently expose is_like_none
72672ff42a7108b8a0982a7d4bda4bb16fdab1a1 Merge pull request #1397 from RReverser/option-char-abi
5f742ca4c473af3e529e1d5700e11dea281bfc78 Simplify ABI for Option<char>
5ae6de5e9e2656c73f5fb309be1cafcc8ca061a1 Merge pull request #1395 from alexcrichton/e2018
778e497186c5c59bc3e607053700907b996008f9 Generate r#async method names in web-sys
a6fe0cefa8b837030de97e2e6e5c2fdbbb66b946 Migrate all crates to the 2018 edition
c5d2b2d1fb7fb12abedd1827bbc7670a40c21cf4 Merge pull request #1359 from konstin/reexporting_in_2018
e43963fd4200793afc974789f65c64e71577f506 Merge pull request #1393 from RReverser/faster-try-iter
11bb8f03c2cbe4c6d7691b9b4494d1254bc7b829 Remove string allocation from try_iter [ #1386 ]
b4b3926bb8be6dd0c260c0f27e89517255c26863 Merge pull request #1305 from alexcrichton/npm-dependencies
faf49c7d56f2e86519e4d172b831c28e2b5e16a0 Reorganize the import_js example
433a8d8df96cf181dc96607afd6a5bbee3bb1f3d Merge pull request #1391 from RReverser/node-pass-string
12011f453773db4c670983e65e5eaffe73c0d94f Add specialised passStringToWasm for Node.js
362777fc756a15d23af460e696751ac09b72f1b9 Start implementing a test suite for the CLI
6edb40a807c618e43e7fd92ecb072f600c260e0a Implement transitive support for NPM dependencies
6522968fb63d848389075956dbdba3fb3ff5823b Switch UI tests to beta toolchain
0631182b6818e5362148d8da706bd8809ce05129 Enable the stable feature of compiletest_rs
42c1cdd8bfac3b4acefebe4a3816d574e842dc2e Merge branch 'master' into reexporting_in_2018
69bbf597af551bfa20e087b0d8412b1116d982f2 Allow reexporting proc macro output in the 2018 edition
47f3247a0ed59594a2fcf400ce1b7c1e95f26efc Installing and running the linkcheck mdbook backend
This list of changes was auto generated.</details>
Released 2019-04-10.
Initial support for transitive NPM dependencies has been added. #1305
The constructor property of Object is now bound in js-sys.
#1403
The Closure type now always implements Debug.
#1408
Closures which take one &T argument are now supported. More implementations
may be added in the future, but for now it's just one argument closures.
#1417
The TypeScript bindings for --web now expose the init function.
#1412
A js_sys::JsString::is_valid_utf16 method has been added to handle unpaired
surrogates in JS strings. Surrounding documentation has also been updated to
document this potential pitfall.
#1416
A wasm_bindgen::function_table() function has been added to expose the
WebAssembly.Table and get access to it in Wasm code.
#1431
Reexporting the wasm_bindgen macro in crates has been fixed.
#1359
Returning u32 to JS has been fixed where large u32 values would show up in
JS as large negative numbers.
#1401
Manual instantiation with WebAssembly.Module has been fixed.
#1419
Error message for non-Copy public struct fields has been improved.
#1430
Performance of passing strings to Rust in Node.js has been improved. #1391
Performance of js_sys::try_iter has been improved.
#1393
Performance of using TextEncoder#encodeInto has been improved.
#1414
One column per quarter.