Last modified September 17, 2024 by Shelly Wolfe

Web SDK release notes

Swrve has an open source SDK repository. There are two options for downloading the latest public Swrve Web SDK:

  • Install the SDK using npm (node package manager).
    Run the following command: npm install @swrve/web-sdk.
  • Download the SDK from the GitHub public repository.

For upgrade instructions, see the Web SDK upgrade guide.


Release 2.3.0

Release date: March 15, 2024

Features

  • Updated our third-party dependencies to mitigate potential security vulnerabilities.

Release 2.2.1

Release date: February 1, 2024

Fixes

  • Updated the current push subscription status on each session start.

Release 2.2.0

Release date: December 8, 2023

Fixes

  • Fixed an issue when the application is closed, which could potentially drop push delivered and engaged events.
  • Fixed an issue where a potential race condition may occur when subscribing to push notifications for the first time.

Release 2.1.0

Release date: November 23, 2023

Fixes

  • Resolved a web push issue to ensure tokens are correctly updated within our backend.
  • Upgraded crypto-js to v4.2.0.

Release 2.0.3

Release date: March 30, 2023

Fixes

  • Fixed an issue with embedded campaign throttling due to an incorrect UTC DateTime format check.

Release 2.0.2

Release date: November 2, 2022

Fixes

  • Removed debug logging to align the Web SDK with the Web Core SDK.

Release 2.0.1

Release date: July 14, 2022

Fixes

  • Removed space and length restrictions on event names for consistency across our SDKs.

Release 2.0.0

Release date: March 9, 2022

Features

  • Added support for the following features:
  • Added the push delivered event to web push.
  • Moved QA logging to its own queue making it send events independently to the standard event queue, improving reliability and reducing noise when debugging.
  • Added better typescript support by including types with our npm package.

Fixes

  • Fixed a rare issue where appID would break in validation for legitimate app IDs.

Previous releases summary

Date Version Features and Fixes
January 29, 2021 1.4.3 Various bug fixes.
January 14, 2021 1.4.2 Resolved an issue where duplicate QA events were displaying in the QA user log. Added device type to device update event.
October 23, 2020 1.4.1 Resolved an issue where the browser detection was incorrectly firing an error message on session start.
October 22, 2020 1.4.0 Updated tracking of device OS and type for platform-specific delivery of in-app messages. Resolved an issue where the Device Update event was returning Chrome as the value for all browsers.
September 16, 2019 1.3.2 Resolved an issue where the content URL was not changing appropriately for customers using EU data storage.
July 9, 2019 1.3.1 Tracking will no longer start on unsupported browsers and operating systems and increased the default session interval timeout from 30 seconds to 30 minutes. Various bug fixes.
January 17, 2019 1.3.0 Added the in-app purchase event. Resolved an issue where the autoPushSubscribe config was being ignored.
October 25, 2018 1.2.1 Bug fixes.
October 24, 2018 1.2.0 Multiple additions to package.json meta data and improvements to source maps generation and QA user event logic. Various bug fixes.
October 22, 2018 1.1.0 Added support for web push notifications and currency given event. Various bug fixes.
August 30, 2018 1.0.0 First public release.