Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jantimon/snowplow-javascript-tracker
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: snowplow/snowplow-javascript-tracker
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 13 commits
  • 138 files changed
  • 6 contributors

Commits on Apr 1, 2026

  1. Add browser-plugin-bot-detection wrapping FingerprintJS BotD (snowplo…

    …w#1460)
    
    * Add browser-plugin-bot-detection wrapping FingerprintJS BotD
    
    Introduces a new browser tracker plugin that detects bots client-side
    using @fingerprintjs/botd and attaches the result as a
    client_side_bot_detection context entity to all tracked events.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    2 people authored and matus-tomlein committed Apr 1, 2026
    Configuration menu
    Copy the full SHA
    25a2bf1 View commit details
    Browse the repository at this point in the history
  2. Prepare for release

    matus-tomlein committed Apr 1, 2026
    Configuration menu
    Copy the full SHA
    82680cd View commit details
    Browse the repository at this point in the history
  3. Replace sha1 npm package with inline implementation (snowplow#1465)

    Fixes snowplow#1464
    
    The `sha1` npm package references `Buffer.isBuffer()` internally. Bundlers like webpack/Next.js see this and inject a **~28 KB Buffer polyfill** into every client page — even though the `Buffer` code path is never reached (we only hash short strings)
    
    On top of that, `sha1` only ships CommonJS, forcing CJS interop on every bundler that consumes the ESM dist
    
    - Remove `sha1` and `@types/sha1` dependencies
    - Add a ~90-line inline SHA-1 (FIPS 180-4) that only handles UTF-8 strings — which is all the tracker needs
    - Tests cover RFC 3174 vectors plus the actual domain-hash values to ensure identical output
    
    - **-28 KB raw / ~7 KB gzipped** from every page for Next.js / webpack 5 users
    - Eliminates the last CJS dependency in `browser-tracker-core`
    - No API or behavioral changes
    jantimon authored and matus-tomlein committed Apr 1, 2026
    Configuration menu
    Copy the full SHA
    6a26e0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    76ac4da View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5c12053 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    16e01ee View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2026

  1. Update bundlemon to version 3 to fix CI failures on change check (sno…

    …wplow#1469)
    
    * Update bundlemon to version 3 to fix CI failures on change check
    
    * Add permissions for check workflow
    
    * Only run when triggered from the same repo
    
    * Tweak max size limits
    
    # 50-character subject line
    #   * Present tense
    #
    # 72-character wrapped longer description. This should answer:
    #   * Why was this change necessary?
    #   * How does it address the problem?
    #   * Are there any side effects?
    matus-tomlein authored Apr 20, 2026
    Configuration menu
    Copy the full SHA
    6a21bb5 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2026

  1. fix(optimizely-x): capture campaignId for Personalization campaigns (s…

    …nowplow#1468)
    
    Co-authored-by: James Shebester <James.Shebester@optimizely.com>
    matus-tomlein and JamesShebester committed Apr 22, 2026
    Configuration menu
    Copy the full SHA
    78a45e7 View commit details
    Browse the repository at this point in the history
  2. Add opt-in extended activity tracking with activity_metrics entity (s…

    …nowplow#1467)
    
    * Add opt-in extended activity tracking with activity_metrics entity
    
    Attach quantitative activity metrics (mouse distance, scroll distance,
    key presses, clicks, touches) to page_ping events when
    extendedActivityTracking is enabled. Reuses existing DOM event handlers
    with zero overhead when the feature is off.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * Add change files
    
    * Add API extractor changes
    
    * Address review feedback
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
    2 people authored and matus-tomlein committed Apr 22, 2026
    Configuration menu
    Copy the full SHA
    7bf4f4f View commit details
    Browse the repository at this point in the history
  3. chore(api-docs): bump Docusaurus to 3.10.0 and patch transitive CVEs

    Upgrades @docusaurus/core and related packages from 3.4.0 to 3.10.0 and adds
    npm overrides for serialize-javascript, lodash, and webpackbar to clear the
    remaining high-severity transitive vulnerabilities flagged by Snyk
    (node-forge, svgo, minimatch, brace-expansion, serialize-javascript RCE,
    lodash prototype pollution). npm audit now reports 0 vulnerabilities and
    docusaurus build succeeds.
    
    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    matus-tomlein and claude committed Apr 22, 2026
    Configuration menu
    Copy the full SHA
    f4a8bed View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2026

  1. Configuration menu
    Copy the full SHA
    78aba13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    593e070 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6aa02d0 View commit details
    Browse the repository at this point in the history
Loading