Skip to content

Latest commit

 

History

History
501 lines (287 loc) · 13.7 KB

CHANGELOG.md

File metadata and controls

501 lines (287 loc) · 13.7 KB

@godaddy/react

1.0.61

Patch Changes

  • 0f7eea2: Add Stripe 3DS verification support for card and express checkout, with localized payment errors and compatibility with existing checkout error handling.

    Improve payment retry handling, prevent duplicate submissions, and recognize already-paid orders. While a 3-D Secure payment's outcome is unknown, every payment method is blocked from starting another payment for the checkout. Update express payment tracking to reflect the payment method used and successful checkout completion.

  • Updated dependencies [0f7eea2]

  • Updated dependencies [7c12d56]

    • @godaddy/localizations@1.0.16

1.0.60

Patch Changes

  • 6c05b32: Keep shipping rates, discounts, and taxes in sync when coupons change, and show a retry action when shipping rates fail to load.
  • Updated dependencies [6c05b32]
    • @godaddy/localizations@1.0.15

1.0.59

Patch Changes

  • c564b12: Select a free shipping rate by default when one is available, even if a paid rate was already applied automatically or is already on the draft order. A rate the shopper picks is kept until the page is reloaded or the shopper switches to local pickup.

1.0.58

Patch Changes

  • dff57f0: Support tips in unified checkout

    Adds the tips session config surface (default and threshold-based amounts/percentages presets) alongside enableTips, and includes the selected tip in wallet sheet totals and the authorized/confirmed amount.

    For redirect gateways (CCAvenue), the authorized tip is persisted across the redirect so the confirmation on the return leg records the tip the customer was actually charged. Checkout refuses to redirect when a non-zero tip cannot be persisted, rather than sending the customer to pay a tip the order would not include.

    Express checkout stays tip-free: its wallet sheets open on the item subtotal and add the shipping and taxes they calculate in their own event flows, and its confirmation records no tip.

    Presets worth more than the order total are not offered, and a selection a later discount puts out of reach is cleared. Percentages are a proportion of the item subtotal while the API bounds the tip by the order total, so on a discounted order a preset could be picked and then rejected at Pay; the option is now withheld instead. "No tip" and "Custom amount" are always available, and a custom amount is still left for the API to rule on.

    Also gives every Button a cursor-pointer, so buttons rendered as <button> show a pointer cursor on hover instead of the browser default.

  • a869359: Allow GoDaddy payment forms and wallets to load without an application ID. Continue passing configured application IDs and session overrides to Collect when supplied. Only load the Collect SDK when the session has a configured GoDaddy payment method.

  • Updated dependencies [dff57f0]

    • @godaddy/localizations@1.0.14

1.0.57

Patch Changes

  • 60ac1da: Add line item for inclusive taxes during checkout
  • Updated dependencies [60ac1da]
    • @godaddy/localizations@1.0.13

1.0.56

Patch Changes

  • 12ea9d7: feat: accept personalAccessToken as alternative auth in createCheckoutSession — routes through API Gateway; OAuth path unchanged

1.0.55

Patch Changes

  • e366269: Fix billing collection across checkout flows.

    • Align billing fields and validation for paid, free, pickup, shipping, purchase, and digital orders.
    • Respect billing, shipping, phone, and tax collection settings.
    • Clear hidden billing addresses when switching to a names-only flow.
    • Keep totals and taxes accurate when discounts are applied.

1.0.54

Patch Changes

  • 5657f53: Centralize draft-order syncing behind a registration-based sync controller and run a single final sync before checkout confirmation.

    • Form sections (contact, phone, address, notes) now register how their current values map to a draft-order patch instead of firing their own debounced updates.
    • On confirm, checkout drains any queued sync work, diffs the current form values against the latest backend draft order, sends at most one final update, and refetches only when that update was sent — so in-flight edits (including name-only edits and pickup names) are no longer lost or duplicated.
    • Background sync is suppressed once confirmation starts; only the final checkout sync may still write, and a failed final update blocks confirmation and surfaces the error.

1.0.53

Patch Changes

  • 7de41f7: Add support for digital products and fulfillments
  • Updated dependencies [7de41f7]
    • @godaddy/localizations@1.0.12

1.0.52

Patch Changes

  • d3f929e: Restore pickup customer name collection to the existing billing fields and remove unsupported pickup handling from Stripe and GoDaddy express checkout.

1.0.51

