Skip to content

Releases: clay/clay-log

v1.5.5

24 Oct 16:36
6b3da27
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.4...v1.5.5

v1.5.4

02 May 15:39
c8f6472
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.3...v1.5.4

v1.5.3

17 Nov 23:15
d8895e9
Compare
Choose a tag to compare

v1.5.2...v1.5.3

#22 - Fixes bug that caused properties to be dropped from log context.

⚠️ This release reverts the changes introduced in 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

19 Oct 16:13
Compare
Choose a tag to compare

v1.5.1...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

07 Oct 17:23
4eedbeb
Compare
Choose a tag to compare

v1.5.0...v1.5.1

#19 - bugfix: Prevents plug-ins from loading in the browser.

v1.5.0

28 Sep 19:11
c081d79
Compare
Choose a tag to compare

v1.4.2...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

01 Apr 16:50
e98a387
Compare
Choose a tag to compare

v1.4.1...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

01 Apr 16:47
Compare
Choose a tag to compare

v1.4.0...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 Mar 15:55
bc9ed0c
Compare
Choose a tag to compare

v1.3.1...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.

⚠️ This release will break clay --compile if clay-log is bundled with any client-side dependencies. Use [email protected] to avoid this issue. ⚠️

Security Patch

08 Aug 15:34
Compare
Choose a tag to compare
v1.3.1

1.3.1