Skip to content

Commit

Permalink
v1.5.0 (#166)
Browse files Browse the repository at this point in the history
This will also be the '@elastic/[email protected]' release.
  • Loading branch information
trentm authored Oct 31, 2023
1 parent acfd2d1 commit 23c6d6e
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/ecs-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/ecs-helpers",
"version": "2.1.0",
"version": "2.1.1",
"description": "ecs-logging-nodejs helpers",
"main": "lib/index.js",
"files": [
Expand Down
10 changes: 6 additions & 4 deletions packages/ecs-morgan-format/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @elastic/ecs-morgan-format Changelog

## Unreleased
## v1.5.0

- Switch to `safe-stable-stringify` for JSON serialization. This library
protects against circular references and bigints.
Expand All @@ -21,13 +21,15 @@
const ecsFormat = require('@elastic/ecs-morgan-format'); // OLD
```

Changes in this version add support for default import in TypeScript, with or
without the `esModuleInterop` setting:
- Add support for default import in TypeScript, with or without the
`esModuleInterop` setting:

```ts
import ecsFormat from '@elastic/ecs-morgan-format';
import ecsFormat from '@elastic/ecs-pino-format';
```

However, note that using *named* imports is now preferred.

## v1.4.0

- Add `service.version`, `service.environment`, and `service.node.name` log
Expand Down
4 changes: 2 additions & 2 deletions packages/ecs-morgan-format/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/ecs-morgan-format",
"version": "1.4.0",
"version": "1.5.0",
"description": "A formatter for the morgan logger compatible with Elastic Common Schema.",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -38,7 +38,7 @@
"node": ">=10"
},
"dependencies": {
"@elastic/ecs-helpers": "^2.1.0",
"@elastic/ecs-helpers": "^2.1.1",
"safe-stable-stringify": "^2.4.3"
},
"devDependencies": {
Expand Down
8 changes: 5 additions & 3 deletions packages/ecs-pino-format/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @elastic/ecs-pino-format Changelog

## Unreleased
## v1.5.0

- Bump dep to `@elastic/ecs-helpers@2` which removes the dep on the old
`fast-safe-stringify` lib that resulted in a maintenance warning about
Expand All @@ -21,13 +21,15 @@
const ecsFormat = require('@elastic/ecs-pino-format'); // OLD
```

Changes in this version add support for default import in TypeScript,
with or without the `esModuleInterop` setting:
- Add support for default import in TypeScript, with or without the
`esModuleInterop` setting:

```ts
import ecsFormat from '@elastic/ecs-pino-format';
```

However, note that using *named* imports is now preferred.

## v1.4.0

- Add `service.version`, `service.environment`, and `service.node.name` log
Expand Down
4 changes: 2 additions & 2 deletions packages/ecs-pino-format/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/ecs-pino-format",
"version": "1.4.0",
"version": "1.5.0",
"description": "A formatter for the pino logger compatible with Elastic Common Schema.",
"main": "index.js",
"files": [
Expand Down Expand Up @@ -40,7 +40,7 @@
"node": ">=10"
},
"dependencies": {
"@elastic/ecs-helpers": "^2.1.0"
"@elastic/ecs-helpers": "^2.1.1"
},
"devDependencies": {
"@types/pino": "^6.3.9",
Expand Down
11 changes: 10 additions & 1 deletion packages/ecs-winston-format/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @elastic/ecs-winston-format Changelog

## Unreleased
## v1.5.0

- Add `ecsFields` and `ecsStringify` exports that are winston formatters
that separate the gathering of ECS fields (`ecsFields`) and the
Expand Down Expand Up @@ -94,6 +94,15 @@

- Set `http.request.id` field (see [ecs-helpers CHANGELOG](../ecs-helpers/CHANGELOG.md#v210)).

- Add support for default import in TypeScript, with or without the
`esModuleInterop` setting:

```ts
import ecsFormat from '@elastic/ecs-pino-format';
```

However, note that using *named* imports is now preferred.

## v1.4.0

- Add `service.version`, `service.environment`, and `service.node.name` log
Expand Down
4 changes: 2 additions & 2 deletions packages/ecs-winston-format/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/ecs-winston-format",
"version": "1.4.0",
"version": "1.5.0",
"description": "A formatter for the winston logger compatible with Elastic Common Schema.",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -41,7 +41,7 @@
"node": ">=10"
},
"dependencies": {
"@elastic/ecs-helpers": "^2.1.0",
"@elastic/ecs-helpers": "^2.1.1",
"safe-stable-stringify": "^2.4.3",
"triple-beam": ">=1.1.0"
},
Expand Down

0 comments on commit 23c6d6e

Please sign in to comment.