Patch Changes

  • ec3ab92: Require customer first and last name for in-person pickup orders. Names are collected in the Pickup section, synced to order billing, and validated for card, offline, free, and express checkout paths.

1.0.50

Patch Changes

  • 5a0ed65: Add pickup date only mode Infer ui extension cdn urls from apiHost
  • 5c6df26: fix: prevent delivery method flipping on address change

1.0.49

Patch Changes

  • 2b5096b: Add ui extension support for targets

1.0.48

Patch Changes

  • a5c1051: Refactor checkout draft order synchronization to flush pending order updates before confirmation, avoid duplicate mutations, and improve sync failure handling.

1.0.47

Patch Changes

  • 3595d0f: Add currency code from sku for product card

1.0.46

Patch Changes

  • 9a03ad9: Return the missing shipping info error when checkout is blocked by absent shipping lines or fulfillment.

1.0.45

Patch Changes

  • 9417a3c: Re-apply shipping methods when checkout line items change after shipping has already been selected.

1.0.44

Patch Changes

  • 2e05ef7: Add ACH Payment Support
  • Updated dependencies [2e05ef7]
    • @godaddy/localizations@1.0.11

1.0.43

Patch Changes

  • 4f67ee8: Add additional targets and extend billing flows with localization updates
  • Updated dependencies [4f67ee8]
    • @godaddy/localizations@1.0.10

1.0.42

Patch Changes

  • 798d6d6: Fix "Complete your free order" button not working for free pickup orders. Now only requires billing first and last name instead of full billing address.

1.0.41

Patch Changes

  • 6f9b610: Update commerce api skill to check cli version before API discovery

1.0.40

Patch Changes

  • f43f2dd: Add gopay appId override experimental rule

1.0.39

Patch Changes

  • a53681a: This PR adds payment authorization integration to the MercadoPago checkout button component, implementing preference ID generation for brick initialization

1.0.38

Patch Changes

  • 93b26ea: Add standard google pay and apple pay payment methods using GDP

1.0.37

Patch Changes

  • 2f604ef: Update skill to suggest correct godaddy/cli URL and fix example CLI calls

1.0.36

Patch Changes

  • 815fa6c: Fix pickup tax recalculation to always use the pickup location address when billing address fields are updated.

1.0.35

Patch Changes

  • 8d3f2c2: Update commerce api skill to utilize godaddy cli as api source

1.0.34

Patch Changes

  • 57d6115: Add commerce api skill

1.0.33

Patch Changes

  • 353dc8b: Add support for enAu localizations
  • Updated dependencies [353dc8b]
    • @godaddy/localizations@1.0.9

1.0.32

Patch Changes

  • ed3cbef: Fix bug with large leadTimes and add pickupSlotInterval to uncouple leadTime from time slot generation

1.0.31

Patch Changes

  • b3c0dad: Fix MercadoPago amount conversion from minor units to major units. The SDK expects amounts in major units (e.g., 90.00 BRL) but we were sending minor units (e.g., 9000 cents).

1.0.30

Patch Changes

  • c1ebb52: Format local pickup times to store timezone

1.0.29

Patch Changes

  • eaa8496: Add CCAvenue payment provider support and improvements

    @godaddy/react

    • Add CCAvenue checkout button with shipping validation (require shipping methods when delivery is SHIP)
    • Add CCAvenueReturnProvider for return flow with JWT auth support and confirm checkout loader
    • Use env-based redirect URL for CCAvenue gateway
    • Disable form and mutations when confirming checkout

    @godaddy/localizations

    • Add CCAvenue payment method labels and descriptions for all supported locales
  • Updated dependencies [eaa8496]

    • @godaddy/localizations@1.0.8

1.0.28

Patch Changes

  • f24654b: Add google and apple pay stripe express payment methods

1.0.27

Patch Changes

  • 97ffe4d: Implementation of mercadopago
  • Updated dependencies [97ffe4d]
    • @godaddy/localizations@1.0.7

1.0.26

Patch Changes

  • 172059f: Limit paypal express to paypal button only

1.0.25

Patch Changes

  • de0b740: Update shipping method on change to match correct shipping provider and service for express checkout

1.0.24

Patch Changes

  • 3d85a32: Send major unit price for square payments

1.0.23

Patch Changes

  • 8e31daf: Recalculate taxes on express coupon code and shipping changes

1.0.22

Patch Changes

  • 79d3dab: Reset express wallet taxes and adjustments on close

1.0.21

Patch Changes

  • 569cc34: Add storeId and channelId for GDPayments Initialization

