-
-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: clean napi-derive noop feature code path #1571
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kodiakhq bot
referenced
this pull request
in X-oss-byte/Canary-nextjs
May 2, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [napi](https://togithub.com/napi-rs/napi-rs) | dependencies | minor | `2` -> `2.16.4` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>napi-rs/napi-rs (napi)</summary> ### [`v2.16.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.16.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.16.3...napi@2.16.4) #### What changed - feat(napi): allow user defined tokio runtime by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) [#​2040](https://togithub.com/napi-rs/napi-rs/issues/2040) - fix(napi): handle panic in async block by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) ([https://github.com/napi-rs/napi-rs/pull/2050](https://togithub.com/napi-rs/napi-rs/pull/2050)) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.16.2...napi@2.16.4 ### [`v2.16.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.16.2...napi@2.16.3) #### What Changed - fix(napi-derive): bail the unexpected factory directive by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) [#​2051](https://togithub.com/napi-rs/napi-rs/issues/2051) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4...napi-derive@2.16.3 ### [`v2.16.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.16.1...napi@2.16.2) ##### What's Changed - feat(napi-derive): enhance the error messages in object validator by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/2034](https://togithub.com/napi-rs/napi-rs/pull/2034) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.1...napi-derive@2.16.2 ### [`v2.16.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.16.0...napi@2.16.1) #### What's Changed - feat(napi-derive): add optional enum_string case conversion by [@​andrewtoth](https://togithub.com/andrewtoth) in [https://github.com/napi-rs/napi-rs/pull/1995](https://togithub.com/napi-rs/napi-rs/pull/1995) #### New Contributors - [@​andrewtoth](https://togithub.com/andrewtoth) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1995](https://togithub.com/napi-rs/napi-rs/pull/1995) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.0...napi-derive@2.16.1 ### [`v2.16.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.15.4...napi@2.16.0) #### What's Changed - feat(napi-derive): add use_nullable attribute by [@​sup39](https://togithub.com/sup39) in [https://github.com/napi-rs/napi-rs/pull/1971](https://togithub.com/napi-rs/napi-rs/pull/1971) - style(napi-derive): clippy fix by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1976](https://togithub.com/napi-rs/napi-rs/pull/1976) - fix(napi-derive): HashMap/IndexMap and slice generated types by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1977](https://togithub.com/napi-rs/napi-rs/pull/1977) - fix(napi-derive): wrong dependency condition by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1980](https://togithub.com/napi-rs/napi-rs/pull/1980) #### New Contributors - [@​sup39](https://togithub.com/sup39) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1971](https://togithub.com/napi-rs/napi-rs/pull/1971) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.15.4...napi-derive@2.16.0 ### [`v2.15.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.15.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.15.2...napi@2.15.4) #### What's Changed - fix(napi): no hard fail on ThreadsafeFunction::call_async by [@​lbarthon](https://togithub.com/lbarthon) in [https://github.com/napi-rs/napi-rs/pull/1970](https://togithub.com/napi-rs/napi-rs/pull/1970) - fix(napi): JsObject.add_finalizer callback being allowed to reference non-static things by [@​tomb-msft](https://togithub.com/tomb-msft) in [https://github.com/napi-rs/napi-rs/pull/1968](https://togithub.com/napi-rs/napi-rs/pull/1968) #### New Contributors - [@​tomb-msft](https://togithub.com/tomb-msft) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1968](https://togithub.com/napi-rs/napi-rs/pull/1968) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.15.3...napi@2.15.4 ### [`v2.15.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.15.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.15.1...napi@2.15.2) #### What's Changed - feat(napi): extends the Map types interoperability by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1950](https://togithub.com/napi-rs/napi-rs/pull/1950) - feat(napi): accept slice as TypedArray by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1951](https://togithub.com/napi-rs/napi-rs/pull/1951) - style: apply clippy fix by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1953](https://togithub.com/napi-rs/napi-rs/pull/1953) - fix(napi): memory leak while using Reference by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1954](https://togithub.com/napi-rs/napi-rs/pull/1954) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.38...napi@2.15.2 ### [`v2.15.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.15.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.15.0...napi@2.15.1) #### What's Changed - fix(napi): Fix buffer corruption and soundness issues by [@​Janrupf](https://togithub.com/Janrupf) in [https://github.com/napi-rs/napi-rs/pull/1923](https://togithub.com/napi-rs/napi-rs/pull/1923) - fix(napi): in "Object::get", return null values wrapped in a "Some" by [@​jkomyno](https://togithub.com/jkomyno) in [https://github.com/napi-rs/napi-rs/pull/1934](https://togithub.com/napi-rs/napi-rs/pull/1934) #### New Contributors - [@​Janrupf](https://togithub.com/Janrupf) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1923](https://togithub.com/napi-rs/napi-rs/pull/1923) - [@​jkomyno](https://togithub.com/jkomyno) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1934](https://togithub.com/napi-rs/napi-rs/pull/1934) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.15.0...napi@2.15.1 ### [`v2.15.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.15.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.4...napi@2.15.0) #### What's Changed - fix(napi): callback in execute_tokio_future does not need to be Send by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1917](https://togithub.com/napi-rs/napi-rs/pull/1917) - feat(napi): new Function/FunctionRef API by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1913](https://togithub.com/napi-rs/napi-rs/pull/1913) - chore(napi): delete unwrap_from_ref API because it was never work by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1915](https://togithub.com/napi-rs/napi-rs/pull/1915) - fix(napi): memory issue while creating external buffer on electron by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1921](https://togithub.com/napi-rs/napi-rs/pull/1921) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.14.4...napi@2.15.0 ### [`v2.14.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.14.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.3...napi@2.14.4) #### What's changed - fix(napi): future in block_on do not need to be send [@​Brooooooklyn](https://togithub.com/Brooooooklyn) napi-rs/napi-rs@e332270 **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.14.3...napi@2.14.4 ### [`v2.14.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.14.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.2...napi@2.14.3) #### What's Changed - fix(napi): block_on type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1911](https://togithub.com/napi-rs/napi-rs/pull/1911) - chore(napi): expose spawn_blocking on tokio runtime by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1912](https://togithub.com/napi-rs/napi-rs/pull/1912) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.35...napi@2.14.3 ### [`v2.14.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.14.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.1...napi@2.14.2) #### What's Changed - test(napi): decrease the worker sizes on Linux x64 musl platform by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1823](https://togithub.com/napi-rs/napi-rs/pull/1823) - fix(napi): apply clippy suggestions by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1878](https://togithub.com/napi-rs/napi-rs/pull/1878) - chore(napi): add status to error messages in AsyncWork by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1880](https://togithub.com/napi-rs/napi-rs/pull/1880) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.14.1...napi@2.14.2 ### [`v2.14.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.14.0...napi@2.14.1) #### What's Changed - fix(napi-derive): async task void output type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1795](https://togithub.com/napi-rs/napi-rs/pull/1795) - fix(napi-derive): async task optional output type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1796](https://togithub.com/napi-rs/napi-rs/pull/1796) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...napi-derive@2.14.1 ### [`v2.14.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.13.3...napi@2.14.0) #### What's Changed - fix(napi-derive): throw **is not a valid identifier** when generating getters and setters by [@​yoogoc](https://togithub.com/yoogoc) in [https://github.com/napi-rs/napi-rs/pull/1701](https://togithub.com/napi-rs/napi-rs/pull/1701) - feat: integrate with emnapi, support **wasm32-wasi-preview1-threads** target by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1669](https://togithub.com/napi-rs/napi-rs/pull/1669) ### [`v2.13.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.13.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.13.2...napi@2.13.3) #### What's Changed - Fix promise resolve error by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1664](https://togithub.com/napi-rs/napi-rs/pull/1664) - feat(napi): impl FromNapiValue for HashMap with custom hasher by [@​arucil](https://togithub.com/arucil) in [https://github.com/napi-rs/napi-rs/pull/1682](https://togithub.com/napi-rs/napi-rs/pull/1682) #### New Contributors - [@​H4ad](https://togithub.com/H4ad) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1660](https://togithub.com/napi-rs/napi-rs/pull/1660) - [@​arucil](https://togithub.com/arucil) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1682](https://togithub.com/napi-rs/napi-rs/pull/1682) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.5...napi@2.13.3 ### [`v2.13.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.13.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.13.1...napi@2.13.2) #### What's Changed - docs(README): update platform support status by [@​kxxt](https://togithub.com/kxxt) in [https://github.com/napi-rs/napi-rs/pull/1607](https://togithub.com/napi-rs/napi-rs/pull/1607) - chore(deps): update dependency electron to v25 by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1610](https://togithub.com/napi-rs/napi-rs/pull/1610) - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1612](https://togithub.com/napi-rs/napi-rs/pull/1612) - chore(deps): update yarn to v3.6.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1614](https://togithub.com/napi-rs/napi-rs/pull/1614) - chore: remove extra #\[cfg] attribute by [@​aqrln](https://togithub.com/aqrln) in [https://github.com/napi-rs/napi-rs/pull/1616](https://togithub.com/napi-rs/napi-rs/pull/1616) - chore(deps): update dependency electron to v25.1.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1617](https://togithub.com/napi-rs/napi-rs/pull/1617) - fix(napi): impl send + sync for ThreadsafeFunction by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1622](https://togithub.com/napi-rs/napi-rs/pull/1622) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.13.1...napi@2.13.2 ### [`v2.13.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.13.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.13.0...napi@2.13.1) #### What's Changed - fix(napi): missing ValidateNapiValue for JsObject by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1606](https://togithub.com/napi-rs/napi-rs/pull/1606) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.13.0...napi@2.13.1 ### [`v2.13.0`](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.12.5...napi-derive@2.13.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.7...napi@2.13.0) ### [`v2.12.7`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.12.7) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.6...napi@2.12.7) #### What's Changed - chore(deps): update dependency electron to v24.1.3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1578](https://togithub.com/napi-rs/napi-rs/pull/1578) - chore(deps): update yarn to v3.5.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1579](https://togithub.com/napi-rs/napi-rs/pull/1579) - chore(deps): update dependency electron to v24.2.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1580](https://togithub.com/napi-rs/napi-rs/pull/1580) - feat(cli): add --use-cross command for building with `cross` by [@​Boshen](https://togithub.com/Boshen) in [https://github.com/napi-rs/napi-rs/pull/1584](https://togithub.com/napi-rs/napi-rs/pull/1584) - chore(deps): update dependency [@​rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) to v25 by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1588](https://togithub.com/napi-rs/napi-rs/pull/1588) - chore(deps): update dependency electron to v24.3.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1587](https://togithub.com/napi-rs/napi-rs/pull/1587) - chore(example): add callback return promise by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1590](https://togithub.com/napi-rs/napi-rs/pull/1590) - chore(deps): update dependency electron to v24.3.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/1593](https://togithub.com/napi-rs/napi-rs/pull/1593) - feat(napi): Bigint deserialization by [@​JanisGailis](https://togithub.com/JanisGailis) in [https://github.com/napi-rs/napi-rs/pull/1592](https://togithub.com/napi-rs/napi-rs/pull/1592) #### New Contributors - [@​Boshen](https://togithub.com/Boshen) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1584](https://togithub.com/napi-rs/napi-rs/pull/1584) - [@​JanisGailis](https://togithub.com/JanisGailis) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1592](https://togithub.com/napi-rs/napi-rs/pull/1592) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.5...napi@2.12.7 ### [`v2.12.6`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.12.6) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.5...napi@2.12.6) #### What's Changed - chore(napi): adds support for `Rc / Arc / Mutex` by [@​arcanis](https://togithub.com/arcanis) in [https://github.com/napi-rs/napi-rs/pull/1573](https://togithub.com/napi-rs/napi-rs/pull/1573) #### New Contributors - [@​arcanis](https://togithub.com/arcanis) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1573](https://togithub.com/napi-rs/napi-rs/pull/1573) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.12.5...napi@2.12.6 ### [`v2.12.5`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.12.5) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.4...napi@2.12.5) #### What's Changed - fix(napi-derive): increase initial ref count in async fn by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1577](https://togithub.com/napi-rs/napi-rs/pull/1577) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.4...napi-derive@2.12.5 ### [`v2.12.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.12.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.3...napi@2.12.4) #### What's Changed - feat: clean napi-derive **noop** feature code path by [@​forehalo](https://togithub.com/forehalo) in [https://github.com/napi-rs/napi-rs/pull/1571](https://togithub.com/napi-rs/napi-rs/pull/1571) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.12.5...napi-derive@2.12.4 ### [`v2.12.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.12.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.2...napi@2.12.3) #### Core features ```rust #[napi(string_enum)] pub enum Status { Pristine, Loading, Ready, } ``` ⬇️⬇️⬇️⬇️⬇️ ```ts export const enum Status { Pristine = 'Pristine', Loading = 'Loading', Ready = 'Ready' } ``` #### What's Changed - feat(napi-derive): add support for string enums by [@​nebarf](https://togithub.com/nebarf) in [https://github.com/napi-rs/napi-rs/pull/1551](https://togithub.com/napi-rs/napi-rs/pull/1551) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.2...napi-derive@2.12.3 ### [`v2.12.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.12.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.1...napi@2.12.2) #### What's Changed - fix(cli,napi-derive): backward compatible with older cli with [#​1531](https://togithub.com/napi-rs/napi-rs/issues/1531) by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1536](https://togithub.com/napi-rs/napi-rs/pull/1536) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.1...napi-derive@2.12.2 ### [`v2.12.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.12.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.12.0...napi@2.12.1) #### What's Changed - fix(cli,napi-derive): re-export types from shared crate by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1531](https://togithub.com/napi-rs/napi-rs/pull/1531) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.0...napi-derive@2.12.1 ### [`v2.12.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.12.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.11.4...napi@2.12.0) #### What's Changed - feat: export registers in wasm32 target by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1529](https://togithub.com/napi-rs/napi-rs/pull/1529) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.11.4...napi-derive@2.12.0 ### [`v2.11.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.11.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.11.3...napi@2.11.4) #### What's Changed - fix(napi): prevent access to tsfn-raw after env's destroyed([#​1514](https://togithub.com/napi-rs/napi-rs/issues/1514)) by [@​HotQ](https://togithub.com/HotQ) in [https://github.com/napi-rs/napi-rs/pull/1515](https://togithub.com/napi-rs/napi-rs/pull/1515) #### New Contributors - [@​HotQ](https://togithub.com/HotQ) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1515](https://togithub.com/napi-rs/napi-rs/pull/1515) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.11.3...napi@2.11.4 ### [`v2.11.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.11.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.11.2...napi@2.11.3) #### What's Changed - fix(napi): display should be implemented on error generics with `Debug` by [@​h-a-n-a](https://togithub.com/h-a-n-a) in [https://github.com/napi-rs/napi-rs/pull/1497](https://togithub.com/napi-rs/napi-rs/pull/1497) - feat(napi): expose `uv_run` by [@​MarkusJx](https://togithub.com/MarkusJx) in [https://github.com/napi-rs/napi-rs/pull/1499](https://togithub.com/napi-rs/napi-rs/pull/1499) - test(napi): tests for custom gc in worker_threads by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1505](https://togithub.com/napi-rs/napi-rs/pull/1505) - chore(napi): remove thread_local from dependenies by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1506](https://togithub.com/napi-rs/napi-rs/pull/1506) - build: add libc++ in aarch64-linux-gnu Docker by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1511](https://togithub.com/napi-rs/napi-rs/pull/1511) - chore: ci components upgrade by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1512](https://togithub.com/napi-rs/napi-rs/pull/1512) - fix(napi): panic when `Promise` callbacks trigger after Promise is dropped by [@​pose](https://togithub.com/pose) in [https://github.com/napi-rs/napi-rs/pull/1516](https://togithub.com/napi-rs/napi-rs/pull/1516) #### New Contributors - [@​MarkusJx](https://togithub.com/MarkusJx) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1499](https://togithub.com/napi-rs/napi-rs/pull/1499) - [@​pose](https://togithub.com/pose) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1516](https://togithub.com/napi-rs/napi-rs/pull/1516) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.11.1...napi@2.11.3 ### [`v2.11.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.11.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.11.1...napi@2.11.2) #### What's Changed - chore(napi-derive): remove thread_local from dependenies by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1506](https://togithub.com/napi-rs/napi-rs/pull/1506) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.11.1...napi-derive@2.11.2 ### [`v2.11.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.11.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.11.0...napi@2.11.1) #### Changes - Part of https://github.com/napi-rs/napi-rs/releases/tag/%40napi-rs%2Fcli%402.14.8 by [@​forehalo](https://togithub.com/forehalo) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​2](https://togithub.com/2).14.8...napi-derive@2.11.1 ### [`v2.11.0`](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.10.1...napi-derive@2.11.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.10.17...napi@2.11.0) ### [`v2.10.17`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.10.17) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.10.16...napi@2.10.17) #### What's Changed - [fix(napi): impl Send Sync to External](https://togithub.com/napi-rs/napi-rs/commit/c34ccc9131ee75a9dae750b98926fbb9906d8f7c) by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.10.16...napi@2.10.17 ### [`v2.10.16`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.10.16) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.10.15...napi@2.10.16) #### What's Changed - fix(napi): dropping Error should not call sys if feature is set to noop by [@​h-a-n-a](https://togithub.com/h-a-n-a) in [https://github.com/napi-rs/napi-rs/pull/1477](https://togithub.com/napi-rs/napi-rs/pull/1477) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.10.15...napi@2.10.16 ### [`v2.10.15`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.10.15) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.10.14...napi@2.10.15) #### What's Changed - build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/napi-rs/napi-rs/pull/1472](https://togithub.com/napi-rs/napi-rs/pull/1472) - chore(napi): enhance the error messages while converting types failed by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1473](https://togithub.com/napi-rs/napi-rs/pull/1473) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​2](https://togithub.com/2).14.6...napi@2.10.15 ### [`v2.10.14`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.10.14) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.10.13...napi@2.10.14) #### What's Changed - fix(napi): run_script return type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1467](https://togithub.com/napi-rs/napi-rs/pull/1467) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.10.13...napi@2.10.14 ### [`v2.10.13`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.10.13) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.10.12...napi@2.10.13) #### What's Changed - fix(napi): also apply electron external data fallback to lowlevel APIs by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1458](https://togithub.com/napi-rs/napi-rs/pull/1458) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.10.12...napi@2.10.13 ### [`v2.10.12`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.10.12) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.10.11...napi@2.10.12) #### What's Changed - fix(napi): add missing NoExternalBuffersAllowed by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1457](https://togithub.com/napi-rs/napi-rs/pull/1457) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.10.11...napi@2.10.12 ### [`v2.10.11`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.10.11) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.10.10...napi@2.10.11) #### What's Changed - fix(napi): fallback to copy arraybuffer if zero copy is not allowed by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1455](https://togithub.com/napi-rs/napi-rs/pull/1455) #### Background Electron disallowed the `create_external_xxx` API since `electron@21`: https://www.electronjs.org/blog/v8-memory-cage NAPI-RS will fallback to use `create_buffer_copy` if `napi_create_external_buffer` return the `napi_no_external_buffers_allowed` status. **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.10.10...napi@2.10.11 ### [`v2.10.10`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi%402.10.10) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi@2.10.9...napi@2.10.10) #### What's Changed - chore(napi): implement FromNapiValue for ThreadsafeFunction by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1447](https://togithub.com/napi-rs/napi-rs/pull/1447) - fix(napi): throw fatal error if cast return value failed by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1450](https://togithub.com/napi-rs/napi-rs/pull/1450) - fix(napi): add UnknownReturnValue to use in call_async scenario by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1451](https://togithub.com/napi-rs/napi-rs/pull/1451) - fix(napi): unhandled promise rejection while using `EitherN<Promise<..>>` by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1452](https://togithub.com/napi-rs/napi-rs/pull/1452) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​2](https://togithub.com/2).14.4...napi@2.10.10 </details> --- ### Configuration 📅 **Schedule**: 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Canary-nextjs).
kodiakhq bot
referenced
this pull request
in X-oss-byte/Nextjs
May 3, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [napi-derive](https://togithub.com/napi-rs/napi-rs) | dependencies | minor | `2` -> `2.16.3` | --- ### Release Notes <details> <summary>napi-rs/napi-rs (napi-derive)</summary> ### [`v2.16.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.16.2...napi-derive@2.16.3) #### What Changed - fix(napi-derive): bail the unexpected factory directive by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) [#​2051](https://togithub.com/napi-rs/napi-rs/issues/2051) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4...napi-derive@2.16.3 ### [`v2.16.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.16.1...napi-derive@2.16.2) ##### What's Changed - feat(napi-derive): enhance the error messages in object validator by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/2034](https://togithub.com/napi-rs/napi-rs/pull/2034) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.1...napi-derive@2.16.2 ### [`v2.16.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.16.0...napi-derive@2.16.1) #### What's Changed - feat(napi-derive): add optional enum_string case conversion by [@​andrewtoth](https://togithub.com/andrewtoth) in [https://github.com/napi-rs/napi-rs/pull/1995](https://togithub.com/napi-rs/napi-rs/pull/1995) #### New Contributors - [@​andrewtoth](https://togithub.com/andrewtoth) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1995](https://togithub.com/napi-rs/napi-rs/pull/1995) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.0...napi-derive@2.16.1 ### [`v2.16.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.16.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.15.3...napi-derive@2.16.0) #### What's Changed - feat(napi-derive): add use_nullable attribute by [@​sup39](https://togithub.com/sup39) in [https://github.com/napi-rs/napi-rs/pull/1971](https://togithub.com/napi-rs/napi-rs/pull/1971) - style(napi-derive): clippy fix by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1976](https://togithub.com/napi-rs/napi-rs/pull/1976) - fix(napi-derive): HashMap/IndexMap and slice generated types by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1977](https://togithub.com/napi-rs/napi-rs/pull/1977) - fix(napi-derive): wrong dependency condition by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1980](https://togithub.com/napi-rs/napi-rs/pull/1980) #### New Contributors - [@​sup39](https://togithub.com/sup39) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1971](https://togithub.com/napi-rs/napi-rs/pull/1971) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.15.4...napi-derive@2.16.0 ### [`v2.15.3`](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.15.2...napi-derive@2.15.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.15.2...napi-derive@2.15.3) ### [`v2.15.2`](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.15.1...napi-derive@2.15.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.15.1...napi-derive@2.15.2) ### [`v2.15.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.15.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.15.0...napi-derive@2.15.1) #### What's Changed - fix(napi-derive): serde Number typing by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1941](https://togithub.com/napi-rs/napi-rs/pull/1941) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.15.1...napi-derive@2.15.1 ### [`v2.15.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.15.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.14.6...napi-derive@2.15.0) #### What's Changed - feat(napi): new Function/FunctionRef API by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1913](https://togithub.com/napi-rs/napi-rs/pull/1913) - fix(napi-derive): JsArrayBuffer generated type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1922](https://togithub.com/napi-rs/napi-rs/pull/1922) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.6...napi-derive@2.15.0 ### [`v2.14.6`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.6) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.14.5...napi-derive@2.14.6) #### What's Changed - fix(napi-derive): proc-macro crash on enum by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1870](https://togithub.com/napi-rs/napi-rs/pull/1870) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.5...napi-derive@2.14.6 ### [`v2.14.5`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.5) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.14.4...napi-derive@2.14.5) #### What's Changed - fix(napi-derive): catch_unwind on constructor by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1869](https://togithub.com/napi-rs/napi-rs/pull/1869) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.24...napi-derive@2.14.5 ### [`v2.14.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.14.3...napi-derive@2.14.4) #### What's Changed - fix(napi-derive): upgrade syn by [@​forehalo](https://togithub.com/forehalo) in [https://github.com/napi-rs/napi-rs/pull/1849](https://togithub.com/napi-rs/napi-rs/pull/1849) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.3...napi-derive@2.14.4 ### [`v2.14.3`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.3) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.14.2...napi-derive@2.14.3) #### What's Changed - fix(napi-derive,cli): register function cross crates by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1848](https://togithub.com/napi-rs/napi-rs/pull/1848) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.15...napi-derive@2.14.3 ### [`v2.14.2`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.2) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2) #### What's Changed - fix(napi-derive): compile warning by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1820](https://togithub.com/napi-rs/napi-rs/pull/1820) - fix(napi): compile error for wasm32-unknown-unknown target by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1822](https://togithub.com/napi-rs/napi-rs/pull/1822) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2 ### [`v2.14.1`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.1) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.14.0...napi-derive@2.14.1) #### What's Changed - fix(napi-derive): async task void output type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1795](https://togithub.com/napi-rs/napi-rs/pull/1795) - fix(napi-derive): async task optional output type by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1796](https://togithub.com/napi-rs/napi-rs/pull/1796) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...napi-derive@2.14.1 ### [`v2.14.0`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.14.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.13.0...napi-derive@2.14.0) #### What's Changed - fix(napi-derive): throw **is not a valid identifier** when generating getters and setters by [@​yoogoc](https://togithub.com/yoogoc) in [https://github.com/napi-rs/napi-rs/pull/1701](https://togithub.com/napi-rs/napi-rs/pull/1701) - feat: integrate with emnapi, support **wasm32-wasi-preview1-threads** target by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1669](https://togithub.com/napi-rs/napi-rs/pull/1669) ### [`v2.13.0`](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.12.5...napi-derive@2.13.0) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.12.5...napi-derive@2.13.0) ### [`v2.12.5`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.12.5) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.12.4...napi-derive@2.12.5) #### What's Changed - fix(napi-derive): increase initial ref count in async fn by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/1577](https://togithub.com/napi-rs/napi-rs/pull/1577) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.4...napi-derive@2.12.5 ### [`v2.12.4`](https://togithub.com/napi-rs/napi-rs/releases/tag/napi-derive%402.12.4) [Compare Source](https://togithub.com/napi-rs/napi-rs/compare/napi-derive@2.12.3...napi-derive@2.12.4) #### What's Changed - feat: clean napi-derive **noop** feature code path by [@​forehalo](https://togithub.com/forehalo) in [https://github.com/napi-rs/napi-rs/pull/1571](https://togithub.com/napi-rs/napi-rs/pull/1571) **Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.12.5...napi-derive@2.12.4 </details> --- ### Configuration 📅 **Schedule**: 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
all non-noop code goes to
./crates/macro/src/expand/napi.rs
, no morecfg(not(feature = "noop"))
required any more