Releases
v0.8.0
Changes
Breaking Refactor: Rename JanetArgs::get_unwrapped
to JanetArgs::try_get
Breaking Refactor: Rename JanetArgs::get_panic
to JanetArgs::get_or_panic
Breaking Refactor: Turn JanetConversionError
into a enum
Breaking Refactor: Refactor CFunOptions
to use CStr
instead of str
Breaking Refactor: Use usize
for length/index/capacity in collections
Breaking Refactor: Make IsJanetAbstract
an unsafe trait
Breaking Feat: Make amalgation
feature enabled by default
Breaking Feat: Make #[janet_fn]
maintain the high-level function in scope
Feat: Add Janet::dynamic_from_cstr
constructor
Feat: Add JanetArgs::get_value
and JanetArgs::get_tagged
trait methods
Feat: Add JanetArgs::get_or_default
trait method
Feat: Add JanetArgs::get_or_else
trait method
Feat: Add JanetArgs::get_matches
and JanetArgs::get_tagged_matches
Feat: Add JanetArray::pop_if
method
Feat: Add JanetArray::push_within_capacity
method
Feat: Add JanetArray::extract_if
method
Feat: Add JanetArray::split_off
method
Feat: Add JanetArray::swap_unchecked
method
Feat: Add JanetArray::retain
and JanetArray::retain_mut
methods
Feat: Add JanetArray::get_range
, JanetArray::get_range_mut
, JanetArray::get_range_unchecked
and , JanetArray::get_range_unchecked_mut
methods
Feat: Add JanetArray::weak
and JanetArray::weak_with_capacity
constructors
Feat: Add JanetBuffer::push_janet_string
method
Feat: Add assert_deep_eq!
macro
Feat: Add assert_deep_ne!
macro
Feat: Add env::set_dynamic
function
Feat: Implement JanetArgs
for [Janet; N]
Feat: Add conversion from Janet
to isize
and usize
Feat: Add conversion from isize
/usize
to Janet
Feat: Make conversion from Janet
to i64
and u64
accept when Janet is Number
Feat: Make conversion from Janet
to i64
, u64
, usize
, isize
accept when Janet is String
Feat: Always have #[no_std]
and import std when std
feature is activated
Perf: Avoid allocation in Janet::dynamic
if the passed argument is already null terminated
Refactor: Use default implementation on JanetArgs
trait for most methods
Refactor: Simplify jpanic!
macro
Refactor: janetrs_macros 0.7.0 — Update syn
crate to 2.0
Refactor: Use core::error
Fix: janetrs_macros 0.7.1 — Fix janet_fn
attribute macro not generating Janet docstring correctly
Fix: janetrs_version — Add missed feature flag inline-more
Fix: Fix conversion from Janet
to 32 bit integers
Fix: Fix bounds checking for JanetArray::insert
Fix: Fix adding C functions to environment/client with namespace
You can’t perform that action at this time.