All Versions
Latest Version
Avg Release Cycle
106 days
Latest Release
402 days ago

Changelog History
Page 3

  • 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.
  • v0.8.2 Changes

    May 05, 2016
    • ⚡️ Update to Crystal 0.16.0 syntax.
  • v0.8.1 Changes

    March 23, 2016
    • ⚡️ Update to Crystal 0.14.2 syntax.
    • 🔨 Refactor API::Eval code for readability.
  • v0.8.0 Changes

    February 04, 2016
    • 💥 (breaking change) JS errors are now mapped to their proper Crystal exceptions. i.e. JS SyntaxError becomes Duktape::SyntaxError.
    • 💥 (breaking change) Make all exception classes more consistent. Instances of Duktape::Error are all recoverable exceptions that are thrown by the engine at runtime (eg. Duktape::TypeError). Instances of Duktape::InternalError are generally non-recoverable for a given context (eg. Duktape::HeapError).
    • Added call_success, call_failure and return_undefined convenience methods that provide the appropriate integer status codes when returning from a native function call.
    • Added the push_global_proc method that simplifies pushing a named native function to the stack.
    • Duktape::Runtime instances may now accept a execution timeout value in milliseconds upon creation. [#15, @raydf].
    • 🔄 Changed the name in the shard.yml from to duktape. This should have no effect on the installation process.
  • v0.7.0 Changes

    January 18, 2016
    • 💥 (breaking change) A monkeypatch to the Crystal Logger class was temporarily added to master to fix a bug in core Crystal (#1982). This patch has now been removed from the codebase. Crystal v0.10.1 or higher is a requirement for this library.
    • Duktape::Runtime instances now return Crystal arrays and hashes for corresponding JS arrays and objects.
    • Duktape::Runtime can now accept hashes and arrays as arguments for call. These will be translated into Javascript objects and pushed to the stack.
    • 🚀 Updated Duktape version to v1.4.0. See release info.
  • v0.6.4 Changes

    January 02, 2016
    • ➕ Add the src/ file so you can now properly require "./duktape/runtime" once shards does its thing.
    • ⚡️ Actually update the version in shard.yml (my mistake - sorry!).
  • v0.6.3 Changes

    January 02, 2016

    🚀 NOTE - This release has issues, use 0.6.4 instead.

    • Rework the internal require order and duktape/base.
    • ➕ Add a Duktape::Runtime class that lessens the need for low-level API calls for many use-cases. This must be required using require "duktape/runtime".
  • v0.6.2 Changes

    November 30, 2015
    • 🚀 Update Duktape version to v1.3.1. See release info.
    • 👻 More consistent exception classes in
    • ✂ Removed a few unecessary method calls from spec files.
    • Adopt Crystal 0.9.1 code formatting.
  • v0.6.1 Changes

    September 21, 2015
    • ⚡️ Update to Crystal v0.8.0 syntax/compatibility.
    • 🛠 Fix a potential use-after-free scenario that may occur when Context or Sandbox instances were garbage-collected by Crystal.
    • The Duktape heap is no longer destroyed when a Duktape::InternalError is thrown in Crystal. Instead, the heap will be destroyed automatically upon finalization.