Skip to content

v2.1.0

Latest

Choose a tag to compare

@bladecoder bladecoder released this 17 Oct 11:15

Features

  • Run stories on no_std + alloc targets with explicit seeds and an optional application clock.
  • Execute JSON stories and flash-resident binary story images through a shared runtime. The binary-image feature supports embedded .inkb stories, deterministic image generation, and full image validation.
  • Compile, convert, and play .inkb stories with rinklecate.
  • Save and restore the full Ink JSON state format with the streaming backend, including compatibility between JSON and binary image stories.
  • List global variable names through Story::get_global_variables().

Fixes

  • Correct Ink indentation parsing and choice label resolution.
  • Accept unindented multiline choice conditions.
  • Parse zero-argument external functions correctly in conditionals.
  • Break reference cycles involving divert targets.

Upgrade notes

  • Default runtime features include std and serde-json-parser.
  • Applications using default-features = false with stream-json-parser on standard-library targets should explicitly enable std as well.
  • Embedded applications require an allocator. See the runtime feature guide and binary story image guide for setup and API details.

Full changelog: v2.0.0...v2.1.0