Skip to content

Update Rust crate neon to v1 - #734

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/neon-1-x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/neon-1-x

Conversation

@renovate

@renovate renovate Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
neon (source) dependencies major ^0.10.1 → ^1.0.0

Release Notes

neon-bindings/neon (neon)

v1.1.1

Compare Source

Hotfix for Node-API versions lower than 5 (#​1106).

v1.1.0

Compare Source

Continued Commitment to Compatibility

Our strong commitment to compatibility since the 1.0 release remains unchanged. New functionality
that has not yet stabilized is published under feature flags, so the only breaking changes that we
expect to publish are those that affect the unstable features, or, as always, safety bugfixes.

Version 1.1.1

Hotfix for Node-API versions lower than 5 (#​1106).

Version 1.1.0

New Features
Bugfixes
  • Fix panic when borrowing empty buffer or typed array (#​1058)
  • Fix build script behavior based on cargo diagnostics format change (#​1039)

Version 1.1.0-alpha.2

Breaking Changes (unstable features only)
  • Convert snake_case to camelCase when exporting functions (#​1084)
  • Remove FromArgs impl on T: TryFromJs and add cx.{arg, arg_opt} (#​1096)
Other
  • Relax lifetime constraints on With (#​1086)
  • Add JsBox::{deref, as_inner} to get long-lived reference to JsBox contents (#​1087)
  • Add extractors for TypedArrays (#​1089)
  • Add extractors for common container types (#​1091)

Version 1.1.0-alpha.1

Breaking Changes (unstable features only)
  • TryIntoJs and TryFromJs take Cx instead of generic Context (#​1062)
Bugfixes
  • Fix panic when borrowing empty buffer or typed array (#​1058)
Other
  • More reliable checking for Result types in #[export] (#​1057)
  • Allow users to take Cx instead of generic Context (#​1048)
  • Introduce With for TryIntoJs (#​1059)
  • Add tokio async runtime support to #[export] (#​1055)
  • Add TryIntoJs and TryFromJs for common container types (#​1066)
  • Allow Cx in exported functions (#​1068)

Version 1.1.0-alpha.0

Bugfixes
  • Fix build script behavior based on cargo diagnostics format change (#​1039)
Other

v1.0.0

Compare Source

Commitment to Compatibility

The release of Neon 1.0 marks our commitment to backwards-compatibility: starting with 1.0.0, Neon users can be confident that future upgrades to Neon 1.x versions should never require code changes (with the possible exception of safety bugfixes, which we expect to be rare). We also do not anticipate releasing new major versions often and do not have any plans to do so for now.

Breaking Changes

  • Remove the generic parameter from JsFunction (#​989)
  • JsArray::new takes a usize instead of a u32 (#​988)
  • Made Context::global read a key and added Context::global_object (#​987)
  • Deprecated feature flags were removed

Bug fixes

  • Fix unhandledRejection with JsPromise::to_future (#​1008)
  • Typo in cargo-cp-artifact help (#​998)
  • Typo in README (#​1012)

Other

#​1010

  • Relaxed error behavior on missing Node-API symbols. Neon will panic on first use instead of aborting the process at module load time.
  • Bumped dependency versions
  • Changed to edition 2021
  • Updated support matrix to Node 18, 20, and 21

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@socket-security

socket-security Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@github-actions github-actions Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rust Benchmark

Details
Benchmark suite Current: eabc9ac Previous: 09d297c Ratio
rule-match-browserlike/brave-list 1779484874 ns/iter (± 16032578) 1264178831 ns/iter (± 19737121) 1.41
rule-match-first-request/brave-list 1396238 ns/iter (± 10681) 933825 ns/iter (± 17970) 1.50
blocker_new/brave-list 112378991 ns/iter (± 330964) 81956822 ns/iter (± 1925779) 1.37
blocker_new/brave-list-deserialize 2196356 ns/iter (± 23819) 1113890 ns/iter (± 12247) 1.97
memory-usage-final/brave-list-initial 9671732 B/iter (± 0) 9671732 B/iter (± 0) 1
memory-usage-final/brave-list-1000-requests 3215263 B/iter (± 0) 3215263 B/iter (± 0) 1
memory-usage-max/brave-list-initial/max 32237425 B/iter (± 0) 32237425 B/iter (± 0) 1
memory-usage-alloc-count/brave-list-initial/alloc-count 287123 allocs/iter (± 0) 287123 allocs/iter (± 0) 1
memory-usage-alloc-count/brave-list-1000-requests/alloc-count 81427 allocs/iter (± 0) 81427 allocs/iter (± 0) 1
url_cosmetic_resources/brave-list 182482 ns/iter (± 2044) 124104 ns/iter (± 14461) 1.47
cosmetic-class-id-match/brave-list 3991748 ns/iter (± 1046636) 2307567 ns/iter (± 570301) 1.73

This comment was automatically generated by workflow using github-action-benchmark.

@renovate
renovate Bot force-pushed the renovate/neon-1-x branch from 47c5157 to f11796d Compare October 13, 2026 11:05
@renovate
renovate Bot force-pushed the renovate/neon-1-x branch from f11796d to eabc9ac Compare November 5, 2026 20:09

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.10.

Benchmark suite Current: eabc9ac Previous: 09d297c Ratio
rule-match-browserlike/brave-list 1779484874 ns/iter (± 16032578) 1264178831 ns/iter (± 19737121) 1.41
rule-match-first-request/brave-list 1396238 ns/iter (± 10681) 933825 ns/iter (± 17970) 1.50
blocker_new/brave-list 112378991 ns/iter (± 330964) 81956822 ns/iter (± 1925779) 1.37
blocker_new/brave-list-deserialize 2196356 ns/iter (± 23819) 1113890 ns/iter (± 12247) 1.97
url_cosmetic_resources/brave-list 182482 ns/iter (± 2044) 124104 ns/iter (± 14461) 1.47
cosmetic-class-id-match/brave-list 3991748 ns/iter (± 1046636) 2307567 ns/iter (± 570301) 1.73

This comment was automatically generated by workflow using github-action-benchmark.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants