Skip to content

Latest commit

 

History

History
858 lines (473 loc) · 49 KB

CHANGELOG.md

File metadata and controls

858 lines (473 loc) · 49 KB

4.12.1 (2024-11-21)

Bug Fixes

  • address vulnerability on dependencies (c790678)

4.12.0 (2024-11-14)

Features

4.11.3 (2024-10-10)

Bug Fixes

  • avoid infinite loop for expired access token (48352df)

4.11.2 (2024-10-03)

Bug Fixes

4.11.1 (2024-09-17)

Bug Fixes

  • avoid removing adyen supported languages (9f5901f)

4.11.0 (2024-09-16)

Bug Fixes

Features

  • add support for Portuguese language (61143c7)

4.10.3 (2024-07-31)

Bug Fixes

  • disable payment change on order place (27c381e)
  • update components (b3ed451)

4.10.2 (2024-07-11)

Bug Fixes

4.10.1 (2024-05-15)

Bug Fixes

  • avoid automatic place on page reload for adyen when selecting a customer payment source (c16dc25)
  • enable Link as selectable saved payment source (ed4ac0f)
  • use loader for payment methods for logged in customer (90e30f2)

4.10.0 (2024-04-05)

Features

  • add support for Hungarian language (80e86e1)

4.9.0 (2024-04-05)

Features

  • override countries and states with organization config and preselect a default country (961dc33)

4.8.3 (2024-04-02)

Bug Fixes

  • adjust logic on step complete on page reload (2722bda)

4.8.2 (2024-04-02)

Bug Fixes

  • rollback AppProvider logic on fetching initial order (d60ede0)

4.8.1 (2024-03-28)

Bug Fixes

  • use correct check on is new address form (cb30d39)

4.8.0 (2024-03-20)

Features

  • use custom thank you page from organization config (79fac55)

4.7.0 (2024-03-08)

Features

  • add French translations (f4de671)
  • enhance order subscription payment source amend (cb67d11)

4.6.2 (2024-03-05)

Bug Fixes

  • prevent changing payment source while placing order (e162386)

Performance Improvements

  • update all dependencies (deba076)

4.6.1 (2024-02-20)

Bug Fixes

  • use customer address in address reference (4e23a90)

4.6.0 (2024-02-16)

Features

  • add Spanish support and translations (39d91f5)

4.5.4 (2024-02-13)

Performance Improvements

  • add audit step to ci and update deps (6f02e2c)

4.5.3 (2024-02-12)

Bug Fixes

  • remove empty div for Errors component when no errors to display (aca3f2b)

4.5.2 (2024-01-19)

Bug Fixes

  • redirect to thank you page skipping errors if order is in a placed status (c3072ea)

4.5.1 (2024-01-11)

Bug Fixes

4.5.0 (2024-01-11)

Features

  • add Polish support and translations (c05bfc9)

4.4.3 (2024-01-04)

Bug Fixes

  • avoid saving a customer payment source on order with subscription (99e6872)

4.4.2 (2023-12-22)

Bug Fixes

  • display stock transfer on shipment section (b4309d9)
  • prevent saving a customer payment source if already saved when a subscription is present (771f253)

4.4.1 (2023-12-21)

Bug Fixes

  • improve check for subscription_created_at attribute (c5ebb05)

4.4.0 (2023-12-13)

Bug Fixes

  • remove return to cart link on thank you page (fd600d0)

Features

  • improve subscriptions support during checkout flow (6322538)
  • save payment details if a customer is paying a failing order originated by an order subscription (6c25e9b)

4.3.2 (2023-11-21)

Bug Fixes

  • adjust duration and primary light color (fec09ca)

4.3.1 (2023-11-16)

Bug Fixes

  • check email format and form submit validation (cb982d6)

Performance Improvements

  • reduce bundle size, removing states and countries from react-components (4e614f9)

4.3.0 (2023-11-10)

Bug Fixes

  • change export to build command (e440c4d)

Features

  • upgrade to nextjs v14 and remove adyen languages not supported (edbd9c0)

4.2.5 (2023-11-09)

Bug Fixes

  • skip begin_checkout event when completing payment or reload page on placed orders (5b4c3c4)

4.2.4 (2023-11-07)

Bug Fixes

  • enforce check for require-await and remove useless async (91f3015)

4.2.3 (2023-11-03)

Bug Fixes

  • avoid check on country code lock for digital orders (b34c2d1)

4.2.2 (2023-11-02)

Bug Fixes

  • ignore shipping_country_code_lock for order with digital products only (0b41ed1)
  • refer to billing address for order with digital products only (11f8e41)

4.2.1 (2023-10-25)

Bug Fixes

  • show all form errors and avoid blinking on border (4c37447)

4.2.0 (2023-10-20)

Features

  • improve GTM performances removing calls to Commerce Layer (95e6840)

4.1.5 (2023-10-20)

Performance Improvements

  • make two setup calls in parallel (95dea4b)

4.1.4 (2023-10-20)

Bug Fixes

  • update selector for Klarna payment terms checkbox (german) (efcb78f)

4.1.3 (2023-10-19)

Bug Fixes

  • update all deps and types (e061e98)

4.1.2 (2023-10-13)

Bug Fixes

  • avoid losing focus on shipping method selection (cfc2916)

4.1.1 (2023-10-09)

Bug Fixes

  • bump dependencies with vulnerabilities (981f025)
  • new layout spacing and margins (103cb12)

4.1.0 (2023-10-03)

Features

  • add native Klarna support (93743be)

4.0.15 (2023-09-29)

Bug Fixes

  • populate isGuest state based on the access token (0b51d7d)

Performance Improvements

  • avoid sync call for refreshing the order on opening (e7707e5)

4.0.14 (2023-09-13)

Bug Fixes

  • add support for External shipping method (05963db)
  • enable stripe with latest react-components package (64d8eee)
  • Save addresses on wallet and update react-components to the latest version (27f637a)

4.0.13 (2023-08-23)

Bug Fixes

  • add support for crontab frequency (551878c)
  • display subscription frequency on summary (6d43494)

4.0.12 (2023-07-25)

Bug Fixes

  • upgrade packages and fix klarna test (c9bf491)

4.0.11 (2023-06-08)

Performance Improvements

  • upgrade @commercelayer/sdk and @types/react (74ba7d9)

4.0.10 (2023-05-24)

Bug Fixes

  • add Italian and German translation for wire transfer description (8a67548)

4.0.9 (2023-05-09)

Bug Fixes

  • Updated German translations (64adb2d)

4.0.8 (2023-05-04)

Bug Fixes

  • remove encrypted data from AdyenPayments (21e7561)
  • remove payment method price when free (4106b0c)
  • update German translation on payment method (3fd3b74)
  • upgrade dependencies (39bb6d7)

4.0.7 (2023-03-22)

Bug Fixes

  • fix return to cart link (5894e10)

4.0.6 (2023-03-20)

Bug Fixes

  • resolve favicon request error (e5636cb)

4.0.5 (2023-03-16)

Bug Fixes

  • upgrade to latest dependencies (646945e)

4.0.4 (2023-03-09)

Bug Fixes

  • change structure for adyen tests with 3d secure (290ae2c)

4.0.3 (2023-03-09)

Bug Fixes

  • add shortcut attribute to favicon (a80f2e3)
  • add new relic per environment (5c74bac)

4.0.2 (2023-03-02)

Bug Fixes

  • solve new relic issue for build on pipeline (c86e68e)

4.0.1 (2023-03-01)

Bug Fixes

  • set next build id to commit hash (bbc3ce0)

4.0.0 (2023-02-27)

Bug Fixes

  • Add Fragment component to avoid React 18 type errors (f9d01b6)
  • Payments Adyen Klarna specs (95ac15a)
  • Server side rendering error for react 18 (63e92e3)
  • Set shipping step when a discount is removed (e897820)

