From c302fea9b301745b5146ab537088aa331e0404b6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:31:20 -0800 Subject: [PATCH] Version Packages (#1031) --- .changeset/empty-avocados-juggle.md | 5 ----- .changeset/hot-eyes-run.md | 15 --------------- packages/node/CHANGELOG.md | 18 ++++++++++++++++++ packages/node/package.json | 2 +- packages/node/src/generated/version.ts | 2 +- 5 files changed, 20 insertions(+), 22 deletions(-) delete mode 100644 .changeset/empty-avocados-juggle.md delete mode 100644 .changeset/hot-eyes-run.md diff --git a/.changeset/empty-avocados-juggle.md b/.changeset/empty-avocados-juggle.md deleted file mode 100644 index 3ae4bbad4..000000000 --- a/.changeset/empty-avocados-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@segment/analytics-node': major ---- - -Removing support for Node.js 14 and 16 as they are EOL diff --git a/.changeset/hot-eyes-run.md b/.changeset/hot-eyes-run.md deleted file mode 100644 index 04c7ca938..000000000 --- a/.changeset/hot-eyes-run.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'@segment/analytics-node': major ---- - -Support for Segment OAuth2 - -OAuth2 must be enabled from the Segment dashboard. You will need a PEM format -private/public key pair. Once you've uploaded your public key, you will need -the OAuth Client Id, the Key Id, and your private key. You can set these in -the new OAuthSettings type and provide it in your Analytics configuration. - -Note: This introduces a breaking change only if you have implemented a custom -HTTPClient. HTTPClientRequest `data: Record` has changed to -`body: string`. Processing data into a string now occurs before calls to -`makeRequest` diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index 058573032..089b8b978 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -1,5 +1,23 @@ # @segment/analytics-node +## 2.0.0 + +### Major Changes + +- [#935](https://github.com/segmentio/analytics-next/pull/935) [`833ade8`](https://github.com/segmentio/analytics-next/commit/833ade8571319a029f8e23511967ccb02d3496d4) Thanks [@MichaelGHSeg](https://github.com/MichaelGHSeg)! - Removing support for Node.js 14 and 16 as they are EOL + +* [#935](https://github.com/segmentio/analytics-next/pull/935) [`833ade8`](https://github.com/segmentio/analytics-next/commit/833ade8571319a029f8e23511967ccb02d3496d4) Thanks [@MichaelGHSeg](https://github.com/MichaelGHSeg)! - Support for Segment OAuth2 + + OAuth2 must be enabled from the Segment dashboard. You will need a PEM format + private/public key pair. Once you've uploaded your public key, you will need + the OAuth Client Id, the Key Id, and your private key. You can set these in + the new OAuthSettings type and provide it in your Analytics configuration. + + Note: This introduces a breaking change only if you have implemented a custom + HTTPClient. HTTPClientRequest `data: Record` has changed to + `body: string`. Processing data into a string now occurs before calls to + `makeRequest` + ## 1.3.0 ### Minor Changes diff --git a/packages/node/package.json b/packages/node/package.json index 993427471..c11dd07b3 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "@segment/analytics-node", - "version": "1.3.0", + "version": "2.0.0", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/node/src/generated/version.ts b/packages/node/src/generated/version.ts index 3f126f6ca..23e854893 100644 --- a/packages/node/src/generated/version.ts +++ b/packages/node/src/generated/version.ts @@ -1,2 +1,2 @@ // This file is generated. -export const version = '1.3.0' +export const version = '2.0.0'