Releases: Icemic/quickjs-rusty
Releases · Icemic/quickjs-rusty
quickjs-rusty-v0.6.3
This release includes libquickjs-ng-sys upgrades from 0.6.0 to 0.6.1.
Breaking Changes
Context.context_raw()is unsafe now
Fixes
- Remove unnecessary struct field.
- Fixes a type conversion bug and some wrong type definitions, all causing compiling failure on aarch64.
- A typo on tests causing testing failure.
Full Changelog: quickjs-rusty-v0.6.2...quickjs-rusty-v0.6.3
quickjs-rusty-v0.6.2
quickjs-rusty-v0.6.1
Fixes
- Adds essential derives to PromiseState
- Fixes memory leak caused by not free the return value of JS_LoadModule
- Apply clippy fixes
Full Changelog: quickjs-rusty-v0.6.0...quickjs-rusty-v0.6.1
quickjs-rusty-v0.6.0
Breaking Changes
- Rename to
quickjs-rusty - Switches from quickjspp to quickjs-ng, since it has more active updates and has supported compling on MSVC
- Added a second parameter to the·.eval method, indicating whether to automatically resolve the returned promise value (if it is exactly a Promise). Use true if you want to maintain compatibility with previous versions.
Fixes
Full Changelog: quickjspp-v0.5.0...quickjs-rusty-v0.6.0
quickjspp-v0.6.0-rc.1
quickjspp-v0.6.0-rc.0
Breaking Changes
- Switches from quickjspp to quickjs-ng, since it has more active updates and has supported compling on MSVC
- Added a second parameter to the
·.evalmethod, indicating whether to automatically resolve the returned promise value (if it is exactly a Promise). Usetrueif you want to maintain compatibility with previous versions.
Full Changelog: quickjspp-v0.5.0...quickjspp-v0.6.0-rc.0
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
quickjspp-v0.4.6
What's Changed
Full Changelog: quickjspp-v0.4.5...quickjspp-v0.4.6
quickjspp-v0.4.5
What's Changed
New Contributors
Full Changelog: https://github.com/Icemic/quickjspp-rs/commits/quickjspp-v0.4.5