Skip to content

chore: upgrade wasm-bindgen to 0.2.108#2119

Merged
colinaaa merged 2 commits intolynx-family:mainfrom
PupilTong:p/hw/wasm-bindgen-0-2-108
Jan 19, 2026
Merged

chore: upgrade wasm-bindgen to 0.2.108#2119
colinaaa merged 2 commits intolynx-family:mainfrom
PupilTong:p/hw/wasm-bindgen-0-2-108

Conversation

@PupilTong
Copy link
Copy Markdown
Collaborator

@PupilTong PupilTong commented Jan 19, 2026

Summary by CodeRabbit

  • New Features

    • Updated WebAssembly bindings and added new encoding opcode definitions to enable richer element/configuration handling.
  • Chores

    • Bumped wasm-bindgen and related workspace dependencies across macOS, Linux, and Windows targets for improved compatibility and stability.
  • Refactor

    • Reorganized exported WebAssembly interfaces to streamline lifecycle and encoding workflows.

✏️ Tip: You can customize this high-level summary in your review settings.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).
  • Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).

@PupilTong PupilTong self-assigned this Jan 19, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 19, 2026

⚠️ No Changeset found

Latest commit: 8fb1a2d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 19, 2026

📝 Walkthrough

Walkthrough

Bumps wasm-bindgen to 0.2.108 and updates workspace dependencies; regenerates/adjusts many WebAssembly-generated TypeScript bindings and encode module exports, introducing new enums and reorganizing WASM export signatures across web-core-wasm client and encode artifacts.

Changes

Cohort / File(s) Summary
wasm-bindgen scripts
packages/web-platform/web-core-wasm/scripts/wasm-bindgen, packages/web-platform/web-mainthread-apis/scripts/wasm-bindgen
Bumped wasm-bindgen metadata from 0.2.105 to 0.2.108 for all platforms (macos-x86_64, macos-aarch64, linux-x86_64, linux-aarch64, windows-x86_64): updated sizes, digests, archive paths, provider URLs, GitHub release tags/names, and header comment.
Workspace deps
Cargo.toml
Updated workspace dependency versions: js-sys 0.3.81→0.3.85, wasm-bindgen 0.2.105→0.2.108, web-sys 0.3.81→0.3.85.
Generated client typings
packages/web-platform/web-core-wasm/binary/client/client.d.ts, .../client_debug.d.ts, .../client_debug_bg.wasm.d.ts
Reordered/respaced TypeScript declarations; significant reorganization of WASM export signatures in client_debug_bg.wasm.d.ts—many old exports removed and new, more granular lifecycle/configuration and element/component APIs added.
Encode module (API & typings)
packages/web-platform/web-core-wasm/binary/encode/encode.d.ts, .../encode_debug.d.ts, .../encode_debug_bg.wasm.d.ts
Added public enum LEOAsmOpcode and related encode typings; adjusted rawelementtemplate and related WASM bindings, added __wbg_styleinfodecoder_free and __wbg_operation_free, and reorganized element/template exports.
Other generated typings formatting
packages/web-platform/web-core-wasm/binary/*/*.d.ts (multiple)
Mostly formatting/member reordering in many generated .d.ts files without changing public signatures (aside from the explicit additions/removals noted above).

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Suggested reviewers

  • colinaaa
  • gaoachao
  • upupming

Poem

🐇 I hopped through bytes and bindings bright,
I nudged the bindgen to a newer height,
Enums and exports, shuffled with care,
Elements and configs now dance in the air,
Hippity-hop — the web crate's feeling light!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately summarizes the primary change: upgrading wasm-bindgen to version 0.2.108, which is reflected in dependency updates across multiple files (Cargo.toml and platform-specific scripts).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Jan 19, 2026

Merging this PR will improve performance by 5.59%

⚡ 1 improved benchmark
✅ 62 untouched benchmarks
⏩ 3 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
basic-performance-small-css 8.2 ms 7.8 ms +5.59%

Comparing PupilTong:p/hw/wasm-bindgen-0-2-108 (8fb1a2d) with main (82b4052)

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@relativeci
Copy link
Copy Markdown

relativeci Bot commented Jan 19, 2026

Web Explorer

#7224 Bundle Size — 383.24KiB (-0.14%).

8fb1a2d(current) vs 82b4052 main#7220(baseline)

Bundle metrics  Change 2 changes
                 Current
#7224
     Baseline
#7220
No change  Initial JS 154.03KiB 154.03KiB
No change  Initial CSS 35.05KiB 35.05KiB
Change  Cache Invalidation 10.98% 0%
No change  Chunks 8 8
No change  Assets 8 8
Change  Modules 237(-0.42%) 238
No change  Duplicate Modules 16 16
No change  Duplicate Code 3% 3%
No change  Packages 4 4
No change  Duplicate Packages 0 0
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#7224
     Baseline
#7220
Improvement  JS 251.17KiB (-0.23%) 251.74KiB
Regression  Other 97.02KiB (+0.05%) 96.98KiB
No change  CSS 35.05KiB 35.05KiB

Bundle analysis reportBranch PupilTong:p/hw/wasm-bindgen-0-2-...Project dashboard


Generated by RelativeCIDocumentationReport issue

@colinaaa colinaaa merged commit 609be14 into lynx-family:main Jan 19, 2026
77 of 78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants