Skip to content

Latest commit

 

History

History
610 lines (327 loc) · 37.2 KB

CHANGELOG.md

File metadata and controls

610 lines (327 loc) · 37.2 KB

@segment/analytics-next

1.76.0

Minor Changes

1.75.0

Minor Changes

1.74.0

Minor Changes

Patch Changes

1.73.0

Minor Changes

Patch Changes

1.72.2

Patch Changes

  • #1125 7aed96e Thanks @silesky! - Update init to allow for asset path overriding and fix debugging experience
  • #1121 d98dcd2 Thanks @silesky! - Fix enrichment plugins not waiting for .load to resolve when plugin is registered manually
  • #1127 6bfaa3e Thanks @silesky! - If npm version, do not read buffered events from window.analytics

1.72.1

Patch Changes

1.72.0

Minor Changes

1.71.0

Minor Changes

Patch Changes

1.70.0

Minor Changes

  • #1088 2299e9a Thanks @silesky! - Refactor to change interface name from legacySettings -> cdnSettings, in order to clarify code.
  • #1090 b611746 Thanks @silesky! - - Add public settings API
    • Do not expose loadLegacySettings / loadCDNSettings (private API)

1.69.0

Minor Changes

  • #1080 e884b61 Thanks @silesky! - Addresses an issue where, if one of the non-destination actions fails to load/is blocked, the entire SDK fails to load. This is most notable in GA4, where, if GA was blocked, Segment initialization would fail.

Patch Changes

1.68.0

Minor Changes

  • #1045 3c37def Thanks @silesky! - - Remove validation plugin
    • Remove spark-md5 dependency
    • Update messageId algorithm to be consistent with node (analytics-next-[epoch time]-[uuid])
    • Browser Validation:
      • Throws errors in the EventFactory (not just in a plugin) if the event is invalid

Patch Changes

1.67.0

Minor Changes

  • #1053 fd09fbc Thanks @silesky! - Allow * in integration name field to apply middleware to all destinations plugins.
    addDestinationMiddleware('*', ({ ... }) => {
     ...
    })

Patch Changes

1.66.0

Minor Changes

1.65.0

Minor Changes

  • #945 d212633 Thanks @zikaari! - Load destinations lazily and start sending events as each becomes available instead of waiting for all to load first

Patch Changes

1.64.0

Minor Changes

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

1.63.0

Minor Changes

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

1.62.1

Patch Changes

1.62.0

Minor Changes

  • #992 a72f473 Thanks @silesky! - Add 'disable' boolean option to allow for disabling Segment in a testing environment.

Patch Changes

1.61.0

Minor Changes

1.60.0

Minor Changes

1.59.0

Minor Changes

Patch Changes

1.58.0

Minor Changes

  • #852 897f4cc Thanks @silesky! - - Capture page context information faster, so context.campaign and context.page are more resilient to quick navigation changes.
    • Parse UTM params into context.campaign if users pass an object to a page call.

Patch Changes

1.57.0

Minor Changes

1.56.0

Minor Changes

  • #928 7f4232c Thanks @oscb! - Adds globalAnalyticsKey option for setting custom global window buffers

Patch Changes

  • #949 fcf42f6 Thanks @silesky! - Fix regression where we no longer export UniversalStorage (used in destinations)

1.55.0

Minor Changes

Patch Changes

1.54.0

Minor Changes

  • #908 1b95946 Thanks @oscb! - Adds storage option in analytics client to specify priority of storage (e.g use cookies over localstorage)

1.53.4

Patch Changes

  • #932 b1584fc Thanks @oscb! - sentAt is not set at batch upload time once per the whole batch. Individual event sentAt property is stripped when doing batch uploading.

1.53.3

Patch Changes

1.53.2

Patch Changes

  • #888 f3183f2 Thanks @danieljackins! - Fix query string parsing bug that was causing events containing the 'search' property with a non string value to be dropped

1.53.1

Patch Changes

  • #896 48ce3ec Thanks @oscb! - Added support for screen events for Segment destination

1.53.0

Minor Changes

Patch Changes

1.52.0

Minor Changes

  • #867 2b3e5e4 Thanks @zikaari! - Device mode destination filters will now filter properties within arrays, just like they do in cloud mode

