NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4072 most downloaded on crates.io
Map implementation with starlark-rust specific optimizations
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 6 of 7 stable releases
1 version withdrawn
withdrawn after publishing
3 years old
8 releases · first in 2023
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.One column per quarter.