File tree Expand file tree Collapse file tree 7 files changed +28
-15
lines changed Expand file tree Collapse file tree 7 files changed +28
-15
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @elastic/ecs-helpers" ,
3- "version" : " 2.1.0 " ,
3+ "version" : " 2.1.1 " ,
44 "description" : " ecs-logging-nodejs helpers" ,
55 "main" : " lib/index.js" ,
66 "files" : [
Original file line number Diff line number Diff line change 11# @elastic/ecs-morgan-format Changelog
22
3- ## Unreleased
3+ ## v1.5.0
44
55- Switch to ` safe-stable-stringify ` for JSON serialization. This library
66 protects against circular references and bigints.
2121 const ecsFormat = require (' @elastic/ecs-morgan-format' ); // OLD
2222 ```
2323
24- Changes in this version add support for default import in TypeScript, with or
25- without the ` esModuleInterop ` setting:
24+ - Add support for default import in TypeScript, with or without the
25+ ` esModuleInterop ` setting:
2626
2727 ``` ts
28- import ecsFormat from ' @elastic/ecs-morgan -format' ;
28+ import ecsFormat from ' @elastic/ecs-pino -format' ;
2929 ```
3030
31+ However, note that using * named* imports is now preferred.
32+
3133## v1.4.0
3234
3335- Add ` service.version ` , ` service.environment ` , and ` service.node.name ` log
Original file line number Diff line number Diff line change 11{
22 "name" : " @elastic/ecs-morgan-format" ,
3- "version" : " 1.4 .0" ,
3+ "version" : " 1.5 .0" ,
44 "description" : " A formatter for the morgan logger compatible with Elastic Common Schema." ,
55 "main" : " index.js" ,
66 "types" : " index.d.ts" ,
3838 "node" : " >=10"
3939 },
4040 "dependencies" : {
41- "@elastic/ecs-helpers" : " ^2.1.0 " ,
41+ "@elastic/ecs-helpers" : " ^2.1.1 " ,
4242 "safe-stable-stringify" : " ^2.4.3"
4343 },
4444 "devDependencies" : {
Original file line number Diff line number Diff line change 11# @elastic/ecs-pino-format Changelog
22
3- ## Unreleased
3+ ## v1.5.0
44
55- Bump dep to ` @elastic/ecs-helpers@2 ` which removes the dep on the old
66 ` fast-safe-stringify ` lib that resulted in a maintenance warning about
2121 const ecsFormat = require (' @elastic/ecs-pino-format' ); // OLD
2222 ```
2323
24- Changes in this version add support for default import in TypeScript,
25- with or without the ` esModuleInterop ` setting:
24+ - Add support for default import in TypeScript, with or without the
25+ ` esModuleInterop ` setting:
2626
2727 ``` ts
2828 import ecsFormat from ' @elastic/ecs-pino-format' ;
2929 ```
3030
31+ However, note that using * named* imports is now preferred.
32+
3133## v1.4.0
3234
3335- Add ` service.version ` , ` service.environment ` , and ` service.node.name ` log
Original file line number Diff line number Diff line change 11{
22 "name" : " @elastic/ecs-pino-format" ,
3- "version" : " 1.4 .0" ,
3+ "version" : " 1.5 .0" ,
44 "description" : " A formatter for the pino logger compatible with Elastic Common Schema." ,
55 "main" : " index.js" ,
66 "files" : [
4040 "node" : " >=10"
4141 },
4242 "dependencies" : {
43- "@elastic/ecs-helpers" : " ^2.1.0 "
43+ "@elastic/ecs-helpers" : " ^2.1.1 "
4444 },
4545 "devDependencies" : {
4646 "@types/pino" : " ^6.3.9" ,
Original file line number Diff line number Diff line change 11# @elastic/ecs-winston-format Changelog
22
3- ## Unreleased
3+ ## v1.5.0
44
55- Add ` ecsFields ` and ` ecsStringify ` exports that are winston formatters
66 that separate the gathering of ECS fields (` ecsFields ` ) and the
9494
9595- Set ` http .request .id ` field (see [ecs-helpers CHANGELOG](../ecs-helpers/CHANGELOG.md#v210)).
9696
97+ - Add support for default import in TypeScript, with or without the
98+ ` esModuleInterop` setting:
99+
100+ ` ` ` ts
101+ import ecsFormat from ' @elastic/ecs-pino-format' ;
102+ ` ` `
103+
104+ However, note that using *named* imports is now preferred.
105+
97106## v1.4.0
98107
99108- Add ` service .version ` , ` service .environment ` , and ` service .node .name ` log
Original file line number Diff line number Diff line change 11{
22 "name" : " @elastic/ecs-winston-format" ,
3- "version" : " 1.4 .0" ,
3+ "version" : " 1.5 .0" ,
44 "description" : " A formatter for the winston logger compatible with Elastic Common Schema." ,
55 "main" : " index.js" ,
66 "types" : " index.d.ts" ,
4141 "node" : " >=10"
4242 },
4343 "dependencies" : {
44- "@elastic/ecs-helpers" : " ^2.1.0 " ,
44+ "@elastic/ecs-helpers" : " ^2.1.1 " ,
4545 "safe-stable-stringify" : " ^2.4.3" ,
4646 "triple-beam" : " >=1.1.0"
4747 },
You can’t perform that action at this time.
0 commit comments