From e31506fe5134b0701a5612ad3d0172cb04cf90ee Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Fri, 16 Apr 2021 21:59:11 +0800 Subject: [PATCH] Bump version. --- CHANGELOG.md | 6 ++++-- Cargo.toml | 2 +- codegen/Cargo.toml | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bff3b748..1590a792 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,13 @@ Rhai Release Notes ================== -Version 0.19.16 -=============== +Version 0.20.0 +============== This version adds string interpolation with `` `... ${`` ... ``} ...` `` syntax. +`switch` statement cases can now have conditions. + Negative indices for arrays and strings are allowed and now count from the end (-1 = last item/character). Bug fixes diff --git a/Cargo.toml b/Cargo.toml index 90100ff3..bf7a806e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = [".", "codegen"] [package] name = "rhai" -version = "0.19.16" +version = "0.20.0" edition = "2018" authors = ["Jonathan Turner", "Lukáš Hozda", "Stephen Chung", "jhwgh1968"] description = "Embedded scripting for Rust" diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index e24f866c..d02e4388 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rhai_codegen" -version = "0.3.4" +version = "0.3.5" edition = "2018" authors = ["jhwgh1968"] description = "Procedural macro support package for Rhai, a scripting language for Rust" @@ -16,7 +16,7 @@ default = [] metadata = [] [dev-dependencies] -rhai = { path = "..", version = "0.19" } +rhai = { path = "..", version = ">=0.19.15" } trybuild = "1" [dependencies]