Releases: clay/clay-log
v1.5.5
What's Changed
- CPSRE-1161: Migrate clay/clay-log CI to GHA by @existere in #33
- fix: exclude hostname from clay-log json by @ealcantara22 in #35
New Contributors
Full Changelog: v1.5.4...v1.5.5
v1.5.4
What's Changed
- fix: fix peer dependencies issue on node 18 by @ealcantara22 in #32
New Contributors
- @ealcantara22 made their first contribution in #32
Full Changelog: v1.5.3...v1.5.4
v1.5.3
#22 - Fixes bug that caused properties to be dropped from log context.
v1.5.2.
.
[email protected]
introduced a breaking change that caused non-enumerable properties to be dropped from log context.
For example:
const err = new Error('error');
log('error', 'my custom message', err); // we lose err.stack, err.message, and err.name
v1.5.2
#20 - Prevents clay-log
from mutating objects via _.cloneDeep
.
This release addresses a defect in clay-log
that caused objects passed in as the third positional (data) argument to be mutated.
⚠️ This release introduced a breaking change that was reverted in v1.5.3. ⚠️
Skip this version and move directly to v1.5.3
. Take care to read the "Safety Considerations" in the README.
v1.5.1
#19 - bugfix: Prevents plug-ins from loading in the browser.
v1.5.0
#16 - feature: Plug-in system for clay-log
This release introduces a new feature set exposed via the following environment variables:
CLAY_LOG_PLUGINS
CLAY_LOG_PLUGINS_PATH
Read more about plug-ins here.
The functionality of CLAY_LOG_HEAP
was modified to use the plug-in system.
To continue heap logging set CLAY_LOG_PLUGINS=heap
.
v1.4.2
#14 - Bugfix: Fixes issue that caused CLAY_LOG_PRETTY
environment variable to override an explicit false
argument when the logger is initialized.
v1.4.1
#12 - Bugfix: Fixes issue that broke clay --compile
if clay-log
is bundled with any client-side code.
This release also adjusts where the CLAY_LOG_HEAP
information is added to the log event.
In v1.4.0
the information was nested under a meta
tag.
This release includes the information at the root of the log object to ensure we are still producing a flat document.
v1.4.0
#11 - Enables heap logging via CLAY_LOG_HEAP=1
.
This release introduces a new (optional) debugging feature.
Setting the environment variable CLAY_LOG_HEAP
to the value 1
will utilize the v8
API to add some statistics to the log.
clay --compile
if clay-log
is bundled with any client-side dependencies. Use [email protected]
to avoid this issue.
Security Patch
v1.3.1 1.3.1