From 51ac07b0212aa1be5a6519b97b23a83bf8760bb0 Mon Sep 17 00:00:00 2001 From: Markus Westerlind Date: Sat, 15 Aug 2020 17:41:52 +0200 Subject: [PATCH] Version 0.17.1 ### v0.17.1 (2020-08-15) #### Bug Fixes * Disable inlining until it can be made sound ([97b63c42](https://github.com/gluon-lang/gluon/commit/97b63c42717d5080dd4ccfe5f7df26479124ef0f)) * Inline functions that are re-exports ([bcf87838](https://github.com/gluon-lang/gluon/commit/bcf878385c09291a4b9256688a6f76818039a888)) #### Features * **opt:** * Constant fold through simple matches ([360c9d0a](https://github.com/gluon-lang/gluon/commit/360c9d0a93ffc6b624821d925303fb0441407850)) * Inline functions with impure arguments ([669f959d](https://github.com/gluon-lang/gluon/commit/669f959d6b21c4d8792d6d13ce109166f1d212f1)) --- CHANGELOG.md | 17 +++++++++++++++++ Cargo.lock | 22 +++++++++++----------- Cargo.toml | 20 ++++++++++---------- README.md | 2 +- base/Cargo.toml | 4 ++-- base/src/lib.rs | 2 +- c-api/Cargo.toml | 4 ++-- c-api/src/lib.rs | 2 +- check/Cargo.toml | 8 ++++---- check/src/lib.rs | 2 +- codegen/Cargo.toml | 2 +- completion/Cargo.toml | 8 ++++---- completion/src/lib.rs | 2 +- doc/Cargo.toml | 6 +++--- format/Cargo.toml | 6 +++--- format/src/lib.rs | 2 +- parser/Cargo.toml | 4 ++-- parser/src/lib.rs | 2 +- repl/Cargo.toml | 14 +++++++------- src/lib.rs | 2 +- vm/Cargo.toml | 12 ++++++------ vm/src/lib.rs | 2 +- 22 files changed, 81 insertions(+), 64 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 797678d42b..96bc066994 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ + +### v0.17.1 (2020-08-15) + + +#### Bug Fixes + +* Disable inlining until it can be made sound ([97b63c42](https://github.com/gluon-lang/gluon/commit/97b63c42717d5080dd4ccfe5f7df26479124ef0f)) +* Inline functions that are re-exports ([bcf87838](https://github.com/gluon-lang/gluon/commit/bcf878385c09291a4b9256688a6f76818039a888)) + +#### Features + +* **opt:** + * Constant fold through simple matches ([360c9d0a](https://github.com/gluon-lang/gluon/commit/360c9d0a93ffc6b624821d925303fb0441407850)) + * Inline functions with impure arguments ([669f959d](https://github.com/gluon-lang/gluon/commit/669f959d6b21c4d8792d6d13ce109166f1d212f1)) + + + ## v0.17.0 (2020-08-10) diff --git a/Cargo.lock b/Cargo.lock index d7f30d31f1..280ea251af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1082,7 +1082,7 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" [[package]] name = "gluon" -version = "0.17.0" +version = "0.17.1" dependencies = [ "anyhow", "async-trait", @@ -1165,7 +1165,7 @@ dependencies = [ [[package]] name = "gluon_base" -version = "0.17.0" +version = "0.17.1" dependencies = [ "anymap", "bitflags 1.2.1", @@ -1195,7 +1195,7 @@ dependencies = [ [[package]] name = "gluon_c-api" -version = "0.17.0" +version = "0.17.1" dependencies = [ "futures 0.3.5", "gluon", @@ -1204,7 +1204,7 @@ dependencies = [ [[package]] name = "gluon_check" -version = "0.17.0" +version = "0.17.1" dependencies = [ "codespan", "codespan-reporting", @@ -1229,7 +1229,7 @@ dependencies = [ [[package]] name = "gluon_codegen" -version = "0.17.0" +version = "0.17.1" dependencies = [ "env_logger 0.7.1", "gluon", @@ -1243,7 +1243,7 @@ dependencies = [ [[package]] name = "gluon_completion" -version = "0.17.0" +version = "0.17.1" dependencies = [ "codespan", "collect-mac", @@ -1260,7 +1260,7 @@ dependencies = [ [[package]] name = "gluon_doc" -version = "0.17.0" +version = "0.17.1" dependencies = [ "anyhow", "cargo-deadlinks", @@ -1287,7 +1287,7 @@ dependencies = [ [[package]] name = "gluon_format" -version = "0.17.0" +version = "0.17.1" dependencies = [ "codespan", "difference", @@ -1306,7 +1306,7 @@ dependencies = [ [[package]] name = "gluon_parser" -version = "0.17.0" +version = "0.17.1" dependencies = [ "codespan", "codespan-reporting", @@ -1326,7 +1326,7 @@ dependencies = [ [[package]] name = "gluon_repl" -version = "0.17.0" +version = "0.17.1" dependencies = [ "ansi_term 0.12.1", "anyhow", @@ -1357,7 +1357,7 @@ dependencies = [ [[package]] name = "gluon_vm" -version = "0.17.0" +version = "0.17.1" dependencies = [ "async-trait", "bitflags 1.2.1", diff --git a/Cargo.toml b/Cargo.toml index 8cfc47d591..59cafa63ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus "] keywords = ["script", "scripting", "language"] build = "build.rs" @@ -26,12 +26,12 @@ name = "gluon" path = "src/lib.rs" [dependencies] -gluon_base = { path = "base", version = "0.17.0" } # GLUON -gluon_check = { path = "check", version = "0.17.0" } # GLUON -gluon_parser = { path = "parser", version = "0.17.0" } # GLUON -gluon_codegen = { path = "codegen", version = "0.17.0" } # GLUON -gluon_vm = { path = "vm", version = "0.17.0", default-features = false } # GLUON -gluon_format = { path = "format", version = "0.17.0", default-features = false } # GLUON +gluon_base = { path = "base", version = "0.17.1" } # GLUON +gluon_check = { path = "check", version = "0.17.1" } # GLUON +gluon_parser = { path = "parser", version = "0.17.1" } # GLUON +gluon_codegen = { path = "codegen", version = "0.17.1" } # GLUON +gluon_vm = { path = "vm", version = "0.17.1", default-features = false } # GLUON +gluon_format = { path = "format", version = "0.17.1", default-features = false } # GLUON async-trait = "0.1" log = "0.4" @@ -68,7 +68,7 @@ rand = { version = "0.7", optional = true } rand_xorshift = { version = "0.2", optional = true } [build-dependencies] -gluon_base = { path = "base", version = "0.17.0" } # GLUON +gluon_base = { path = "base", version = "0.17.1" } # GLUON itertools = "0.9" little-skeptic = { version = "0.15.0", optional = true } @@ -96,8 +96,8 @@ bincode = "1" pulldown-cmark = "0.7" -gluon_completion = { path = "completion", version = "0.17.0" } # GLUON -gluon_codegen = { path = "codegen", version = "0.17.0" } # GLUON +gluon_completion = { path = "completion", version = "0.17.1" } # GLUON +gluon_codegen = { path = "codegen", version = "0.17.1" } # GLUON [features] default = ["async", "regex", "random"] diff --git a/README.md b/README.md index 5ae4fb5ac5..3fc3a88bf1 100644 --- a/README.md +++ b/README.md @@ -303,7 +303,7 @@ Gluon requires a recent Rust compiler to build (1.9.0 or later) and is available ```toml [dependencies] -gluon = "0.17.0" +gluon = "0.17.1" ``` ### Other languages diff --git a/base/Cargo.toml b/base/Cargo.toml index 2497233ffb..2869c58baa 100644 --- a/base/Cargo.toml +++ b/base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_base" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus "] edition = "2018" @@ -33,7 +33,7 @@ either = "1" vec_map = "0.8" typed-arena = "2" -gluon_codegen = { version = "0.17.0", path = "../codegen" } # GLUON +gluon_codegen = { version = "0.17.1", path = "../codegen" } # GLUON serde = { version = "1.0.0", features = ["rc"], optional = true } serde_state = { version = "0.4.0", features = ["rc"], optional = true } diff --git a/base/src/lib.rs b/base/src/lib.rs index 235b8a950a..354cf7494a 100644 --- a/base/src/lib.rs +++ b/base/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/gluon_base/0.17.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_base/0.17.1")] // # GLUON #![allow(unknown_lints)] //! The base crate contains pervasive types used in the compiler such as type representations, the //! AST and some basic containers. diff --git a/c-api/Cargo.toml b/c-api/Cargo.toml index fa23b9c74b..9a30a591e3 100644 --- a/c-api/Cargo.toml +++ b/c-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_c-api" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus Westerlind "] edition = "2018" @@ -19,7 +19,7 @@ travis-ci = { repository = "gluon-lang/gluon" } crate-type = ["cdylib"] [dependencies] -gluon = { version = "0.17.0", path = ".." } # GLUON +gluon = { version = "0.17.1", path = ".." } # GLUON futures = "0.3" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/c-api/src/lib.rs b/c-api/src/lib.rs index aabbf8774c..ddb6df6cfa 100644 --- a/c-api/src/lib.rs +++ b/c-api/src/lib.rs @@ -1,5 +1,5 @@ //! A (WIP) C API allowing use of gluon in other langauges than Rust. -#![doc(html_root_url = "https://docs.rs/gluon_c-api/0.17.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_c-api/0.17.1")] // # GLUON use std::{slice, str}; diff --git a/check/Cargo.toml b/check/Cargo.toml index ece6073d1c..7a128e57ff 100644 --- a/check/Cargo.toml +++ b/check/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_check" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus "] edition = "2018" @@ -30,14 +30,14 @@ codespan-reporting = "0.9" strsim = "0.10" -gluon_base = { path = "../base", version = "0.17.0" } # GLUON -gluon_codegen = { path = "../codegen", version = "0.17.0" } # GLUON +gluon_base = { path = "../base", version = "0.17.1" } # GLUON +gluon_codegen = { path = "../codegen", version = "0.17.1" } # GLUON [dev-dependencies] env_logger = "0.7" insta = "0.16" -gluon_parser = { path = "../parser", version = "0.17.0" } # GLUON +gluon_parser = { path = "../parser", version = "0.17.1" } # GLUON gluon_format = { path = "../format", version = ">=0.9" } collect-mac = "0.1.0" diff --git a/check/src/lib.rs b/check/src/lib.rs index 1c99bcba80..4ad4618cc8 100644 --- a/check/src/lib.rs +++ b/check/src/lib.rs @@ -3,7 +3,7 @@ //! If an AST passes the checks in `Typecheck::typecheck_expr` (which runs all of theses checks //! the expression is expected to compile succesfully (if it does not it should be considered an //! internal compiler error. -#![doc(html_root_url = "https://docs.rs/gluon_check/0.17.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_check/0.17.1")] // # GLUON #[macro_use] extern crate collect_mac; diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 809fd2a553..840b1da28a 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_codegen" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus "] edition = "2018" diff --git a/completion/Cargo.toml b/completion/Cargo.toml index ad2836eb09..9048771c62 100644 --- a/completion/Cargo.toml +++ b/completion/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_completion" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus "] edition = "2018" @@ -17,7 +17,7 @@ itertools = "0.9" walkdir = "2" codespan = "0.9" -gluon_base = { path = "../base", version = "0.17.0" } # GLUON +gluon_base = { path = "../base", version = "0.17.1" } # GLUON [dev-dependencies] collect-mac = "0.1.0" @@ -25,5 +25,5 @@ env_logger = "0.7" pretty_assertions = "0.6" quick-error = "1" -gluon_check = { path = "../check", version = "0.17.0" } # GLUON -gluon_parser = { path = "../parser", version = "0.17.0" } # GLUON +gluon_check = { path = "../check", version = "0.17.1" } # GLUON +gluon_parser = { path = "../parser", version = "0.17.1" } # GLUON diff --git a/completion/src/lib.rs b/completion/src/lib.rs index aec83a43e5..eab8518bbf 100644 --- a/completion/src/lib.rs +++ b/completion/src/lib.rs @@ -1,5 +1,5 @@ //! Primitive auto completion and type quering on ASTs -#![doc(html_root_url = "https://docs.rs/gluon_completion/0.17.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_completion/0.17.1")] // # GLUON extern crate gluon_base as base; diff --git a/doc/Cargo.toml b/doc/Cargo.toml index d776161d18..aa4ca05ac5 100644 --- a/doc/Cargo.toml +++ b/doc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_doc" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus Westerlind "] edition = "2018" @@ -32,8 +32,8 @@ serde = "1.0.0" serde_derive = "1.0.0" serde_json = "1.0.0" -gluon = { version = "0.17.0", default-features = false, path = ".." } # GLUON -completion = { package = "gluon_completion", version = "0.17.0", path = "../completion" } # GLUON +gluon = { version = "0.17.1", default-features = false, path = ".." } # GLUON +completion = { package = "gluon_completion", version = "0.17.1", path = "../completion" } # GLUON [dev-dependencies] diff --git a/format/Cargo.toml b/format/Cargo.toml index 606f078ba8..f9b5e2e89a 100644 --- a/format/Cargo.toml +++ b/format/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_format" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus "] edition = "2018" @@ -17,7 +17,7 @@ pretty = "0.10" itertools = "0.9" codespan = "0.9" -gluon_base = { path = "../base", version = "0.17.0" } # GLUON +gluon_base = { path = "../base", version = "0.17.1" } # GLUON [dev-dependencies] difference = "2" @@ -27,7 +27,7 @@ pretty_assertions = "0.6" tokio = { version = "0.2", features = ["macros", "rt-core"] } walkdir = "2" -gluon_base = { path = "../base", version = "0.17.0" } # GLUON +gluon_base = { path = "../base", version = "0.17.1" } # GLUON gluon = { path = "..", version = ">=0.9" } tensile = { version = "0.6", features = ["tokio"] } diff --git a/format/src/lib.rs b/format/src/lib.rs index 955c13d4de..f17505b28e 100644 --- a/format/src/lib.rs +++ b/format/src/lib.rs @@ -1,5 +1,5 @@ //! Code formatter. -#![doc(html_root_url = "https://docs.rs/gluon_formatter/0.17.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_formatter/0.17.1")] // # GLUON extern crate codespan; #[macro_use] diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 057f6c4860..e19a5c325b 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_parser" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus "] edition = "2018" @@ -23,7 +23,7 @@ itertools = "0.9" quick-error = "1.0.0" lalrpop-util = "0.19" log = "0.4" -gluon_base = { path = "../base", version = "0.17.0" } # GLUON +gluon_base = { path = "../base", version = "0.17.1" } # GLUON ordered-float = "2" codespan = "0.9" codespan-reporting = "0.9" diff --git a/parser/src/lib.rs b/parser/src/lib.rs index 65ef387893..c1c2509aff 100644 --- a/parser/src/lib.rs +++ b/parser/src/lib.rs @@ -1,7 +1,7 @@ //! The parser is a bit more complex than it needs to be as it needs to be fully specialized to //! avoid a recompilation every time a later part of the compiler is changed. Due to this the //! string interner and therefore also garbage collector needs to compiled before the parser. -#![doc(html_root_url = "https://docs.rs/gluon_parser/0.17.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_parser/0.17.1")] // # GLUON extern crate gluon_base as base; #[macro_use] diff --git a/repl/Cargo.toml b/repl/Cargo.toml index 807d860b95..89e3b6f4da 100644 --- a/repl/Cargo.toml +++ b/repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_repl" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus Westerlind "] edition = "2018" @@ -20,12 +20,12 @@ path = "src/main.rs" doc = false [dependencies] -gluon = { version = "0.17.0", path = "..", features = ["serialization"] } # GLUON -gluon_vm = { version = "0.17.0", path = "../vm", features = ["serialization"] } # GLUON -gluon_completion = { path = "../completion", version = "0.17.0" } # GLUON -gluon_codegen = { path = "../codegen", version = "0.17.0" } # GLUON -gluon_format = { version = "0.17.0", path = "../format" } # GLUON -gluon_doc = { version = "0.17.0", path = "../doc" } # GLUON +gluon = { version = "0.17.1", path = "..", features = ["serialization"] } # GLUON +gluon_vm = { version = "0.17.1", path = "../vm", features = ["serialization"] } # GLUON +gluon_completion = { path = "../completion", version = "0.17.1" } # GLUON +gluon_codegen = { path = "../codegen", version = "0.17.1" } # GLUON +gluon_format = { version = "0.17.1", path = "../format" } # GLUON +gluon_doc = { version = "0.17.1", path = "../doc" } # GLUON app_dirs = "1.0.0" anyhow = "1" diff --git a/src/lib.rs b/src/lib.rs index e7d2542b12..9b497539ff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ //! behaviour. For information about how to use this library the best resource currently is the //! [tutorial](http://gluon-lang.org/book/index.html) which contains examples //! on how to write gluon programs as well as how to run them using this library. -#![doc(html_root_url = "https://docs.rs/gluon/0.17.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon/0.17.1")] // # GLUON #![recursion_limit = "128"] #[cfg(test)] extern crate env_logger; diff --git a/vm/Cargo.toml b/vm/Cargo.toml index f818757055..5e72d649e1 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_vm" -version = "0.17.0" # GLUON +version = "0.17.1" # GLUON authors = ["Markus "] edition = "2018" build = "build.rs" @@ -46,10 +46,10 @@ serde_state = { version = "0.4.0", optional = true } serde_derive = { version = "1.0.0", optional = true } serde_derive_state = { version = "0.4.8", optional = true } -gluon_base = { path = "../base", version = "0.17.0" } # GLUON -gluon_check = { path = "../check", version = "0.17.0" } # GLUON -gluon_codegen = { path = "../codegen", version = "0.17.0" } # GLUON -gluon_parser = { path = "../parser", version = "0.17.0", optional = true } # GLUON +gluon_base = { path = "../base", version = "0.17.1" } # GLUON +gluon_check = { path = "../check", version = "0.17.1" } # GLUON +gluon_codegen = { path = "../codegen", version = "0.17.1" } # GLUON +gluon_parser = { path = "../parser", version = "0.17.1", optional = true } # GLUON [build-dependencies] lalrpop = { version = "0.19", features = ["lexer"], optional = true } @@ -68,7 +68,7 @@ regex = "1" serde_json = "1.0.0" tokio = { version = "0.2", features = ["macros"] } -gluon_parser = { path = "../parser", version = "0.17.0" } # GLUON +gluon_parser = { path = "../parser", version = "0.17.1" } # GLUON [features] serialization = ["serde", "serde_state", "serde_derive", "serde_derive_state", "serde_json", "gluon_base/serialization", "codespan/serialization"] diff --git a/vm/src/lib.rs b/vm/src/lib.rs index 3026e7739b..8a956ba772 100644 --- a/vm/src/lib.rs +++ b/vm/src/lib.rs @@ -1,5 +1,5 @@ //! Crate which contain the virtual machine which executes gluon programs -#![doc(html_root_url = "https://docs.rs/gluon_vm/0.17.0")] // # GLUON +#![doc(html_root_url = "https://docs.rs/gluon_vm/0.17.1")] // # GLUON #![recursion_limit = "1024"] #[macro_use]