Features

  • Upgrade to React18 and implement new react component version (2e9c7a2)
  • Use React 18 (0547a08)

Performance Improvements

  • Get order from callback (7dc936c)
  • Get order resource by react-compenents callbacks (e1f71d7)
  • Hide external_payments (33e6059)
  • Rewrite provider functions (8aeb2ea)

BREAKING CHANGES

  • Starting from this major release of the Checkout application, we moved to React 18 and to version 4.x of Commerce Layer React Components

3.0.1 (2023-02-01)

Bug Fixes

  • upgrade dependencies to latest version (c77b169)

3.0.0 (2023-01-19)

Bug Fixes

  • rollback adyen-web package to be compatible with Adyen API v66 (c4b7abf)

Features

  • support Klarna on Adyen with Payment API v68 (02a6912)

BREAKING CHANGES

  • drop support for Adyen Payment API v66. Adyen payment gateway needs to be configured with v68 on Commerce Layer for the payments to be authorized successfully.

2.0.6 (2023-01-16)

Bug Fixes

  • allow Adyen payment with a credit card that requires 3D Secure 2 authentication (967ce9d)

2.0.5 (2023-01-09)

Bug Fixes

  • update dependencies to latest version (0f671d1)

2.0.4 (2022-10-14)

Bug Fixes

  • improve adyen drop-in integration (6f1d3d9)

2.0.3 (2022-10-12)

Bug Fixes

  • improve authorization flow with Adyen drop-in (90a0bb8)

2.0.2 (2022-10-06)

Bug Fixes

  • add item_id to dataLayer for bundles (ba991d2)
  • keep customer address selected after delivery step (8c3ae14)

2.0.1 (2022-09-21)

Bug Fixes

  • Authorization calls on Adyen dropin (d5fe2da)

2.0.0 (2022-09-15)

Features

  • switch Checkout to a single page application (4ed5566)
  • switch to pnpm package manager (1ef9bc6), closes #277

BREAKING CHANGES

  • starting from this release only pnpm will be allowed as package manager
  • Checkout is now a single page application using react-router-dom

Starting from this release Checkout Application doesn’t require anymore hosting with Nodejs capabilities. Instead of building the project it is required to export it using the command yarn export. It is possible to test it on local environment using yarn serve command.

1.10.0 (2022-08-25)

Features

  • autoselect payment method if only one available in the market (c6bb966)

1.9.0 (2022-08-11)

Bug Fixes

  • remove error for customer wallet from order summary (5aac2f4)
  • sync JWT with local storage before calling settings endpoint (fabd92f)

Features

  • add payment methods support to Adyen gateway (Klarna and PayPal) (357ae68)

1.8.4 (2022-08-02)

Performance Improvements

  • improve GTM provider reducing API calls (075424d)

1.8.3 (2022-07-25)

Bug Fixes

  • force check slug variable on forked checkout (7d73126)

1.8.2 (2022-07-14)

Bug Fixes

  • fire GTM add_shipping_info event with autoselect shipping method (bfa55a5)

1.8.1 (2022-06-29)

Bug Fixes

  • count free items as line items (04c06ce)

1.8.0 (2022-06-16)

Features

  • add German translations (121bd05)

1.7.7 (2022-06-08)

Bug Fixes

  • thank you page with data on page reload (bcd74c9)
  • use group selector on payment cards (d5dad66)

1.7.6 (2022-05-31)

Bug Fixes

  • adjust padding on message and btn on thankyou page (392d191)
  • checkout on scenarios with free SKUs (ae0fcd5)
  • disable place order button on mobile (1a2c827)
  • display stock transfer as stock line items (2ed84b6)
  • remove empty div on active payment card (f2690d6)
  • remove gift card from order summary when is used (c2f5a3f)
  • Remove react console error from error children (6d18da4)
  • set payment required applying or removing gift card on each step (4312fcc)

Performance Improvements

  • using fetchOrder callback to get updated order from OrderContainer (d7e66ca)

