From aeb8f04bebf2b44fb5fdbd5f1ad168b6762fcb1a Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Mon, 9 Aug 2021 21:24:23 +0200 Subject: [PATCH] Prepare release 0.9.1 (#275) --- CHANGELOG.md | 27 +++++++++++++++++++++- 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 ++--- 24 files changed, 68 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85d00037e..22cdaf178 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/rune-rs/rune/compare/0.9.0...main +[Unreleased]: https://github.com/rune-rs/rune/compare/0.9.1...main + +## [0.9.1] + +### Fixed +* Fixed memory leak when defining functions ([#273]) (thanks [MicahSchiewe]). + +### Added +* Enable passing Deref/DerefMut into Rune as Values ([#269]) (thanks [tgolsson]). +* Support for deriving `Any` on generic types ([#268]) (thanks [tgolsson]). +* Add display implementations for byte and bool ([#258]) (thanks [Roba1993]). + +## Changed +* Correctly mark AnyObj::{from_ref, from_mut} as both super unsafe ([#265]) +* Various internal refactorings (thanks [Roba1993]). + +[0.9.1]: https://github.com/rune-rs/rune/compare/0.9.0...0.9.1 + +[#273]: https://github.com/rune-rs/rune/issues/273 +[#269]: https://github.com/rune-rs/rune/issues/269 +[#268]: https://github.com/rune-rs/rune/issues/268 +[#265]: https://github.com/rune-rs/rune/issues/265 + +[tgolsson]: https://github.com/tgolsson +[MicahSchiewe]: https://github.com/MicahSchiewe +[Roba1993]: https://github.com/Roba1993 ## [0.9.0] diff --git a/crates/rune-cli/Cargo.toml b/crates/rune-cli/Cargo.toml index bdafa3bae..832733137 100644 --- a/crates/rune-cli/Cargo.toml +++ b/crates/rune-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-cli" -version = "0.9.0" +version = "0.9.1" 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.9.0", path = "../rune"} -rune-modules = {version = "0.9.0", path = "../rune-modules", features = ["full", "experiments"]} -runestick = {version = "0.9.0", path = "../runestick"} +rune = {version = "0.9.1", path = "../rune"} +rune-modules = {version = "0.9.1", path = "../rune-modules", features = ["full", "experiments"]} +runestick = {version = "0.9.1", path = "../runestick"} [build-dependencies] anyhow = "1.0.38" diff --git a/crates/rune-languageserver/Cargo.toml b/crates/rune-languageserver/Cargo.toml index 4971fe26f..94b5ef4cb 100644 --- a/crates/rune-languageserver/Cargo.toml +++ b/crates/rune-languageserver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-languageserver" -version = "0.9.0" +version = "0.9.1" 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.9.0", path = "../rune"} -rune-modules = {version = "0.9.0", path = "../rune-modules", features = ["full", "experiments"]} -runestick = {version = "0.9.0", path = "../runestick"} +rune = {version = "0.9.1", path = "../rune"} +rune-modules = {version = "0.9.1", path = "../rune-modules", features = ["full", "experiments"]} +runestick = {version = "0.9.1", path = "../runestick"} [build-dependencies] anyhow = "1.0.38" diff --git a/crates/rune-macros/Cargo.toml b/crates/rune-macros/Cargo.toml index 863faa897..39d6ef7d3 100644 --- a/crates/rune-macros/Cargo.toml +++ b/crates/rune-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-macros" -version = "0.9.0" +version = "0.9.1" 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.9.0", path = "../rune"} +rune = {version = "0.9.1", path = "../rune"} [lib] proc-macro = true diff --git a/crates/rune-modules/Cargo.toml b/crates/rune-modules/Cargo.toml index 1b9db2850..5baf2f278 100644 --- a/crates/rune-modules/Cargo.toml +++ b/crates/rune-modules/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-modules" -version = "0.9.0" +version = "0.9.1" 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.9.0", path = "../rune"} -runestick = {version = "0.9.0", path = "../runestick"} +rune = {version = "0.9.1", path = "../rune"} +runestick = {version = "0.9.1", 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 a0968dbf3..b7bf98c40 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.9.0", features = ["test"]} +//! rune-modules = {version = "0.9.1", 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 a6b8988d6..11bee7f40 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.9.0", features = ["experiments"]} +//! rune-modules = {version = "0.9.1", features = ["experiments"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/fmt.rs b/crates/rune-modules/src/fmt.rs index b85990f2f..1e5882045 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.9.0", features = ["fmt"]} +//! rune-modules = {version = "0.9.1", features = ["fmt"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/fs.rs b/crates/rune-modules/src/fs.rs index 280e6ac93..0a4af44d4 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.9.0", features = ["fs"]} +//! rune-modules = {version = "0.9.1", features = ["fs"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/http.rs b/crates/rune-modules/src/http.rs index f2632f8e2..a9b519055 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.9.0", features = ["http", "json"]} +//! rune-modules = {version = "0.9.1", 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 5fa7c3590..ee6d58e9b 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.9.0", features = ["io"]} +//! rune-modules = {version = "0.9.1", features = ["io"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/json.rs b/crates/rune-modules/src/json.rs index a6e5e49d1..39339646a 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.9.0", features = ["json"]} +//! rune-modules = {version = "0.9.1", features = ["json"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/macros.rs b/crates/rune-modules/src/macros.rs index c272e358b..0ebcd04fd 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.9.0", features = ["macros"]} +//! rune-modules = {version = "0.9.1", features = ["macros"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/process.rs b/crates/rune-modules/src/process.rs index 88c83657f..77d3ddb5b 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.9.0", features = ["process"]} +//! rune-modules = {version = "0.9.1", features = ["process"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/rand.rs b/crates/rune-modules/src/rand.rs index 78af18025..f39762532 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.9.0", features = ["rand"]} +//! rune-modules = {version = "0.9.1", features = ["rand"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/signal.rs b/crates/rune-modules/src/signal.rs index 0f319289a..75eae3c92 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.9.0", features = ["signal"]} +//! rune-modules = {version = "0.9.1", features = ["signal"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/test.rs b/crates/rune-modules/src/test.rs index a753a49b8..febae0209 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.9.0", features = ["test"]} +//! rune-modules = {version = "0.9.1", features = ["test"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/time.rs b/crates/rune-modules/src/time.rs index 653bb853e..c32df9b60 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.9.0", features = ["time"]} +//! rune-modules = {version = "0.9.1", features = ["time"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-modules/src/toml.rs b/crates/rune-modules/src/toml.rs index 78c7c8d0a..8b3962002 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.9.0", features = ["toml"]} +//! rune-modules = {version = "0.9.1", features = ["toml"]} //! ``` //! //! Install it into your context: diff --git a/crates/rune-ssa/Cargo.toml b/crates/rune-ssa/Cargo.toml index 987faf4b3..f3cf5abc4 100644 --- a/crates/rune-ssa/Cargo.toml +++ b/crates/rune-ssa/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-ssa" -version = "0.9.0" +version = "0.9.1" 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 861e187d0..73561816f 100644 --- a/crates/rune-wasm/Cargo.toml +++ b/crates/rune-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune-wasm" -version = "0.9.0" +version = "0.9.1" 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.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"} +rune = {version = "0.9.1", path = "../rune", features = []} +rune-macros = {version = "0.9.1", path = "../rune-macros"} +rune-modules = {version = "0.9.1", path = "../rune-modules", features = ["core", "test", "json", "toml", "rand", "experiments", "macros"]} +runestick = {version = "0.9.1", path = "../runestick"} [dependencies.web-sys] version = "0.3.48" diff --git a/crates/rune/Cargo.toml b/crates/rune/Cargo.toml index d849c8a49..976e84f66 100644 --- a/crates/rune/Cargo.toml +++ b/crates/rune/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rune" -version = "0.9.0" +version = "0.9.1" 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.9.0", path = "../runestick"} -rune-macros = {version = "0.9.0", path = "../rune-macros"} +runestick = {version = "0.9.1", path = "../runestick"} +rune-macros = {version = "0.9.1", path = "../rune-macros"} [target."cfg(compiler_v2)".dependencies] -rune-ssa = {version = "0.9.0", path = "../rune-ssa"} +rune-ssa = {version = "0.9.1", 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 9dd64de76..5d0dab035 100644 --- a/crates/runestick-macros/Cargo.toml +++ b/crates/runestick-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runestick-macros" -version = "0.9.0" +version = "0.9.1" 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.9.0" } +runestick = { path = "../runestick", version = "0.9.1" } [lib] proc-macro = true diff --git a/crates/runestick/Cargo.toml b/crates/runestick/Cargo.toml index 0c3f57082..aff46776d 100644 --- a/crates/runestick/Cargo.toml +++ b/crates/runestick/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runestick" -version = "0.9.0" +version = "0.9.1" 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.9.0", path = "../runestick-macros"} +runestick-macros = {version = "0.9.1", path = "../runestick-macros"} [dev-dependencies] tokio = { version = "1.2.0", features = ["full"] } checkers = "0.5.7" static_assertions = "1.1.0" -rune = { version = "0.9.0", path = "../rune" } +rune = { version = "0.9.1", path = "../rune" }