Skip to content

0.12.0

Compare
Choose a tag to compare
@jessedoyle jessedoyle released this 12 Oct 04:34
· 43 commits to master since this release
  • [breaking change] All LibDUK hardcoded types are now enum values (i.e. LibDUK::TYPE_NULL becomes LibDUK::Type::Null). Where possible, methods accept both the original types as well as enumerated values.
  • [breaking change] Remove the UInt32 flags arguments from all Duktape::Context#compile methods.
  • [breaking change] Remove some bindings from LibDUK as they were removed upstream. See duktape releases for more info.
  • Update Duktape to v2.0.2.
  • Add Duktape::Builtin helpers that allow for modular extensions into a Duktape::Context instance.
  • Add builtins for console.log, alert and print.
  • Implement file operations natively in Crystal as they have been removed from Duktape.
  • The Duktape stack is no longer logged as a debug value when Duktape::InternalError is raised.
  • Alias Int32 as LibDUK::Index to allow for quicker changes to indexes in the future.