Skip to content

Releases: jessedoyle/duktape.cr

1.1.0

06 Apr 03:53
bf57059
Compare
Choose a tag to compare
  • Update from Duktape 2.5.0 to 2.7.0!
  • Define a default fatal handler for the Duktape heap. This change only impacts heaps created via LibDUK.create_heap. Heaps created via Dukatpe::Context, Duktape::Sandbox or Duktape::Runtime are not affected.
  • See the release notes for more information:

1.0.1

22 Oct 03:58
abd80b9
Compare
Choose a tag to compare
  • Fix a segfault that occurs on Crystal >= 1.6.0. Thanks @z64!, #74

1.0.0

02 Apr 16:37
8fd19a0
Compare
Choose a tag to compare
  • Specify a crystal constraint of >= 0.35.1 for compatibility with Crystal 1.0.0. Thanks @Kanezoh!

0.21.0

23 Jun 00:47
f8caf1e
Compare
Choose a tag to compare
  • 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!

0.20.0

14 Apr 02:52
9e59e8f
Compare
Choose a tag to compare
  • 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.
  • 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.
  • Log output messages are now formatted by default as JSON
    with the following schema:
{
  exception : String?,
  message : String,
  severity : String,
  source : String,
  timestamp : String
}

0.19.1

04 Mar 00:40
a5335f3
Compare
Choose a tag to compare
  • Bugfix: Call function properties when using Duktape::Runtime#call with no function arguments. PR 58, Issue 57.

0.19.0

18 Jan 04:10
f0e0420
Compare
Choose a tag to compare
  • Update Duktape version to 2.5.0.
  • See the release notes for more info.
  • Add bindings for the pull API function.

0.18.1

25 Sep 00:33
603d75d
Compare
Choose a tag to compare
  • 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.

0.18.0

07 Sep 06:22
d4819c5
Compare
Choose a tag to compare
  • 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).
  • No longer explicitly enable Duktape's Symbol builtin as it is now enabled by default.

0.17.0

07 Jun 02:31
08e4047
Compare
Choose a tag to compare
  • 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.