From bc15bf36e4bd4ec0dd504d69bf118fdf0b757c33 Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Tue, 16 Mar 2021 08:19:17 +0100 Subject: [PATCH] chore: Prepare 0.9.0 release --- CHANGELOG.md | 14 +++++++++++++- crates/rune-cli/Cargo.toml | 8 ++++---- crates/rune-languageserver/Cargo.toml | 8 ++++---- crates/rune-macros/Cargo.toml | 4 ++-- crates/rune-modules/Cargo.toml | 6 +++--- crates/rune-modules/src/core.rs | 2 +- crates/rune-modules/src/experiments/mod.rs | 2 +- crates/rune-modules/src/fmt.rs | 2 +- crates/rune-modules/src/fs.rs | 2 +- crates/rune-modules/src/http.rs | 2 +- crates/rune-modules/src/io.rs | 2 +- crates/rune-modules/src/json.rs | 2 +- crates/rune-modules/src/macros.rs | 2 +- crates/rune-modules/src/process.rs | 2 +- crates/rune-modules/src/rand.rs | 2 +- crates/rune-modules/src/signal.rs | 2 +- crates/rune-modules/src/test.rs | 2 +- crates/rune-modules/src/time.rs | 2 +- crates/rune-modules/src/toml.rs | 2 +- crates/rune-ssa/Cargo.toml | 2 +- crates/rune-wasm/Cargo.toml | 10 +++++----- crates/rune/Cargo.toml | 8 ++++---- crates/runestick-macros/Cargo.toml | 4 ++-- crates/runestick/Cargo.toml | 6 +++--- editors/code/package-lock.json | 2 +- editors/code/package.json | 2 +- 26 files changed, 57 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 731a361e9..85d00037e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/rune-rs/rune/compare/0.8.0...main +[Unreleased]: https://github.com/rune-rs/rune/compare/0.9.0...main + +## [0.9.0] + +### Changed +* rune-modules now uses tokio 1.x. + +### Fixed +* `Vm::async_call` didn't use async completion functions ([#253]) (thanks [Roba1993]!). + +[0.9.0]: https://github.com/rune-rs/rune/compare/0.8.0...0.9.0 + +[Roba1993]: https://github.com/Roba1993 ## [0.8.0] diff --git a/crates/rune-cli/Cargo.toml b/crates/rune-cli/Cargo.toml index 86752bcca..bdafa3bae 100644 --- a/crates/rune-cli/Cargo.toml +++ b/crates/rune-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-cli" -version = "0.8.0" +version = "0.9.0" authors = ["John-John Tedro "] license = "MIT/Apache-2.0" edition = "2018" @@ -24,9 +24,9 @@ codespan-reporting = "0.11.1" anyhow = "1.0.38" structopt = { version = "0.3.21", default-features = false, features = ["wrap_help", "suggestions", "color"] } -rune = {version = "0.8.0", path = "../rune"} -rune-modules = {version = "0.8.0", path = "../rune-modules", features = ["full", "experiments"]} -runestick = {version = "0.8.0", path = "../runestick"} +rune = {version = "0.9.0", path = "../rune"} +rune-modules = {version = "0.9.0", path = "../rune-modules", features = ["full", "experiments"]} +runestick = {version = "0.9.0", path = "../runestick"} [build-dependencies] anyhow = "1.0.38" diff --git a/crates/rune-languageserver/Cargo.toml b/crates/rune-languageserver/Cargo.toml index bd99a4165..4971fe26f 100644 --- a/crates/rune-languageserver/Cargo.toml +++ b/crates/rune-languageserver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-languageserver" -version = "0.8.0" +version = "0.9.0" authors = ["John-John Tedro "] license = "MIT/Apache-2.0" edition = "2018" @@ -28,9 +28,9 @@ log = "0.4.14" log4rs = "1.0.0" ropey = "1.2.0" -rune = {version = "0.8.0", path = "../rune"} -rune-modules = {version = "0.8.0", path = "../rune-modules", features = ["full", "experiments"]} -runestick = {version = "0.8.0", path = "../runestick"} +rune = {version = "0.9.0", path = "../rune"} +rune-modules = {version = "0.9.0", path = "../rune-modules", features = ["full", "experiments"]} +runestick = {version = "0.9.0", path = "../runestick"} [build-dependencies] anyhow = "1.0.38" diff --git a/crates/rune-macros/Cargo.toml b/crates/rune-macros/Cargo.toml index ce3900e2b..863faa897 100644 --- a/crates/rune-macros/Cargo.toml +++ b/crates/rune-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-macros" -version = "0.8.0" +version = "0.9.0" authors = ["John-John Tedro "] license = "MIT/Apache-2.0" edition = "2018" @@ -20,7 +20,7 @@ quote = "1.0.9" proc-macro2 = { version = "1.0.24", features = ["span-locations"] } [dev-dependencies] -rune = {version = "0.8.0", path = "../rune"} +rune = {version = "0.9.0", path = "../rune"} [lib] proc-macro = true diff --git a/crates/rune-modules/Cargo.toml b/crates/rune-modules/Cargo.toml index 0b3eb2ef4..1b9db2850 100644 --- a/crates/rune-modules/Cargo.toml +++ b/crates/rune-modules/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-modules" -version = "0.8.0" +version = "0.9.0" authors = ["John-John Tedro "] license = "MIT/Apache-2.0" edition = "2018" @@ -38,8 +38,8 @@ serde_json = { version = "1.0.64", optional = true } toml = { version = "0.5.8", optional = true } nanorand = { version = "0.5.2", optional = true, features = ["getrandom"] } -rune = {version = "0.8.0", path = "../rune"} -runestick = {version = "0.8.0", path = "../runestick"} +rune = {version = "0.9.0", path = "../rune"} +runestick = {version = "0.9.0", path = "../runestick"} [package.metadata.docs.rs] all-features = true diff --git a/crates/rune-modules/src/core.rs b/crates/rune-modules/src/core.rs index 8cd4097e7..a0968dbf3 100644 --- a/crates/rune-modules/src/core.rs +++ b/crates/rune-modules/src/core.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["test"]} +//! rune-modules = {version = "0.9.0", features = ["test"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/experiments/mod.rs b/crates/rune-modules/src/experiments/mod.rs index f1851c86d..a6b8988d6 100644 --- a/crates/rune-modules/src/experiments/mod.rs +++ b/crates/rune-modules/src/experiments/mod.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["experiments"]} +//! rune-modules = {version = "0.9.0", features = ["experiments"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/fmt.rs b/crates/rune-modules/src/fmt.rs index 6561bc39b..b85990f2f 100644 --- a/crates/rune-modules/src/fmt.rs +++ b/crates/rune-modules/src/fmt.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["fmt"]} +//! rune-modules = {version = "0.9.0", features = ["fmt"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/fs.rs b/crates/rune-modules/src/fs.rs index a12dfb9d9..280e6ac93 100644 --- a/crates/rune-modules/src/fs.rs +++ b/crates/rune-modules/src/fs.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["fs"]} +//! rune-modules = {version = "0.9.0", features = ["fs"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/http.rs b/crates/rune-modules/src/http.rs index ed132050c..f2632f8e2 100644 --- a/crates/rune-modules/src/http.rs +++ b/crates/rune-modules/src/http.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["http", "json"]} +//! rune-modules = {version = "0.9.0", features = ["http", "json"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/io.rs b/crates/rune-modules/src/io.rs index 65204843d..5fa7c3590 100644 --- a/crates/rune-modules/src/io.rs +++ b/crates/rune-modules/src/io.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["io"]} +//! rune-modules = {version = "0.9.0", features = ["io"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/json.rs b/crates/rune-modules/src/json.rs index 0799667d5..a6e5e49d1 100644 --- a/crates/rune-modules/src/json.rs +++ b/crates/rune-modules/src/json.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["json"]} +//! rune-modules = {version = "0.9.0", features = ["json"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/macros.rs b/crates/rune-modules/src/macros.rs index 6699be526..c272e358b 100644 --- a/crates/rune-modules/src/macros.rs +++ b/crates/rune-modules/src/macros.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["macros"]} +//! rune-modules = {version = "0.9.0", features = ["macros"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/process.rs b/crates/rune-modules/src/process.rs index 9dce405f5..88c83657f 100644 --- a/crates/rune-modules/src/process.rs +++ b/crates/rune-modules/src/process.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["process"]} +//! rune-modules = {version = "0.9.0", features = ["process"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/rand.rs b/crates/rune-modules/src/rand.rs index 3901abe88..78af18025 100644 --- a/crates/rune-modules/src/rand.rs +++ b/crates/rune-modules/src/rand.rs @@ -8,7 +8,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["rand"]} +//! rune-modules = {version = "0.9.0", features = ["rand"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/signal.rs b/crates/rune-modules/src/signal.rs index 61daf7f5b..0f319289a 100644 --- a/crates/rune-modules/src/signal.rs +++ b/crates/rune-modules/src/signal.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["signal"]} +//! rune-modules = {version = "0.9.0", features = ["signal"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/test.rs b/crates/rune-modules/src/test.rs index 16e9aa7aa..a753a49b8 100644 --- a/crates/rune-modules/src/test.rs +++ b/crates/rune-modules/src/test.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["test"]} +//! rune-modules = {version = "0.9.0", features = ["test"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/time.rs b/crates/rune-modules/src/time.rs index 672377b84..653bb853e 100644 --- a/crates/rune-modules/src/time.rs +++ b/crates/rune-modules/src/time.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["time"]} +//! rune-modules = {version = "0.9.0", features = ["time"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/toml.rs b/crates/rune-modules/src/toml.rs index 6dc343372..78c7c8d0a 100644 --- a/crates/rune-modules/src/toml.rs +++ b/crates/rune-modules/src/toml.rs @@ -7,7 +7,7 @@ //! Add the following to your `Cargo.toml`: //! //! ```toml -//! rune-modules = {version = "0.8.0", features = ["toml"]} +//! rune-modules = {version = "0.9.0", features = ["toml"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-ssa/Cargo.toml b/crates/rune-ssa/Cargo.toml index 4f8a8b75d..987faf4b3 100644 --- a/crates/rune-ssa/Cargo.toml +++ b/crates/rune-ssa/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-ssa" -version = "0.8.0" +version = "0.9.0" authors = ["John-John Tedro "] license = "MIT/Apache-2.0" edition = "2018" diff --git a/crates/rune-wasm/Cargo.toml b/crates/rune-wasm/Cargo.toml index 037de0031..861e187d0 100644 --- a/crates/rune-wasm/Cargo.toml +++ b/crates/rune-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-wasm" -version = "0.8.0" +version = "0.9.0" authors = ["John-John Tedro "] license = "MIT/Apache-2.0" edition = "2018" @@ -23,10 +23,10 @@ anyhow = "1.0.38" lazy_static = "1.4.0" parking_lot = { version = "0.11.1", features = ["wasm-bindgen"] } -rune = {version = "0.8.0", path = "../rune", features = []} -rune-macros = {version = "0.8.0", path = "../rune-macros"} -rune-modules = {version = "0.8.0", path = "../rune-modules", features = ["core", "test", "json", "toml", "rand", "experiments", "macros"]} -runestick = {version = "0.8.0", path = "../runestick"} +rune = {version = "0.9.0", path = "../rune", features = []} +rune-macros = {version = "0.9.0", path = "../rune-macros"} +rune-modules = {version = "0.9.0", path = "../rune-modules", features = ["core", "test", "json", "toml", "rand", "experiments", "macros"]} +runestick = {version = "0.9.0", path = "../runestick"} [dependencies.web-sys] version = "0.3.48" diff --git a/crates/rune/Cargo.toml b/crates/rune/Cargo.toml index d2e354f0e..d849c8a49 100644 --- a/crates/rune/Cargo.toml +++ b/crates/rune/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune" -version = "0.8.0" +version = "0.9.0" authors = ["John-John Tedro "] license = "MIT/Apache-2.0" edition = "2018" @@ -29,11 +29,11 @@ itoa = "0.4.7" ryu = "1.0.5" smallvec = "1.6.1" -runestick = {version = "0.8.0", path = "../runestick"} -rune-macros = {version = "0.8.0", path = "../rune-macros"} +runestick = {version = "0.9.0", path = "../runestick"} +rune-macros = {version = "0.9.0", path = "../rune-macros"} [target."cfg(compiler_v2)".dependencies] -rune-ssa = {version = "0.8.0", path = "../rune-ssa"} +rune-ssa = {version = "0.9.0", path = "../rune-ssa"} [dev-dependencies] tokio = { version = "1.2.0", features = ["macros"] } diff --git a/crates/runestick-macros/Cargo.toml b/crates/runestick-macros/Cargo.toml index 867403117..9dd64de76 100644 --- a/crates/runestick-macros/Cargo.toml +++ b/crates/runestick-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runestick-macros" -version = "0.8.0" +version = "0.9.0" authors = ["John-John Tedro "] license = "MIT/Apache-2.0" edition = "2018" @@ -20,7 +20,7 @@ quote = "1.0.9" proc-macro2 = { version = "1.0.24", features = ["span-locations"] } [dev-dependencies] -runestick = { path = "../runestick", version = "0.8.0" } +runestick = { path = "../runestick", version = "0.9.0" } [lib] proc-macro = true diff --git a/crates/runestick/Cargo.toml b/crates/runestick/Cargo.toml index 9478e1ae3..0c3f57082 100644 --- a/crates/runestick/Cargo.toml +++ b/crates/runestick/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runestick" -version = "0.8.0" +version = "0.9.0" authors = ["John-John Tedro "] license = "MIT/Apache-2.0" edition = "2018" @@ -34,10 +34,10 @@ pin-project = "1.0.5" byteorder = "1.3.4" num-bigint = "0.4.0" -runestick-macros = {version = "0.8.0", path = "../runestick-macros"} +runestick-macros = {version = "0.9.0", path = "../runestick-macros"} [dev-dependencies] tokio = { version = "1.2.0", features = ["full"] } checkers = "0.5.7" static_assertions = "1.1.0" -rune = { version = "0.8.0", path = "../rune" } +rune = { version = "0.9.0", path = "../rune" } diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json index 035e04a7a..c68dd2c3c 100644 --- a/editors/code/package-lock.json +++ b/editors/code/package-lock.json @@ -1,6 +1,6 @@ { "name": "rune-vscode", - "version": "0.8.0", + "version": "0.9.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/editors/code/package.json b/editors/code/package.json index 90faac8ed..22fb11f0f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -5,7 +5,7 @@ "preview": true, "private": true, "icon": "icon.png", - "version": "0.8.0", + "version": "0.9.0", "releaseTag": null, "publisher": "udoprog", "repository": {