-
-
Notifications
You must be signed in to change notification settings - Fork 318
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
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
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 11 commits
- 33 files changed
- 5 contributors
Commits on Jun 5, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 21e5580 - Browse repository at this point
Copy the full SHA 21e5580View commit details -
- @napi-rs/cli@3.0.0-alpha.87 - @napi-rs/triples@2.0.0-alpha.49
Configuration menu - View commit details
-
Copy full SHA for 17cced9 - Browse repository at this point
Copy the full SHA 17cced9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a90c8a - Browse repository at this point
Copy the full SHA 0a90c8aView commit details
Commits on Jun 6, 2025
-
Configuration menu - View commit details
-
Copy full SHA for e31b898 - Browse repository at this point
Copy the full SHA e31b898View commit details -
chore(deps): update dependency oxlint to ^0.18.0 (#2697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c47d0e7 - Browse repository at this point
Copy the full SHA c47d0e7View commit details
Commits on Jun 7, 2025
-
fix: (wasm-runtime) fix race condition (#2698)
Co-authored-by: LongYinan <lynweklm@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 193b0e0 - Browse repository at this point
Copy the full SHA 193b0e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f4338a - Browse repository at this point
Copy the full SHA 3f4338aView commit details
Commits on Jun 8, 2025
-
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>
Configuration menu - View commit details
-
Copy full SHA for 814bc79 - Browse repository at this point
Copy the full SHA 814bc79View commit details -
fix(napi-derive): panic while creating type definition when Rust comm…
…ent contains escape syntax (#2701)
Configuration menu - View commit details
-
Copy full SHA for 54935e3 - Browse repository at this point
Copy the full SHA 54935e3View commit details -
- @napi-rs/cli@3.0.0-alpha.88 - @napi-rs/triples@2.0.0-alpha.50 - @napi-rs/wasm-runtime@0.2.11
Configuration menu - View commit details
-
Copy full SHA for 984d166 - Browse repository at this point
Copy the full SHA 984d166View commit details -
- napi@3.0.0-beta.8 - napi-derive@3.0.0-beta.8
Configuration menu - View commit details
-
Copy full SHA for 668b53e - Browse repository at this point
Copy the full SHA 668b53eView commit details
Loading
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 napi@3.0.0-beta.7...napi@3.0.0-beta.8