# Script Changelog

**`v2.20`**

Product cards now show dynamic pricing for Amazon products: the current price and store, e.g. "$47 at Amazon", updated at least once a day. Items on sale also show the original price struck through, the percent saved and the deal badge, such as "Limited time deal".

**`v2.19`**

Clicks on links, hotspots and product cards dispatch a `mentionlinkclicked` event, so you can send them to your own analytics. See [Click Tracking](<https://mentionlink.com/tracking/index.md>).

**`v2.18`**

Links, hotspots and product card carousels are now WCAG 2.2 Level AA compliant, verified by automated accessibility tests.

**`v2.17`**

Removed text rewriting feature.

**`v2.16`**

Hotspots are now shown while the user is scrolling and fade out when scrolling stops.

**`v2.15`**

Introduced product card components for horizontal carousel displays, enabling rich visual product showcases in scrollable layouts.

**`v2.14`**

Removed yellow highlight animation feature.

**`v2.13`**

Removed administrative mode.

**`v2.12`**

Breaking change on API contract regarding image processing.

**`v2.11`**

Added support for hotspots when captioning.

**`v2.10`**

Made the affiliate linking disclaimer configurable.

**`v2.9`**

Introduced A/B testing support for enabling experimentation of frontend features.

**`v2.8`**

Added dwell-time analytics with granular engagement duration reporting.

**`v2.7`**

Added controls to disable Mentionlink on specific pages.

**`v2.6`**

Integrated Sentry for real-time client-side exception monitoring, enabling faster issue detection and resolution.

**`v2.5`**

Enhanced library functionality to support product preference customization and recommendation demos.

**`v2.4`**

~~Added support for excluding specific content blocks from being rewritten using the `data-mentionlink-skip="rewrite"` attribute.~~

**`v2.3`**

Added captioning feature.

**`v2.2`**

Strengthened type safety by compiling with TypeScript strict mode and no-emit validation. Refactored codebase into modular components following object-oriented design principles.

**`v2.1`**

Introduced editorial controls allowing content managers to review detected product mentions and selectively remove unwanted affiliate links.

**`v2.0`**

Migrated to a new HTTP streaming architecture to reduce latency and enable near real-time processing.

**`v1.7`**

Separated CSS theme styles from the JavaScript bundle to enable independent minification and improve the overall script performance.

**`v1.6`**

Added configurable staging environment support to enable safe testing against non-production backend endpoints and prevent live site incidents.

**`v1.5`**

Introduced click tracking analytics to provide customers with detailed clickthrough rate reporting and performance insights.

**`v1.4`**

Updated script loading mechanism from `async` to `defer` to provide web administrators with better control over script execution timing.

**`v1.3`**

Updated affiliate link relationship attribute from `nofollow` to `sponsored` to align with Google's SEO guidelines.

**`v1.2`**

Added mandatory legal disclosure to comply with affiliate network guidelines and regulatory requirements.

**`v1.1`**

Improved text matching to respect word boundaries, preventing false positive matches on partial words.

**`v1.0`**

Released the first version.
