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@2.15.3
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@2.15.4
Choose a head ref
  • 5 commits
  • 4 files changed
  • 3 contributors

Commits on Feb 21, 2024

  1. Configuration menu
    Copy the full SHA
    0306e30 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Configuration menu
    Copy the full SHA
    da99081 View commit details
    Browse the repository at this point in the history
  2. fix(napi): no hard fail on ThreadsafeFunction::call_async (#1970)

    For many reasons, in an app we can end up in a scenario where the thread / task that initially called the ThreadsafeFunction gets interrupted. This means that the receiver would get collected, should a ThreadsafeFunction be awaited on the said thread. This will create an error when the ThreadsafeFunction's callback will be called, and call a napi_fatal_error.
    
    This change makes it so that if the send errors, this error is hidden and thus prevents any hard failure. If a ThreadsafeFunction is called in such a case, its output won't be used, but we'll still run all the logic to ensure it ran properly.
    
    Fixes #1665 - cc @Brooooooklyn
    Louis authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    5b5f616 View commit details
    Browse the repository at this point in the history
  3. fix(napi): require static lifetime on add_finalizer callback (#1968)

    Co-authored-by: LongYinan <lynweklm@gmail.com>
    tomb-msft and Brooooooklyn authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    ebd5eef View commit details
    Browse the repository at this point in the history
  4. Release independent packages

    napi@2.15.4
    Brooooooklyn committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    33cf208 View commit details
    Browse the repository at this point in the history
Loading