Skip to content

Commit

Permalink
Prepare a new Starlark release
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Nov 22, 2021
1 parent 4fc2668 commit 5234779
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions starlark/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion starlark_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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."
Expand Down

0 comments on commit 5234779

Please sign in to comment.