From f1d9e2882de4134cb746668a17e7e98dfa036fc5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 20:34:24 -0700 Subject: [PATCH] chore: release package(s) (#3) Co-authored-by: github-actions[bot] --- .changeset/nervous-mugs-float.md | 15 ------------ .husky/pre-commit | 4 ---- .../datadog-transport-common/CHANGELOG.md | 15 ++++++++++++ .../datadog-transport-common/package.json | 2 +- .../CHANGELOG.md | 23 ++++++++++++++++++- .../package.json | 2 +- packages/pino-datadog-transport/CHANGELOG.md | 21 +++++++++++++++++ packages/pino-datadog-transport/package.json | 2 +- 8 files changed, 61 insertions(+), 23 deletions(-) delete mode 100644 .changeset/nervous-mugs-float.md create mode 100644 packages/datadog-transport-common/CHANGELOG.md diff --git a/.changeset/nervous-mugs-float.md b/.changeset/nervous-mugs-float.md deleted file mode 100644 index 4929f6d..0000000 --- a/.changeset/nervous-mugs-float.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"electron-log-transport-datadog": major -"pino-datadog-transport": major -"datadog-transport-common": minor ---- - -The core logic for `electron-log-transport-datadog` and `pino-datadog-transport` -has been split into the `datadog-transport-common` package. - -- The `p-retry` and `exit-hook` libs are now updated to current -- If `sendImmediate` is enabled, we will no longer enable the exit hook to send - off any pending logs (since sending is immediate) - -The changes should be transparent, but we're releasing these -packages under a new major version just in case. diff --git a/.husky/pre-commit b/.husky/pre-commit index 3418420..fab6428 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,8 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -pnpm build -pnpm typecheck -pnpm lint:packages -pnpm test pnpm lint-staged diff --git a/packages/datadog-transport-common/CHANGELOG.md b/packages/datadog-transport-common/CHANGELOG.md new file mode 100644 index 0000000..8c43a27 --- /dev/null +++ b/packages/datadog-transport-common/CHANGELOG.md @@ -0,0 +1,15 @@ +# datadog-transport-common + +## 3.0.0 + +### Minor Changes + +- [`7381770`](https://github.com/theogravity/datadog-transports/commit/738177094e4e776c6ba554f738b6cd5f96e17c04) Thanks [@theogravity](https://github.com/theogravity)! - The core logic for `electron-log-transport-datadog` and `pino-datadog-transport` + has been split into the `datadog-transport-common` package. + + - The `p-retry` and `exit-hook` libs are now updated to current + - If `sendImmediate` is enabled, we will no longer enable the exit hook to send + off any pending logs (since sending is immediate) + + The changes should be transparent, but we're releasing these + packages under a new major version just in case. diff --git a/packages/datadog-transport-common/package.json b/packages/datadog-transport-common/package.json index 1311407..feb81a9 100644 --- a/packages/datadog-transport-common/package.json +++ b/packages/datadog-transport-common/package.json @@ -1,6 +1,6 @@ { "name": "datadog-transport-common", - "version": "1.0.0", + "version": "3.0.0", "description": "A library for sending batches of JSON log data to datadog", "files": [ "dist/*" diff --git a/packages/electron-log-transport-datadog/CHANGELOG.md b/packages/electron-log-transport-datadog/CHANGELOG.md index 075b605..1ea8aaf 100644 --- a/packages/electron-log-transport-datadog/CHANGELOG.md +++ b/packages/electron-log-transport-datadog/CHANGELOG.md @@ -1,3 +1,24 @@ +# electron-log-transport-datadog + +## 3.0.0 + +### Major Changes + +- [`7381770`](https://github.com/theogravity/datadog-transports/commit/738177094e4e776c6ba554f738b6cd5f96e17c04) Thanks [@theogravity](https://github.com/theogravity)! - The core logic for `electron-log-transport-datadog` and `pino-datadog-transport` + has been split into the `datadog-transport-common` package. + + - The `p-retry` and `exit-hook` libs are now updated to current + - If `sendImmediate` is enabled, we will no longer enable the exit hook to send + off any pending logs (since sending is immediate) + + The changes should be transparent, but we're releasing these + packages under a new major version just in case. + +### Patch Changes + +- Updated dependencies [[`7381770`](https://github.com/theogravity/datadog-transports/commit/738177094e4e776c6ba554f738b6cd5f96e17c04)]: + - datadog-transport-common@3.0.0 + # 2.0.1 Readme updates @@ -15,4 +36,4 @@ Added: # 1.1.0 -Downgrade `p-retry` and `exit-hook` to enable CJS compatibility. \ No newline at end of file +Downgrade `p-retry` and `exit-hook` to enable CJS compatibility. diff --git a/packages/electron-log-transport-datadog/package.json b/packages/electron-log-transport-datadog/package.json index a93d735..cc8a62f 100644 --- a/packages/electron-log-transport-datadog/package.json +++ b/packages/electron-log-transport-datadog/package.json @@ -1,6 +1,6 @@ { "name": "electron-log-transport-datadog", - "version": "2.0.1", + "version": "3.0.0", "description": "Send logs to Datadog from electron-log in Electron.", "files": [ "dist/*" diff --git a/packages/pino-datadog-transport/CHANGELOG.md b/packages/pino-datadog-transport/CHANGELOG.md index 8114c4c..7b09030 100644 --- a/packages/pino-datadog-transport/CHANGELOG.md +++ b/packages/pino-datadog-transport/CHANGELOG.md @@ -1,3 +1,24 @@ +# pino-datadog-transport + +## 3.0.0 + +### Major Changes + +- [`7381770`](https://github.com/theogravity/datadog-transports/commit/738177094e4e776c6ba554f738b6cd5f96e17c04) Thanks [@theogravity](https://github.com/theogravity)! - The core logic for `electron-log-transport-datadog` and `pino-datadog-transport` + has been split into the `datadog-transport-common` package. + + - The `p-retry` and `exit-hook` libs are now updated to current + - If `sendImmediate` is enabled, we will no longer enable the exit hook to send + off any pending logs (since sending is immediate) + + The changes should be transparent, but we're releasing these + packages under a new major version just in case. + +### Patch Changes + +- Updated dependencies [[`7381770`](https://github.com/theogravity/datadog-transports/commit/738177094e4e776c6ba554f738b6cd5f96e17c04)]: + - datadog-transport-common@3.0.0 + ## 1.3.1 / 1.3.2 - Wed Nov 01 2023 22:55:38 (Had CI issues that published two versions but they are the same) diff --git a/packages/pino-datadog-transport/package.json b/packages/pino-datadog-transport/package.json index 1a90411..532528a 100755 --- a/packages/pino-datadog-transport/package.json +++ b/packages/pino-datadog-transport/package.json @@ -1,6 +1,6 @@ { "name": "pino-datadog-transport", - "version": "1.3.2", + "version": "3.0.0", "description": "A pino v7+ transport for sending logs to Datadog", "files": [ "dist/*"