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.
Contents:
Releases of Connector Script 3¶
3.16.0¶
Features:¶
Improve identify link text for locale en-US
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
3.15.0¶
Features:¶
Update list of US payment methods: Remove Discover Card because it’s no longer supported
3.14.0¶
Features:¶
Update Laterpay logo
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
3.13.0¶
Features:¶
Restore compatibility with 3Q player v4 (as of 2020-07-07)
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
3.12.1¶
Bugfixes:¶
Restore compatibility with the 3Q video player version deployed via https://playout.3qsdn.com/player/js/sdnplayer.js as of 2020-01-15
Maintenance:¶
Updates of internal development tools
3.12.0¶
Improvements:¶
Differentiate wording of Purchase Button labels by medium (Classic: “Read Now, Pay Later”, Video: “Watch Now, Pay Later”)
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
3.11.0¶
Features:¶
Add target property to Free-Form Purchase Options. Instead of a redirect, Free-Form Purchase Options can now open a new window/tab or another existing window.
Maintenance:¶
Updates of runtime dependencies
3.10.2¶
Maintenance:¶
Improve internal test setup and tooling
Updates of runtime dependencies
Updates of development dependencies
3.10.0¶
Features:¶
Allow whitelisted HTML in all translations strings and in titles and descriptions from Free-Form Purchase Options
Allow for defining individual Purchase Button titles (shown on hover) depending on the Sales Model and Payment Model of the selected Purchase Option. Before, only the Purchase Button label could be defined individually. See section Translations for a list of all translatable strings.
Improvements:¶
Improve CSS class names to avoid conflicts with the rest of a web page
Improve persistence of user identification when a user token is about to expire
Update the translation keys for custom Purchase Button labels and titles to replace legacy terms
ppu
andsis
withpayLater
andpayNow
. The legacy keys are now deprecated but will continue to work until the next major release.
Bugfixes:¶
Fix an analytics bug where the Google Analytics event action “Purchase Complete” was emitted instead of “Paid Content Purchase Complete” when a user returned after having successfully purchased a subscription
Fix a visual bug in Connector Script for Video where the LaterPay logo on the Purchase Button would not scroll but stay fixed on the Purchase Overlay
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
Dependency clean up and refactoring
3.9.0¶
Features:¶
Introduce Free-Form Purchase Options: This allows for defining completely custom entries of the purchase list. An example application is a login link for existing customers which can now be visually integrated into the list of other purchase options.
Bugfixes:¶
Make Connector Script for Video compatible with the lastest 3Q player release
Maintenance:¶
Updates of development dependencies
3.8.0¶
Features:¶
Introduce JSON In-Page Configuration for Connector Script Classic. It allows for defining In-Page Configuration in JSON format instead of or alongside the traditional
<meta>
elements.
Experimental features:¶
Add basic support for the experimental Connector Middleware (closed beta)
Maintenance:¶
Updates of development dependencies
3.7.1¶
Bugfixes:¶
Fix bad version number in the code. This fixes a misguiding log message which reported the wrong version number
3.6.7
when the actual version number was3.7.0
.
3.7.0¶
Experimental features:¶
Add experimental support for CORS user identification. This will improve the UX particularly for returning users.
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
3.6.6¶
Bugfixes:¶
Set Google Analytics flag
nonInteraction
for non-interactive events. This fixes an issue where the reported bounce rate is lower than expected on pages that include Connector Script.
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
3.6.5¶
Bugfixes:¶
Handle API validation errors when the user token (
lptokenUrl
) is invalid
Maintenance:¶
Updates of development dependencies
3.6.4¶
Bugfixes:¶
Fix content obfuscation on pages with a slow DOM
Maintenance:¶
Updates of development dependencies
3.6.3¶
Bugfixes:¶
Fix US number formatting (decimal and thousands separator)
Maintenance:¶
Updates of development dependencies
3.6.2¶
Bugfixes:¶
Fix and update payment method icons for region US
Fix layout of “Powered by LaterPay” on mobile screens
Fix layout of selected item in purchase list on mobile screens
Fix purchase overlay header layout in variant “raw-white” on mobile screens
Fix text obfuscation for blurred replacement content
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
Code refactoring
Improvement of development tools
3.6.1¶
Bugfixes:¶
Restore compatibility with Internet Explorer 11 which was broken due to a regression in version 3.3.0
Maintenance:¶
Updates of development dependencies
Minor code refactoring
3.6.0¶
Features:¶
Video: Add In-Page Configuration Property “Global Player ID”: It allows for using the “Resume Playback” feature on sites with dynamic URLs
Bugfixes:¶
Video: Make “Resume Video” feature more stable: Identify video players based on page URL and player element ID
Maintenance:¶
Updates of development dependencies
3.5.0¶
Features:¶
Add feature “Resume Playback”: Lets users opt-in to resuming from their last playback position after a purchase.
Bugfixes:¶
Fix custom flow control through In-Page Configuration Callback “On Access Denied”: If continuation of Connector Script is prevented or delayed, this affects paid content obfuscation now, too.
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
3.4.0¶
Features:¶
Add native support for 3Q video player with mode “Sell Video”
Bugfixes:¶
Fix ad handling when user has purchased access in mode “Sell Video”
Fix default mode “Sell Video” in Connector Script for video players
Maintenance:¶
Updates of runtime dependencies
Updates of development dependencies
3.3.0¶
Features:¶
Add native support for Video.js player with mode “Sell Video”
Improvements:¶
Various internal improvements (code refactoring and dependency updates)
Enable more verbose logging in Sandbox bundles (change log level from
warning
toinfo
)Log a descriptive warning when the website domain is not white-listed in Connector (CORS error)
Bugfixes:¶
Fix a bug that caused the translation message
purchase_overlay:current_article_description
to have no effect
3.2.1¶
Improvements:¶
Update of the internal workflow dependencies
Bugfixes:¶
Fixed the alignment of the icon in the purchase button when the default line-height is altered
Fixed background-color of the footer section when it was set globally
3.2.0¶
Features:¶
Add support for “Skip Ad Pre-Play” to Flowplayer 7 plugin in Connector Script For Video Players
Add support for multiple video player instances on the same page to Connector Script For Video Players
3.1.0¶
Features:¶
Add support for “Sell Video” teaser feature (
sellVideoOffset
) to Flowplayer 7 plugin in Connector Script For Video Players.Anonymize user IPs when sending data to LaterPay’s internal Google Analytics Property. Read more about data collection in chapter Data Collection. Refer to chapter Initialize Google Analytics for details on how to disable automatic initialization of Google Analytics.
3.0.0¶
This is the first stable release of the new major version 3 of Connector Script.
Connector Script 3.0.0 will be mostly backwards compatible with existing integrations. See chapter Migration Guide for details.
Most Important New Features:¶
Native support for video players JW Player and Flowplayer 7
In-Page Configuration Token: It allows for defining Purchase Options of all Sales Models via In-Page Configuration (Single Purchase, TimePass and Subscription).
Re-initialization of the app without reloading the page: This is particularly useful for Single Page Applications (not available for video plugins). See On Ready for details.
3.0.0-beta4¶
This is the third pre-release of the new major version 3 of Connector Script.
Connector Script 3.0.0 will be mostly backwards compatible with existing integrations. See chapter Migration Guide for details.
Bugfixes:¶
Fix a bug that broke most In-Page Configuration in video player plugins
Fix a bug that prevented optional translations from being rendered in Video Purchase Overlay
3.0.0-beta3¶
This is the third pre-release of the new major version 3 of Connector Script.
Connector Script 3.0.0 will be mostly backwards compatible with existing integrations. See chapter Migration Guide for details.
Features:¶
Add native support for video players Flowplayer 7 and JW Player
3.0.0-beta2¶
This is the second pre-release of the new major version 3 of Connector Script.
Connector Script 3.0.0 will be mostly backwards compatible with existing integrations. See chapter Migration Guide for details.
Features:¶
Add new In-Page Configuration Callback “On Ready”. It exposes the
lpcHandle
object which allows for controlling the application flow of Connector Script. This is particularly useful for Single Page Applications.
Improvements:¶
Modularize styles using Stylable. This improves encapsulation and performance of the UI.
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 chapter Migration Guide 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
Releases of Connector Script 2¶
2.18.0¶
Features:¶
Anonymize user IPs when sending data to LaterPay’s internal Google Analytics Property. Read more about data collection in chapter Data Collection. Refer to chapter Initialize Google Analytics for details on how to disable automatic initialization of Google Analytics.
2.14.0¶
Features:¶
Add Analytics Events
Paid Content Identify
andAdVantage Identify
Bugfixes:¶
Fix appearance of initially selected purchase option on mobile devices
Fix a bug that prevented Analytics Events
Paid Content Purchase Complete
andAdVantage 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 withHide Single Purchase
Rename
Tracking
toAnalytics
Deprecate In-Page Configuration Callback
On Tracking Event
and replace it withOn 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 ofSecondary 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 ActionsPaid Content Purchase Complete
andAdVantage Purchase Complete
Introduce Additional Event Data for Tracking Event Actions
Paid Content Purchase
,AdVantage Purchase
,Paid Content Purchase Complete
andAdVantage 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.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
andSIS
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 purchaseAllow 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 HTMLWe 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.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.