This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
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<string, any> has changed to
body: string. Processing data into a string now occurs before calls to
makeRequest
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@segment/analytics-node@2.0.0
Major Changes
#935
833ade8
Thanks @MichaelGHSeg! - Removing support for Node.js 14 and 16 as they are EOL#935
833ade8
Thanks @MichaelGHSeg! - Support for Segment OAuth2OAuth2 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<string, any>
has changed tobody: string
. Processing data into a string now occurs before calls tomakeRequest