1.7.5 (2022-05-11)

Bug Fixes

  • full width btn on thank you page for mobile (dfebf8a)

1.7.4 (2022-05-11)

Bug Fixes

  • solve a safari issue with disabled button in safari (b8aa1fd)

1.7.3 (2022-05-11)

Bug Fixes

  • allow removing or adding coupon returning from an external payment gateway page (PayPal, checkout.com) (213134c)
  • shipping method selection for SKU with no tracking stock (73bb1f0)
  • use available shipping method for shipments (4317e02)

1.7.2 (2022-05-09)

Bug Fixes

  • remove unit price in order summary (573ec70)

1.7.1 (2022-05-05)

Bug Fixes

  • avoid double payment intent creation (fd34f7e)
  • use new component for stock transfer (4b2cc89)

1.7.0 (2022-05-03)

Bug Fixes

  • avoid uppercasing coupon once applied (06f51ca)
  • Clean braintree errors on coupon section (78a9718)
  • Hide customer_email error on coupon code (dac90f4)
  • keep line_2 field optional on touch (f28becf)
  • lineItem options style refactored (9ca5ecd)
  • remove error if coupon input is cleared (3c1316c)
  • remove price from delivery step (fcda199)
  • select and use customer payment source (9a4b0ef)

Features

  • add checkout.com session after return from 3ds (a8d3496)
  • add coupon and gift card errors (6d8365f)
  • add retry for timeout in api/settings and keep url if failing on error page (4e6cc5f)
  • allow coupon and gift card on the same order (87b853e)
  • Checkout dot com form customization (6403eeb)
  • save accessToken in local storage for Paypal and checkout.com return (1052001)

1.6.0 (2022-03-28)

Bug Fixes

  • improve tax included or not in order summary (2a0acdd)

Features

  • add return to cart link below summary if present on order (623d5ef)

1.5.0 (2022-03-17)

Bug Fixes

  • autoselect shipping method if only one available (8694fba)
  • avoid to show remove coupon and giftcard link on thankyou page (71b0e4a)
  • check for customer email if addresses already present (a6e1a30)
  • compact duplicated errors (2f2de65)
  • open step from accordion if previous step completed (555bfb1)
  • shipping summary same height (03bec6c)
  • update ship to different address status on save (104a15b)

Features

  • add price for item with quantity gt 1 (c528d3d)

Performance Improvements

  • add DC to US states list (3f399a4)
  • switch general state to use reducer approach (db7baa6)

1.4.3 (2022-03-03)

Bug Fixes

  • enable automatic place order for PayPal (c75c878)

1.4.2 (2022-02-25)

Bug Fixes

  • avoid resetting payment_method on paypal return (9b0c775)

1.4.1 (2022-02-25)

Bug Fixes

  • nullify payment method with refresh if present (5efa1a8)

1.4.0 (2022-02-21)

Bug Fixes

  • bump react components for email validation fix (3f4b163)
  • keep T&C checkbox on top (0485a3c)
  • remove auto-fill background on input fields (76d021d)
  • remove blank spaces from support phone (4c5a15a)
  • support mail and phone clickable on mobile (37f2d31)

Features

  • add logic to set gtm id based on test mode (7a6db70)
  • new official CL color palette (bf3568a)

1.3.0 (2022-02-07)

Bug Fixes

  • avoid form rings cut off (8ae9edc)
  • enable tailwind base styles (e2836b8)
  • remove error below payment if not available coupon (8b59f52)
  • remove useless call for coupon calculations (bfba97e)
  • styling shipping_address_country_code select when locked (1800bde)
  • tailwind3 unnecessary classes (82c23a5)

Features

  • improve order with shipping country code lock (54171b7)
  • improve order with shipping country code lock (f45ad5d)

1.2.0 (2022-01-25)

Bug Fixes

  • add props for line items count (9fe6148)
  • address card grows into empty space (704c7a3)
  • change type for customer address card (50a7b7b)

