All Versions
33
Latest Version
Avg Release Cycle
106 days
Latest Release
524 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 duktape.cr 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/runtime.cr 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 error.cr.
    • โœ‚ 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.