Releases: jessedoyle/duktape.cr
Releases · jessedoyle/duktape.cr
1.1.0
- 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 viaDukatpe::Context
,Duktape::Sandbox
orDuktape::Runtime
are not affected. - See the release notes for more information:
1.0.1
1.0.0
0.21.0
0.20.0
- breaking change: Remove the
Duktape::Logger
module and
constants. - breaking change: Remove the
Duktape.logger
andDuktape.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 theBase
,Alert
andConsole
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
andCRYSTAL_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
0.19.0
- Update Duktape version to
2.5.0
. - See the release notes for more info.
- Add bindings for the
pull
API function.
0.18.1
- 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
- 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
, andrequire_constructor_call
. - Allow C compiler flag overrides when compiling Duktape. Define the
CFLAGS
variable duringshards 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
- 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.