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: napi-rs/napi-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: napi@3.0.0-beta.7
Choose a base ref
...
head repository: napi-rs/napi-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: napi@3.0.0-beta.8
Choose a head ref
  • 11 commits
  • 33 files changed
  • 5 contributors

Commits on Jun 5, 2025

  1. Configuration menu
    Copy the full SHA
    21e5580 View commit details
    Browse the repository at this point in the history
  2. chore(release): publish

     - @napi-rs/cli@3.0.0-alpha.87
     - @napi-rs/triples@2.0.0-alpha.49
    Brooooooklyn committed Jun 5, 2025
    Configuration menu
    Copy the full SHA
    17cced9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a90c8a View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2025

  1. Configuration menu
    Copy the full SHA
    e31b898 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency oxlint to ^0.18.0 (#2697)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 6, 2025
    Configuration menu
    Copy the full SHA
    c47d0e7 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2025

  1. fix: (wasm-runtime) fix race condition (#2698)

    Co-authored-by: LongYinan <lynweklm@gmail.com>
    lyonbot and Brooooooklyn authored Jun 7, 2025
    Configuration menu
    Copy the full SHA
    193b0e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f4338a View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2025

  1. fix(napi-derive): using js_name generating wrong type defs (#2700)

    This commit introduces two main changes:
    
    1.  Refactors the variable names used during the creation of
        `NapiStruct` in `crates/macro/src/parser/mod.rs`. The goal is to
        make the source of `NapiStruct.name` (the Rust identifier) and
        `NapiStruct.js_name` (the JavaScript name, potentially from a
        `#[napi(js_name = "...")]` attribute) more explicit. This change
        is primarily for code readability and maintainability. The core
        logic remains the same.
    
    2.  Adds a new test case to `examples/napi` to specifically verify
        the behavior of `#[napi(js_name = "...")]` on structs. This
        includes:
        - A new Rust struct `OriginalRustNameForJsNamedStruct` in
          `examples/napi/src/class.rs` decorated with
          `#[napi(js_name = "MyJsNamedClass")]`.
        - Corresponding tests in `examples/napi/__tests__/values.spec.ts`
          that check for correct class instantiation, method calls, and
          type alias generation (`OriginalRustNameForJsNamedStruct` as an
          alias for `MyJsNamedClass`).
    
    Note: I encountered some issues running the full build and tests for the example due to pre-commit hooks in the testing environment that I couldn't bypass. However, I believe the changes are correct based on static analysis and focused checks.
    
    Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
    Brooooooklyn and google-labs-jules[bot] authored Jun 8, 2025
    Configuration menu
    Copy the full SHA
    814bc79 View commit details
    Browse the repository at this point in the history
  2. fix(napi-derive): panic while creating type definition when Rust comm…

    …ent contains escape syntax (#2701)
    Brooooooklyn authored Jun 8, 2025
    Configuration menu
    Copy the full SHA
    54935e3 View commit details
    Browse the repository at this point in the history
  3. chore(release): publish

     - @napi-rs/cli@3.0.0-alpha.88
     - @napi-rs/triples@2.0.0-alpha.50
     - @napi-rs/wasm-runtime@0.2.11
    Brooooooklyn committed Jun 8, 2025
    Configuration menu
    Copy the full SHA
    984d166 View commit details
    Browse the repository at this point in the history
  4. Release independent packages

    - napi@3.0.0-beta.8
    - napi-derive@3.0.0-beta.8
    Brooooooklyn committed Jun 8, 2025
    Configuration menu
    Copy the full SHA
    668b53e View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy