Compatibility in 1.x
Rook follows Semantic Versioning. A 1.x minor release can add backward-compatible features. A patch release can fix bugs. Changes that break the public contract require a new major version. See the changelog for the move from 0.8.0.
- Language. The syntax and behavior in this specification and the component design
are stable where they describe implemented features and carry no experimental label. This
includes
structvalues, sharing structures across threads, mutexes andStructsnapshots. Experimental features can change in 1.x. They include server markup and components,rooklang/serverand the strict shared-access check. - Tools. The commands
rook build,rook check,rook run,rook fmtandrook init, their documented options and the exit statuses for success and failure are public, except for experimental features. Diagnostic wording, formatting, debug dumps fromrook astandrook tokens, and the trace event format can evolve. - Package. The public APIs are the exports and TypeScript signatures of
rooklang,rooklang/browser,rooklang/vite,rooklang/bunandrooklang/bun/register, except for options specific to experimental features.RookErrorandStructare public exports ofrooklang/runtime. The helpers prefixed with$$and the entry pointrooklang/runtime/flatbuffersare compiler implementation details. - Build output. Keep the compiler and runtime on the same package version and rebuild all
Rook modules, including generated workers and declarations, when upgrading. The emitted
JavaScript, generated
.fbsschemas, the layout of shared memory and the worker protocol are implementation details and can change between releases.