Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 12, 2025

This PR contains the following updates:

Package Change Age Confidence
ffi-rs 1.2.13 -> 1.2.15 age confidence

Release Notes

zhangyuang/node-ffi-rs (ffi-rs)

v1.2.15

Compare Source

v1.2.14

Compare Source

Bug Fixes
  • add default value for paramsValue when call define method close #​77 (946b889)
  • add freePointer, free memory after ffi-call prevent memory leak (#​40) (f639628)
  • add libnative only in linux/darwin (89ac7e4)
  • avoid xlocale/_stdio.h outside (macOS only) (4caaaa6)
  • calculate struct pointer offset padding (9ee7c10)
  • call_with_return_value error tips (43b0125)
  • ci (69214d0)
  • ci add darwin-x64 target (55906a7)
  • convert JsString to UTF-16 string (70ea15c)
  • convert jsString to UTF-16 string, create cstring from bytes manually (5fad2d0)
  • convert JsString to UTF-8 string (c613f66)
  • createPointer for struct (cf6c237)
  • dependencies (ef4de0d)
  • disappear runInNewThread when return type is void (2e799e9)
  • judge func_ret_type is void condition (6b96974)
  • No need to free jsBuffer memory in rust call params (2e39791)
  • object pointer offset position (df1d0c3)
  • pre alloc current size for create struct_array (72b169a)
  • publish main package (66ef423)
  • restore call params in main thread (2b3c6c9)
  • restore pointer params in function call params (39803a8)
  • return bigInt when use struct field (0be42a7)
  • return buffer (026141c)
  • stack struct (d90b4fc)
  • struct offset position (74d7587)
  • update createPointer logic (9b61dc6)
  • use cstr create string for protect ownership (562bfc6)
  • use cstr return string (33e0d4c)
  • use ctx.env to restore function params in another thread (a204e4b)
  • use explicit path to load libsum.so (21e2b23)
  • use koffi correctly for accurate benchmark (e0ecfc5)
  • win32 (19fa8bc)
Features
  • add FFITypeTag::StackStruct (72931b0)
  • add aarch64-pc-windows-msvc artifact (23b3118)
  • add arrayConstructor judge (bebcc94)
  • add basictype and reftype (79aa944)
  • add benchmark (e6a0b5e)
  • add benchmark (5c9b1cc)
  • add call c++ class example (be1d8ac)
  • add changelog (403333c)
  • add DataType.void (1d0ff24)
  • add define methods to define function signature (5945682)
  • add ffi-rs (79e9594)
  • add ffi-rs (39596d5)
  • add freeCFuncParamsMemory in funcConstructor (c5f298e)
  • add FunctionNotFound err type (fb430b9)
  • add get_data_type_size_align (10487ed)
  • add get_js_unknown_from_pointer (8a08f39)
  • add github Dependabot (#​16) (eb41e0d)
  • add issue template (e4aef11)
  • add license close #​66 (137c306)
  • add linux-arm-gnueabihf (8cf9cfe)
  • add linux-arm-gnueabihf (ef61ea4)
  • add linux-arm-gnueabihf (9ae05b5)
  • add new export enum FFITypeTag for specific type (5d6c73f)
  • add ResultWithErrno type support (c21c375)
  • add scope (c368e43)
  • add tips for jsobject/array when used in new thread (41da725)
  • add ToJsArray trait (2e1cebc)
  • add ToRsArray trait (c7423ce)
  • add TsFnCallContext (84df186)
  • cache function symbol in global variables (b08f157)
  • call tsfn in c other thread (7c8b0dc)
  • check whether params_type length and params_value length is equal (dd9260c)
  • demo add createPerson (9456d6a)
  • dynamicArray support more array type (170e9fb)
  • eradicate panic (d1b29c2)
  • function parameter support object (64bf19e)
  • implement create clousre by libffi::middle support more types (#​25) (608237f)
  • implement runInNewThread (#​31) (f908400)
  • improve threadsafefunction (9ea02e0)
  • init (73856dd)
  • judge library path exist or not before call open (a97c26f)
  • mock jsExternal type (479daab)
  • modifying all string handling functions to uniform UTF-16 handling (19573b4)
  • optimize ffi_call return value (80b6985)
  • performance optimization by reduce cloning (45c4986)
  • refactor get_js_external_wrap_data (9f6878c)
  • refactor type hint (dcda3a8)
  • rename createExternal to createPointer (2524c7d)
  • rename unpackPointer to unwrapPointer (8259780)
  • set correct size in create_external (80d8374)
  • set freeResultMemory as false at default (ddcf108)
  • static link msvc in windows (ffd2e4f)
  • support android-arm64 (78b7fcb)
  • support boolean type (f4f7ee9)
  • support byteArray aka u8Array (341b37c)
  • support char type aka u8 (5c98b30)
  • support create staic float array from pointer (5f89094)
  • support createExternal (8b7a2cb)
  • support DataType.BigInt (cf05fab)
  • support DataType.float (0f2ec4e)
  • support DataType.I16 (3b1cb28)
  • support DataType.I16Array (1fdc724)
  • support double type (c975817)
  • support doubleArray (9cdb45e)
  • support floatArray as paramsType (a7fef73)
  • support function as params skip ci (b75df3d)
  • support generate nested object (bfd0ba3)
  • support i32array (8078d1b)
  • support install x86 artifact on x64 (2b12695)
  • support isNullPointer (e3ec0c0)
  • support linux-x64-musl (02a1b43)
  • support Load Main Program handle (8e821b8)
  • support long type aka i64 (6147657)
  • support object type (79e90a8)
  • support open and close dynamic library (d933720)
  • support output errno info (ae265fb)
  • support pass js function to ffi-rs (20741ec)
  • support pass jsFunction return value to c (#​60) (44c19be)
  • support pass stackStruct in function call (0156b32)
  • support pointer type aka jsexternal (e091fff)
  • support replace in place (921fbab)
  • support restore stack struct (2cd1def)
  • support restoreExternal (b2dd20d)
  • support stack struct (#​41) (28cb2d4)
  • support static array in c struct field (890a310)
  • support string array (2388993)
  • support struct array (e60faf7)
  • support struct double type field (27e40ee)
  • support struct field type doubleArray (75af21e)
  • support struct field type i32Array (a2c1274)
  • support struct with field type stringArr doubleArr (1c450fb)
  • support u64 fix i64 (9d10531)
  • support wideString (a9828b2)
  • support win32 (7aa7630)
  • support wrapPointer and unpackPointer (4406477)
  • support x86_64-unknown-linux-musl (1db4e0b)
  • suppprt freePointer (dbd50bb)
  • thread function (#​12) (a17910a)
  • thread safe function in multiple thread (94d4af5)
  • update calculate (68776da)
  • update create struct for struct array (ae9f8d8)
  • update d.ts (7aeeb20)
  • update d.ts tips (85c9b03)
  • update error tips when open uncompatible share library (a947241)
  • update FFICALLPARAMS implemention (a09c44d)
  • update get_arg_types_values (ee3f3a0)
  • update get_symbol about use Result as return type (a24ebba)
  • update get_value_pointer method by ? operator (088e02f)
  • update napi version (d2a6952)
  • update OpeningLibraryError tips (0aa86b4)
  • update optionalDependencies (30dcfd0)
  • update publish script support alpha (45ca8e3)
  • update rs_array_to_js_array method by ? operator (ef4ba5f)
  • update string judge compatible with bun (6103692)
  • update type_define_to_rs_args method by ? operator (fe77239)
  • update types (bd12e4c)
  • update types about change const enum to enum close #​89 (98703af)
  • update types close #​95 (f364454)
  • update zh readme.md (13c7635)
  • use ? operator replace unwrap in get_params_value_rs_struct method (25390e8)
  • use ? replace unwrap refactor get_arg_types_values method (2314106)
  • use call_with_return_value when retType is not void-n (2448c5d)
  • use closure replace closureonce for multicall (85f255c)
  • use cstring replace cstr restore c string from pointer (704d878)
  • use dataType replace paramsType (bb59141)
  • use DataType replace specific number (6e32850)
  • use FFITypeTag::StackArray replace dynamicArray parameter (b7c5874)
  • use jsnumber as return type (4108536)
  • use ref as params type avoid clone (b9d37fb)
  • use result style as return type (9374f78)
  • use safe u8Array when call threadsafefunction (efb4c06)
  • use trait to implement feature insteadof separate function (f2679b9)
  • use unchecked napi transform improve performance (8100d8a)
  • visit jsValue in main thread prevent thread error (9eb78b1)

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), 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.

@hertzg hertzg merged commit 33d43be into master Jul 14, 2025
23 checks passed
@renovate renovate bot deleted the renovate/ffi-rs-1.x branch July 14, 2025 19:05
github-actions bot pushed a commit that referenced this pull request Jul 14, 2025
## [4.0.22](v4.0.21...v4.0.22) (2025-07-14)

### Bug Fixes

* **deps:** update dependency ffi-rs to v1.2.15 ([#378](#378)) ([33d43be](33d43be))
@github-actions
Copy link
Contributor

🎉 This PR is included in version 4.0.22 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants