Comparing sliemeobn:main...swiftwasm:main · sliemeobn/JavaScriptKit

Commits on Mar 10, 2026

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

  3. Configuration menu

    Browse the repository at this point in the history

Commits on Mar 11, 2026

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

Commits on Mar 12, 2026

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Mar 13, 2026

  1. Configuration menu

    Browse the repository at this point in the history

Commits on Mar 16, 2026

  1. Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. Fix Embedded, bump 6.3 Swift toolchain in test.yml (swiftwasm#702)

    * Bump Swift toolchain snapshots in `test.yml`
    
    Bumping to `2026-03-05` for 6.3 and `2026-03-09` for `main`.
    
    * Fix concurrency `@_spi`
    
    * Downgrade `main` snapshot to old version
    
    * Fix 6.3 build error
    
    * EmbeddedApp/main.swift: Fix capitalization in print statement
    
    * Add `Examples/EmbeddedConcurrency`
    
    * EmbeddedConcurrency: don't use `-c release` for SwiftSyntax
    
    Remove the '-c release' option from the build command.
    
    * Fix warnings with untyped throws, fix npm install error
    
    # Conflicts:
    #	Examples/EmbeddedConcurrency/build.sh
    
    * Fix formatting
    
    * Bump `build-examples` snapshots to 2026-03-14
    
    * Use 2026-03-09 for `main` development snapshots
    
    * Add Swift version check before building examples
    
    * Exercise `await` on `JSPromise/value`
    
    * Address PR feedback
    
    * Move `EmbeddedConcurrencyApp` to fixtures
    
    * Temporarily disable `main` snapshots
    
    * Removing crashing test from the PR
    Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

Commits on Mar 24, 2026

  1. BridgeJS: Re-land extension method support (reverted in swiftwasm#703) (

    swiftwasm#706)
    
    * BridgeJS: Correctly emit @js methods in extensions
    
    * BridgeJS: Improve test coverage for @js methods and properties in extensions
    
    * Fix formatting
    
    * Update test code to avoid accidentally introduced failure
    
    * Fix CI: update snapshots, formatting, runtime test, add docs and review feedback
    
    * BridgeJS: Regenerate snapshots and runtime bindings against current main
    
    ---------
    
    Co-authored-by: William Taylor <git@will.au>
    Co-authored-by: Max Desiatov <m_desiatov@apple.com>

    3 people authored

    Mar 24, 2026
    Configuration menu

    Browse the repository at this point in the history

Commits on Mar 27, 2026

  1. BridgeJS: support imports of JS Promise as async Swift (swiftwasm…

    …#707)
    
    * BridgeJS: support imports of `Promise` JS as `async` Swift
    
    * E2e testing of bridging Promise<interface> returns
    
    * fix formatting
    
    * `JSTypedClosure`-based approach
    
    * Clean up `BridgeJSLink`
    
    * Fix missing `import _Concurrency`
    
    * Fix formatting
    
    * Use `JSTypedClosure` without wrapping the result value
    
    * Make closure parameters as `sending`
    
    * Check more stack ABI types
    
    * Add support for `async` in `@JSFunction`
    
    * Use namespaced import
    
    * Fix missing `fetchWeatherData`
    
    * Bring back `fetchWeatherData`
    
    * Regenerate `fetchWeatherData` bridging code
    
    * BridgeJS: Centralize closure sig collection in BridgeSkeletonWalker
    
    * BridgeJS: Stop spreading isAsync handling outside of CallJSEmission
    
    * BridgeJS: Remove error-prone default effects in thunk generation
    
    * BridgeJSLink: Centralize async handling in ImportedThunkBuilder
    
    * BridgeJS: Remove reundant returnType from `call` family of methods in ImportedThunkBuilder
    
    ---------
    
    Co-authored-by: Yuta Saito <yuta@goodnotes.com>
    Configuration menu

    Browse the repository at this point in the history

Commits on Apr 2, 2026

  1. Add JSRemote<JSObject> (swiftwasm#711)

    Add `JSRemote<JSObject>` API for accessing JSObjects without transfer
    
    The new API allows creating a handle for a `JSObject` that remains
    on its original JavaScript thread and hopping back to that thread
    to access the object when needed. This is useful for cases where the
    object cannot be transferred to another thread, but occasional access
    is still required or when we want to guarantee that an object is always
    accessed on the same thread for safety (it should be statically
    guaranteed with strict Sendable checking, but modules with language mode
    5 don't have that).
    
    Example:
    
    ```swift
    let document = JSObject.global.document.object!
    let remoteDocument = JSRemote(document)
    
    let executor = try await WebWorkerTaskExecutor(numberOfThreads: 1)
    let title = try await Task(executorPreference: executor) {
        try await remoteDocument.withJSObject { document in
            document.title.string ?? ""
        }
    }.value
    ```
    Configuration menu

    Browse the repository at this point in the history