duktape.cr v0.20.0 Release Notes
Release Date: 2020-04-13 // about 4 years ago-
- 💥 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. - 0️⃣ 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. 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}
- 💥 breaking change : Remove the