diff --git a/Cargo.lock b/Cargo.lock index 06372d49..4944aa42 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1332,7 +1332,7 @@ dependencies = [ [[package]] name = "javy" -version = "2.1.0-alpha.1" +version = "2.1.0" dependencies = [ "anyhow", "quickjs-wasm-rs", @@ -1343,7 +1343,7 @@ dependencies = [ [[package]] name = "javy-apis" -version = "2.1.0-alpha.1" +version = "2.1.0" dependencies = [ "anyhow", "fastrand", @@ -1922,7 +1922,7 @@ dependencies = [ [[package]] name = "quickjs-wasm-rs" -version = "2.0.1-alpha.1" +version = "2.0.1" dependencies = [ "anyhow", "once_cell", @@ -1934,7 +1934,7 @@ dependencies = [ [[package]] name = "quickjs-wasm-sys" -version = "1.1.1-alpha.1" +version = "1.1.1" dependencies = [ "anyhow", "bindgen", diff --git a/Cargo.toml b/Cargo.toml index f64bd0d8..38f44fd6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ wasmtime-wasi = "9.0" wasi-common = "9.0" anyhow = "1.0" once_cell = "1.16" -javy = { path = "crates/javy", version = "2.1.0-alpha.1" } +javy = { path = "crates/javy", version = "2.1.0" } [profile.release] lto = true diff --git a/crates/apis/CHANGELOG.md b/crates/apis/CHANGELOG.md index e04b6a23..a22f2d52 100644 --- a/crates/apis/CHANGELOG.md +++ b/crates/apis/CHANGELOG.md @@ -5,17 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [Unreleased] -## 2.0.0 - 2023-08-17 +## [2.1.0] - 2023-09-11 + +### Fixed + +- Documentation builds on docs.rs. + +## [2.0.0] - 2023-08-17 ### Added + - `random` feature to override `Math.random` implementation with one that sets the random seed on first use of `Math.random`. ### Changed + - `javy` dependency is now at version 2.0.0. - WASI SDK will be automatically downloaded at build time if `QUICKJS_WASM_SYS_WASI_SDK_PATH` environment variable is not set. -## 1.0.0 - 2023-05-17 +## [1.0.0] - 2023-05-17 Initial release diff --git a/crates/apis/Cargo.toml b/crates/apis/Cargo.toml index 3920d6c2..63200e88 100644 --- a/crates/apis/Cargo.toml +++ b/crates/apis/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "javy-apis" -version = "2.1.0-alpha.1" +version = "2.1.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/crates/javy/CHANGELOG.md b/crates/javy/CHANGELOG.md index fb3d2e9f..f5e74836 100644 --- a/crates/javy/CHANGELOG.md +++ b/crates/javy/CHANGELOG.md @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [Unreleased] + +## [2.1.0] - 2023-09-11 ### Added @@ -13,13 +15,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - An `export_alloc_fns` crate feature which when enabled, will export `canonical_abi_realloc` and `canonical_abi_free` functions from your Wasm module. -## 2.0.0 - 2023-08-17 +### Fixed + +- Documentation now builds on docs.rs. + +## [2.0.0] - 2023-08-17 ### Changed - Update of `quickjs` types to use types in `quickjs-wasm-rs` 2.0.0. - WASI SDK will be automatically downloaded at build time if `QUICKJS_WASM_SYS_WASI_SDK_PATH` environment variable is not set. -## 1.0.0 - 2023-05-16 +## [1.0.0] - 2023-05-16 Initial release diff --git a/crates/javy/Cargo.toml b/crates/javy/Cargo.toml index abff38fa..a2acb176 100644 --- a/crates/javy/Cargo.toml +++ b/crates/javy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "javy" -version = "2.1.0-alpha.1" +version = "2.1.0" authors.workspace = true edition.workspace = true license.workspace = true @@ -11,7 +11,7 @@ categories = ["wasm"] [dependencies] anyhow = { workspace = true } -quickjs-wasm-rs = { version = "2.0.1-alpha.1", path = "../quickjs-wasm-rs" } +quickjs-wasm-rs = { version = "2.0.1", path = "../quickjs-wasm-rs" } serde_json = { version = "1.0", optional = true } serde-transcode = { version = "1.1", optional = true } rmp-serde = { version = "^1.1", optional = true } diff --git a/crates/quickjs-wasm-rs/CHANGELOG.md b/crates/quickjs-wasm-rs/CHANGELOG.md index a387efb7..b6d0a04d 100644 --- a/crates/quickjs-wasm-rs/CHANGELOG.md +++ b/crates/quickjs-wasm-rs/CHANGELOG.md @@ -7,31 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## [2.0.1] - 2023-09-11 + +### Fixed + +- Documentation now builds on docs.rs + ## [2.0.0] - 2023-08-17 ### Added + - `JSValueRef` can convert to Rust types with `try_into` (previously this was implemented on `CallbackArg`). - Added `eval_module` method on `JSContextRef` that evaluates JS code in a ECMAScript module scope. ### Changed + - Callback functions registered with `context.wrap_callback` now pass `JSValueRef` into the closure instead of `CallbackArg`. - `from_qjs_value` now takes `JSValueRef` by value. - Updated to `quickjs-wasm-sys` version `1.1.0` which will automatically download a WASI SDK if the `QUICKJS_WASM_SYS_WASI_SDK_PATH` environment variable is not set. ### Removed + - `CallbackArg` type. ## [1.0.0] - 2023-05-05 ### Added + - Documentation across the crate. - Added an enum `JSValue` that represents a JavaScript value that can convert to and from Rust types with `try_into`. ### Changed + - Renamed `Value` to `JSValueRef`. - Renamed `Context` to `JSContextRef`. - Callback functions now work with `CallbackArg` instead of `JSValueRef` directly. `CallbackArg` can easily convert to Rust types with `try_into`. - Relationship of `JSValueRef` and `JSContextRef` is now safer with `JSValueRef` containing a reference to `JSContextRef` instead of a raw pointer to the quickjs `JSContext`. ### Removed + - `json` and `messagepack` features have been moved to the `javy` crate diff --git a/crates/quickjs-wasm-rs/Cargo.toml b/crates/quickjs-wasm-rs/Cargo.toml index 49988a8c..d917c5df 100644 --- a/crates/quickjs-wasm-rs/Cargo.toml +++ b/crates/quickjs-wasm-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quickjs-wasm-rs" -version = "2.0.1-alpha.1" +version = "2.0.1" authors.workspace = true edition.workspace = true license.workspace = true @@ -11,7 +11,7 @@ categories = ["api-bindings"] [dependencies] anyhow = { workspace = true } -quickjs-wasm-sys = { version = "1.1.1-alpha.1", path = "../quickjs-wasm-sys" } +quickjs-wasm-sys = { version = "1.1.1", path = "../quickjs-wasm-sys" } serde = { version = "1.0", features = ["derive"] } once_cell = "1.16" diff --git a/crates/quickjs-wasm-sys/CHANGELOG.md b/crates/quickjs-wasm-sys/CHANGELOG.md index 0641a00e..7a236e2f 100644 --- a/crates/quickjs-wasm-sys/CHANGELOG.md +++ b/crates/quickjs-wasm-sys/CHANGELOG.md @@ -5,14 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [Unreleased] -## 1.1.0 - 2023-07-24 +## [1.1.1] - 2023-09-11 + +- Fixed: Documentation now builds on docs.rs. + +## [1.1.0] - 2023-07-24 - Added: `QUICKJS_WASM_SYS_WASI_SDK_MAJOR_VERSION` and `QUICKJS_WASM_SYS_WASI_SDK_MINOR_VERSION` build-time environment variables to control which version of the WASI SDK to use. - Fixed: Changing the `QUICKJS_WASM_SYS_WASI_SDK_PATH` build time environment variable will trigger a rebuild of the crate. - Changed: Crate now automatically downloads WASI SDK if `QUICKJS_WASM_SYS_WASI_SDK_PATH` is not set at build time -## 1.0.0 - 2023-05-16 +## [1.0.0] - 2023-05-16 No changes from 0.1.2. Just updating version to show we're confident in the existing bindings. diff --git a/crates/quickjs-wasm-sys/Cargo.toml b/crates/quickjs-wasm-sys/Cargo.toml index df264512..5fa4a02f 100644 --- a/crates/quickjs-wasm-sys/Cargo.toml +++ b/crates/quickjs-wasm-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quickjs-wasm-sys" -version = "1.1.1-alpha.1" +version = "1.1.1" authors.workspace = true edition.workspace = true license.workspace = true