Skip to content

Releases: segmentio/analytics-next

@segment/[email protected]

05 Feb 23:40
039e34d
Compare
Choose a tag to compare

Minor Changes

  • #1032 5c1511f Thanks @zikaari! - Support loading analytics into a custom global variable when using snippet version 5.2.1 or later

@segment/[email protected]

29 Jan 20:35
c302fea
Compare
Choose a tag to compare

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

@segment/[email protected]

10 Jan 20:49
bcdde4c
Compare
Choose a tag to compare

Minor Changes

@segment/[email protected]

10 Jan 20:49
bcdde4c
Compare
Choose a tag to compare

Minor Changes

  • #1023 b5b929e Thanks @silesky! - Deprecate AnalyticsNode class (in favor of the standalone @segment/analytics-node)

@segment/[email protected]

08 Jan 18:56
2a80cd6
Compare
Choose a tag to compare

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

@segment/[email protected]

08 Jan 18:56
2a80cd6
Compare
Choose a tag to compare

Patch Changes

@segment/[email protected]

08 Jan 18:56
2a80cd6
Compare
Choose a tag to compare

Patch Changes

@segment/[email protected]

08 Jan 18:56
2a80cd6
Compare
Choose a tag to compare

Patch Changes

@segment/[email protected]

08 Jan 18:56
2a80cd6
Compare
Choose a tag to compare

Minor Changes

  • #1009 f476038 Thanks @silesky! - If initialPageview is true, call analytics.page() as early as possible to avoid stale page context.

Patch Changes

@segment/[email protected]

08 Jan 18:56
2a80cd6
Compare
Choose a tag to compare

Minor Changes

  • #1009 f476038 Thanks @silesky! - If initialPageview is true, call analytics.page() as early as possible to avoid stale page context.

Patch Changes