Skip to content

Commit

Permalink
Merge #853
Browse files Browse the repository at this point in the history
853: Version 0.16.0 r=Marwes a=Marwes

<a name="v0.16.0"></a>
## v0.16.0 (2020-07-04)

#### Features

*   Make tokio an optional dependency ([c3450a9](c3450a9), closes [#843](#843))
*   Update to codespan_reporting 0.9 ([a6f214c](a6f214c))

#### Bug Fixes

*   Handle errors when pushing a BTreeMap ([bd8ad34](bd8ad34), closes [#847](#847))
*   Convert rust tuples such that they can be used polymorphically ([6c4d573](6c4d573), closes [#848](#848))

Co-authored-by: Markus Westerlind <[email protected]>
  • Loading branch information
bors[bot] and Marwes authored Jul 4, 2020
2 parents 0222469 + 456ce10 commit 77aa832
Show file tree
Hide file tree
Showing 22 changed files with 80 additions and 64 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
<a name="v0.16.0"></a>
## v0.16.0 (2020-07-04)


#### Features

* Make tokio an optional dependency ([c3450a99](https://github.com/gluon-lang/gluon/commit/c3450a99656f2c6298d7b937d976ac5d0e96f6c2), closes [#843](https://github.com/gluon-lang/gluon/issues/843))
* Update to codespan_reporting 0.9 ([a6f214ce](https://github.com/gluon-lang/gluon/commit/a6f214ce120c34f37d5b2169dba593f576f24265))

#### Bug Fixes

* Handle errors when pushing a BTreeMap ([bd8ad34f](https://github.com/gluon-lang/gluon/commit/bd8ad34fbf294729442c0c8d0e8983903b59cbdf), closes [#847](https://github.com/gluon-lang/gluon/issues/847))
* Convert rust tuples such that they can be used polymorphically ([6c4d5731](https://github.com/gluon-lang/gluon/commit/6c4d5731cefff867f468c2982eb55df6cf69aa8f), closes [#848](https://github.com/gluon-lang/gluon/issues/848))



<a name="v0.15.1"></a>
### v0.15.1 (2020-06-20)

Expand Down
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon"
version = "0.15.1" # GLUON
version = "0.16.0" # GLUON
authors = ["Markus <[email protected]>"]
keywords = ["script", "scripting", "language"]
build = "build.rs"
Expand All @@ -26,12 +26,12 @@ name = "gluon"
path = "src/lib.rs"

[dependencies]
gluon_base = { path = "base", version = "0.15.1" } # GLUON
gluon_check = { path = "check", version = "0.15.1" } # GLUON
gluon_parser = { path = "parser", version = "0.15.1" } # GLUON
gluon_codegen = { path = "codegen", version = "0.15.1" } # GLUON
gluon_vm = { path = "vm", version = "0.15.1", default-features = false } # GLUON
gluon_format = { path = "format", version = "0.15.1", default-features = false } # GLUON
gluon_base = { path = "base", version = "0.16.0" } # GLUON
gluon_check = { path = "check", version = "0.16.0" } # GLUON
gluon_parser = { path = "parser", version = "0.16.0" } # GLUON
gluon_codegen = { path = "codegen", version = "0.16.0" } # GLUON
gluon_vm = { path = "vm", version = "0.16.0", default-features = false } # GLUON
gluon_format = { path = "format", version = "0.16.0", default-features = false } # GLUON

async-trait = "0.1"
log = "0.4"
Expand Down Expand Up @@ -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.15.1" } # GLUON
gluon_base = { path = "base", version = "0.16.0" } # GLUON

itertools = "0.9"
little-skeptic = { version = "0.15.0", optional = true }
Expand Down Expand Up @@ -96,8 +96,8 @@ bincode = "1"

pulldown-cmark = "0.7"

gluon_completion = { path = "completion", version = "0.15.1" } # GLUON
gluon_codegen = { path = "codegen", version = "0.15.1" } # GLUON
gluon_completion = { path = "completion", version = "0.16.0" } # GLUON
gluon_codegen = { path = "codegen", version = "0.16.0" } # GLUON

[features]
default = ["async", "regex", "random"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Gluon requires a recent Rust compiler to build (1.9.0 or later) and is available

```toml
[dependencies]
gluon = "0.15.1"
gluon = "0.16.0"
```

### Other languages
Expand Down
4 changes: 2 additions & 2 deletions base/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_base"
version = "0.15.1" # GLUON
version = "0.16.0" # GLUON
authors = ["Markus <[email protected]>"]
edition = "2018"

Expand Down Expand Up @@ -33,7 +33,7 @@ either = "1"
vec_map = "0.8"
typed-arena = "1"

gluon_codegen = { version = "0.15.1", path = "../codegen" } # GLUON
gluon_codegen = { version = "0.16.0", path = "../codegen" } # GLUON

serde = { version = "1.0.0", features = ["rc"], optional = true }
serde_state = { version = "0.4.0", features = ["rc"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion base/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/gluon_base/0.15.1")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_base/0.16.0")] // # GLUON
#![allow(unknown_lints)]
//! The base crate contains pervasive types used in the compiler such as type representations, the
//! AST and some basic containers.
Expand Down
4 changes: 2 additions & 2 deletions c-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_c-api"
version = "0.15.1" # GLUON
version = "0.16.0" # GLUON
authors = ["Markus Westerlind <[email protected]>"]
edition = "2018"

Expand All @@ -19,7 +19,7 @@ travis-ci = { repository = "gluon-lang/gluon" }
crate-type = ["cdylib"]

[dependencies]
gluon = { version = "0.15.1", path = ".." } # GLUON
gluon = { version = "0.16.0", path = ".." } # GLUON
futures = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion c-api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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.15.1")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_c-api/0.16.0")] // # GLUON

use std::{slice, str};

Expand Down
8 changes: 4 additions & 4 deletions check/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_check"
version = "0.15.1" # GLUON
version = "0.16.0" # GLUON
authors = ["Markus <[email protected]>"]
edition = "2018"

Expand Down Expand Up @@ -30,14 +30,14 @@ codespan-reporting = "0.9"

strsim = "0.9.0"

gluon_base = { path = "../base", version = "0.15.1" } # GLUON
gluon_codegen = { path = "../codegen", version = "0.15.1" } # GLUON
gluon_base = { path = "../base", version = "0.16.0" } # GLUON
gluon_codegen = { path = "../codegen", version = "0.16.0" } # GLUON

[dev-dependencies]
env_logger = "0.7"
insta = "0.16"

gluon_parser = { path = "../parser", version = "0.15.1" } # GLUON
gluon_parser = { path = "../parser", version = "0.16.0" } # GLUON
gluon_format = { path = "../format", version = ">=0.9" }

collect-mac = "0.1.0"
Expand Down
2 changes: 1 addition & 1 deletion check/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.15.1")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_check/0.16.0")] // # GLUON

#[macro_use]
extern crate collect_mac;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_codegen"
version = "0.15.1" # GLUON
version = "0.16.0" # GLUON
authors = ["Markus <[email protected]>"]

edition = "2018"
Expand Down
8 changes: 4 additions & 4 deletions completion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_completion"
version = "0.15.1" # GLUON
version = "0.16.0" # GLUON
authors = ["Markus <[email protected]>"]
edition = "2018"

Expand All @@ -17,12 +17,12 @@ itertools = "0.9"
walkdir = "2"
codespan = "0.9"

gluon_base = { path = "../base", version = "0.15.1" } # GLUON
gluon_base = { path = "../base", version = "0.16.0" } # GLUON

[dev-dependencies]
collect-mac = "0.1.0"
env_logger = "0.7"
quick-error = "1"

gluon_check = { path = "../check", version = "0.15.1" } # GLUON
gluon_parser = { path = "../parser", version = "0.15.1" } # GLUON
gluon_check = { path = "../check", version = "0.16.0" } # GLUON
gluon_parser = { path = "../parser", version = "0.16.0" } # GLUON
2 changes: 1 addition & 1 deletion completion/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Primitive auto completion and type quering on ASTs
#![doc(html_root_url = "https://docs.rs/gluon_completion/0.15.1")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_completion/0.16.0")] // # GLUON

extern crate codespan;
extern crate either;
Expand Down
6 changes: 3 additions & 3 deletions doc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_doc"
version = "0.15.1" # GLUON
version = "0.16.0" # GLUON
authors = ["Markus Westerlind <[email protected]>"]
edition = "2018"

Expand Down Expand Up @@ -32,8 +32,8 @@ serde = "1.0.0"
serde_derive = "1.0.0"
serde_json = "1.0.0"

gluon = { version = "0.15.1", path = ".." } # GLUON
completion = { package = "gluon_completion", version = "0.15.1", path = "../completion" } # GLUON
gluon = { version = "0.16.0", path = ".." } # GLUON
completion = { package = "gluon_completion", version = "0.16.0", path = "../completion" } # GLUON


[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions format/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_format"
version = "0.15.1" # GLUON
version = "0.16.0" # GLUON
authors = ["Markus <[email protected]>"]
edition = "2018"

Expand All @@ -17,7 +17,7 @@ pretty = "0.10"
itertools = "0.9"
codespan = "0.9"

gluon_base = { path = "../base", version = "0.15.1" } # GLUON
gluon_base = { path = "../base", version = "0.16.0" } # GLUON

[dev-dependencies]
difference = "2"
Expand All @@ -27,7 +27,7 @@ pretty_assertions = "0.6"
tokio = { version = "0.2", features = ["macros", "rt-core"] }
walkdir = "2"

gluon_base = { path = "../base", version = "0.15.1" } # GLUON
gluon_base = { path = "../base", version = "0.16.0" } # GLUON
gluon = { path = "..", version = ">=0.9" }

tensile = { version = "0.6", features = ["tokio"] }
Expand Down
2 changes: 1 addition & 1 deletion format/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Code formatter.
#![doc(html_root_url = "https://docs.rs/gluon_formatter/0.15.1")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_formatter/0.16.0")] // # GLUON

extern crate codespan;
#[macro_use]
Expand Down
4 changes: 2 additions & 2 deletions parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_parser"
version = "0.15.1" # GLUON
version = "0.16.0" # GLUON
authors = ["Markus <[email protected]>"]
edition = "2018"

Expand All @@ -24,7 +24,7 @@ quick-error = "1.0.0"
lalrpop-util = "0.19"
log = "0.4"
pretty = "0.9"
gluon_base = { path = "../base", version = "0.15.1" } # GLUON
gluon_base = { path = "../base", version = "0.16.0" } # GLUON
ordered-float = "1"
codespan = "0.9"
codespan-reporting = "0.9"
Expand Down
2 changes: 1 addition & 1 deletion parser/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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.15.1")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_parser/0.16.0")] // # GLUON

extern crate codespan;
extern crate codespan_reporting;
Expand Down
Loading

0 comments on commit 77aa832

Please sign in to comment.