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

Changelog History
Page 1

  • v0.21.0

    June 22, 2020
    • ๐Ÿ’ฅ breaking change : Rename the CRYSTAL_LOG_LEVEL and CRYSTAL_LOG_SOURCES environment variables to LOG_LEVEL and LOG_SOURCES respectively to match changes in Crystal core.
    • ๐Ÿ‘Œ Support Crystal >= 0.35.1. Thanks to @kostya!
  • v0.20.0

    April 13, 2020
    • ๐Ÿ’ฅ breaking change : Remove the Duktape::Logger module and
      constants.
    • ๐Ÿ’ฅ breaking change : Remove the Duktape.logger and Duktape.headerize
      class methods.
    • ๐Ÿ’ฅ breaking change : Alert messages are no longer written to STDERR.
      Instead they are written to STDOUT.
    • โฌ†๏ธ Upgrade for Crystal 0.34 support! A minimum crystal version
      ๐Ÿš€ of 0.34 is required for this release.
    • โž• Add the Duktape::Log with the Base, Alert and Console
      ๐ŸŒฒ constants that act as sources for general log messages, alert
      messages, and console messages.
    • 0๏ธโƒฃ Log messages are no longer colorized by default.
    • ๐ŸŒฒ Log output can be controlled using the newly-standardized
      ๐ŸŒฒ CRYSTAL_LOG_SOURCES and CRYSTAL_LOG_LEVEL environment
      variables.
    • 0๏ธโƒฃ Log output messages are now formatted by default as JSON
      with the following schema:

      { exception : String?, message : String, severity : String, source : String, timestamp : String}

  • v0.19.1

    March 03, 2020
    • ๐Ÿ›  Bugfix: Call function properties when using Duktape::Runtime#call with no function arguments. PR 58, Issue 57. Thanks @dinh for reporting!
  • v0.19.0

    January 17, 2020
    • โšก๏ธ Update Duktape version to 2.5.0.
    • ๐Ÿš€ See the release notes for more info.
    • โž• Add bindings for the pull API function.
  • v0.18.1

    September 25, 2019
    • โšก๏ธ Update for Crystal v0.31.0 support.
    • ๐Ÿ›  Fix test cases that were failing because Crystal's Spec library now executes it blocks at the end of the program (crystal-lang/crystal#8125). Instead of manually destroying the Duktape head in specs, let the GC take care of it.
    • โšก๏ธ Update ameba to 0.10.1.
  • v0.18.0

    September 07, 2019
    • โšก๏ธ Update Duktape version to 2.4.0.
    • ๐Ÿš€ See the release notes for more info.
    • Add bindings for to_stacktrace, safe_to_stacktrace, push_bare_array, require_constructable, and require_constructor_call.
    • ๐Ÿ‘ Allow C compiler flag overrides when compiling Duktape. Define the CFLAGS variable during shards install (i.e. CFLAGS=-O1 shards install).
    • 0๏ธโƒฃ No longer explicitly enable Duktape's Symbol builtin as it is now enabled by default.
  • v0.17.0

    June 06, 2019
    • โšก๏ธ Update ameba to the latest current version (0.10.0) as previous versions no longer compile in CI.
    • ๐Ÿ˜Œ Relax the restriction on ameba to pull in newer minor versions.
  • v0.16.0

    April 22, 2019
    • โšก๏ธ Update ameba to the current latest version of v0.9.1.
    • ๐Ÿ— Build specs with all warnings enabled in Crystal >= 0.28.0.
    • ๐Ÿ›  Fix a deprecation warning with Crystal 0.28.0 where integer division will return a float in future versions. Use Int#// to retain backwards compatibility.
  • v0.15.1

    November 07, 2018
    • โž• Add ameba as a development dependency for static analysis.
    • ๐Ÿ›  Fix ameba lint exceptions consisting of unused variable definitions and block variables.
  • v0.15.0

    August 14, 2018
    • โšก๏ธ Update Duktape version to 2.3.0.
    • ๐Ÿš€ See the release notes for more info.
    • ๐Ÿ›  Fix a missing it block expectation in tests.
    • ๐Ÿ†• Add bindings for random, push_new_target, get_global_heaptr and put_global_heapptr.