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 1
1
{
2
2
"name" : " @elastic/ecs-helpers" ,
3
- "version" : " 2.1.0 " ,
3
+ "version" : " 2.1.1 " ,
4
4
"description" : " ecs-logging-nodejs helpers" ,
5
5
"main" : " lib/index.js" ,
6
6
"files" : [
Original file line number Diff line number Diff line change 1
1
# @elastic/ecs-morgan-format Changelog
2
2
3
- ## Unreleased
3
+ ## v1.5.0
4
4
5
5
- Switch to ` safe-stable-stringify ` for JSON serialization. This library
6
6
protects against circular references and bigints.
21
21
const ecsFormat = require (' @elastic/ecs-morgan-format' ); // OLD
22
22
```
23
23
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:
26
26
27
27
``` ts
28
- import ecsFormat from ' @elastic/ecs-morgan -format' ;
28
+ import ecsFormat from ' @elastic/ecs-pino -format' ;
29
29
```
30
30
31
+ However, note that using * named* imports is now preferred.
32
+
31
33
## v1.4.0
32
34
33
35
- Add ` service.version ` , ` service.environment ` , and ` service.node.name ` log
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @elastic/ecs-morgan-format" ,
3
- "version" : " 1.4 .0" ,
3
+ "version" : " 1.5 .0" ,
4
4
"description" : " A formatter for the morgan logger compatible with Elastic Common Schema." ,
5
5
"main" : " index.js" ,
6
6
"types" : " index.d.ts" ,
38
38
"node" : " >=10"
39
39
},
40
40
"dependencies" : {
41
- "@elastic/ecs-helpers" : " ^2.1.0 " ,
41
+ "@elastic/ecs-helpers" : " ^2.1.1 " ,
42
42
"safe-stable-stringify" : " ^2.4.3"
43
43
},
44
44
"devDependencies" : {
Original file line number Diff line number Diff line change 1
1
# @elastic/ecs-pino-format Changelog
2
2
3
- ## Unreleased
3
+ ## v1.5.0
4
4
5
5
- Bump dep to ` @elastic/ecs-helpers@2 ` which removes the dep on the old
6
6
` fast-safe-stringify ` lib that resulted in a maintenance warning about
21
21
const ecsFormat = require (' @elastic/ecs-pino-format' ); // OLD
22
22
```
23
23
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:
26
26
27
27
``` ts
28
28
import ecsFormat from ' @elastic/ecs-pino-format' ;
29
29
```
30
30
31
+ However, note that using * named* imports is now preferred.
32
+
31
33
## v1.4.0
32
34
33
35
- Add ` service.version ` , ` service.environment ` , and ` service.node.name ` log
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @elastic/ecs-pino-format" ,
3
- "version" : " 1.4 .0" ,
3
+ "version" : " 1.5 .0" ,
4
4
"description" : " A formatter for the pino logger compatible with Elastic Common Schema." ,
5
5
"main" : " index.js" ,
6
6
"files" : [
40
40
"node" : " >=10"
41
41
},
42
42
"dependencies" : {
43
- "@elastic/ecs-helpers" : " ^2.1.0 "
43
+ "@elastic/ecs-helpers" : " ^2.1.1 "
44
44
},
45
45
"devDependencies" : {
46
46
"@types/pino" : " ^6.3.9" ,
Original file line number Diff line number Diff line change 1
1
# @elastic/ecs-winston-format Changelog
2
2
3
- ## Unreleased
3
+ ## v1.5.0
4
4
5
5
- Add ` ecsFields ` and ` ecsStringify ` exports that are winston formatters
6
6
that separate the gathering of ECS fields (` ecsFields ` ) and the
94
94
95
95
- Set ` http .request .id ` field (see [ecs-helpers CHANGELOG](../ecs-helpers/CHANGELOG.md#v210)).
96
96
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
+
97
106
## v1.4.0
98
107
99
108
- Add ` service .version ` , ` service .environment ` , and ` service .node .name ` log
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @elastic/ecs-winston-format" ,
3
- "version" : " 1.4 .0" ,
3
+ "version" : " 1.5 .0" ,
4
4
"description" : " A formatter for the winston logger compatible with Elastic Common Schema." ,
5
5
"main" : " index.js" ,
6
6
"types" : " index.d.ts" ,
41
41
"node" : " >=10"
42
42
},
43
43
"dependencies" : {
44
- "@elastic/ecs-helpers" : " ^2.1.0 " ,
44
+ "@elastic/ecs-helpers" : " ^2.1.1 " ,
45
45
"safe-stable-stringify" : " ^2.4.3" ,
46
46
"triple-beam" : " >=1.1.0"
47
47
},
You can’t perform that action at this time.
0 commit comments