Releases: rustwasm/wasm-bindgen
Releases · rustwasm/wasm-bindgen
0.2.55
Changes:
- db9d603 Bump to 0.2.55 (#1864)
- e934a0f Support multi-value JS engines (#1863)
- 8513900 Add a mutable accessor for the walrus wasm module
- aca49e1 Fix the anyref xform working on empty modules (#1861) [ bytecodealliance/cargo-wasi#16 ]
- a8882dc Point master branch documention link to web_sys instead of js_sys (#1859)
- ada615f simplify macro for arrays (#1856)
This list of changes was auto generated.
0.2.54
Changes:
- 3573164 Bump to 0.2.54 (#1854)
- d51f539 Add an unsafe method view_mut_raw (#1850)
- e7bfa16 Fix UI tests for updated beta
- 2a12ca2 Update mod.rs (#1852)
- 79cf4f6 Add first-class support for binary crates (#1843)
- b29c110 Remove dependencies on git versions of crates
- 935f71a Switch from
failure
toanyhow
(#1851) - 913fdbc Update HTMLImageElement IDL to latest version from gecko (#1842)
- 1f51831 Adding in to_vec method for typed arrays (#1844)
- 6159d50 Fix expired Discord link in README.md (#1845)
This list of changes was auto generated.
0.2.53
0.2.52
Changes:
- a20dd26 Bump to 0.2.52 (#1833)
- e880baf Working around bug in Safari (#1829)
- c1b4f67 Adding in unintern function (#1828)
- 777a12d Fix TypeScript capitalization in internals guide (#1826)
- fe4dd0b Merge pull request #1805 from fitzgen/wasm-interface-types-and-multi-value
- 46cbd19 Improve worker.js reliability (#1820)
- a31b813 Update Worklet IDL to latest version from gecko (#1817)
- c7514b7 Enable selectionStart and selectionEnd for HTMLInputElement (#1811)
- ebef7a7 Update toolchain for raytrace example (#1806)
- 0e3b696 Fix return type of WebIDL indexing getters (#1789)
See More
- 25dd84c Get rid of the wasm interface types return pointer hacks
- 311ae19 Wasm interface types should imply multi-value
- 0859245 Fix guide for tests in the remote browser (#1804)
- ffa6eab fixed broken link (#1803)
- 74812bd Merge pull request #1802 from alexcrichton/switch-cores
- 53c0dcf Don't offset the number of rayon workers by 1
This list of changes was auto generated.
Bump to 0.2.51 (#1797)
Changes:
- 6d1dc81 Bump to 0.2.51 (#1797)
- 599ec8b Use official node releases for anyref test suite (#1798)
- bdcf27c Major improvements to wasm-bindgen-futures (#1760)
- 0b1a764 Guarantee
static_method_of
uses the rightthis
(#1795) [ #1760 ] - 025b1d8 Switch to Cargo's
-Zbuild-std
for building libstd (#1796) - 6b31777 Fix local webdriver discovery via PATH (#1794)
- 0607a75 Switch CI to testing
beta
toolchains (#1792) - 6f52f2a Fix logic for
is_enabled
in the threads transform (#1791) - f4a7fe3 More CHANGELOG updates
- 72f3468 Handle
JSON.stringify(undefined)
[ #1778 ]
See More
- 55dbf94 Don't log routine errors as out-of-the-ordinary [ #1785 ]
- 8b4fd2a Update CHANGELOG for upcoming release
- 0afb6aa Fix importing
static
values of non-JS types [ #1777 ] - e809a45 Update ui test expectations
- a88003c Update env_logger requirement from 0.6 to 0.7 (#1786)
- 9c33052 Fix codegen for descriptors of async fn returns (#1782) [ #1781 ]
- 8ba0142 Update UI expectations
- d1f1045 Fix file permissions (#1779)
- 93f5bba Update async-errors test for nightly
- eeebec0 Add ability to run tests on remote webdriver. (#1744)
- 04c9b32 Merge pull request #1764 from fitzgen/multi-value-xform
- b2d1165 CI: Temporarily disable
sccache
usage - a0582cd rustfmt the publish script
- d9c4164 Also publish the wasm-bindgen-wasm-conventions crate
- 2fbb835 Create the
wasm-bindgen-wasm-conventions
crate - a1dfa4b Upgrade sccache to 0.2.11
- f5f9467 Minimum viable ReadableStream.
- 68af85d Ensure that various Into/From ABI methods are inlined
- 908fc61 cli-support: cargo fmt
- 5f90951 Use the multi-value xform when targeting interface types
- fc2c502 CI: Run the multi-value xform tests in CI
- 44c3f8a Introduce the
multi-value-xform
crate - 582b733 Update to walrus 0.12.0
- 7cca275 remove shell status update (#1758)
- f0a55f8 Feat/date opt params (#1759)
- 8861811 Add support for
#[wasm_bindgen]
onasync fn
(#1754) - 7fd6702 Update assertion of stderr on nightly
- 84898c1 Touch up documentation about futures (#1753)
- 3c887c4 Default all async support to
std::future
(#1741) [ #1558, #1695 ] - ba85275 Adding in more methods for Array (#1749)
- 4e19ead Fix the wasm2js example (#1750) [ #1743 ]
- 1f39a30 Merge pull request #1738 from freebroccolo/master
- 0eba2ef Fix warnings in raytrace-parallel example
- 777828a Merge pull request #1739 from xtuc/upgrade-wasm-pack-plugin-1.0.1
- 312f5d6 chore: upgrade @wasm-tool/wasm-pack-plugin to 1.0.1
- a162531 Merge pull request #1736 from Pauan/improving-string-passing
- d9ae387 Fixing minor typo
- 92c2e0e More improvements to the passStringToWasm function
- fb0bbc0 Adding ignoreBOM and fatal to TextDecoder (#1730)
- 5581cdf Improving the passStringToWasm function
- e39e850 Update browser support for
BigInt
(#1728)
This list of changes was auto generated.
0.2.50: Merge pull request #1726 from alexcrichton/bump
Changes:
- 5c56c02 Merge pull request #1726 from alexcrichton/bump
- c2daa4f Bump to 0.2.50
- 487289c Merge pull request #1725 from alexcrichton/real-webidl-section
- c5dd572 Add support for emitting a Wasm Interface Types section
- bd7c907 Merge pull request #1723 from alexcrichton/instntiate-streaming
- 20be0a3 Improve instantiateStreaming fallback [ #1696 ]
This list of changes was auto generated.
0.2.49: Merge pull request #1722 from alexcrichton/bump
Changes:
- 906ac15 Merge pull request #1722 from alexcrichton/bump
- e08ea46 Fix UI test for beta
- c1d4fdd Bump to 0.2.49
- 603d574 Merge pull request #1717 from alexcrichton/walrus-update
- aace8ce Move table export to the anyref pass [ #1704 ]
- ad34fa2 Update with list IR from
walrus
- 8775f9b Merge pull request #1720 from alexcrichton/update-syn
- 45b4390 Upgrade to syn/quote 1.0
- 1d0c333 Run
cargo fmt
over all code - 3697fb7 Merge pull request #1716 from najamelan/fix/futures-preview-0.3.0-alpha.18
See more
- 9f7afa8 Update to work with futures-preview 0.3.0-alpha.18
- bb6c013 Update sccache again
- 67e858e Merge pull request #1638 from ThomasdenH/master
- 8b99fdc Add truthy_falsy tests to main.rs
- 49acddf Merge pull request #1710 from UnHumbleBen/patch-1
- 50683f0 Removed unnecessary dereference in Store::find
- 0ab6956 Merge pull request #1709 from UnHumbleBen/patch-1
- af922fb Fixup styling in sync_local_storage
- 640c807 Merge pull request #1707 from UnHumbleBen/patch-1
- fffcc5e Makes code clearing by providing code symmetry.
- 09b37b4 Removed unnecessary and confusing clone of String
- cbab8a1 Merge pull request #1704 from alexcrichton/skip-anyref
- ba0c6a9 Fix anyref table export in empty modules
- 9314873 Upgrade sccache
- 0dbf429 Merge pull request #1702 from UnHumbleBen/patch-2
- c7180dd Merge pull request #1699 from UnHumbleBen/patch-1
- f76ec9e Merge pull request #1703 from Kirguir/parse_client_args
- b60ed2e Add parse a env args to invocation the browser
- 89067c1 Updated description for single closure
- af4622f Fixes description of Closure lifetime in comments.
- b978531 Use idiomatic syntax of Rc::clone()
- 732b691 Merge pull request #1690 from alexcrichton/webidl-polyfill
- 117fce1 Merge pull request #1692 from alexcrichton/fix-anyref-bugs
- adde6c2 Correct base calculation in anyref allocator
- 6cc7e3d Ensure the 0th slot of anyref table is
undefined
- 5aee2f9 Fix an off-by-one in anyref stack manipulation
- 6e3e9d2 Correctly hook up the anyref table initialization
- 36db788 Merge pull request #1689 from alexcrichton/direct-imports
- 2aac606 Support emitting direct imports in wasm files [ #1654, #1584 ]
- 452ce29 Add support as a vanilla polyfill of WebIDL bindings
- 38b8232 Merge pull request #1688 from alexcrichton/llvm-9-threads
- 8cb7924 Fully update threading support for LLVM 9
- 849c345 Merge pull request #1687 from alexcrichton/in-memory
- 8b01436 Merge pull request #1686 from alexcrichton/update-walrus
- 10e400b Add support to emit output to memory
- 7158144 Update to walrus 0.10.0
- 8940ba0 Merge pull request #1682 from alexcrichton/update-walrs
- 78db35d Merge pull request #1683 from alexcrichton/no-modules-lenient
- 423bebb Improve leniency of
--no-modules
output - 0daa290 Update to walrus 0.9.0
- 68a1519 Merge pull request #1612 from Pauan/cache
- 029b8ff Merge pull request #1675 from alexcrichton/llvm-9-threads
- 59af318 Fixing CI build error
- 7b6ef70 Adding in note to the intern docs
- aef62bd Adding in enable-interning to CI test suite
- f8da1e6 Fixing unsafe_get_str function
- 10ab4cb Fixing TypeScript types for cached strings
- 554ef90 Fixing issue with wasm-interpreter
- b9b8c20 Update 'threads-xform' for LLVM 9 [ #1631 ]
- efacd8b Merge pull request #1514 from ibaryshnikov/threadsafe-futures
- 55b486a Merge pull request #1673 from Pauan/web-sys-partial-eq
- c82253c Fixing doc test error
- ed778f5 Adding in PartialEq and Eq to web-sys types
- b13f757 Shared more betwee legacy with/without atomics
- be294c8 Remove a debugging statement
- c8451d6 Rename some files
- d590a9e Deduplicate
JsFuture
definitions - cde9684 Clean up atomics/futures + polyfill
- 366ed23 Adding in docs for intern
- 544ec49 Shifting the unsafe responsibility a bit
- ca15a59 Changing from uluru to HashMap
- 3177fa9 Minor doc fix
- 2405fad Shifting the unsafety guarantees around
- c3676bc Removing unneeded if statement
- 8572255 Making uluru optional
- adf21fe Removing unneeded size argument
- cc6ec86 Fixing compile errors
- 1723e9d More simplifications
- 1e4cac9 Simplifying the output
- 4e50465 Undoing some formatting
- fd88626 Fixing compile errors
- 2ee4c54 Changing to use WasmSlice for the caching
- f7e8e70 Fixing compile errors
- f28cfc2 Fixing some things for the cache
- 0359da2 Potential fix for OptionIntoWasmAbi?
- 0a61e12 Making interning manual
- 86a8842 Changing IntoWasmAbi to use interning
- 6767371 Initial interning implementation
- 9f77f8d Update parallel raytrace example to use futures
- d122bbc Emit a compiler error with futures 0.3 and atomics
- 2529bb0 Merge pull request #1670 from fitzgen/check-for-use-after-move-in-methods
- 02be369 removed AtomicBool from Waker struct
- 45d2c7c updated to the latest master
- cbaa1d3 added documentation comment for a stable version of wasm-bindgen-futures
- 6ab1a49 moved lib.rs to stable.rs in wasm-bindgen-futures, updated during review
- 221dc73 updated default timeout and wait_async signature in wasm-bindgen-futures
- 06c783d placed web-sys dependency behind a feature flag in wasm-bindgen-futures
- 16c6bdc moved threadsafe futures implementation to a separate file, made updates after review
- e466e1a moved threadsafe futures behind a flag
- 2fdfe79 added polyfill implementation in rust
- c01575c typo fixed in Atomics docs
- d1d3021 added polyfill for Atomics.wait and used it to notify futures
- 8fd5f4e Check for use-after-move in JS glue when
--debug
is enabled again [ #1669 ] - 1807de7 Merge pull request #1665 from ia0/getElementsByClassName
- 170ce68 Add missing Element::get_elements_by_* methods
- a48a0ae Merge pull request #1654 from fitzgen/no-import-shims
- 31ca527 Bump wasm-webidl-bindings dep to 0.1.2
- afb33e5 Assert that a bunch more function signatures don't require JS glue
- bce892b Add
#[wasm_bindgen(assert_no_shim)]
on imported functions for testing - 13b672a Merge pull request #1661 from alexcrichton/fix-nightly
- 4f86653 Fix parsing of
final
on Nightly Rust [ lang/rust#62628 ] - 2d0866d cli-support: rustfmt
- d5d3e46 cli-support: Skip generating JS shims for imports when unnecessary [ #1636 ]
- f2a4694 cli-support: Fix copy-pasted error message
- 21fe8dc...
0.2.48: Merge pull request #1660 from alexcrichton/bump
Changes:
- a3ddd09 Merge pull request #1660 from alexcrichton/bump
- 5c97559 Merge pull request #1657 from fitzgen/fix-dyn-warnings
- e596ef5 Bump to 0.2.48
- 6252c7a Fix warnings about missing
dyn
on trait objects - c21c85a Merge pull request #1655 from rustwasm/dependabot/cargo/weedle-0.10
- ce40388 Update weedle requirement from 0.9 to 0.10
- d02e115 Merge pull request #1650 from alexcrichton/less-csp
- b64f5c0 Merge pull request #1649 from alexcrichton/fix-futures
- 15cc4fb Merge pull request #1652 from fitzgen/fix-some-warnings
- 6cb659d Fix warning about dead code when testing on non-wasm32 targets
See more
- 1ba2985 Fix warning about unnecessary parens in generated code
- d32b6a9 Update futures implementation to not destroy callbacks [ #1637 ]
- 0b08bba Use static accessors if possible to get global object [ #1641 ]
- 604c036 Merge pull request #1645 from derekdreery/fix_futures_0_3_hack
- 16fc059 Merge pull request #1646 from ibaryshnikov/explicit-extension
- 8f52f10 added explicit extension for imported .wasm file for --target bundler
- 2541507 Add in (unsafe and incorrect) impls of Send/Sync that are now required.
- 7fe3dfd Merge pull request #1639 from dakom/master
- f27de49 whitelist slices for webgl2 uniformNuiv
- bf631ed Merge pull request #1633 from Warfields/master [ #1622 ]
- 367a56e Test are fully implemented
- 06d0704 Added tests for bind1()
- caa86a0 Attempted to tackle #1622
- 792ab40 Merge pull request #1625 from alexcrichton/less-return-ptr
- 250e84f Merge pull request #1620 from Pauan/add-typed-array-into
- 497c5ed Removing TODOs
- b9fd30b Adding in TODO note
- 92a464d Updating a couple examples
- 8cb9b88 Adding in unit tests for From impl
- 86937b9 Adding in From impl for TypedArrays
- e106ca3 Merge pull request #1626 from alexcrichton/more-standard
- b9c27b9 Update all non-mutable slices into Rust to use
AllocCopy
- eb550f5 Remove
__wbindgen_global_argument_ptr
intrinsic - e16dd15 Merge pull request #1624 from alexcrichton/less-stack
- a021a96 Remove the long-defunkt
Stack
trait - d9e53ac Switch to
debug_assert_eq!
in intrinic - b601c3f Revert
add
example to what was originally intended - 1beb19b Merge pull request #1616 from najamelan/fix/travis
- 597d66a Update git repo for wasm-webidl-bindings
- e41bd68 remove warning about caching
- e0ef329 Merge pull request #1594 from alexcrichton/webidl-for-realz
- c664110 Merge pull request #1618 from alexcrichton/update-webgl
- 7f55067 Merge pull request #1617 from alexcrichton/fix-gc
- 04aea4e Use
view
instead ofsubarray
in WebGL example [ #1615 ] - 2e03961 Be sure to GC our imports as well as the module [ #1613 ]
- 5bb6c6c Simplify instructions for CI testing of wasm code [ #1611 ]
- 3cc3084 Second large refactor for WebIDL bindings [ #1524 ]
This list of changes was auto generated.
0.2.47: Merge pull request #1608 from alexcrichton/bump
Changes:
- a1fc270 Merge pull request #1608 from alexcrichton/bump
- b7b92cf Update mdbook install
- d71ab78 Bump to 0.2.47
- 9b8191e Merge pull request #1605 from c410-f3r/getters-check
- e7902f3 Merge pull request #1606 from alexcrichton/gc-elss
- c9ee88b Preserve the function table during early gc passes [ #1603 ]
- 8d90655 Merge pull request #1602 from alexcrichton/more-immutable
- 1aa6773 Merge pull request #1604 from marienz/link-utils-mixin
- 597b697 Forbid duplicated getter/setter names in fields and methods
- 3361e02 Merge pull request #1601 from c410-f3r/unnecessary-result
See more
- af1f051 Typo
- b5da08c Merge pull request #1598 from Pauan/fix-futures
- 46e3cd5 Make HTMLHyperlinkElementUtils a mixin, not a NoInterfaceObject
- 379cad0 Merge pull request #1599 from marienz/typescript-init
- 3b06e58 Handle more slice types in
flag_slices_immutable
[ #1539 ] - f1cd643 Merge pull request #1600 from c410-f3r/repo-url
- 00d47c1 Remove unnecessary Result return
- 6268142 Update repository url
- 1b91457 Make the argument to init optional in the Typescript declaration too
- 5a1dfdf Fixing panic if the Future wakes up after returning Poll::Ready
This list of changes was auto generated.
0.2.46: Merge pull request #1596 from alexcrichton/bump
Changes:
- 9cac16f Merge pull request #1596 from alexcrichton/bump
- 8fc0a38 Bump to 0.2.46
- 83a3f5d Run
cargo fmt --all
- 3aa803c Merge pull request #1380 from alexcrichton/rayon-example
- eafc602 Rewrite the parallel raytracing example with
rayon
- f027bb2 Merge pull request #1593 from vmx/patch-1
- 5c79298 guide: fix typo in rust-type-conversions.md
- 1c558fa Merge pull request #1592 from alexcrichton/explicit-self
- 80c75df Merge pull request #1590 from alexcrichton/intrinsics
- 754328b Merge pull request #1589 from alexcrichton/clamped
See more
- c0df37b Merge pull request #1588 from alexcrichton/exnptr
- afbd7d3 Include self-pointer in
Function
descriptions - ce4cc31 Correct some intrinsic signatures
- 621fc9c Remove the
Clamped
descriptor type - 6796bc6 Communicate exceptions through global memory
- 535aa31 Attempt to fix compilation issues on CI
- c3e0edd Merge pull request #1586 from alexcrichton/no-web-sys
- a772654 Merge pull request #1579 from ibaryshnikov/default-init-module
- 5cf8224 Make
env_logger
an optional dependency [ #1580 ] - 2e05b62 Merge pull request #1583 from Pauan/asref
- b205045 Adding in AsRef impl for all wasm_bindgen types
- 8ace828 added default module path inside init function when target is web
- 96d333a Merge pull request #1577 from c410-f3r/getters-setters-ts
- e7e8ae1 Fix getter and setter
- cf2a42c Merge pull request #1566 from alexcrichton/webidl-bindings-refactor-1
- e24c031 Attempt to fix CI
- 59e773f Update walrus
- bf1a31e Don't generate a free function shim for classes
- 6e8c3e8 Directly import
__wrap
functions if possible - c22b907 Touch up some comments
- ee426c0 Ensure that generated JS is deterministic
- cfd3e04 Split symbol intrinsics into two
- 6f727d7 Refactor the module name slightly in
gen_init
- 4eafaea Handle the function table export on-demand
- 7120968 Use
unwrap_call
instead of an explicitmatch
- c7021ba Update crates/cli-support/src/js/mod.rs
- 3b5e3ed Fix anyref closure transformations
- b51df39 Reimplement
anyref
processing and passes - 55fc536 Fix a typo in the
JsvalEq
intrinsic - cbd4b87 Fix handling imported memories
- 81fbc64 Don't pass strings in raytrace-parallel example
- b4c395b Fix an inverted condition for catch_and_throw
- edd1469 Include docs in generated JS getters/setters
- 164712c Temporarily ignore intentionally failing test
- cba1e70 Fix TypeScript output for fields
- ff0a50e Fix failing interpreter tests
- 346868f Fix a failing CLI test
- 22b26db Use
delete_typed
to improve some ergonomics - e8e84a3 Remove __exports map on the
web
target - 3e28e6e Fix web, no-modules, and bundler output types
- 68c5233 First refactor for WebIDL bindings
- b11b6df Merge pull request #1573 from not-an-aardvark/implement-flat-and-flatmap [ #1454 ]
- 5c5c13c Add Array#flat and Array#flatMap to js-sys (fixes #1454)
- 6ac61b5 Merge pull request #1572 from alexcrichton/dictionary-fields
- 117928f Add doc comments to web-sys dictionaries/fields
- 877c31c web-sys: Don't remove dictionaries if required fields are removed
- 618b5d3 Merge pull request #1571 from alexcrichton/less-warnings
- 82467f9 Use
dyn
with all trait objects - f3adee7 Squash warnings about unused variables
- c876bd6 Merge pull request #1570 from DiamondLovesYou/master
- 9884c79 Merge pull request #1546 from ibaryshnikov/websockets-example
- cbedf0b added websockets example to the guide
- e16bb9c exclude websockets from being built using npm
- 6825da3 added websockets example
- 03218d9 Support 8 argument closures.
- ad68436 Looks like webassembly-js-api package no longer needed! [ #1565 ]
- 2d13589 Merge pull request #1561 from xtuc/chore-upgrade-wasm-pack-plugin
- 546f65e chore: bump again
- e65791d fix: remove css modification
- f63238e chore: update wasm-pack-plugin to 0.4.1
- cd724cb Merge pull request #1560 from devsnek/clean/linting
- 2cc40a2 Run fmt and clippy
- dfcaabc Merge pull request #1557 from devsnek/new-weakref
- 2a665a9 Fix compile errors on nightly
- 39b5f18 Fix a warning
- 2d22fa4 Merge pull request #1556 from noelyoo/fix-docs-link
- 66ade77 Rewrite weakrefs to use current proposal
- f3ec734 docs: update docs link
- 62b313d Fix README's badges
- c7b41d0 Add standard WG header to README
- 6f8de17 Merge pull request #1553 from fitzgen/guide-serde-wasm-bindgen
- 2a896db Also mention that serde-wasm-bindgen supports more types than JSON does
- 90f1866 Add note to the guide about
serde-wasm-bindgen
- 5233139 Update README.md sample code to 2018 edition
- 9b04fe9 Merge pull request #1545 from infinity0/master [ lang/rust#58516 ]
- 81fb2d9 Work around rust-lang/rust#58516
- bc5f73e Merge pull request #1550 from alexcrichton/more-better-errors
- b96186e Merge pull request #1549 from alexcrichton/bump
- 2cbb8b8 Improve diagnostics with missing trait implementations [ #1528 ]
- a02d210 Catch more errors on non-wasm32 platforms [ #1528 ]
- 137bbdf Bump to 0.2.45
- f23b867 Merge pull request #1544 from ibaryshnikov/master
- a68cdc5 Add a test that
Callback::forget
works - 4049803 Merge pull request #1548 from lzubiaur/fix-heap-closure-example
- c043a95 Fix closure example compilation errors
- 8057386 expose forget to wasm
- 0cbdea5 Merge pull request #1542 from fitzgen/update-walrus
- d422436 Update dependencies and use new walrus custom sections APIs
- fb42e47 Merge pull request #1541 from RReverser/rm-wasm-bindgen-test-unsafe
- cce12bf Remove unsafe from #[wasm_bindgen_test] output [ #1540 ]
- 3e6d89f Merge pull request #1539 from dakom/master
- ae2aba0 whitelist uniforms with Int32List
- 0d895dd Fix version title in the CHANGELOG.md
- 40ec810 Merge pull request #1537 from lqd/weedle-0.9
- ca00081 Update weedle to version 0.9
This list of changes was auto generated.