Releases: getditto/safer_ffi
Releases · getditto/safer_ffi
v0.1.8
What's Changed
- Fix macro-not-found error with rust-nightly by @stefunctional in #211 (thank you! 🙏)
Full Changelog: v0.1.7...v0.1.8
v0.1.7
What's Changed
- Remove
inventory v0.1
by @danielhenrymantilla in #210
Full Changelog: v0.1.6...v0.1.7
v0.1.6
What's Changed
- C header gen: optional extra text directly after the include guard by @pixsperdavid in #199
- v0.1.6 | Fix
dyn_spawn_blocking()
panicking for cancelled tasks & nits by @danielhenrymantilla in #209
New Contributors
- @pixsperdavid made their first contribution in #199
Full Changelog: v0.1.5...v0.1.6
v0.1.5
What's Changed
- [C#] Specify the complete path for the Rust Lib - to be used on .NET >= 6 iOS by @busec0 in #194
- Allow
VirtualPtr
to beOption
-wrapped by @danielhenrymantilla in #200
New Contributors
Full Changelog: v0.1.4...v0.1.5
- (Fixes #203)
v0.1.4
What's Changed
- Implement Clone as expected for Copy types by @stefunctional in #184
- quickstart remove compile error by @kriswuollett in #172
- Rename 'cfg_match' to 'match_cfg' to avoid collision of std nightly macro with the same name. by @jsantell in #191
New Contributors
Full Changelog: v0.1.3...v0.1.4
v0.1.3
What's Changed
- Improve the
ffi_await!
situation: mainly, the UX on syntax error by @danielhenrymantilla in #176 - Document crate-type lib requirement for generate-sources by @kriswuollett in #174
- Fix docs:
#[ReprC::opaque]
was replaced with#[repr(opaque)]
by @phil-opp in #182 - A bunch of tiny improvements and fixes by @danielhenrymantilla in #183
- Add
zeroed()
requirement forCType
s - Add
Clone
and other convenience impls forrepr_c
types - Work around
clippy
false positive onClone
impl of uninhabited type by @stefunctional - Fix unguarded
Python
mention when#[ffi_export]
ing aconst
ant - Fix
non_snake_case
warning - Add a bunch of
ReprC<CType = impl Opaque>
impls for stdlib types - Allow
#[repr(opaque)]
onenum
s - Test latest additions
- Fix missing no-
std
cfg-guards on newClone
s - fix webpki dependabot warning
- Add
New Contributors
- @kriswuollett made their first contribution in #174
Full Changelog: v0.1.2...v0.1.3
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