NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4267 most downloaded on crates.io
An implementation of the Starlark language in Rust.
Latest stable
0.14.2
Last release 5 months ago
05 Jun 2026
Release timing varies
gaps range from 1 weeks to 1.4 years
Most releases are documented
notes for 14 of 20 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
21 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
There were nearly five hundred commits since the last release. The highlights are the bytes type, full expression support in f-strings, a 2x-faster re
There were nearly five hundred commits since the last release. The highlights
are the bytes type, full expression support in f-strings, a 2x-faster
recursive-descent parser, and a significant rework of heap lifetimes.
bytes type: b"..." literals, bytes() constructor,
methods like .elems(), indexing, and slicing.{} placeholders now accept arbitrary expressions
(arithmetic, function calls, indexing, comprehensions, conditionals), not
just identifiers. Adds !s and !r conversion specifiers.start and end parameters to str.startswith() and
str.endswith().default as a named argument in dict.pop().Enum.Value syntax for accessing enum variants.x = 1,).ParserKind.AstModule::comments().Parser trait with ParseError.&'v Heap is now Heap<'v> (invariant).
Module::new is private; use Module::with_heap,
Module::with_temp_heap, or Module::with_temp_heap_async instead.
Freezer is now non-owning.FrozenRef removed: FrozenRef and OwnedFrozenRef are deleted.
Use FrozenValueTyped and FrozenAnyValue<T> / FrozenAnyArray<T>
instead.Value<'v> is no longer Send + Sync.StarlarkFunction removed in favor of StarlarkCallable.AnyLifetime is now sealed instead of unsafe.Evaluator is covariant over 'a.OwnedFrozenValue::alloc and its Default impl removed.UnpackValue, TyUser::new, and error functions now return
starlark::Error instead of anyhow::Error.StarlarkSerialize / StarlarkDeserialize added as trait bounds on
StarlarkValue (default panic impls are auto-generated by
#[starlark_value]).exported_name deleted.Value::function_name() for def/lambda/native callables.collect_str vtable method on StarlarkValue.callstack_nth_location function.BeforeStmtFunc exported from starlark::eval.OwnedHeap, Heap::temp, HeapSendable for frozen heaps.Module::with_heap, Module::with_temp_heap,
Module::with_temp_heap_async.access_owned_frozen_value with branded lifetime guarantees.freeze_named / into_ref_named) with reference
inspection.extra_mut on Evaluator for mutable access to extras.peak_allocated_bytes in frozen heap.RecordType and positional from the public API.starlark-syntax crate.unpack_str_err convenience function.gen_flame_data returns Option instead of panicking.Freeze for ValueTyped and 5-element tuples.Display for ValueTypedComplex and ValueOf.UnpackValue and StarlarkTypeRepr on single-field structs.#[starlark_module] macro supports generic functions and methods.starlark_mapSmallMap::and_modify entry API method.SmallSet::reserve.SmallSet::hashed().Vec2 pair collection from iterators.#[starlark_value] macro bodies.find_call_by_name supports dot expressions (e.g. foo.bar()).# comments.LspOpError; remove anyhow errors from LSP.vscode-languageclient.FrozenThinBoxSlice made thinner; add ThinBoxSliceFrozenValue.cmd_args.add().Instant::now() guarded behind platform checks).reserve.FreezeResult in Freeze derive macro.OwnedFrozenValueTyped and FrozenHeap allocation.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Some API changes (but alas, too many for us to enumerate).
dict[str, int] now.set data type.Trace, Allocative, AllocValue etc).Implemented reverse() for SmallMap.
reverse() for SmallMap.OrderedSet.OwnedFrozenRef.call_stack_frame() function.assert.dashmap from 5.4.0 to 5.5.3.hashbrown from 0.13.2 to 0.14.3.allocative from 0.3.1 to 0.3.2.UnpackValue is no longer implemented for Vec. Instead, UnpackList, UnpackTuple or UnpackListOrTuple can be used.
UnpackValue is no longer implemented for Vec. Instead, UnpackList, UnpackTuple or UnpackListOrTuple can be used.call_stack() function.experimental_regex() function.anyhow::Error and Diagnostic to starlark::Error in many APIs.repr() for enums.SortedMap."bool" are no longer supported. See the revised typing documentation.There were over eight hundred commits since the last release, with the main areas of change including:
There were over eight hundred commits since the last release, with the main areas of change including:
starlark_syntax, starlark_lsp, starlark_bin crates.starlark_syntax.{str.type, ""} becomes dict[str, typing.Any].There were over one thousand commits since the last release, with the main areas of change including:
There were over one thousand commits since the last release, with the main areas of change including:
Module.names to get the symbols in a module.Value to support reduced stack space and enable future garbage collection, removing iterate_collect and with_iterator.% string formatting.StarlarkTypeRepr as a trait for things that have a type representation.List/Dict are specified, making their internals private and introducing ListRef/DictRef for pointers to them.AllocStruct, AllocList and AllocDict as helpers to allocate the various types more efficiently.dedupe Starlark function.allocative crate to support the Allocative trait.Trace implementations.Module.loads also return the FileSpan.FrozenModule.get_option.starlark_map crate for SmallMap and optimise it.starlark_type! macro.Module.extra_v to be Value<'v>.FrozenHeap from Freezer and GlobalsBuilder.Value::new_int.starlark_module functions must be more explicit - return anyhow::Result, have an explicit 'v parameter, explicit heap/eval arguments.StringValueLike to cover string types that are values.json extension method to be json.encode and json.decode.gazebo library.starlark_module annotations to be #[starlark(...)], #[starlark(require = named)] for name-only parameters.starlark binary spawn the REPL by default.Dialect option to enable types.Redo StringValue and FrozenStringValue as aliases for ValueTyped and FrozenValueTyped respectively.
StringValue and FrozenStringValue as aliases for ValueTyped<StarlarkStr> and FrozenValueTyped<StarlarkStr> respectively.ValueTyped.FromStr for ProfileMode.Eq for BorrowHashed .1 << -2.StarlarkValue::bit_not for the bit-negation operator.None values.get_index to SmallSet.Regex type - note this is likely to change API in the next release and is not considered stable.StringValue and FrozenStringValue as aliases for ValueTyped<StarlarkStr> and FrozenValueTyped<StarlarkStr> respectively.ValueTyped.FromStr for ProfileMode.Eq for BorrowHashed .1 << -2.StarlarkValue::bit_not for the bit-negation operator.None values.get_index to SmallSet.Regex type - note this is likely to change API in the next release and is not considered stable.## 0.7.1 (April 13, 2022) * Add MethodsBuilder::alloc.
MethodsBuilder::alloc.There have been many changes since the last release, focused on performance and features. These changes caused a number of API changes and behavioural
There have been many changes since the last release, focused on performance and features. These changes caused a number of API changes and behavioural changes, the most significant of which are listed below.
Serialize, and provide derive(NoSerialize) to easily add a failing Serialize.collection_json.gazebo dependency.SmallSet now returns an ExactSizeIterator.StringValue type, for Values which are known to be strings.SimpleValue.Span type.SmallHashResult to SmallHashValue.There have been many changes since the last release, focused on performance, documentation, type safety and profiling. These changes caused a number o
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.
anyhow.set_loader.extra_memory function.Arguments is now opaque.ConstFrozenString, which is now StarlarkStrN.OwnedFrozenValue::owner.derive support for Freeze.StringValue and ValueTyped.alloc_tuple).Display in preference to collect_repr.There have been many changes since the last release, primarily focused on performance (up to 100x in some benchmarks). These changes caused a number o
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_module crate to starlark_derive.walk methods to trace to align to standard GC literature.derive for Trace.StarlarkAttrs derivation and scheme.SmallMap API.invoke to take an Arguments structure.unsafe.gazebo Coerce trait extensively, in particular required for some of the starlark_value macros.dict.copy and list.copy, since they aren't in the Starlark spec.UnpackValue no longer takes a heap argument.Move repo to https://github.com/facebookexperimental/starlark-rust.
#[starlark_module] proc-macro.Commits and tag exist in https://github.com/indygreg/starlark-rust.
X.Y.Z to X.Y to allow adopting newer
point releases.The code was developed at https://github.com/google/starlark-rust.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.