@bedrock/core
Advanced tools
Comparing version 5.0.5 to 5.0.6
# `@bedrock/core` ChangeLog | ||
## 5.0.6 - 2022-04-04 | ||
### Fixed | ||
- Fix winston child logger `defaultMeta` override bug. This | ||
fix was also backported to 4.5.1. | ||
## 5.0.5 - 2022-03-31 | ||
@@ -37,2 +43,7 @@ | ||
## 4.5.1 - 2022-04-04 (backported fix) | ||
### Fixed | ||
- Fix winston child logger `defaultMeta` override bug. | ||
## 4.5.0 - 2022-03-22 | ||
@@ -39,0 +50,0 @@ |
@@ -67,6 +67,4 @@ /*! | ||
} | ||
// create child logger from wrapper and merge child meta into parent meta | ||
const child = createChild.apply(wrapper, [childMeta]); | ||
child.defaultMeta = {...wrapper.defaultMeta, ...childMeta}; | ||
return child; | ||
// create child logger from wrapper (merging child meta into parent meta) | ||
return createChild.apply(wrapper, [childMeta]); | ||
}; | ||
@@ -73,0 +71,0 @@ logger = wrapper; |
{ | ||
"name": "@bedrock/core", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A core foundation for rich Web applications.", |
160474
2449