web-sys examples broken since 0.2.81
Describe the Bug
It appears as though all of the live web-sys examples in the wasm-bindgen guide are not working and confirmed they were not working when running locally as well. Examples tested which are not working:
- https://rustwasm.github.io/wasm-bindgen/examples/dom.html
- https://rustwasm.github.io/wasm-bindgen/examples/paint.html
- https://rustwasm.github.io/wasm-bindgen/examples/todomvc.html
It seems like other live examples are still working such as the hello_world example
- https://rustwasm.github.io/wasm-bindgen/exbuild/hello_world/
Steps to Reproduce
- Checkout main of wasm-bindgen
-
cd examples/dom -
npm install -
npm run serve - Open http://localhost:8080 in your browser
- See that 'Hello rust!' is never appended to the page
Expected Behavior
examples/dom is expected to append a
tag with the text hello rust!
Actual Behavior
Nothing happens
Additional Context
I ran a git bisect between 0.2.80 and the tip of main and it found 062aa5f70a1e8a170d0ae90123ebdeb3242ac782 as the first bad commit
I think this was caused by #2961, so it should be fixed now.
@Liamolucko Is there any plan to draft a new release ?
@Liamolucko Is there any plan to draft a new release ?
0.2.82 was just released (in #3002)