# Changelog

All notable changes to Tipser Elements project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.3.0] - 2023-08-03
### Added
- Beta support to Dynamic Import and Express Checkout for Tipser Elements
- Direct to Checkout refinements - Tipser Script support
- Support to dynamic Bolt Embed script configuration depending on the account configuration

## [4.2.4] - 2023-03-29
### Fixed
- Shopper account creation checkbox default selection is now properly recognized

## [4.2.3] - 2023-03-15

### Fixed
- Multiple minor UI fixes to checkout
- Clearing cart on Direct to Checkout action
- Shopper account creation is default checked on US markets
- Optimized UI of Direct to Checkout on mobile
- Fixed accidental Direct to Checkout modal closing
- Fixed promo code button input overflowing the label

## [4.2.2] - 2023-03-10

### Fixed
- Link replacement didn't open the checkout when the anchor element contained an HTML element that captured an event.
Now, anchor can contain any element within and the dialog will be correctly opened.

## [4.2.1] - 2023-03-09

### Added

- Introduced new beta API for Link Replacement with DOM mutation observer in both Script and Elements
- Added demo site for Link Replacement

### Changed

- Footer links lead now to the updated privacy policy for US and UK customers to allow passing
customer support directly to merchant
- Optimized performance of Direct to Checkout to avoid unnecessary rerenders

### Removed

- Removed previously ignored Lint errors and warnings to ensure stronger typing

## [4.2.0] - 2023-02-20

### Added
- Introduced a new beta API for easy direct to checkout implementation on both Tipser Script and Tipser Elements

## [4.1.0]

### Fixed

- Checkout and Confirmation Pages display incorrect discount amount when there is also discounted (free) shipping.
- When a payment via credit card fails a nice error message appears now - previously there was no message to a shopper

### Changed

- As logged shopper, when a payment is completed with a new card, the card is remembered for the next purchases

## [4.0.14] - 2023-01-18

### Changed

- Updated cart and checkout purchase consent for UK and US markets

## [4.0.13] - 2023-01-05

### Changed

- Login Box on Checkout Page is relocated to a more intuitive position -> to the top of the page.h

### Fixed

- Completing PayPal's express checkout won't freeze anymore on infinite loading state.

## [4.0.12] - 2022-12-20

### Fixed

- Changing billing address on Checkout Page shouldn't crash Tipser Elements anymore.

## [4.0.11] - 2022-12-14

### Changed
- Introduced a distinction in communication with the user for purchases from merchants who run their own customer support and from merchants whose customer support is run by Tipser.
  - Introduce Payment Receipt page as replacement for order confirmation page for merchants, that own customer support.
  - Minor changes to views and texts, related to introduction of customer support handled by merchants.

### Added
- Billing address to Confirmation Page

### Fixed
- Minor errors on Confirmation Page and Checkout Page

## [4.0.10]

### Fixed

- Quick fix of visibility of US Duty Warning on Cart Page - the warning hidden temporarily.

## [4.0.9] - 2022-10-25

## Fixed

- TypeError that appeared in context of CodeSandbox and similar

## [4.0.8] - 2022-10-10

### Fixed

- Shipping information address form on mobile was in two columns instead of one, making it hard to read.

## [4.0.7] - 2022-10-06

### Fixed

- Fixed buy buttons sometimes being disabled when interacting with variants on the product view page

## [4.0.6] - 2022-09-26

### Fixed
- Fix error when React sometimes was loosing event in checkout form

## [4.0.5] - 2022-09-07

### Changed
- Hide Out Of Stock items from variants selector when there are in total more than 30
- Fix readability issue in select, setting its max-height

### Fixed
- Fix error handling for delivery address

## [4.0.4] - 2022-08-18

### Changed
- Update visa logo

## [4.0.3] - 2022-07-20

### Fixed
- Fixed redirecting to confirmation page on Tipser Script

## [4.0.2] - 2022-07-14

### Fixed

- Added proper support for shoppers without shipping address

## [4.0.1] - 2022-07-13

### Fixed

- Small stylystic improvements in checkout UI

## [4.0.0] - 2022-07-07

### Added

- Support for Bolt's one-click checkout
