Commit Graph

47 Commits

Author SHA1 Message Date
daxpedda
2a4a493623
Prepare v0.2.92 release (#3869) 2024-03-04 11:25:46 +01:00
daxpedda
fe8bc949b5
Prepare v0.2.91 release (#3829) 2024-02-06 12:37:22 +01:00
Gabriel Grant
adcf7786d1
Bump versions & update changelog for 0.2.90 release (#3763) 2024-01-12 16:59:28 +01:00
GitHub Actions
ab336aad0c bump 2023-11-27 16:20:02 +01:00
Muhammad Hamza
0b5f0eec2f
Bump versions for v0.2.88 (#3676)
* bump

* Bump version in changelog

* Bump date in changelog

Co-authored-by: Liam Murphy <liampm32@gmail.com>

---------

Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: daxpedda <daxpedda@gmail.com>
Co-authored-by: Liam Murphy <liampm32@gmail.com>
2023-11-01 20:35:23 +05:00
daxpedda
3d2f392ccc
Bump MSRV to v1.57 (#3657) 2023-10-16 13:08:13 +02:00
Stefan Hanke
e13d8985a2 chore: run npm audit fix --force on all examples 2023-07-05 22:49:51 +02:00
daxpedda
f0a8ae3b99
Bump to 0.2.87 (#3475) 2023-06-12 14:25:14 -05:00
Lukas Lihotzki
d21495b528
Clippy: Fixes and CI for examples and tests (#3442) 2023-05-21 16:01:35 +02:00
Alex Crichton
2d882c97b0
Bump to 0.2.86 (#3429) 2023-05-15 17:25:39 -05:00
Melanie Riise
a459f5abf2
bump version (#3400)
Co-authored-by: Alex Crichton <alex@alexcrichton.com>
2023-05-09 09:15:50 -05:00
Alex Crichton
cea8cc3d29
Bump to 0.2.84 (#3274)
Closes #3267
2023-02-01 11:06:50 -06:00
Liam Murphy
a10e949127
Add JsCast to wasm_bindgen::prelude (#3221)
* Add `JsCast` to `wasm_bindgen::prelude`

`JsCast` is a very commonly used trait, but for some reason has never been added to `wasm_bindgen::prelude`, leading to the constant annoyance of having to manually import it.

* Remove redundant imports
2023-01-03 09:44:23 -06:00
Rodrigo Oliveira
a8695bb66c
Add XrJointPose and XrJointSpace features (#3179) 2022-12-06 09:20:36 -06:00
Michael Rosenberg
eba691f38c
Bumped crate versions (#3079)
* Added example-tests to the crate nopublish list

* Bumped crate versions
2022-09-12 09:26:21 -05:00
Liam Murphy
823f57698c
Deprecate JsValue::from_serde and JsValue::into_serde (#3031)
* Deprecate `JsValue::from_serde` and `JsValue::into_serde`

I've listed `serde-wasm-bindgen` as the replacement, and changed the section of the guide that talks about Serde to talk about `serde-wasm-bindgen` instead of the deprecated methods.

I didn't remove it entirely because I can imagine someone remembering it and trying to look it back up, only to find that it no longer exists, which would quite frustrating. I also added a footnote about the deprecated methods in case someone remembers the old way and wants to know what happened.

There were several examples using `from_serde`/`into_serde`, which I updated to use `serde-wasm-bindgen` or not use `serde` altogether.

The `fetch` example was a bit weird, in that it took a JS value, parsed it into a Rust value, only to serialize it back into a JS value. I removed that entirely in favour of just passing the original JS value directly. I suppose it behaves slightly differently in that it loses the extra validation, but a panic isn't all that much better than a JS runtime error.

* fmt

* Mention JSON as an alternative to `serde-wasm-bindgen`

* Use `gloo-utils` instead of raw `JSON`

I was considering leaving the examples using `JSON` directly and mentioning `gloo-utils` as an aside, but that has the major footgun that `JSON.stringify(undefined) === undefined`, causing a panic when deserializing `undefined` since the return type of `JSON::stringify` isn't optional. `gloo-utils` works around this, so I recommended it instead.

* Mention `gloo-utils` in API docs

* Rephrase section about deprecated methods
2022-08-29 23:17:27 -05:00
GalvinGao
59883eaca6
Bump to 0.2.82 (#3002)
* Bump to 0.2.82

* chore: bump version in crates/shared/src/lib.rs in sync with crates/shared/Cargo.toml

* fix: update schema file hash
2022-07-25 10:06:53 -05:00
Liam Murphy
e322e6fb8b
Use Closure::new in examples (#2991)
There isn't much of a reason to use `Closure::wrap` over `Closure::new` anymore, so this changes `wasm-bindgen`'s examples to use `Closure::new` as the recommended method of creating closures.
2022-07-13 08:55:44 -05:00
Alex Crichton
062aa5f70a
Bump to 0.2.81 (#2935) 2022-06-14 10:06:47 -05:00
Ashley
c06c731cd5
Update the WebXR IDL (#2863) 2022-04-12 10:56:40 -05:00
Alex Crichton
4caa98165c
Bump to 0.2.80 (#2851) 2022-04-07 15:15:11 -05:00
Micah T. Keller
9b0d40c7a9
Version bump (#2772)
* Version bump

* 0.2.79 Version Bump

* 2022-01-19 Change Log
2022-01-19 14:59:31 -06:00
Alex Crichton
7f820db4b4
Bump to 0.2.78 (#2683) 2021-09-15 11:17:51 -05:00
Alex Crichton
123d5f584f
Bump to 0.2.77 (#2675) 2021-09-08 11:02:12 -05:00
Alex Crichton
a881a83c5a
Bump to 0.2.76 (#2661) 2021-08-19 10:06:51 -05:00
Thomas Etter
2ccdbd9337
Upgrade the webpack-based examples' npm dependencies (move to webpack 5) (#2651)
* Upgraded the webpack examples' npm dependencies which (among other things) upgrades them to webpack 5

For the weather_report, had to choose the syncWebAssembly experiment,
whereas the rest works fine with asyncWebAssembly

* Fix the weather report example compilation by adding it to the main workspace.
This currently fails with:
error: current package believes it's in a workspace when it's not:
current:
<project-root>/examples/weather_report/Cargo.toml
workspace: <project-root>/Cargo.toml

* Fix the build of the webxr example with webpack 5

* run cargo fmt
2021-08-10 09:43:42 -05:00
Alex Crichton
e104d1695a
Bump to 0.2.75 (#2643)
* Bump to 0.2.75

* Try to fix CI
2021-08-02 10:39:14 -05:00
Jules Bertholet
7caeb3198e
Fix non-compliling examples (#2624)
* Fix non-compliling examples

* Add CI job to run cargo check (to ensure examples don't break in the future)
2021-07-19 09:11:36 -05:00
Sam Bordo
95ef255d1e
Removed a duplicate use statement (#2577) 2021-06-09 13:50:10 -05:00
Alex Crichton
27c7a4d06c Bump to 0.2.74 2021-05-10 07:08:17 -07:00
Alex Crichton
3cefe2c824
Bump to 0.2.73 (#2511) 2021-03-29 09:56:32 -05:00
Alex Crichton
44d577f6b8
Bump to 0.2.72 (#2503) 2021-03-18 11:05:25 -05:00
Alex Crichton
38ba374845
Bump to 0.2.71 (#2468) 2021-02-26 10:38:04 -06:00
Alex Crichton
b6355c2702
Bump to 0.2.70 (#2435)
* Bump to 0.2.70

* Pin nightly to fix CI
2021-01-25 10:55:29 -06:00
ltzz
9d80e7dc17
Fix canvas is not a self closing tag. (#2408)
Co-authored-by: ltzz <ltzz@users.noreply.github.com>
2021-01-04 09:31:01 -06:00
Alex Crichton
69546a26c1
Bump to 0.2.69 (#2377) 2020-11-30 12:36:07 -06:00
Alex Crichton
a04e189712
Bump to 0.2.68 (#2305) 2020-09-08 19:57:26 -05:00
Alex Crichton
7badcd3ad6
Bump to 0.2.67 (#2260) 2020-07-28 16:27:14 -05:00
Alex Crichton
b72678a6ea
Bump to 0.2.66 (#2256) 2020-07-28 13:09:36 -05:00
Alex Crichton
6742d96736
Bump to 0.2.65 (#2239) 2020-07-15 09:58:52 -05:00
Alex Crichton
31c2d6fbe5
Bump to 0.2.64 (#2219) 2020-06-29 09:48:25 -05:00
Alex Crichton
df809df9a5
Bump to 0.2.63 (#2163)
* Update `syn` version requirement

Require latest version to fix issues with nightly.

* Bump to 0.2.63
2020-05-27 10:07:18 -05:00
Alex Crichton
d896446edc
Bump to 0.2.62 (#2119) 2020-05-01 10:34:36 -05:00
Alex Crichton
6d61cd8b76
Bump to 0.2.61 (#2113) 2020-04-29 11:22:35 -05:00
Alex Crichton
a19c8a3fe0
Bump to 0.2.60 (#2051)
* Bump to 0.2.60

* Try to fix CI

* Fix CI syntax
2020-03-25 16:33:36 -05:00
Alex Crichton
d04930c2a2 Run rustfmt 2020-03-17 07:49:46 -07:00
kevthecoder
2b29650920
Webxrdevice (#2000)
* crates/web-sys/webidls/enabled/WebXRDevice.webidl

* Add WebXR Web IDL.

* Add WebXr example.

* Workaround in WebXR for FrozenArray and XRWebGLLayer constructor.

* Remove commented code.

* Attempt to improve WebXr example.

* Add WebXr as unstable WebIDL.

* Fixes for XRWebGLLayer.

* Tidy up WebXR example code.

* Update WebXr example docs.

Co-authored-by: Kev Kirkland <kev.kirkland@elucidata.co.uk>
2020-03-17 09:14:05 -05:00