-
-
Notifications
You must be signed in to change notification settings - Fork 74
Comparing changes
Open a pull request
base repository: swiftwasm/JavaScriptKit
base: 0.51.0
head repository: swiftwasm/JavaScriptKit
compare: 0.52.0
- 10 commits
- 32 files changed
- 3 contributors
Commits on Apr 30, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 1c107ad - Browse repository at this point
Copy the full SHA 1c107adView commit details -
Merge pull request #732 from swiftwasm/kr/swift-format-ignore-generated
BridgeJS: Add swift-format-ignore-file to generated Swift sources
Configuration menu - View commit details
-
Copy full SHA for 44ebc38 - Browse repository at this point
Copy the full SHA 44ebc38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb6668 - Browse repository at this point
Copy the full SHA 6eb6668View commit details -
Merge pull request #735 from swiftwasm/kr/nested-type-diagnostic
BridgeJS: Support nested @js types inside structs and classes
Configuration menu - View commit details
-
Copy full SHA for 2dd870e - Browse repository at this point
Copy the full SHA 2dd870eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f90fe98 - Browse repository at this point
Copy the full SHA f90fe98View commit details -
Merge pull request #733 from swiftwasm/kr/struct-init-diagnostic
BridgeJS: Diagnose struct initializer parameter order mismatch
Configuration menu - View commit details
-
Copy full SHA for 824c051 - Browse repository at this point
Copy the full SHA 824c051View commit details
Commits on May 4, 2026
-
BridgeJS: Fix optionals build error with Embedded Swift (#734)
Remove @_spi(BridgeJS) from _BridgedAsOptional protocol and its Optional/JSUndefinedOr conformances so the conformances are visible in Embedded Swift mode. The underscore-prefixed protocol name already signals internal API, and all extension methods remain @_spi-gated. Fixes #689
Configuration menu - View commit details
-
Copy full SHA for f8b2c96 - Browse repository at this point
Copy the full SHA f8b2c96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43ed78f - Browse repository at this point
Copy the full SHA 43ed78fView commit details
Commits on May 6, 2026
-
Fix cross-thread JSString deinit by wrapping JSObject instead of raw ref
JSString.Guts previously held a raw JavaScriptObjectRef and released it unconditionally on whatever thread ran deinit. In the multithreaded Wasm runtime each thread has its own JSObjectSpace, so releasing a ref on the wrong thread caused a TypeError crash (BugSnag: rc property of undefined). JSObject already handles this correctly by capturing ownerTid at init time and routing deinit through swjs_release_remote when destroyed off-thread. This change makes Guts hold a JSObject instead of a raw ref, delegating the correct cross-thread release behaviour to the existing JSObject.deinit path. Adds a regression test testDeinitJSStringOnDifferentThread that reproduces the crash deterministically: it forces JS ref allocation on the main thread via asInternalJSRef(), then drops the last reference on a worker thread. Fixes the crash seen in v292745-rc4 after upgrading to JavaScriptKit 0.50.2. https://claude.ai/code/session_01Qhg5GLXZYNJtH63Gs1SwJH
Configuration menu - View commit details
-
Copy full SHA for d3f96f4 - Browse repository at this point
Copy the full SHA d3f96f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ea916b - Browse repository at this point
Copy the full SHA 6ea916bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.51.0...0.52.0