Features

  • add components to step complete (3a1312d)
  • add wire transfer translation and refactor (934d545)
  • improve thank you with translations, free payment, no ship (5ceb3cc)
  • New thank you page layout (cc700ac)
  • order recap on thank you page (e36a544)

Performance Improvements

  • speed up checkout bootstrap (b375f19)
  • upgrade to react-components v3 without cities.json (ed3e3bf)

1.1.0 (2022-01-18)

Bug Fixes

  • avoid checkout error when refreshing quickly (9955768)
  • checkout an order with only bundles (7435acc)
  • ignore build error in test files (1ab6dbf)
  • show multiple bundles on the same order (8219cfb)

Features

1.0.1 (2021-12-31)

Bug Fixes

  • Slug control is actived when the checkout is hosted by Commerce Layer (b0c6ec7)

1.0.0 (2021-12-29)

Bug Fixes

  • add isShipmentRequired to OrderSummary to check ShippingAmount visibility (d9b18c3)
  • badge logic (337dd7e)
  • Braintree styles (faa01a6)
  • customer address duplicate (1f58d02)
  • customer form/addresses animation (7892d80)
  • deliveryLeadTime prop (a628057)
  • Development by localhost (d9c2eb5)
  • disable address button if customer email is empty (ef8c41b)
  • domain to commercelayer sdk (0091e23)
  • Footer & Place order position (b866dc3)
  • Footer margin (411441a)
  • footer mobile (8b8da0c)
  • footer mobile (a875606)
  • Footer prop (ed05517)
  • input class with shadow fill plugin (f3d86fc)
  • label for state and country inputs (12a1841)
  • multple errors for the same field and temporarily add scroll from the customer step to delivery step when save address (0345d40)
  • Node engine version (667ffeb)
  • order test (f9057b9)
  • payment test (d82901d)
  • paypal working returning url (33e14d2)
  • place order button mobile (af1f139)
  • prevent click on accordion if step not activable (2a299eb)
  • props (718297a)
  • province label and sorting (ae0457d)
  • remove adjustments from GTM provider (5945d61)
  • remove as to prop (286c66e)
  • shadow-inner for state input (759bc3c)
  • step flow (d113c5e)
  • test (11208f3)
  • test and @commercelayer/react-components (51f7e00)
  • Tests (a298cab)
  • update select and input for state (9202b75)
  • use new props and fix autofill shadow only for webkit (901fc40)

Features

  • add cache control and remove timestamp to api (bfa2ea6)
  • add condition deliveryLeadTime and fix tests (c74affd)
  • add headlessui (c5f25b7)
  • add mount form state (0f4c8bc)
  • add payment accordion message when amount zero, add case shipping not required the step not visible, fix when shipping amount is zero not visible to recap, add getStepNumber and fix test (8085ab3)
  • add prop isActive to StepPlaceOrder (516bb31)
  • add refetchShipments (946d2fc)
  • add sdk (0ada2d2)
  • add style to shipping title (3c6fe35)
  • add tax included (519ddce)
  • adjustment (0c82d8d)
  • autorefresh condition (9617e98)
  • change customer step header information and fix test (65b441a)
  • fix summary shipping and tax (daddf81)
  • link button mobile (defada7)
  • new address form bottom component (76c0c91)
  • next V12 (2674bef)
  • place order button visible only when activeStep is Complete (e84445e)
  • remove mobile check scroll form (6757045)
  • remove prop footer to layout (a60abd2)
  • scroll form mobile only (6bac39f)
  • show place order button always on mobile (2749290)
  • step shipment information when there is only one shipment and fix tests (3fc2a9e)
  • sticky button & footer mobile/desktop (77e6701)
  • upgrade @commercelayer/react-components (82719a2)
  • upgrade react-components (c54213e)
  • upgrade react-components (8070fd8)
  • upgrade SDK and react-components (1b779ae)

Performance Improvements

  • build [orderId] first load (1fffb87)
  • decrease loading time by using dynamic imports (edeee07)