Skip to content

Commit 5234779

Browse files
ndmitchellfacebook-github-bot
authored andcommitted
Prepare a new Starlark release
Summary: As requested in #29 (comment). 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
1 parent 4fc2668 commit 5234779

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Starlark
22

3+
## 0.6.0 (November 22, 2021)
4+
5+
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.
6+
7+
* Support for newer versions of `anyhow`.
8+
* Some error messages contain "did you mean" suggestions.
9+
* Addition of a bytecode interpreter, with associated performance gains.
10+
* Constant propagation and speculative execution during compilation.
11+
* Removed mutability around the file loader and `set_loader`.
12+
* Several new forms of profiling, making use of the new `extra_memory` function.
13+
* Improved errors from derivations.
14+
* Changes around function invocation, in particular `Arguments` is now opaque.
15+
* Changes around `ConstFrozenString`, which is now `StarlarkStrN`.
16+
* Add `OwnedFrozenValue::owner`.
17+
* Add `derive` support for `Freeze`.
18+
* Add more Starlark typed wrappers, such as `StringValue` and `ValueTyped`.
19+
* Make tuples and lists opaque types, with new functions for allocating them (e.g. `alloc_tuple`).
20+
* Make all Starlark types implement `Display` in preference to `collect_repr`.
21+
* Support for documentation annotations on all types.
22+
323
## 0.5.0 (August 26, 2021)
424

525
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.

starlark/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "starlark"
33
edition = "2021"
4-
version = "0.5.0"
4+
version = "0.6.0"
55
license = "Apache-2.0"
66
description = "An implementation of the Starlark language in Rust."
77
documentation = "https://docs.rs/starlark"
@@ -36,7 +36,7 @@ fnv = "1.0.7"
3636
static_assertions = "1.1.0"
3737
memoffset = "0.6.4"
3838
thiserror = "1.0.9"
39-
starlark_derive = { version = "0.5.0", path = "../starlark_derive" }
39+
starlark_derive = { version = "0.6.0", path = "../starlark_derive" }
4040
# @oss-disable: gazebo = { path = "../../gazebo/gazebo", features = ["str_pattern_extensions"] }
4141
gazebo = { version = "0.4.2", features = ["str_pattern_extensions"] } # @oss-enable
4242
# @oss-disable: gazebo_lint = { path = "../../gazebo_lint/gazebo_lint" }

starlark_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "starlark_derive"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
description = "Derive helpers for the starlark package."

0 commit comments

Comments
 (0)