Skip to content

Releases: segmentio/analytics-next

@segment/[email protected]

13 Mar 05:35
83c25bb
Compare
Choose a tag to compare

Patch Changes

@segment/[email protected]

12 Mar 17:39
2974f00
Compare
Choose a tag to compare

Patch Changes

  • #1246 ee838db5 Thanks @silesky! - Fix argument resolver bug where the following would not set the correct options:
    analytics.page(
       null,
       'foo',
       { url: "https://foo.com" },
       { context: { __eventOrigin: { type: 'Signal' } } // would not be set correctly
    )
  • Updated dependencies [d5829da8]:

@segment/[email protected]

12 Mar 17:39
2974f00
Compare
Choose a tag to compare

Minor Changes

@segment/[email protected]

12 Mar 17:39
2974f00
Compare
Choose a tag to compare

Minor Changes

  • #1246 ee838db5 Thanks @silesky! - Fix argument resolver bug where the following would not set the correct options:
    analytics.page(
       null,
       'foo',
       { url: "https://foo.com" },
       { context: { __eventOrigin: { type: 'Signal' } } // would not be set correctly
    )

@segment/[email protected]

28 Feb 16:52
fac79d3
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@segment/[email protected]

28 Feb 16:52
fac79d3
Compare
Choose a tag to compare

Minor Changes

@segment/[email protected]

18 Feb 17:58
3d10bd9
Compare
Choose a tag to compare

Patch Changes

@segment/[email protected]

13 Feb 20:34
1c83289
Compare
Choose a tag to compare

Patch Changes

@segment/[email protected]

13 Feb 20:34
1c83289
Compare
Choose a tag to compare

Patch Changes

@segment/[email protected]

12 Feb 20:40
989d423
Compare
Choose a tag to compare

Minor Changes

  • #1220 bf868573 Thanks @silesky! - Allow registration of middleware to allow for dropping and modification of signals

    class MyMiddleware implements SignalsMiddleware {
      process(signal: Signal) {
        if (
          signal.type === 'network' &&
          signal.data.action === 'request' &&
          ...
        ) {
          // drop or modify signal
          return null
        } else {
          return signal
        }
      }
    }
    const signalsPlugin = new SignalsPlugin({
      middleware: [new MyMiddleware()]
    })

Patch Changes

  • #1224 171080cc Thanks @silesky! - Refactor to use SignalEmitter middleware + subscriber interface internally