quickjspp-v0.5.0
Breaking Changes
- Completely removed the old implementation of Rust type to QuickJS type conversions, including the total removal of the
JsValueenum type. - Enhanced the
OwnedJsValueand relatedOwnedJsXXXXXtypes to replace theJsValuein 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
OwnedJsValueand various Rust types (basic types,Option<T>,Vec<T>, andHashMap<K, V>). serdeandbigintfeatures 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
ContextwithContextWrapper,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