Skip to content

0.10.0

Compare
Choose a tag to compare
@udoprog udoprog released this 02 Dec 19:29
· 604 commits to main since this release

For a guide on how to go from 0.9.x 0.10.x, see the upgrade guide for 0.9.x to 0.10.x.

Changed

  • Rune is now a single rune crate instead of being divided between runestick
    and rune.
  • Completely overhauled how rune is compiled.
  • Changed how diagnostics is emitted.
  • Macros now take an explicit ctx macro rather than relying on TLS (#304).
  • Native functions no longer have to be Copy (#329).
  • Many types that used to be publicly exported are now hidden.
  • rune test (and rune bench) now captures all output (#354).

Added

  • We can now compile rune source inside of macros (#302).
  • Basic benchmarking tool has been added to rune-cli through rune bench
    (#296).
  • Vm::with has been added so we can call functions like
    Value::string_display that "must be run withing a virtual machine" (#291).

Fixed

  • Fixed issue when expanding template literals which prevents properly using
    them as expressions (#326) (thanks Steven0351!).
  • Constant values are not exported so they can be looked up in the unit (#316,
    #317) (thanks pkolaczk and tgolsson!).
  • Make SyncFunction documentation visible (#279).