Skip to content

0.6.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Jul 19:49
· 76 commits to main since this release
c3ce3fe

Community

Breaking changes

  • Types are now required to start with an uppercase letter (#1583)
    • Use swarm format --v0.5 to convert old code.

Bugfixes

  • Variables in a local monadic binder escape to outer scopes
    (#681; fixed by #1928)

New Features

Language

  • volume command measuring the enclosed area around a given location
    (#1747)
  • sow command for planting growing entities that spread (#1817)
  • Type synonyms (#1865)
  • Recursive types (#1894)
  • Entity tags and related commands (#1635)
  • meetAll command now returns a list (#1999)

Entities + recipes

  • New lens entity and recipe for detonator (#1876)
  • infinite improbability drive device enabling teleport command
    (#1724)
  • Recipes for rolex, olfactometer, dozer blade, and hourglass entities
    (#2028, #2025)

New scenarios

  • Beekeeping scenario (#1599)
  • Fishing scenario (#1628)
  • Dim sum restaurant (#1686)
  • Gallery scenario (#1760)
  • Snake automata (#1699)

Scenario mechanics and authoring improvements

  • Path caching, for more efficient repeated use of the path command (#1595)
  • Render any map to PNG (#1632)
  • Extensible terrain (#1775)
  • Spreadable plant growth (#1817)
  • Exercising commands can consume entities (#1777)
  • Recognize built structures (#1579)
  • Test for point-to-point connectivity (#1721)
  • Validate palettes (#1938), map shape (#1935), subworld references (#1875)

UI enhancements

  • Fix REPL type display (#1610)
  • Handle backword kill word event in REPL (#1861)
  • Make log error messages ephemeral (#1877)
  • Pretty print code blocks according to widget size (#1897)
  • Automatically insert matching close brackets at REPL (#1953)
  • Highlight only the part of the REPL input indicated as the location
    of an error (#1957)
  • Popups for new achievements, recipes, and commands
    (#2027)
  • Save current REPL input with down arrow
    (#2000)
  • Customizable keybindings (#1979)

Command line options

  • format subcommand now tries to preserve comments (#1845)
  • Add format --v0.5 option to port code from older syntax (#1851)
  • keybindings subcommand for displaying and initializing keybinding
    configuration (#1979)
  • docs recipes subcommand now takes --forward and --next flags
    for filtering the output edges (#2033)

Building/packaging

  • Add Windows build to CI (#1974)
  • Native Windows support (#1617)