Releases: getditto/safer_ffi
Releases · getditto/safer_ffi
v0.1.2
v0.1.1
v0.1.0
What's Changed
- Support fn pointers with higher order lifetimes by @danielhenrymantilla in #24
- [WIP] - Extra features for the Node.js FFI support (such as closures) by @danielhenrymantilla in #39
- Add missing out-parameter helpers for our Ditto use cases by @danielhenrymantilla in #40
- Added
cStringVecToStringArray
conversion, and made stringified … by @danielhenrymantilla in #41 - Setup to be
git subrepo
-friendly by @danielhenrymantilla in #42 - Node.js – Add idiomatic wrapper for N-API's
env.spawn()
by @danielhenrymantilla in #55 - [Node.js] Added support for the
nodejs(async_worker)
parameter, by @danielhenrymantilla in #58 - [Node.js] Improve the API and design of the async worker by @danielhenrymantilla in #60
- Make
node-js
experimental feature support WASM too by @danielhenrymantilla in #67 - Implement Fixed Size Arrays by @rodoyle in #74
- Js FFI | Support
#[ffi_export]
on anasync fn
by @danielhenrymantilla in #72 - Amend
executor
support to require thefn
to beasync
by @danielhenrymantilla in #75 - [js] Make proper support for 64-bit ints through js
BigInt
s by @danielhenrymantilla in #76 - Feature: stable header generation by @danielhenrymantilla in #77
- Node.js | Add support for detached callbacks by @danielhenrymantilla in #78
- Fix
[ffi_export]
edasync fn
function losing its docstring in the generated headers by @danielhenrymantilla in #83 - [js] Add
AdhocToReprNapi
by @danielhenrymantilla in #85 - Docs whitespace tweak by @hamchapman in #84
- Support
mut
parameters on#[ffi_export]
ed functions by @danielhenrymantilla in #111 - fix true bare metal libc missing issue by @stevefan1999-personal in #121
- add examples/point by @mw66 in #116
- Add initial support for trait objects by @danielhenrymantilla in #92
- Merge Ditto experimental's branch changes back into
main
by @danielhenrymantilla in #122 - Nits by @danielhenrymantilla in #123
- Doc improvements by @danielhenrymantilla in #124
- Nits by @danielhenrymantilla in #125
- Fix broken README links by @TheButlah in #126
#[ffi_export]
improvements (proc-macro reïmplementation) by @danielhenrymantilla in #129#[ffi_export(rename = "…")]
&node{,-,_}js
->js
renaming by @danielhenrymantilla in #130- Nicer closure aliases:
repr_c::Box<dyn FnMut…>
,repr_c::Arc<dyn Fn…>
by @danielhenrymantilla in #134 - Implement
From
instead ofInto
for conversions to standard types by @phil-opp in #135 - Add
inventory-0-3-1
optional feature by @danielhenrymantilla in #132 - Fix version replacement instructions in docs by @rgwood in #138
- FFI-safe dyn Traits – Part 2 by @danielhenrymantilla in #133
- Official crates.io release by @danielhenrymantilla in #155
- Fix doc typo by @stefunctional in #158
- Made definer &mut by @TheButlah in #141
- Fix JavaScript error messages using
reason
field instead ofmessage
by @pvditto in #160 - Apply fix for thread-local error messages by @pvditto in #163
- Rdd/cffi for python by @ronan-ditto in #152
- Add configurable deadlock timeout by @pvditto in #165
- Revert "Apply fix for thread-local error messages" by @pvditto in #164
- v0.1.0 release by @danielhenrymantilla in #157
New Contributors
- @rodoyle made their first contribution in #74
- @hamchapman made their first contribution in #84
- @stevefan1999-personal made their first contribution in #121
- @mw66 made their first contribution in #116
- @TheButlah made their first contribution in #126
- @phil-opp made their first contribution in #135
- @rgwood made their first contribution in #138
- @stefunctional made their first contribution in #158
- @pvditto made their first contribution in #160
Full Changelog: v0.0.10...v0.1.0
v0.1.0-rc1
See #155
What's Changed
- Support fn pointers with higher order lifetimes by @danielhenrymantilla in #24
- [WIP] - Extra features for the Node.js FFI support (such as closures) by @danielhenrymantilla in #39
- Add missing out-parameter helpers for our Ditto use cases by @danielhenrymantilla in #40
- Added
cStringVecToStringArray
conversion, and made stringified … by @danielhenrymantilla in #41 - Setup to be
git subrepo
-friendly by @danielhenrymantilla in #42 - Node.js – Add idiomatic wrapper for N-API's
env.spawn()
by @danielhenrymantilla in #55 - [Node.js] Added support for the
nodejs(async_worker)
parameter, by @danielhenrymantilla in #58 - [Node.js] Improve the API and design of the async worker by @danielhenrymantilla in #60
- Make
node-js
experimental feature support WASM too by @danielhenrymantilla in #67 - Implement Fixed Size Arrays by @rodoyle in #74
- Js FFI | Support
#[ffi_export]
on anasync fn
by @danielhenrymantilla in #72 - Amend
executor
support to require thefn
to beasync
by @danielhenrymantilla in #75 - [js] Make proper support for 64-bit ints through js
BigInt
s by @danielhenrymantilla in #76 - Feature: stable header generation by @danielhenrymantilla in #77
- Node.js | Add support for detached callbacks by @danielhenrymantilla in #78
- Fix
[ffi_export]
edasync fn
function losing its docstring in the generated headers by @danielhenrymantilla in #83 - [js] Add
AdhocToReprNapi
by @danielhenrymantilla in #85 - Docs whitespace tweak by @hamchapman in #84
- Support
mut
parameters on#[ffi_export]
ed functions by @danielhenrymantilla in #111 - fix true bare metal libc missing issue by @stevefan1999-personal in #121
- add examples/point by @mw66 in #116
- Add initial support for trait objects by @danielhenrymantilla in #92
- Merge Ditto experimental's branch changes back into
main
by @danielhenrymantilla in #122 - Nits by @danielhenrymantilla in #123
- Doc improvements by @danielhenrymantilla in #124
- Nits by @danielhenrymantilla in #125
- Fix broken README links by @TheButlah in #126
#[ffi_export]
improvements (proc-macro reïmplementation) by @danielhenrymantilla in #129#[ffi_export(rename = "…")]
&node{,-,_}js
->js
renaming by @danielhenrymantilla in #130- Nicer closure aliases:
repr_c::Box<dyn FnMut…>
,repr_c::Arc<dyn Fn…>
by @danielhenrymantilla in #134 - Implement
From
instead ofInto
for conversions to standard types by @phil-opp in #135 - Add
inventory-0-3-1
optional feature by @danielhenrymantilla in #132 - Fix version replacement instructions in docs by @rgwood in #138
- FFI-safe dyn Traits – Part 2 by @danielhenrymantilla in #133
- Official crates.io release by @danielhenrymantilla in #155
New Contributors
- @rodoyle made their first contribution in #74
- @hamchapman made their first contribution in #84
- @stevefan1999-personal made their first contribution in #121
- @mw66 made their first contribution in #116
- @TheButlah made their first contribution in #126
- @phil-opp made their first contribution in #135
- @rgwood made their first contribution in #138
Full Changelog: v0.0.10...v0.1.0-rc1
v0.0.10
- Bump MSRV to 1.56.0
- Support for
mut
on#[ffi_export]
ed functions
v0.0.9
Work around Cargo cross-compilation bug (#106) Fixes #100
v0.0.7
Includes minor QoL improvements such as: #66 #80 #87
What's Changed
- Fix readme rust code formatting by @pickfire in #23
- Make
c_slice::Box<T>
Clone if T is Clone by @DBLouis in #61 - Fix doc comment typo by @DBLouis in #62
- Fix misinteraction between
#[derive_ReprC]
& other macros (such as serde) by @danielhenrymantilla in #37 - Fix header generation failing for negative discriminants by @danielhenrymantilla in #65
- Add struct name right after
typedef struct
by @ken0x0a in #66 - Avoid wrapping
mod ffi_export
within an anonymous constant by @danielhenrymantilla in #80 - Fix incorrect C header guard when the
PKG_NAME
contains hyphens by @danielhenrymantilla in #87
New Contributors
- @pickfire made their first contribution in #23
- @DBLouis made their first contribution in #61
- @ken0x0a made their first contribution in #66
Full Changelog: v0.0.5...v0.0.7