Skip to content

Latest commit

 

History

History
132 lines (76 loc) · 7.05 KB

CHANGELOG.md

File metadata and controls

132 lines (76 loc) · 7.05 KB

@segment/analytics-node

2.2.0

Minor Changes

  • #1156 9ece2726 Thanks @mrmckeb! - Improves support for TypeScript's exactOptionalPropertyTypes by allowing undefined to be passed to optional properties.

Patch Changes

2.1.3

Patch Changes

2.1.2

Patch Changes

2.1.1

Patch Changes

2.1.0

Minor Changes

  • #1043 95fd2fd Thanks @silesky! - This ensures backward compatibility with analytics-node by modifying '@segment/analytics-core'. Specifically, the changes prevent the generation of a messageId if it is already set. This adjustment aligns with the behavior outlined in analytics-node's source code here.

    While this is a core release, only the node library is affected, as the browser has its own EventFactory atm.

Patch Changes

2.0.0

Major Changes

  • #935 833ade8 Thanks @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<string, any> has changed to body: string. Processing data into a string now occurs before calls to makeRequest

1.3.0

Minor Changes

1.2.0

Minor Changes

  • #1015 8fbe1a0 Thanks @silesky! - Deprecate maxEventsInBatch in favor of our commonly used: flushAt. The purpose is to establish consistency between our SDKs, regardless of language.

Patch Changes

1.1.4

Patch Changes

1.1.3

Patch Changes

1.1.2

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

  • #880 5f50363 Thanks @silesky! - Add httpClient setting. This allow users to override default HTTP client with a custom one.

1.0.0

Patch Changes