Releases of Connector Script

This is a list of all releases of Connector Script and their respective release notes.

See section URLs of Connector Script for instructions on how to pin a specific release in your integration.

3.0.0-beta1

This is a pre-release of the new major version 3 of Connector Script. It improves performance and lays the groundwork for upcoming new features that will improve flexibility, particularly for use with Single Page Applications.

Connector Script 3.0.0 will be mostly backwards compatible with existing integrations. See section Connector Script 3 Beta for details.

Features:

  • In-Page Configuration Token replaces the JWT Dynamic Content API and allows for defining Purchase Options of all Sales Models (Single Purchase, TimePass, Subscription) via In-Page Configuration

Improvements:

Performance:

  • Smaller file size
  • Fewer API requests
  • Use local storage instead of cookies

2.17.0

Features:

  • Internal changes

Improvements:

  • Improve styles

2.16.0

Features:

  • Add PayPal logo to list of supported payment methods in region EU

2.15.0

Features:

  • Internal changes

2.14.0

Features:

  • Add Analytics Events Paid Content Identify and AdVantage Identify

Bugfixes:

  • Fix appearance of initially selected purchase option on mobile devices
  • Fix a bug that prevented Analytics Events Paid Content Purchase Complete and AdVantage Purchase Complete from being triggered under certain conditions

2.13.0

Features:

  • Add Visa debit logo as payment method for US region
  • Add internal analytics and related In-Page Configuration Property initialize_google_analytics

Improvements:

  • Update and add illustrations to the documentation

2.12.0

Features:

  • Add In-Page Configuration Callback On Access Denied

Improvements:

  • Deprecate In-Page Configuration Property Time Passes Only and replace it with Hide Single Purchase
  • Rename Tracking to Analytics
  • Deprecate In-Page Configuration Callback On Tracking Event and replace it with On Analytics Event
  • Refactor documentation

2.11.0

Features:

  • Add support and dedicated JS bundles for new region US
  • Add support for Paid Content Subscriptions

Improvements:

  • Improve encapsulation of user event handling to prevent incompatibilities with other scripts

2.10.0

Features:

  • Reduce In-Page Configuration redundancy: Allow for Common Appearance Properties of the Purchase Overlay and the AdVantage Overlay to be defined only once

Improvements:

  • Improve documentation for In-Page Configuration

2.9.1

Bugfixes:

  • Use Primary Color instead of Secondary Color as text color for Identify Button, if specified via In-Page Configuration

2.9.0

Features:

  • Replace Tracking Event Action Purchase Complete with new Event Actions Paid Content Purchase Complete and AdVantage Purchase Complete
  • Introduce Additional Event Data for Tracking Event Actions Paid Content Purchase, AdVantage Purchase, Paid Content Purchase Complete and AdVantage Purchase Complete
  • Use Secondary Color as text color for Identify Button, if specified via In-Page Configuration

2.8.1

Bugfixes:

  • Fix a bug that prevented unidentified users from accessing an article after having purchased it

2.8.0

Features:

  • Extend functionality of “I already bought this” link: Users now have an option of signing in to their LaterPay account which makes it easy for them to access their purchases on different devices

Bugfixes:

  • Fix AdVantage CSS Hiding Detection to prevent false positives on websites with slow DOM performance

2.7.3

Bugfixes:

  • Fix a bug that prevented radio buttons from being activated when clicking on certain areas of a purchase list item

2.7.2

Improvements:

  • Update to jQuery 3 internally to reduce bundle size and to improve performance

Bugfixes:

  • Fix incompatibility with RequireJS

2.7.1

Bugfixes:

  • Fix a bug that broke Webtrekk support in 2.7.0

2.7.0

Features:

  • Add Sandbox indicator to Purchase Overlay and AdVantage Overlay

Improvements:

  • Improve documentation
  • Catch and log JS errors that originate from In-Page Configuration Callback functions
  • Strip leading and tailing whitespaces and any tabs when scraping an article’s title

Bugfixes:

  • Fix incompatibility with certain in-page web package managers: Remove global function require
  • Fix purchase button that didn’t work when using browser’s back button without reloading the page

2.6.0

Features:

  • Use new LaterPay CI colors

Improvements:

  • Improve documentation

Bugfixes:

  • Fix purchase button text color: It could be overwritten by local style sheets in some cases

2.5.1

Bugfixes:

  • Fix “I already bought this” link: It was rendered with a broken link target in cases, when it should not have been rendered at all

2.5.0

Features:

  • Add dynamic purchase button labels for different purchase types PPU and SIS

Improvements:

  • Enable automatic hyphenation in supported browsers to improve responsiveness of the purchase list

Bugfixes:

  • Fix a logging bug that occured in the sandbox bundle in IE 9
  • Fix SVG icons in IE 9

2.4.0

Features:

  • Randomize CSS class names at runtime to prevent custom blocking of UI elements

Improvements:

  • Use CORS instead of JSONP when requesting the API in modern browsers
  • Inline all styles in the JS file, no separate HTTP request needed anymore

2.3.0

Features:

  • Use npm package @laterpay/assets now to serve SVG assets
  • Add user identification to Connector MWI overlays so that existing customers can restore their purchases
  • Add option for Extended Adblocker Detection (e.g. Firefox Privacy Protection)

Improvements:

  • New LaterPay logo
  • LaterPay Logo in Connector MWI overlay is now linked

Bugfixes:

  • Fix translation issues in help and identify buttons

2.2.0

Features:

  • Remove URL parameter _ce_pc after successful purchase
  • Allow multiple values for In-page Configuration property article_id

Improvements:

  • Remove deprecated code to reduce bundle filesize

