Skip to content

Commit

Permalink
Version 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwes committed Jul 1, 2018
1 parent 12bc463 commit 35fd2a4
Show file tree
Hide file tree
Showing 20 changed files with 69 additions and 43 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
<a name="v0.8.1"></a>
### v0.8.1 (2018-07-01)


#### Bug Fixes

* Reject programs which use lowercase letters for types ([bd54a83f](https://github.com/gluon-lang/gluon/commit/bd54a83f572ab25e15c2602bf05bea40f08314b0))
* Display type fields with the parameters on the left side of = ([ef6fc9bc](https://github.com/gluon-lang/gluon/commit/ef6fc9bcea491449cf1d8d8e4815065d47188beb))
* Handle type projection in kind check ([3b78e370](https://github.com/gluon-lang/gluon/commit/3b78e3708c98dc3a383c6f2acec792ab91e157f4))
* Print the correct source on errors in the repl ([159eaf99](https://github.com/gluon-lang/gluon/commit/159eaf99aeaafbff43ce55557fadb8d5e843ab19), closes [#568](https://github.com/gluon-lang/gluon/issues/568))
* **check:** Don't shadow more general variant constructors ([182c3960](https://github.com/gluon-lang/gluon/commit/182c396086e17bbc03111f445436099fa31ab5c2), closes [#548](https://github.com/gluon-lang/gluon/issues/548))
* **completion:** Avoid panicking on env_type_of calls ([c63cf2fb](https://github.com/gluon-lang/gluon/commit/c63cf2fbe52f4cd4604ce580889a0035e43dc8f5))
* **format:**
* Update pretty to avoid panickingon multiline strings in debug mode ([bb4d05da](https://github.com/gluon-lang/gluon/commit/bb4d05da9e5158186dea3d81769993ffe6dc05eb))
* Don't panic on multiline strings ([7662f38f](https://github.com/gluon-lang/gluon/commit/7662f38f30744cbac83222fd5b855a36eb47b9ec))
* **repl:**
* Don't panic on solo array literals ([5bffdfa9](https://github.com/gluon-lang/gluon/commit/5bffdfa97e80f5e69bf8d58d7c3328936cfa76e8), closes [#555](https://github.com/gluon-lang/gluon/issues/555))
* Don't fail with a parse error on lines only containing a comment ([f5819bca](https://github.com/gluon-lang/gluon/commit/f5819bca3b7ea9013088ed798c93a53697edbee3), closes [#559](https://github.com/gluon-lang/gluon/issues/559))

#### Features

* Allow type definitions to be declared inside types ([d47508d9](https://github.com/gluon-lang/gluon/commit/d47508d9fb610b7c25a742c619f62bb7730e1408))
* Add debug.show ([0c962722](https://github.com/gluon-lang/gluon/commit/0c96272237567e098f2f692e5ac9350b19e39c30))



<a name="v0.8.0"></a>
## v0.8.0 (2018-06-14)

Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "gluon"
version = "0.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus <[email protected]>"]
build = "build.rs"

Expand All @@ -22,10 +22,10 @@ name = "gluon"
path = "src/lib.rs"

[dependencies]
gluon_base = { path = "base", version = "0.8.0" } # GLUON
gluon_check = { path = "check", version = "0.8.0" } # GLUON
gluon_parser = { path = "parser", version = "0.8.0" } # GLUON
gluon_vm = { path = "vm", version = "0.8.0", default-features = false } # GLUON
gluon_base = { path = "base", version = "0.8.1" } # GLUON
gluon_check = { path = "check", version = "0.8.1" } # GLUON
gluon_parser = { path = "parser", version = "0.8.1" } # GLUON
gluon_vm = { path = "vm", version = "0.8.1", default-features = false } # GLUON

log = "0.4"
quick-error = "1.0.0"
Expand Down Expand Up @@ -73,8 +73,8 @@ bincode = "1"

pulldown-cmark = "0.1"

gluon_completion = { path = "completion", version = "0.8.0" } # GLUON
gluon_codegen = { path = "codegen", version = "0.8.0" } # GLUON
gluon_completion = { path = "completion", version = "0.8.1" } # GLUON
gluon_codegen = { path = "codegen", version = "0.8.1" } # GLUON

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

```toml
[dependencies]
gluon = "0.8.0"
gluon = "0.8.1"
```

### Other languages
Expand Down
2 changes: 1 addition & 1 deletion base/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_base"
version = "0.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus <[email protected]>"]

license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion base/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! The base crate contains pervasive types used in the compiler such as type representations, the
//! AST and some basic containers.
#![doc(html_root_url = "https://docs.rs/gluon_base/0.8.0")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_base/0.8.1")] // # GLUON

#[macro_use]
extern crate collect_mac;
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.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus Westerlind <[email protected]>"]

license = "MIT"
Expand All @@ -14,7 +14,7 @@ documentation = "https://docs.rs/gluon"
crate-type = ["cdylib"]

[dependencies]
gluon = { version = "0.8.0", path = ".." } # GLUON
gluon = { version = "0.8.1", path = ".." } # GLUON

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
libc = "0.2.14"
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.8.0")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_c-api/0.8.1")] // # GLUON

extern crate gluon;
#[cfg(not(target_arch = "wasm32"))]
Expand Down
6 changes: 3 additions & 3 deletions check/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_check"
version = "0.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus <[email protected]>"]

license = "MIT"
Expand All @@ -24,8 +24,8 @@ codespan-reporting = "0.1"

strsim = "0.7.0"

gluon_base = { path = "../base", version = "0.8.0" } # GLUON
gluon_parser = { path = "../parser", version = "0.8.0", optional = true } # GLUON
gluon_base = { path = "../base", version = "0.8.1" } # GLUON
gluon_parser = { path = "../parser", version = "0.8.1", optional = true } # GLUON

[dev-dependencies]
env_logger = "0.5"
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.8.0")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_check/0.8.1")] // # GLUON

extern crate codespan;
extern crate codespan_reporting;
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.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus <[email protected]>"]

license = "MIT"
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.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus <[email protected]>"]

license = "MIT"
Expand All @@ -16,11 +16,11 @@ itertools = "0.7"
walkdir = "2"
codespan = "0.1.1"

gluon_base = { path = "../base", version = "0.8.0" } # GLUON
gluon_base = { path = "../base", version = "0.8.1" } # GLUON

[dev-dependencies]
collect-mac = "0.1.0"
env_logger = "0.5.0"

gluon_check = { path = "../check", version = "0.8.0" } # GLUON
gluon_parser = { path = "../parser", version = "0.8.0" } # GLUON
gluon_check = { path = "../check", version = "0.8.1" } # GLUON
gluon_parser = { path = "../parser", version = "0.8.1" } # 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.8.0")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_completion/0.8.1")] // # GLUON

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

license = "MIT"
Expand Down Expand Up @@ -28,5 +28,5 @@ serde = "1.0.0"
serde_derive = "1.0.0"
serde_json = "1.0.0"

gluon = { version = "0.8.0", path = ".." } # GLUON
gluon = { version = "0.8.1", path = ".." } # GLUON

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.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus <[email protected]>"]

license = "MIT"
Expand All @@ -16,8 +16,8 @@ pretty = "0.5"
itertools = "0.7"
codespan = "0.1.1"

gluon_base = { path = "../base", version = "0.8.0" } # GLUON
gluon = { path = "..", version = "0.8.0" } # GLUON
gluon_base = { path = "../base", version = "0.8.1" } # GLUON
gluon = { path = "..", version = "0.8.1" } # GLUON

[dev-dependencies]
env_logger = "0.5.0"
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.8.0")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_formatter/0.8.1")] // # GLUON

extern crate codespan;
extern crate gluon;
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.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus <[email protected]>"]

license = "MIT"
Expand All @@ -19,7 +19,7 @@ quick-error = "1.0.0"
lalrpop-util = "0.15.1"
log = "0.4"
pretty = "0.5"
gluon_base = { path = "../base", version = "0.8.0" } # GLUON
gluon_base = { path = "../base", version = "0.8.1" } # GLUON
ordered-float = "0.5.0" # gluon_base
codespan = "0.1.1"
codespan-reporting = "0.1.1"
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.8.0")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon_parser/0.8.1")] // # GLUON

extern crate codespan;
extern crate codespan_reporting;
Expand Down
12 changes: 6 additions & 6 deletions repl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_repl"
version = "0.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus Westerlind <[email protected]>"]

license = "MIT"
Expand All @@ -16,11 +16,11 @@ doc = false

[dependencies]

gluon = { version = "0.8.0", path = "..", features = ["serialization"] } # GLUON
gluon_vm = { version = "0.8.0", path = "../vm", features = ["serialization"] } # GLUON
gluon_completion = { path = "../completion", version = "0.8.0" } # GLUON
gluon_format = { version = "0.8.0", path = "../format" } # GLUON
gluon_doc = { version = "0.8.0", path = "../doc" } # GLUON
gluon = { version = "0.8.1", path = "..", features = ["serialization"] } # GLUON
gluon_vm = { version = "0.8.1", path = "../vm", features = ["serialization"] } # GLUON
gluon_completion = { path = "../completion", version = "0.8.1" } # GLUON
gluon_format = { version = "0.8.1", path = "../format" } # GLUON
gluon_doc = { version = "0.8.1", path = "../doc" } # GLUON

app_dirs = "1.0.0"
futures = "0.1.11"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! behaviour. For information about how to use this library the best resource currently is the
//! [tutorial](https://github.com/gluon-lang/gluon/blob/master/TUTORIAL.md) 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.8.0")] // # GLUON
#![doc(html_root_url = "https://docs.rs/gluon/0.8.1")] // # GLUON

#[cfg(test)]
extern crate env_logger;
Expand Down
8 changes: 4 additions & 4 deletions vm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gluon_vm"
version = "0.8.0" # GLUON
version = "0.8.1" # GLUON
authors = ["Markus <[email protected]>"]

license = "MIT"
Expand Down Expand Up @@ -31,8 +31,8 @@ serde_state = { version = "0.4.0", optional = true }
serde_derive = { version = "1.0.0", optional = true }
serde_derive_state = { version = "0.4.0", optional = true }

gluon_base = { path = "../base", version = "0.8.0" } # GLUON
gluon_check = { path = "../check", version = "0.8.0" } # GLUON
gluon_base = { path = "../base", version = "0.8.1" } # GLUON
gluon_check = { path = "../check", version = "0.8.1" } # GLUON

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio-core = "0.1"
Expand All @@ -50,7 +50,7 @@ lalrpop-util = "0.15.1"
regex = "0.2.0"
serde_json = "1.0.0"

gluon_parser = { path = "../parser", version = "0.8.0" } # GLUON
gluon_parser = { path = "../parser", version = "0.8.1" } # GLUON

[features]
serialization = ["serde", "serde_state", "serde_derive", "serde_derive_state", "gluon_base/serialization", "codespan/serialization"]
Expand Down

0 comments on commit 35fd2a4

Please sign in to comment.