duktape.cr v0.12.0 Release Notes
Release Date: 2017-10-01 // over 6 years ago-
- 💥 [breaking change] All
LibDUK
hardcoded types are nowenum
values (i.e.LibDUK::TYPE_NULL
becomesLibDUK::Type::Null
). Where possible, methods accept both the original types as well as enumerated values. - 💥 [breaking change] Remove the
UInt32 flags
arguments from allDuktape::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 aDuktape::Context
instance. - ➕ Add builtins for
console.log
,alert
andprint
. - 🚚 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
asLibDUK::Index
to allow for quicker changes to indexes in the future.
- 💥 [breaking change] All