Bugfixes:

  • CSS: Fix AdVantage default theme help button color
  • CSS: Fix price width in overlays

2.1.1

Bugfixes:

  • Add support for websites using a <base href="" /> element in the HTML
  • We fixed an issue where the tracking event for “AdVantage Show” was not triggered correctly

2.1.0

Features:

  • New tracking event “Purchase Complete”, available via Custom Callback

Bugfixes:

  • Fix width of the AdVantage overlay content on large displays under certain conditions

2.0.0

Features:

  • Improve start-up performance of the LaterPay Connector Overlays. This change is breaking the existing behavior and initializes the script before the DOM Ready event to show the overlays earlier. This change now requires all In-Page-Configuration meta elements to be defined before the script is called.

1.15.1

Bugfixes:

  • Fix a visual issue with our flexbox implementation in the overlays in IE11

1.15.0

Features:

  • Refactor JavaScript core application codebase
  • Improve unit test coverage for core application codebase
  • Use shorter text for content replacement to reduce file/app size
  • New, refactored tracking events class with support for custom callbacks
  • Use generic dark gray color for radio buttons instead of opinionated green
  • Use font-weight: normal for buttons now

Bugfixes:

  • Normalize and unify styles in the LaterPay Connector

1.14.0

Features:

  • Added bot and crawler handling for AdVantage
  • Do not hide the overlay anymore before leaving the page to purchase. This prevents an inssue in which the overlay was not appearing again when hitting the ‘back’ button in the browser

Bugfixes/Changes:

  • Fix LaterPay Connector logo position in purchase button on small screen sizes, introduced in 1.13.0
  • Fix header background gradient regression in theme raw-white LaterPay Connector, introduced in 1.13.0

1.13.2

  • Fix an issue where our CSS was overwriting custom colors in a custom header with background image.

1.13.1

  • Fix an issue where custom text could create a non-ideal scroll behavior of the LaterPay Connector container on small screen sizes.

1.13.0

Features:

  • Add and use new LaterPay logo.
  • Add option for a custom header background image in LaterPay Connector overlays
  • Clean up of legacy assets in the build files, resulting in smaller asset files

1.12.0

Features / Improvements:

  • Add optional paragraph text (description) to LaterPay Connector overlay header
  • Allow a custom background-image in LaterPay Connector overlay header
  • Allow a custom text color in header
  • Allow the hiding of borders in main container
  • Allow different custom colors in primary and secondary button
  • Add callback event to fire after ad-block detection has executed

Bugfixes / Changes:

  • Change default translation for “this article” in german
  • Use jQuery 1.11.3 instead of 1.x to avoid version-specific issues

1.11.4

  • Fix a click target issue with the advanced purchase button markup
  • Improve selector matching of custom “read how to deactivate” content

1.11.3

  • Calculate proper equal heights via JavaScript for AdVantage overlay layout
  • Fix visual regression for the new introduced AdVantage click for help button (had padding-left applied where it shouldn’t)
  • Fix an issue with button positions in the LaterPay Connector default theme, introduced in 1.11.0
  • Remove minimal heights for the AdVantage “Allow Ads” Section to avoid unnecessary whitespace in case the reload icon is hidden by the InPage-Configuration parameter.

1.11.2

  • Fix an issue with our JavaScript code where an API check went wrong due to a check for an object where it is an array instead.

1.11.1

  • Fix some minor visual issues in the Purchase and AdVantage overlays.

1.11.0

  • Refactor large parts of the core JavaScript codebase
  • Improve and refactor large parts of the unit tests
  • Allow Custom Appearance via InPage-Configuration for LaterPay Connector overlays
  • Enable Custom Appearance via InPage-Configuration on AdVantage dialogs
  • Allow custom font-family to be set via InPage-Configuration
  • Fix some minor visual issues in the overlays.

1.10.0

Features / Improvements:

  • Add feature test for CSS filters and add a fallback for browsers not supporting it
  • Scrape only the first title_selector match
  • New, refactored analytics class
  • Use different functions for URL updating and redirecting
  • Fix functional tests for multiple elements matching the cms_template…
  • Add missing unit test and improve coverage

1.9.0

This is a minor release that breaks up compatibility. This release removes the feature from Connector LaterPay Connector AdVantage to detect Firefox Private Browsing and Privacy Extensions, as requested in CONNECTOR-365.

  • Comment out AdVantage Resource Blocking Detector temporarily.

1.7.1

Features:

  • Detection for advanced content / privacy blockers (such as Firefox privacy protection mode)

1.6.1

  • Improve specificity of the CSS styles of the Connector LaterPay Connector overlays to avoid style leaks from the host into the overlay.

1.6.0

Features:

  • Add option for the merchant to provide Custom Article IDs
  • Add option for the merchant to provide a custom In-Page-Configuration
  • Use DOMPurify for dynamic values in LaterPay Connector to avoid XSS attacks on our overlays
  • Add custom logo support via In-Page-Configuration

Improvements:

  • Update translations
  • Improve documentation and unit tests
  • Improve filesize of the icon svg sprite

Bugfixes:

  • Match only first element of matching selectors and trigger dialogs only once per page

1.5.0

We’re sorry, the release notes for this release have not been backported yet for this version.

1.4.1

We’re sorry, the release notes for this release have not been backported yet for this version.

1.4.0

We’re sorry, the release notes for this release have not been backported yet for this version.

1.3.0

We’re sorry, the release notes for this release have not been backported yet for this version.

1.2.0

We’re sorry, the release notes for this release have not been backported yet for this version.

1.1.0

We’re sorry, the release notes for this release have not been backported yet for this version.

1.0.0

We’re sorry, the release notes for this release have not been backported yet for this version.