NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #3154 most downloaded on crates.io
Shared support for the wasm-bindgen-cli package, an internal dependency
Latest stable
0.2.130
Last release 21 days ago
30 Oct 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
133 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →
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
7392df8a3990466405e536355de2fab3ca0cc190 Merge pull request #1381 from alexcrichton/bump
7392df8a3990466405e536355de2fab3ca0cc190 Merge pull request #1381 from alexcrichton/bump
6803c619bbda9fefa5448b33d4bea2a8f93e873f Bump to 0.2.40
a8c5fa4a2a808292d9df7ff8940bd801ffc30606 Merge pull request #1385 from alexcrichton/fix-uaf
6c62d54ad990f8829202dcd4a6e9440a0790710f Update crates/cli-support/src/js/closures.rs
407bc5dfbbe948e688badc8557e69213e3c5bfd1 Update crates/cli-support/src/js/closures.rs
1a7b3d56bda102de5f09291237303d3958379190 Merge pull request #1384 from rustwasm/cloudflare-workers
3e814a682475073546e250ac79e43a3aff0d6c46 feat(js): add check to no_modules gen js for cloudflare workers
2ff2e2505ac360c80632e2500f9a973cfa72d4fb Fix use-after-free with closures in JS bindings
b8e9a20d8f9090e2104421f2c06e7209ef8cc627 Merge pull request #1377 from alexcrichton/fix-dupe
c9a972ac55a40ef0fe1e14254584c9b2d097ea0a Merge pull request #1376 from alexcrichton/more-debugging [ #1373 ] <details><summary><b>See more</b></summary>
a4736682d5492e3f1b8d1f68540b2b9ae5495576 Merge pull request #1383 from alexcrichton/deterministic
80899abf84e0ebb45cfcb281ac01111869f918d9 Merge pull request #1378 from alexcrichton/doc-tweaks
a5a600192a2199a516b77ea2d83da67f7dc6f80e Fix a nondeterministic bug in the JS wrapper emitted
629a19b8deb45f24e4db3e395ddcb8a126bb01f6 Bring back accidentally deleted raytrace build script
0e864a4855ec1bff1cbd18ba68b4dbbf58f099b9 Merge pull request #1369 from alexcrichton/targets
995be7c02742c6c4ecc32719a133e65de95e32ca Replace target flags with --target
93cab3d7557df065fd84b992a54e8ec0c9fd60dd Merge pull request #1382 from fitzgen/wasm-pack-web-target
1e98f6b0dd2c41529ffa7c3540165130b3499bb1 Use wasm-pack build --target web for without-a-bundler example
e39b5c1121f28e6c2cfa89530065bb3cb0d4fd24 Clarify some introductory docs
7b6731fd3b4f766b10fa5126d1ca87e96bb3aa9e Move links annotation to wasm-bindgen-shared [ #1373 ]
12355ce81c2786c5db1b58139c37f7df093a4f70 Add some logging useful in debugging #1373
d49d8c9e1b730dc18dd1f9efc2fe8cc470c63f47 Merge pull request #1372 from RReverser/fix-dataview-docs
3f86c9429fea4e65da530f99584abb9ee5f4592f Merge pull request #1371 from RReverser/merge-typed-arrays
4e806bab705cbf7a54b0048fe1f23dfc6c449499 Fix docs for DataView::getint32
c5260f29aab51d1825fbd16e3eafbd935ab24d10 Merge TypedArray definitions into a macro
2177dee9e493ca8a7d077bbc247ee0062377b39c Merge pull request #1353 from alexcrichton/raw-module
ae47665b4d6244474b7c780f2aacc3d8d8413c8a Merge pull request #1356 from c410-f3r/ts-tests
b89fefde298b03d2588a819f5ab7e2620b884c0b Merge pull request #1346 from rustwasm/dependabot/npm_and_yarn/@wasm-tool/wasm-pack-plugin-0.2.7
8cc93749043f5de7f21875ebb4bca19396525caf Merge pull request #1350 from alexlapa/enable-rtc-rtp-transceiver
dc50a5ab582e0d5a59304a5b107852e44caa4bfe Improve TS tests
4e32b5e430d52a3d30d0a0975bb3280e3044794e add read_optional_enum_attribute to webidl-tests/enums
0d592fffb04b361023bbfbfd5bdcc83b30e3777f Add a raw_module attribute to #[wasm_bindgen] [ #1343 ]
9e74085f4b131c248fc27dc545412c87ad6a9095 Merge pull request #1351 from konradsz/number_slices_guide
185c2b66fadf9658b268f64724b48a0ea5bec0d2 Import correct functions
1014bdb5dffc96b9c612b580c9f69f586b7b7c64 Merge remote-tracking branch 'upstream/master' into enable-rtc-rtp-transceiver
e6c42d4155648e438eba0af40caa41d9ca96be6f fix
d5a9208b49f009c41035acc68d66cd86ac1f696e Merge pull request #1344 from c410-f3r/arg-names
bf273a2035c69f609a1a43c578b4d802fd022c30 fix
9178231b60a92e8554e7ef8cb1377067be0ef4c0 impl OptionFromWasmAbi and OptionIntoWasmAbi for ImportEnum, enable RTCRtpTransceiver.webidl, add add rtc_rtp_transceiver_direction test
91ea972c030781a0120085b22d165631b2f50753 Take &str instead of String in argument fn
59c1b2a565c43b28dfa37d1e7b19050ed12e2900 Merge branch 'master' into arg-names
70f537334877f57c06fcf6edd617f6608f3f04f5 Preserve argument names
5403510594c9d0e9fa4e801f6f7620769ddedde1 Update @wasm-tool/wasm-pack-plugin requirement from 0.2.5 to 0.2.7
This list of changes was auto generated.</details>
Released 2019-03-21.
TypeScript and JS generation will now attempt to preserve argument names in the generated JS where possible. #1344
Enable Option<T> support for enums defined in WebIDL.
#1350
Add a raw_module attribute to #[wasm_bindgen] which is the same as
module except doesn't attempt to recognize ./, ../, or /` prefixed
paths.
#1353
The wasm-bindgen CLI flags have now all been renamed under a --target
flag. Instead of --web you'll now pass --target web, for example. This
increases consistency between the wasm-bindgen and wasm-pack CLI.
#1369
Definitions for TypedArray imports of js-sys have been unified with a
macro to improve consistency and fix future bugs.
#1371
Usage of --no-modules in CloudFlare workers should now work by default.
#1384
A use-after-free when a closure is reinvoked after being destroyed on the Rust die has been fixed. #1385
A bug causing nondeterministic generation of JS bindings has been fixed. #1383
e075d0492d4aaffaf38252fe8188b433edb0cb83 Merge pull request #1342 from alexcrichton/bump
e075d0492d4aaffaf38252fe8188b433edb0cb83 Merge pull request #1342 from alexcrichton/bump
228f58dca394efdc7c9a01599defdb068826cdf9 Bump to 0.2.39
4cda18f777767aad96cfabafdc46d41658801b19 Merge pull request #1338 from alexcrichton/fix-nom
5192b95bf3d03190c26432b0b8358311e23d314b Workaround an upstream nom bug [ eal/nom#843 ]
90c3196b7b435e7d3cd6a568a0b35575ed8d7f05 Merge pull request #1333 from nstoddard/master
c857a9378403c2337c03b1d6abd62c81db0375c8 Merge pull request #1336 from ibaryshnikov/issue-1322-simplify-webgl-example
daad58f9b33e04be0a6e0a9d8472237809a93c38 simplified webgl example
03fa00d201b5b1959d7302358badaffc7d4706d2 Make the slice argument of texImage2D and related functions immutable
8db85ddddebd20fd9b342c794aa49af6476653fa Update a few links here and there with doc restructuring
a7e7f8b5e1c0ae9254f68a9de012288ce261c75e Merge pull request #1328 from alexcrichton/switch-to-web <details><summary><b>See more</b></summary>
e5ec474896882fade1c89ac0e4847c97c0c14cb9 Update crates/cli-support/src/js/mod.rs
7627b8e00ac8cf6f734db2769fe2970039210f5f Merge pull request #1329 from alexcrichton/nightly-header
91e47360d94bae09c473bac21db3b163fd5da169 Update README.md
fcafd03dcdf6e000ebbfc83a0f53071dea9bb29a Update guide/src/contributing/index.md
0b7fab447425a0a30262043cbfe32d7fe488eca9 Merge pull request #1331 from c410-f3r/span-impls
f00c74aeb07305bcbbe2b70088651d5255c802a2 Merge pull request #1330 from Vlad-Shcherbina/mkdir_pkg
ded4fdf52d5539d972c6f625c6f7227cc78dde1e Remove PartialEq and Eq from Function
2a2581188a53c6a8680b0efbcd60e7662d7f551d Create out_dir (usually "pkg") if it does not exist
cd3781cb731a7fd6be972ba69e40c68bac954e60 Switch the --browser argument to --web [ #1318 ]
96f4c8aa6396db41e0c0fa4d3eee3e94fc1b9e9b Add a "nightly only" warning to documentation
79a8c5d27cea8b5757763934add4d8ebef6f7a22 Merge pull request #1325 from rustwasm/dependabot/npm_and_yarn/@wasm-tool/wasm-pack-plugin-0.2.5
e817780172d2b0c7633da5a34fffddd80cfd9bae Update @wasm-tool/wasm-pack-plugin requirement from 0.2.3 to 0.2.5
17bd1969b62de27cb757aebd81f85805a2665733 Merge pull request #1323 from alexcrichton/bump-walrus
795bf7c6b1a09640561ab8e469d943b881649762 Update walrus to 0.5.0
eaaf3461bd88dbeec782395e1e5ae92ae4460dee Merge pull request #1321 from ibaryshnikov/master
fa0a3610af9c040fc6bcca37a7fc6ec0309713b8 issue-1317-typed-array-typo-fixed
e84b327306f16f232294bc2e6bc9df4172c8f531 Fix a dead link in new example [ #1319 ]
9f6c2a612503f99c76c3c2c0446710866f102e9f Merge pull request #1314 from alexcrichton/typescript-tests
20c25ca9225433663db4efb3513bcd1945452c0c Merge pull request #1295 from alexcrichton/js-snippets
d6e37703502b9f028038de59ade197973abef2d0 Scope snippets within a crate
c463cc96df2473920fbe6708c32a987cec535cc4 Clean up the super long finalize function
f3935cc44f29a0d079733b9d89e284c2e9558e57 Enable special env vars for Windows CI on webidl tests
bdf98f3a116f0c8c3e16227e3622b378c694381b Fixup some documentation
f3f3ebee3ae97931c5113025da99ec40e1b44225 Remove unsafe usage in backend/src/encode.rs
93a1301c9f62bfe5a7a42872df119c129ddf60ce Don't explicitly hide _INCLUDED_FILES
95ab24a4e2e594b5de6dd98f0b76767f4c29872b Try to reduce spurious failures on Windows
59e88449b80c27e6eec4effa3743833562215729 Update examples/without-a-bundler/index.html
6c86d238363f8e7d5740b5c4312c4c218be4a1ac Update examples/without-a-bundler-no-modules/README.md
bdcfcb49b1a3c877aad5f20f3652e9591a9b3b6b Log webdriver command we execute
235bc7c889e57f2629b109bffb62351cc63acd49 Start testing TypeScript output on CI [ #922 ]
9063a6b701bec5f3ddc9cf469517b92ffb3b67a6 Get WebIDL tests working
f1e391e3db06c0e1f16e592036a283fd7a2e698d Attempt to debug geckodriver spurious failures on Windows
33494a25ad1eddb1666dce402a4c59491b43aab8 Fix import_js example
20f1e503d312400ed1fb7ddc2d707062502bcb31 Fix the webidl-tests crate
5de318941109e8ea0b08a9e237436da14141cacf Fix js-sys and web-sys tests
7e62aff1ce6d480ca55ef7ff48d5df3ad53b9c85 Fix a case where snippet is specified twice
6283169a3089cb3ba5f27e66c2ae0c258a1158cc Paths are relative to CARGO_MANIFEST_DIR
b762948456617ee263de8e43b3636bd3a4d1da75 Implement the local JS snippets RFC [ #1311 ]
f161717afefd87d1cfea9ce830d055186169a70f Try another github connection for next release
3034523d394a417eb575abc3f72010ebf87a0dda Fix azure pipelines syntax
d8ac6e074b4276270ef8b0502078150ba7039f3d Only publish github release on tags
This list of changes was auto generated.</details>
Released 2018-03-13.
A typo in the return value of slice methods on typed arrays in js-sys was
corrected.
#1321
The directory specified by --out-dir is now created if it doesn't exist
already.
#1330
nom was in a crate graph and was compiled with the
verbose-errors feature has been fixed. Previously the wasm-bindgen-webidl
crate wouldn't compile, and now it will.
#1338Support for Option in #[wasm_bindgen] functions has now been added. #1275
Released 2019-03-04.
Support for Option<RustStruct> in #[wasm_bindgen] functions has now been
added.
#1275
Experimental support for the anyref type proposal in WebAssembly has now
landed and is enabled with WASM_BINDGEN_ANYREF=1.
#1002
Support for the new browser TextEncode#encodeInto API has been added.
#1279
JS doc comments are now added to TypeScript bindings in addition to the JS bindings generated. #1302
Initial support for FnOnce closures has been added to the Closure type.
#1281
Fixed an internal assert tripping when some modules were compiled with LTO. #1274
The Context type in the wasm-bindgen-test crate had its JS name changed to
avoid conflicts with other crates that have a Context type being exported.
#1280
The headless test runner for Safari on macOS High Sierra has been fixed. #1298
wasm-bindgen CLI tool now emits the producers section again with
relevant bugs having been fixed in the meantime. The
--remove-producers-section flag can continue to be used to omit emission of
this section.
#1263The HtmlMediaElement type now exposes a src_object getter. #1248.
Released 2019-02-15.
The HtmlMediaElement type now exposes a src_object getter.
#1248.
The js_sys::Reflect type now has specializes getter/setters for u32 and
f64 indices.
#1225.
A --remove-producers-section flag has been added to the CLI tool to, well,
remove the producers section from the final Wasm file.
#1256.
wasm-bindgen CLI tool will correctly strip DWARF debug information
unless --keep-debug is passed.
#1255.wasm-bindgen CLI tool no longer emits the producers custom section by
default to work around a webpack bug. See
#1260.Fixed a bug where using closures and LTO together caused a panic inside the wasm-bindgen CLI tool. See #1244.
Released 2019-02-12.
wasm-bindgen CLI tool. See
#1244.wasm-bindgen now internally uses the walrus crate to perform its transformations of the Wasm that rustc/LLVM emits. See #1237.
Added support for optional enums. See #1214.
Released 2019-02-11.
enums. See
#1214.UnwrapThrowExt<T> trait, which can enable smaller code sizes for
panics. See #1219.WebGlRenderingContext methods are now whitelisted to use shared slices
instead of exclusive slices. See
#1199.cfg_attr and wasm_bindgen together like #[cfg_attr(..., wasm_bindgen)]. See
1208.wasm-bindgen-test. See
#1233.WebAssembly.instantiateStreaming fails due to incorrect MIME type,
properly recover. See
#1235.Improved the Debug output of JsValue #1161
Added support for Web IDL sequences. This enabled bindings generation for a couple more Web APIs. We generate functions for Web APIs that take sequenc
Released 2019-01-16.
js_sys::Array is returned. See
#1152 and
#1038.wasm-bindgen-test test runner will capture console.debug,
console.info, and console.warn log messages and print them to stdout
now. It already supported console.log and console.error and continues to
support them. See
#1183 and
#1184.--debug-only assertions in the emitted JS glue for cases
where an imported JS function that is not annotated with
#[wasm_bindgen(catch)] throws an exception. This should help catch some bugs
earlier! See #1179.#[wasm_bindgen_test] tests would fail in non-headless Web
browsers if they used console.log. See
#1167.A new spawn_local function has been added to the wasm-bindgen-futures crate. #1148
The wasm-bindgen CLI now has an --out-name argument to name the output module. #1084
Released 2019-01-07.
The wasm-bindgen CLI now has an --out-name argument to name the output
module.
#1084
Support for importing the default export has been added.
#1106
web-sys methods are now flagged as structural, fixing a few bindings.
#1117Add a #[wasm_bindgen(start)] attribute to customize the start section of the Wasm module. #1057
Released 2018-12-04.
Add a #[wasm_bindgen(start)] attribute to customize the start section of
the Wasm module.
#1057
Add support for producing the new "producers" section of Wasm binaries #1041
Add support a typescript_custom_section attribute for producing custom
typescript abstractions
#1048
Generate *.d.ts files for Wasm files in addition to the JS bindings
#1053
Add a feature to assert that all attributes in #[wasm_bindgen] are used to
help catch typos and mistakes
#1055
JS glue generation has received a few small optimizations such as removing shims and removing object allocations #1033 #1030
JS glue now just uses one array of JS objects instead of two #1069
--no-modules generated JS
#1045The js_class support is now supported on exported types to define a different class in JS than is named in Rust #1012
Released 2018-11-12.
The js_class support is now supported on exported types to define a
different class in JS than is named in Rust
#1012
More WebIDL bindings are exposed with some internal restructuring to ignore unimplemented types at a different location #1014
All imported types now implement Deref to their first extends attribute
(or JsValue if one isn't listed). This is intended to greatly improve the
ergonomics of web-sys bindings by allowing easy access to parent class
methods
#1019
A new attribute, final, can be applied to JS imports. This attribute is
relatively nuanced and best explained in documentation, but is
added since structural is now the default
#1019
--remove-name-section, can be passed to remove the wasm
name section which contains the names of functions for debugging (typically
not needed in release mode)
#1024structural by default. This shouldn't change
the semantics of imported functions, only how they're invoked in the JS
function shims that are generated by wasm-bindgen. More discussion can be
founed on RFC 5 and the PR
#1019Typescript generated bindings now correctly reflect Option<T> for more types
#1008
The JS shim code generation has been optimized for structural bindings (now
the default) to include fewer JS shims and more easily optimizable for JS
engines
#1019
Passing a WebAssembly.Module to the --no-modules constructor has been
fixed
#1025
Fixed an internal panic where the gc passes were being too aggressive #995
Released 2018-10-29.
The TypedArray.slice methods have now been bound in js-sys. #956
Released 2018-10-29.
The TypedArray.slice methods have now been bound in js-sys.
#956
The Debug and Clone traits are now implemented for js_sys::Promise.
#957
The js_sys::DataView type now exposes overloads to specify endianness.
#966
When using --no-modules a WebAssembly.Module can now be directly passed
into the instantiation glue.
#969
The JsValue type is no longer considered Send.
#955
The generated JS glue is now more robust in the face of missing APIs. #959
An issue with the latest version of safaridriver used to run headless tests
has been resolved.
#991
Using wasm-bindgen will no longer unconditionally pull in Rust's default allocator for Wasm (dlmalloc) regardless if you configured a custom global al
Released 2018-10-10.
Using wasm-bindgen will no longer unconditionally pull in Rust's default
allocator for Wasm (dlmalloc) regardless if you configured a custom global
allocator (eg wee_alloc).
#947
Fixed web-sys build on some Windows machines. #943
Fixed generated ES class bindings to Rust structs that were only referenced through struct fields. #948
The BaseAudioContext and AudioScheduledSourceNode types in web-sys have been deprecated as they don't exist in Safari or Edge.
Released 2018-10-05.
Constructors for types in web-sys should now have better documentation.
A new vendor_prefix attribute in #[wasm_bindgen] is supported to bind APIs
on the web which may have a vendor prefix (like webkitAudioContext). This is
then subsequently used to fix AudioContext usage in Safari.
The #[wasm_bindgen(extends = Foo)] attribute now supports full paths, so you
can also say #[wasm_bindgen(extends = foo::Bar)] and such.
The Closure<T> type is now optimized when the underlying closure is a ZST.
The type now no longer allocates memory in this situation.
The documentation now has a list of caveats for browser support, including how
TextEncoder and TextDecoder are not implemented in Edge. If you're using
webpack there's a listed strategy available, and improvements to the polyfill
strategy are always welcome!
The BaseAudioContext and AudioScheduledSourceNode types in web-sys have
been deprecated as they don't exist in Safari or Edge.
Fixed the #[wasm_bindgen_test]'s error messages in a browser to correctly
escape HTML-looking output.
WebIDL Attributes on Window are now correctly bound to not go through
Window.prototype which doesn't exist but instead use a structural
definition.
Fixed a codegen error when the BorrowMut trait was in scope.
Fixed TypeScript generation for constructors of classes, it was accidentally producing a syntactially invalid file!
This is the first release of the `web-sys` crate!
Released 2018-09-26.
Added support for unions of interfaces and non-interfaces in the WebIDL frontend.
Added a policy for inclusion of new ECMAScript features in js-sys: the
feature must be in stage 4 or greater for us to support it.
Added some documentation about size profiling and optimization with
wasm-bindgen to the guide.
Added the Clamped<T> type for generating JavaScript Uint8ClampedArrays.
CI is now running on beta! Can't wait for the rustc release trains to roll
over, so we can run CI on stable too!
Added the js_sys::try_iter function, which checks arbitrary JS values for
compliance with the JS iteration protocol, and if they are iterable, converts
them into an iterator over the JS values that they yield.
We now only generate null checks on methods on the JS side when in debug mode. For safety we will always null check on the Rust side, however.
Improved error messages when defining setters that don't start with set_ and
don't use js_name = ....
Improved generated code for classes in a way that avoids an unnecessary
allocation with static methods that return Self but are not the "main"
constructor.
BREAKING: js_sys::Reflect APIs are all fallible now. This is because
reflecting on Proxys whose trap handlers throw an exception can cause any of
the reflection APIs to throw. Accordingly, js_sys has been bumped from
0.2.X to 0.3.X.
__wbindgen_malloc and __wbindgen_free are
always emitted in the .wasm binary, regardless of seeming reachability is
now zero-overhead.The IntoIterator trait is now implemented for JS Iterator types
Released 2018-09-21
IntoIterator trait is now implemented for JS Iterator typesjs-sys have had explicit arities added.js-sys crate is now complete! Thanks so much to everyone involved to
help fill out all the APIs.#[wasm_bindgen] can now return a Result where
the Err payload is raised as an exception in JS.wasm-bindgen on crates that have been compiled with
LTO has been resolved.Added many more bindings for WebAssembly in the js-sys crate.
Released 2018-09-07
WebAssembly in the js-sys crate.All of wasm-bindgen is configured to compile on stable Rust as of the upcoming 1.30.0 release, scheduled for October 25, 2018.
Released 2018-09-06
wasm-bindgen is configured to compile on stable Rust as of the
upcoming 1.30.0 release, scheduled for October 25, 2018.JsValue of a Closure<T> type can now be extracted at any
time.--wasm2asm flag of wasm2es6js was removed because the wasm2asm tool
has been removed from upstream Binaryen. This is replaced with the new
wasm2js tool from Binaryen.wasm-bindgen crate now has a links key which forbids multiple versions
of wasm-bindgen from being linked into a dependency graph, fixing obscure
linking errors with a more first-class error message.Added bindings to js-sys for some WebAssembly types.
Released 2018-08-27.
js-sys for some WebAssembly types.js-sys for some Intl types.js-sys for some String methods.fetch API.extends annotations for types in js-sys.WeakRef was added to automatically deallocate Rust
objects when gc'd.wasm-bindgen over modules that import their
memory.memory() function in the wasm-bindgen crate for accessing
the JS object that represent wasm's own memory.AsMut implementations for imported objects.constructor and catch attributes combined on imported types.Nothing published for this version
Greatly expanded documentation in the wasm-bindgen guide.
Released 2018-08-16.
js-sys for Intl.DateTimeFormatextends attributes for types in js-sysproc-macro2module pathsAdded the wasm_bindgen::JsCast trait, as described in [RFC #2][rfc-2].
Released 2018-08-13.
wasm_bindgen::JsCast trait, as described in RFC #2.#[wasm_bindgen(extends = ...)] attribute to
describe inheritance relationships, as described in RFC #2.Option<&T> parameters from JavaScript in
exported Rust functions and methods.Option<u32> and other option-wrapped scalars.#[wasm_bindgen]
attribute and how it affects the generated bindings.wasm-bindgen-futures crate for converting between JS
Promises and Rust Futures.JsValue and deserialize JsValues back into complex data.Promise's static methods.syn's visit-mut cargo feature, which should
result in faster build times.#[wasm_bindgen] proc-macro are now properly
reported with source span information, rather than panic!()s inside the
proc-macro.#[wasm_bindgen(js_class = "....")] attribute for binding methods to
renamed imported JS classes now properly works with constructors.Fixed wasm-bindgen CLI version mismatch checks that got broken in the last point release.
Released 2018-07-26.
wasm-bindgen CLI version mismatch checks that got broken in the last
point release.Fixed compilation errors on targets that use Mach-O. #545
Support the #[wasm_bindgen(js_name = foo)] attribute on exported functions and methods to allow renaming an export to JS. This allows JS to call it by
Released 2018-07-22.
#[wasm_bindgen(js_name = foo)] attribute on exported functions
and methods to allow renaming an export to JS. This allows JS to call it by
one name and Rust to call it by another, for example using camelCase in JS
and snake_case in RustThis release is mostly internal refactorings and minor improvements to the existing crates and functionality, but the bigs news is an upcoming js-sys
Released 2018-07-19.
This release is mostly internal refactorings and minor improvements to the
existing crates and functionality, but the bigs news is an upcoming js-sys and
web-sys set of crates. The js-sys crate will expose all global JS
bindings and the web-sys crate will be generated from WebIDL to
expose all APIs browsers have. More info on this soon!
Option<T> was added where T can be a number of slices or
imported types.--keep-debug flag has been added to the CLI to retain debug sections by
default. This happens by default when --debug is passed.#![deny(missing_docs)] has been fixed.Released 2018-05-24. --------------------------------------------------------------------------------
Released 2018-05-24.
Released 2018-05-17. --------------------------------------------------------------------------------
Released 2018-05-17.
Released 2018-05-11.
Released 2018-05-11.
One column per quarter.