Skip to content

Commit

Permalink
chore: Prepare 0.8.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Jan 19, 2021
1 parent 2afd726 commit 0f3f1b3
Show file tree
Hide file tree
Showing 25 changed files with 195 additions and 55 deletions.
164 changes: 152 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,148 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

[Unreleased]: https://github.com/rune-rs/rune/compare/0.8.0...main

## [0.8.0]

### Added
* Support for `#[test]` annotations ([#218], [#222]) (thanks [tgolsson]!).
* Add `file!()` and `line!()` macros ([#168]) (thanks [tgolsson]!).
* Support for field functions and derives to implement them ([#169], [#170]).
* Support for `crate` in modules ([#172]).
* `std::any` APIs for runtime inspection of types ([#178]) (thanks [tgolsson]!).
* Support for range expressions ([#180]).
* Missing implementations for `FromValue` conversions for `i16` and `u16` ([#235]) (thanks [genusistimelord]!).
* More APIs and iterator-heavy benchmark ([#232]) (thanks [tgolsson]!).
* Added initial benchmarks ([#189]).
* Added cellular automata benchmark ([#220]) (thanks [tgolsson]!).
* Added fibonacci and brainfuck benchmarks ([#193]) (thanks [tgolsson]!).
* Projection APIs for internal `Ref` / `RefMut` ([#211]).
* **Many** API additions and fixes ([#219], [#229], [#233], [#241], [#196], [#199], [#185]) (thanks [tgolsson]!).
* Annotations to improve measuring the performance of individual operations in the VM ([#190]).
* Pattern matching for booleans ([#188]) (thanks [genusistimelord]!).
* Added support for `continue` inside of loops ([#183]).
* Add support for registering and accessing runtime constants ([#239]).
* Support for panicking pattern binding in function arguments ([#195]).
* Added parsing for yet-to-be supported path segments ([#206]).
* Add basic support for threaded execution ([#97]).

### Changed
* Minor changes ([#247], [#208]).
* Improved CLI with `cargo`-like subcommands ([#223]) (thanks [tgolsson]!).
* Compile-time metadata has been simplified ([#163], [#164]).
* Internal compiler improvements ([#173], [#174]).
* Make types used in `Context` iteration APIs public ([#176]).
* Slim down the size of runtime meta ([#177]).
* Change and improve how protocol functions are called ([#210], [#209]).
* Improve performance of runtime hashing ([#191]).
* Improve diagnostics when using an exclusive reference which is not exclusive ([#213]).
* Improve performance by reducing the number of copies generated ([#194]).
* Make compile hooks refcounted for increased flexibility ([#221]).
* Expose LSP server as a modular library for custom uses ([#186]) (thanks [tgolsson]!).
* Improve performance of small objects by using BTreeMap for field storage ([#231]) (thanks [tgolsson]!).
* Report errors and warnings through same diagnostics structure ([#227], [#228]).

### Fixed
* Minor fixes ([#198], [#201]).
* Documentation fixes and improvements ([#248], [#234], [#242]) (thanks [robojumper], [maxmcd], and [hvithrafn]!).
* Fix negative fractional literals ([#184]) (thanks [tgolsson]!).
* Various fixes for use in [OxidizeBot] ([#161]).
* Bug with using wrong protocol for `MUL` and `DIV` ([#167]).
* Add missing macro modules in rune-wasm ([#171]) (thanks [tgolsson]!).
* Fixed buggy visibility checks for paths ([#175]).
* Various fixes and improvements due to [AoC] ([#181], [#187], [#192], [#197], [#203], [#204], [#205], [#216], [#217]).
* Give `SourceLoader` a lifetime ([#245]) (thanks [tgolsson]!).
* Fix miscompilation in struct literals ([#246]) (thanks [robojumper]!).
* Fix miscompilation in pattern matching ([#214]).
* Introduced and fixed binding bug ([#202]).
* Fix so that different variants of the same enum have different equalities ([#215]).
* Make float associated fns associated ([#240]) (thanks [tgolsson]!).
* Bump nanorand to fix incorrect generation of random numbers in `rand` module ([#243]) (thanks [tgolsson]!).
* Fixed broken assembly of more than one `if else` ([#230]).

[#97]: https://github.com/rune-rs/rune/pull/97
[#161]: https://github.com/rune-rs/rune/pull/161
[#163]: https://github.com/rune-rs/rune/pull/163
[#164]: https://github.com/rune-rs/rune/pull/164
[#167]: https://github.com/rune-rs/rune/pull/167
[#168]: https://github.com/rune-rs/rune/pull/168
[#169]: https://github.com/rune-rs/rune/pull/169
[#170]: https://github.com/rune-rs/rune/pull/170
[#171]: https://github.com/rune-rs/rune/pull/171
[#172]: https://github.com/rune-rs/rune/pull/172
[#173]: https://github.com/rune-rs/rune/pull/173
[#174]: https://github.com/rune-rs/rune/pull/174
[#175]: https://github.com/rune-rs/rune/pull/175
[#176]: https://github.com/rune-rs/rune/pull/176
[#180]: https://github.com/rune-rs/rune/pull/180
[#181]: https://github.com/rune-rs/rune/pull/181
[#183]: https://github.com/rune-rs/rune/pull/183
[#184]: https://github.com/rune-rs/rune/pull/184
[#185]: https://github.com/rune-rs/rune/pull/185
[#186]: https://github.com/rune-rs/rune/pull/186
[#187]: https://github.com/rune-rs/rune/pull/187
[#188]: https://github.com/rune-rs/rune/pull/188
[#189]: https://github.com/rune-rs/rune/pull/189
[#190]: https://github.com/rune-rs/rune/pull/190
[#191]: https://github.com/rune-rs/rune/pull/191
[#192]: https://github.com/rune-rs/rune/pull/192
[#193]: https://github.com/rune-rs/rune/pull/193
[#194]: https://github.com/rune-rs/rune/pull/194
[#195]: https://github.com/rune-rs/rune/pull/195
[#196]: https://github.com/rune-rs/rune/pull/196
[#197]: https://github.com/rune-rs/rune/pull/197
[#198]: https://github.com/rune-rs/rune/pull/198
[#199]: https://github.com/rune-rs/rune/pull/199
[#202]: https://github.com/rune-rs/rune/pull/202
[#203]: https://github.com/rune-rs/rune/pull/203
[#204]: https://github.com/rune-rs/rune/pull/204
[#205]: https://github.com/rune-rs/rune/pull/205
[#206]: https://github.com/rune-rs/rune/pull/206
[#208]: https://github.com/rune-rs/rune/pull/208
[#209]: https://github.com/rune-rs/rune/pull/209
[#210]: https://github.com/rune-rs/rune/pull/210
[#211]: https://github.com/rune-rs/rune/pull/211
[#214]: https://github.com/rune-rs/rune/pull/214
[#215]: https://github.com/rune-rs/rune/pull/215
[#216]: https://github.com/rune-rs/rune/pull/216
[#217]: https://github.com/rune-rs/rune/pull/217
[#218]: https://github.com/rune-rs/rune/pull/218
[#219]: https://github.com/rune-rs/rune/pull/219
[#220]: https://github.com/rune-rs/rune/pull/220
[#221]: https://github.com/rune-rs/rune/pull/221
[#222]: https://github.com/rune-rs/rune/pull/222
[#223]: https://github.com/rune-rs/rune/pull/223
[#227]: https://github.com/rune-rs/rune/pull/227
[#228]: https://github.com/rune-rs/rune/pull/228
[#229]: https://github.com/rune-rs/rune/pull/229
[#230]: https://github.com/rune-rs/rune/pull/230
[#231]: https://github.com/rune-rs/rune/pull/231
[#232]: https://github.com/rune-rs/rune/pull/232
[#233]: https://github.com/rune-rs/rune/pull/233
[#234]: https://github.com/rune-rs/rune/pull/234
[#235]: https://github.com/rune-rs/rune/pull/235
[#239]: https://github.com/rune-rs/rune/pull/239
[#240]: https://github.com/rune-rs/rune/pull/240
[#241]: https://github.com/rune-rs/rune/pull/241
[#242]: https://github.com/rune-rs/rune/pull/242
[#243]: https://github.com/rune-rs/rune/pull/243
[#245]: https://github.com/rune-rs/rune/pull/245
[#246]: https://github.com/rune-rs/rune/pull/246
[#247]: https://github.com/rune-rs/rune/pull/247
[#248]: https://github.com/rune-rs/rune/pull/248

[robojumper]: https://github.com/robojumper
[tgolsson]: https://github.com/tgolsson
[genusistimelord]: https://github.com/genusistimelord
[maxmcd]: https://github.com/maxmcd
[hvithrafn]: https://github.com/hvithrafn

[0.8.0]: https://github.com/rune-rs/rune/compare/0.7.0...0.8.0

[OxidizeBot]: https://github.com/udoprog/OxidizeBot
[AoC]: https://adventofcode.com/

## [0.7.0]

### Added
Expand Down Expand Up @@ -96,17 +238,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[`structopt`]: https://docs.rs/structopt

[Sparkpin]: https://github.com/Sparkpin
[seanchen1991]: https://github.com/seanchen1991
[stoically]: https://github.com/stoically
[MinusGix]: https://github.com/MinusGix
[shekohex]: https://github.com/shekohex
[macginitie]: https://github.com/macginitie
[genusistimelord]: https://github.com/genusistimelord
[killercup]: https://github.com/killercup
[dillonhicks]: https://github.com/dillonhicks
[aspenluxxxy]: https://github.com/aspenluxxxy

[#10]: https://github.com/rune-rs/rune/issues/10
[#11]: https://github.com/rune-rs/rune/pull/11
[#12]: https://github.com/rune-rs/rune/pull/12
Expand Down Expand Up @@ -226,4 +357,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[0.7.0]: https://github.com/rune-rs/rune/compare/0.6.16...0.7.0

[Unreleased]: https://github.com/rune-rs/rune/compare/0.7.0...main
[Sparkpin]: https://github.com/Sparkpin
[seanchen1991]: https://github.com/seanchen1991
[stoically]: https://github.com/stoically
[MinusGix]: https://github.com/MinusGix
[shekohex]: https://github.com/shekohex
[macginitie]: https://github.com/macginitie
[genusistimelord]: https://github.com/genusistimelord
[killercup]: https://github.com/killercup
[dillonhicks]: https://github.com/dillonhicks
[aspenluxxxy]: https://github.com/aspenluxxxy
8 changes: 4 additions & 4 deletions crates/rune-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune-cli"
version = "0.7.0"
version = "0.8.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand All @@ -24,9 +24,9 @@ anyhow = "1.0.34"
bincode = "1.3.1"
structopt = { version = "0.3.21", default-features = false, features = ["wrap_help", "suggestions", "color"] }

rune = {version = "0.7.0", path = "../rune"}
rune-modules = {version = "0.7.0", path = "../rune-modules", features = ["full", "experiments"]}
runestick = {version = "0.7.0", path = "../runestick"}
rune = {version = "0.8.0", path = "../rune"}
rune-modules = {version = "0.8.0", path = "../rune-modules", features = ["full", "experiments"]}
runestick = {version = "0.8.0", path = "../runestick"}

[build-dependencies]
anyhow = "1.0.34"
Expand Down
8 changes: 4 additions & 4 deletions crates/rune-languageserver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune-languageserver"
version = "0.7.0"
version = "0.8.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand Down Expand Up @@ -28,9 +28,9 @@ log = "0.4.11"
log4rs = "1.0.0-alpha-2"
ropey = "1.2.0"

rune = {version = "0.7.0", path = "../rune"}
rune-modules = {version = "0.7.0", path = "../rune-modules", features = ["full", "experiments"]}
runestick = {version = "0.7.0", path = "../runestick"}
rune = {version = "0.8.0", path = "../rune"}
rune-modules = {version = "0.8.0", path = "../rune-modules", features = ["full", "experiments"]}
runestick = {version = "0.8.0", path = "../runestick"}

[build-dependencies]
anyhow = "1.0.34"
4 changes: 2 additions & 2 deletions crates/rune-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune-macros"
version = "0.7.0"
version = "0.8.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand All @@ -20,7 +20,7 @@ quote = "1.0.7"
proc-macro2 = { version = "1.0.24", features = ["span-locations"] }

[dev-dependencies]
rune = {version = "0.7.0", path = "../rune"}
rune = {version = "0.8.0", path = "../rune"}

[lib]
proc-macro = true
Expand Down
6 changes: 3 additions & 3 deletions crates/rune-modules/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune-modules"
version = "0.7.0"
version = "0.8.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand Down Expand Up @@ -38,8 +38,8 @@ serde_json = { version = "1.0.60", optional = true }
toml = { version = "0.5.7", optional = true }
nanorand = { version = "0.5.2", optional = true, features = ["getrandom"] }

rune = {version = "0.7.0", path = "../rune"}
runestick = {version = "0.7.0", path = "../runestick"}
rune = {version = "0.8.0", path = "../rune"}
runestick = {version = "0.8.0", path = "../runestick"}

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion crates/rune-modules/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["test"]}
//! rune-modules = {version = "0.8.0", features = ["test"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/experiments/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["experiments"]}
//! rune-modules = {version = "0.8.0", features = ["experiments"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["fmt"]}
//! rune-modules = {version = "0.8.0", features = ["fmt"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["fs"]}
//! rune-modules = {version = "0.8.0", features = ["fs"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["http", "json"]}
//! rune-modules = {version = "0.8.0", features = ["http", "json"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["io"]}
//! rune-modules = {version = "0.8.0", features = ["io"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["json"]}
//! rune-modules = {version = "0.8.0", features = ["json"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["macros"]}
//! rune-modules = {version = "0.8.0", features = ["macros"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["process"]}
//! rune-modules = {version = "0.8.0", features = ["process"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/rand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["rand"]}
//! rune-modules = {version = "0.8.0", features = ["rand"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["signal"]}
//! rune-modules = {version = "0.8.0", features = ["signal"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["test"]}
//! rune-modules = {version = "0.8.0", features = ["test"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["time"]}
//! rune-modules = {version = "0.8.0", features = ["time"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.7.0", features = ["toml"]}
//! rune-modules = {version = "0.8.0", features = ["toml"]}
//! ```
//!
//! Install it into your context:
Expand Down
Loading

0 comments on commit 0f3f1b3

Please sign in to comment.