diff options
author | Neil Mitchell <ndmitchell@fb.com> | 2021-11-22 04:03:14 -0800 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2021-11-22 04:04:38 -0800 |
commit | 52347792ebbc12db53aabb5fa81e409c559d08ac (patch) | |
tree | 0f49439e55df1caa69625dad2499e3f594e2e1c0 | |
parent | 4fc26687df9a975eeb26f6b3d6f995d188fd00ba (diff) |
Prepare a new Starlark releasev0.6.0
Summary: As requested in https://github.com/facebookexperimental/starlark-rust/issues/29#issuecomment-974821986. The changelog represents 538 commits since the last release, so took a while to write!
Reviewed By: krallin
Differential Revision: D32592072
fbshipit-source-id: 63cd0d048c812ee41872843aa495cee6db786471
-rw-r--r-- | CHANGELOG.md | 20 | ||||
-rw-r--r-- | starlark/Cargo.toml | 4 | ||||
-rw-r--r-- | starlark_derive/Cargo.toml | 2 |
3 files changed, 23 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e06c475..ab274176 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Starlark +## 0.6.0 (November 22, 2021) + +There have been many changes since the last release, focused on performance, documentation, type safety and profiling. These changes caused a number of API changes and behavioural changes, the most significant of which are listed below. + +* Support for newer versions of `anyhow`. +* Some error messages contain "did you mean" suggestions. +* Addition of a bytecode interpreter, with associated performance gains. +* Constant propagation and speculative execution during compilation. +* Removed mutability around the file loader and `set_loader`. +* Several new forms of profiling, making use of the new `extra_memory` function. +* Improved errors from derivations. +* Changes around function invocation, in particular `Arguments` is now opaque. +* Changes around `ConstFrozenString`, which is now `StarlarkStrN`. +* Add `OwnedFrozenValue::owner`. +* Add `derive` support for `Freeze`. +* Add more Starlark typed wrappers, such as `StringValue` and `ValueTyped`. +* Make tuples and lists opaque types, with new functions for allocating them (e.g. `alloc_tuple`). +* Make all Starlark types implement `Display` in preference to `collect_repr`. +* Support for documentation annotations on all types. + ## 0.5.0 (August 26, 2021) There have been many changes since the last release, primarily focused on performance (up to 100x in some benchmarks). These changes caused a number of API changes, the most significant of which are listed below. diff --git a/starlark/Cargo.toml b/starlark/Cargo.toml index f5665095..51eb5ecc 100644 --- a/starlark/Cargo.toml +++ b/starlark/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "starlark" edition = "2021" -version = "0.5.0" +version = "0.6.0" license = "Apache-2.0" description = "An implementation of the Starlark language in Rust." documentation = "https://docs.rs/starlark" @@ -36,7 +36,7 @@ fnv = "1.0.7" static_assertions = "1.1.0" memoffset = "0.6.4" thiserror = "1.0.9" -starlark_derive = { version = "0.5.0", path = "../starlark_derive" } +starlark_derive = { version = "0.6.0", path = "../starlark_derive" } # @oss-disable: gazebo = { path = "../../gazebo/gazebo", features = ["str_pattern_extensions"] } gazebo = { version = "0.4.2", features = ["str_pattern_extensions"] } # @oss-enable # @oss-disable: gazebo_lint = { path = "../../gazebo_lint/gazebo_lint" } diff --git a/starlark_derive/Cargo.toml b/starlark_derive/Cargo.toml index d8475a41..8b0782fa 100644 --- a/starlark_derive/Cargo.toml +++ b/starlark_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "starlark_derive" -version = "0.5.0" +version = "0.6.0" edition = "2021" license = "Apache-2.0" description = "Derive helpers for the starlark package." |