All Versions
31
Latest Version
Avg Release Cycle
68 days
Latest Release
487 days ago

Changelog History
Page 2

  • v0.14.1 Changes

    May 13, 2018
    • ๐Ÿ›  Fix a type inference error on the Sandbox @timeout instance variable that occurs due to recent changes in Crystal master [#43]. Thanks @kostya!
  • v0.14.0 Changes

    April 30, 2018
    • โšก๏ธ Update Duktape to version 2.2.1.
    • ๐Ÿš€ See the release for more info.
  • v0.13.0 Changes

    December 28, 2017
    • โšก๏ธ Update Duktape to version 2.2.0, rebuilding all necessary configuration and header files.
    • [upstream change] LibDUK::Compile::* and LibDUK::BufObj::* constant values have been changed - remap these constants to their updated values.
    • [upstream change] LibDUK::Bool is now of type UInt32 (as opposed to Int32).
    • โž• Add bindings for new public API methods: duk_pus_proxy, duk_seal, duk_freeze, duk_require_object, duk_is_constructable and duk_opt_xxx methods. The duk_opt methods work similar to duk_require_xxx, but allow a default value to be passed in that is used when there is no value at the given stack index.
    • Alias LibDUK::Number as Float64 for more simple type changes in the future.
    • โž• Add the Duktape::API::Opt module to encapsulate binding wrapper code for the duk_opt methods implemented.
    • โš™ Run all code through the crystal 0.24.1 formatter.
    • ๐Ÿš€ See duktape releases for more info.
  • v0.12.1 Changes

    November 02, 2017
    • ๐Ÿ›  [bugfix] - Fix an unintended Duktape heap instantiation when creating a new Duktape::Context.
    • โš™ Run crystal tool format on all source code.
  • v0.12.0 Changes

    October 01, 2017
    • ๐Ÿ’ฅ [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.
  • v0.11.0 Changes

    July 24, 2017
    • ๐Ÿ›  Fix compiler issues with Crystal 0.23.0 by making Duktape::Logger#log_color accept a Logger::Severity. [@kostya, #35]
  • v0.10.1 Changes

    January 31, 2017
    • ๐Ÿ›  Fix an incorrect type restriction that was causing compiler issues on recent Crystal versions.
    • ๐Ÿ›  Fix Sandbox timeout tests by no longer running a set number of iterations - instead infinite loop until timeout.
  • v0.10.0 Changes

    November 22, 2016
    • โšก๏ธ Update for Crystal 0.20.0. As shards now copies the entire shard directory into libs, we can move the ext directory to the shard root directory for simplicity.
    • โšก๏ธ Update makefile output paths to match new structure.
    • Resolve #25 by allowing a developer to pass a Duktape::Context instance when initializing a Duktape::Runtime. This allows the runtime to use the internal Duktape global object.
  • v0.9.1 Changes

  • v0.9.0 Changes

    May 26, 2016
    • ๐Ÿš€ Update Duktape to v1.5.0. See release info.
    • โšก๏ธ Update to Crystal 0.17.4 syntax.
    • Format code using Crystal 0.17.4 formatter.
    • โž• Add NamedTuple as a type that is allowed as parameter to call on a Duktape::Runtime instance. NamedTuples will be translated to a hash.
    • โšก๏ธ Optimize for speed (-O2) instead of size (-0s) when building the duktape library.
    • โš  Use -Wpedantic as the compiler flag for warnings.