Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pin wasm-bindgen to 0.2.93 (does this fix example builds?) #3088

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

gbj
Copy link
Collaborator

@gbj gbj commented Oct 10, 2024

We regularly need to update cargo-leptos to match wasm-bindgen version updates, as they declare their format incompatible between patch releases.

Unfortunately they also made breaking changes to wasm-bindgen-cli-support in 0.2.94 such that cargo-leptos no longer compiles, which means it will take us longer to update cargo-leptos than usual.

This means all our examples won't compile (because they pull in 0.2.94), and user code won't unless they pin to =0.2.93. For now, I'm going to try pinning to =0.2.93 in leptos itself in the hope this will resolve that.

I opened an issue on wasm-bindgen but I don't anticipate particularly swift action there. I suspect we'll just need to deopt what cargo-leptos does there a bit and make a new release.
rustwasm/wasm-bindgen#4159

@gbj gbj merged commit 832b9cb into main Oct 10, 2024
73 checks passed
@gbj gbj deleted the wb0.2.94 branch October 10, 2024 02:56
chrisp60 pushed a commit to chrisp60/leptos that referenced this pull request Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant