Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: swiftwasm/JavaScriptKit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.50.0
Choose a base ref
...
head repository: swiftwasm/JavaScriptKit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.50.1
Choose a head ref
  • 7 commits
  • 16 files changed
  • 3 contributors

Commits on Apr 8, 2026

  1. Bump vite from 7.3.1 to 7.3.2 (#712)

    Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.3.1 to 7.3.2.
    - [Release notes](https://github.com/vitejs/vite/releases)
    - [Changelog](https://github.com/vitejs/vite/blob/v7.3.2/packages/vite/CHANGELOG.md)
    - [Commits](https://github.com/vitejs/vite/commits/v7.3.2/packages/vite)
    
    ---
    updated-dependencies:
    - dependency-name: vite
      dependency-version: 7.3.2
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    5ceeb08 View commit details
    Browse the repository at this point in the history
  2. Bump actions/deploy-pages from 4 to 5 (#710)

    Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4 to 5.
    - [Release notes](https://github.com/actions/deploy-pages/releases)
    - [Commits](actions/deploy-pages@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/deploy-pages
      dependency-version: '5'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    7654385 View commit details
    Browse the repository at this point in the history
  3. Bump picomatch from 4.0.3 to 4.0.4 (#713)

    Bumps [picomatch](https://github.com/micromatch/picomatch) from 4.0.3 to 4.0.4.
    - [Release notes](https://github.com/micromatch/picomatch/releases)
    - [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
    - [Commits](micromatch/picomatch@4.0.3...4.0.4)
    
    ---
    updated-dependencies:
    - dependency-name: picomatch
      dependency-version: 4.0.4
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    af88676 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2026

  1. BridgeJS: Fix for-loop emission in stack codegen

    Three `StackCodegen` helpers built their `for`-loops from separate
    `CodeBlockItemSyntax` fragments ("for ... {", body, "}"). swift-syntax
    603's formatter then renders such partial statements with the closing
    brace glued to the previous line. Combine each for-loop into a single
    multi-line `CodeBlockItemSyntax` so the formatter produces consistent
    output across swift-syntax 600-603.
    
    Also fix a latent bug in `StructCodegen.generateStructLowerCode` and
    `EnumCodegen.generatePayloadPushingCode`: they concatenated lowering
    statements via `CodeBlockItemListSyntax(statements).description` which
    does not insert separators between items that lack leading trivia. The
    thunk builder path was fine because `append` explicitly adds `.newline`
    trivia, but any multi-statement lowering routed through a struct field
    or enum payload was silently glued onto a single line. Iterate over the
    statements and write each one individually through the printer.
    
    Add regression coverage for the previously untested codepaths:
    
    - `[String: MyProtocol]` as a function return, class property getter,
      and parameter (exercises `lowerProtocolDictionaryStatements`).
    - A `@JS struct` field of type `[String: Int?]` (exercises
      `lowerDictionaryStatementsInline` via `generateStructLowerCode`).
    krodak committed Apr 9, 2026
    Configuration menu
    Copy the full SHA
    9f149cc View commit details
    Browse the repository at this point in the history
  2. flip Package.swift file versioning (#715)

    makes `Package.swift` be the newest, while supporting older versions
    with concrete versions baked in as mentioned in
    https://docs.swift.org/swiftpm/documentation/packagemanagerdocs/swiftversionspecificpackaging/#Version-specific-Manifest-Selection
    diederich authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    9f2b432 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #716 from PassiveLogic/kr/fix-stackcodegen-for-loo…

    …p-emission
    
    BridgeJS: Fix for-loop emission in stack codegen
    krodak authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    169d2cf View commit details
    Browse the repository at this point in the history
  4. relax swift-syntax version constraint to allow 603 (#714)

    * relax swift-syntax version constraint to allow 603
    
    Packages are updating to 603 and this can fail the dependency solver.
    
    * .. and also test against it
    diederich authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    0d6544f View commit details
    Browse the repository at this point in the history
Loading