quickjspp-v0.5.0
Breaking Changes
- Completely removed the old implementation of Rust type to QuickJS type conversions, including the total removal of the
JsValue
enum type. - Enhanced the
OwnedJsValue
and relatedOwnedJsXXXXX
types to replace theJsValue
in most of its previous occurrences. However, it's important to note that the new types refer to QuickJS objects, not Rust type formats. - Implemented a new conversion mechanism between
OwnedJsValue
and various Rust types (basic types,Option<T>
,Vec<T>
, andHashMap<K, V>
). serde
andbigint
features are now enabled by default.- Fixed issues related to BigInt.
- Made extensive adjustments to the code and directory structure, striving to maintain consistency in export paths, though some changes remain.
- Added support for
JS_SetHostPromiseRejectionTracker
. - Merged
Context
withContextWrapper
,previousContext::new()
should be modified toContext::builder().build()
.
Full Changelog: quickjspp-v0.4.6...quickjspp-v0.5.0
This may be the last version before we move from quickjspp to quickjs-ng