Patch Changes

  • #861 99402e9 Thanks @chrisradek! - Fixes issue related to how retried events are stored in localStorage to prevent analytics.js from reading events for a different writeKey when that writeKey is used on the same domain as the current analytics.js.

1.51.7

Patch Changes

1.51.6

Patch Changes

1.51.5

Patch Changes

  • #838 55a48a0 Thanks @silesky! - Refactor page enrichment to only call page defaults once, and simplify logic
  • #839 fdc004b Thanks @silesky! - Fixes a utm-parameter parsing bug where overridden page.search properties would not be reflected in the context.campaign object

    analytics.page(undefined, undefined, {search: "?utm_source=123&utm_content=content" )
    analytics.track("foo", {url: "....", search: "?utm_source=123&utm_content=content" )
    
    // should result in a context.campaign of:
    { source: 123, content: 'content'}

1.51.4

Patch Changes

1.51.3

Patch Changes

1.51.2

Patch Changes

1.51.1

Patch Changes

  • #800 fe98d5e Thanks @silesky! - Fix staging-only bug where integrations URL would not respect CDN URL overrides

1.51.0

Minor Changes

1.50.0

Minor Changes

Patch Changes

1.49.2

Patch Changes

1.49.1

Patch Changes

1.49.0

Minor Changes

  • #738 fed489c Thanks @silesky! - Make trait fields nullable. Type traits for group() differently than identify() call.
  • #722 61688e2 Thanks @silesky! - Improve core interfaces. Refactor analytics-next to use shared EventQueue, dispatch, and other methods. Augment Browser interface with traits and context options type.

Patch Changes

1.48.0

Minor Changes

  • #638 e16017d Thanks @pooyaj! - Creating universal storage layer and passing it to plugins

Patch Changes

  • #714 9fc8f43 Thanks @chrisradek! - Improves Segment.io retries to include exponential backoff and work across page loads.

1.47.1

Patch Changes

1.47.0

Minor Changes

Patch Changes

1.46.4

Patch Changes

1.46.3

Patch Changes

  • #688 c21734e Thanks @arielsilvestri! - Fixes issue where options object would not be properly assigned if properties arg was explicitly undefined

1.46.2

Patch Changes

1.46.1

Patch Changes

1.46.0

Minor Changes

  • #635 222d4ec Thanks @chrisradek! - Adds a new load option disableAutoISOConversions that turns off converting ISO strings in event fields to Dates for integrations.

Patch Changes

1.45.0

Minor Changes

Patch Changes

  • #619 6c35799 Thanks @silesky! - Do not expose jquery / zepto as ambient globals. Add dom.iterable lib to typescript.

1.44.0

Minor Changes

1.43.2

Patch Changes

1.43.1

Patch Changes

1.43.0

Minor Changes

Patch Changes

  • #582 ebafece Thanks @chrisradek! - Updates error message when sending metrics fails to indicate that metrics failed to send.

1.42.3

Patch Changes

  • #577 8d48bdc Thanks @chrisradek! - Fixes an issue where the 'secure' cookie setting was not being applied correctly when specified.

1.42.2

Patch Changes

1.42.1

Patch Changes

  • #567 5cd9358 Thanks @silesky! - Do not allow the "user" method to change its return types over its lifecycle. We should always return a promise for wrapped methods in AnalyticsBrowser, regardless if the underlying Analytics method is sync or async.

1.42.0

Minor Changes

  • #561 1af2a9f Thanks @silesky! - Add 'screen', 'register', 'deregister', 'user' method and 'VERSION' property on AnalyticsBrowser. Allow buffering of 'screen', 'register', 'deregister' methods for snippet users.

Patch Changes

1.41.1

Patch Changes

1.41.0

Minor Changes

  • #541 2e0a91c Thanks @silesky! - Export AnalyticsSnippet type and add directions (for snippet users).

Patch Changes

1.40.0

Minor Changes

  • #505 b9c6356 Thanks @chrisradek! - Adds context.failedDelivery() to improve detection of events that could not be delivered due to plugin errors.

Patch Changes

1.39.2

Patch Changes