1.0.20

Patch Changes

  • 41f7d3b: Send new tax, price adjustment, and shipping data to express checkout confirmation

1.0.19

Patch Changes

  • cf9ea1b: fix payload amount precision for godaddy payment express checkout on shipping changes

1.0.18

Patch Changes

  • 75784b7: Add support for paypal credit card provider
  • Updated dependencies [75784b7]
    • @godaddy/localizations@1.0.6

1.0.17

Patch Changes

  • 34354ab: Adjust shipping intent logic to clear shippingLines when no new shipping methods are returned

1.0.16

Patch Changes

  • bfdd630: Apply shipping intent when no shipping methods returned

1.0.15

Patch Changes

  • 40aeb75: Set default storefront lineItem fulfillmentMode to NONE when adding to cart

1.0.14

Patch Changes

  • d99b69d: - Add filtering by productIds and categoryIds to ProductGrid
    • Add productId prop to ProductCard for single product rendering
    • Add pagination support to ProductGrid with enablePagination prop
    • Add translations for pagination controls
  • Updated dependencies [d99b69d]
    • @godaddy/localizations@1.0.5

1.0.13

Patch Changes

  • b17602f: Add Tailwind v3/v4 compatible CSS export

1.0.12

Patch Changes

  • e5504b4: remove sessionId requirement for applyDiscount

1.0.11

Patch Changes

  • 8c9ea85: Add missing session error state
  • Updated dependencies [8c9ea85]
    • @godaddy/localizations@1.0.4

1.0.10

Patch Changes

  • 83aae9a: Fix bug where GDP tries to load before having session values

1.0.9

Patch Changes

  • 2cb4ac6: - Update collect SDK CDN urls
    • Add localization keys for cart components
    • Optional businessId for GDP config (will pull from store data if not provided)
  • Updated dependencies [2cb4ac6]
    • @godaddy/localizations@1.0.3

1.0.8

Patch Changes

  • c484494: Added cart functionality with useAddToCart hook and Cart component. Fixed hydration mismatch in Cart component. Removed internal environment references.

1.0.7

Patch Changes

  • 6b5d7d9: fix formatting for major units in formatCurrency

1.0.6

Patch Changes

  • 16b571f: Add support for locale prop on context provider

1.0.5

Patch Changes

  • 4058d97: Refactor currency formatting to respect currency precision

1.0.4

Patch Changes

  • f4f79d6: Add product grid and product details components using public storefront apis

1.0.3

Patch Changes

  • 811bb55: Add auth-token exchange

1.0.3

Patch Changes

  • c0eed81: Add optional appearance to checkout session

1.0.2

Patch Changes

  • 445d787: Small formatting issues and fixes
  • Updated dependencies [445d787]
    • @godaddy/localizations@1.0.2

1.0.1

Patch Changes

  • 0e07815: - Add latest translations.
    • Add address autocomplete feature flag and US support for address autocomplete.
    • Update tracking events.
    • Improved address reset logic in the checkout form.
    • Fix issues with country data missing regions codes.
  • Updated dependencies [0e07815]
    • @godaddy/localizations@1.0.1

1.0.0

Major Changes

  • 1864bc2: This marks the first stable major release of our GoDaddy JavaScript libraries, representing a significant milestone in our platform development.

    A comprehensive React component library for GoDaddy checkout experiences, featuring:

    • Complete checkout session management with GraphQL integration
    • Support for multiple payment providers (Stripe, PayPal)
    • Comprehensive checkout features including billing/shipping addresses, tips, promotions, and tax collection
    • Multi-environment support (dev, ote, prod, test)
    • Built with modern React patterns using Radix UI components and Tailwind CSS

    Internationalization support for GoDaddy checkout components:

    • Structured localization framework covering all checkout aspects
    • Initial French (France) localization with comprehensive translation coverage
    • Extensible architecture for adding additional locales
    • Seamless integration with the React component library

    Essential platform integration tools for GoDaddy app developers:

    • Cryptographic request verification using ECDSA-P256-SHA256
    • Webhook subscription verification with HMAC-SHA256
    • Framework-specific adapters for Express.js and Next.js
    • Comprehensive error handling following GoDaddy standards
    • Environment-based configuration support

    These packages provide the foundation for building robust, secure, and internationalized applications on the GoDaddy platform.

Patch Changes

  • Updated dependencies [1864bc2]
    • @godaddy/localizations@1.0.0

0.1.0

Minor Changes

  • intitial release