Releases: commercelayer/commercelayer-react-components
v3.15.0-beta.2
v3.15.0-beta.1
3.15.0-beta.1 (2022-08-03)
Bug Fixes
- React console errors and update import for
rapid-form
(df7b73f) - Types and update
rapid-form
import (12a09e9)
Features
v4.0.0-alpha.2
v4.0.0-alpha.1
4.0.0-alpha.1 (2022-07-21)
Bug Fixes
- Autoselect first shipping method if it is single. Resolve #234 (a0d416a)
- Export components (5645b48)
- Files path (df838d9)
- Miss types (0e446c9)
- React is not defined (2185e32)
- Remove
line_item
when adding a new one usingbuyNowMode
(a5af267) - Reset form properly when isBusiness changes (3024c23)
- Reset form properly when isBusiness changes (dee0ac0)
- Reset form when isBusiness prop changes status (ba9294c)
- Reset form when isBusiness prop changes status (3caef57)
- Show
formatted_price_amount_for_shipment
by default (3d91950) - Types (e05ebfc)
Features
- Add components OrderList and OrderListRow (872bb52)
- Add CRUD functions for Customer Address (12b15da)
- Add customer address form (bc2d585)
- Add delete customer address (15d3d94)
- Add edit mode to AddressField (fb0ba07)
- Add infinite scroll to OrderList (bc340cd)
- Add new classes to OrderList (0d4427d)
- Add new component CustomerField (62229c9)
- Add new prop isBusiness to BillingAddressForm (81ad90d)
- Add props for actions column (8e8f073)
- Add props for actions column (73e3f14)
- Add semantic-release, build by tsc, tsc-alias, and minimize-js (7344507)
- Export CustomerField (820c19f)
- Filter customer orders (59281af)
- Implement new SDK to customer addresses (2a4af06)
- Implement new SDK to the order reducer (fab90ed)
- Rebase my account components and add three shaking for some components. Resolve #233 (effe061)
- Start implementing new SDK (b369f19)
Performance Improvements
- Add tree-shaking for shipments components (765f0e6)
- Add tree-shaking for shipping methods components (ead5030)
- Merge from master and fix import components (#243) (84f60a7)
- Rebase from master (ff04be4)
- Reduce network requests (8aaccab)
BREAKING CHANGES
-
Tree shaking and new my account components
-
Remove cjs version
-
chore(release): 3.0.0 [skip ci]
3.0.0 (2022-01-24)
Performance Improvements
- Remove cjs version (4fbf29c)
BREAKING CHANGES
-
Remove cjs version
-
chore: export types for address form and errors
-
fix: import getSdk in example page
-
chore(release): 3.0.1 [skip ci]
3.0.1 (2022-01-26)
Bug Fixes
-
import getSdk in example page (97e2247)
-
chore: Update TailwindCss
-
feat: Add new prop isBusiness to BillingAddressForm
-
chore: Update demo page
-
chore: Update page
-
chore: Remove console.log
-
chore: Update demo page
-
fix: Filter addresses by shipping_country_lock if it has a value
-
chore: Update demo page
-
chore: Update demo pages
-
fix: Console warning if children are null or boolean
-
chore: Add specs for customer address country lock
-
chore: Update deps
-
fix: API request without any includes
-
fix: Reset form when isBusiness prop changes status
-
chore: Update deps
-
chore: Update demo pages
-
fix: Order does not include resources after updating/creating a coupon
-
fix: Show label free if the price is equal to zero
-
chore: Update deps
-
chore(release): 3.1.0 [skip ci]
3.1.0 (2022-01-28)
Bug Fixes
- API request without any includes (a3dfb19)
- Console warning if children are null or boolean (a13f5a4)
- Filter addresses by shipping_country_lock if it has a value (2f835b6)
- Order does not include resources after updating/creating a coupon (6ff1460)
- Reset form when isBusiness prop changes status (2c7da18)
- Show label free if the price is equal to zero (406d03d)
Features
-
Add new prop isBusiness to BillingAddressForm (f49c17b)
-
feat: Expose address as param of onSelect function
-
chore: Update ESlint config
-
chore: Update demo page
-
fix: Reset form properly when isBusiness changes
-
feat: Add onChange prop to BaseSelectComponentProps
-
chore(release): 3.2.0 [skip ci]
3.2.0 (2022-01-28)
Bug Fixes
- Reset form properly when isBusiness changes (1e2fbbd)
Features
- Add onChange prop to BaseSelectComponentProps (5a51b8e)
- Expose address as param of onSelect function ([29ee53e](https://github.com/commerc...
v3.14.2-beta.1
v3.0.0-alpha.3
3.0.0-alpha.3 (2022-07-20)
Performance Improvements
- Add tree-shaking for shipping methods components (f88de4d)
v3.0.0-alpha.2
v3.14.1
v3.0.0-alpha.1
3.0.0-alpha.1 (2022-07-01)
Bug Fixes
- Add RedirectShopper (8636ec4)
- Add shipping method name and shipping method to custom function (2a1d9c4)
- Add useMemo and force refresh by accessToken (dda604e)
- Address country lock controller (56e3234)
- Allow a React node as label on
CartLink
component (8f738a2) - Allow uppercase letters in customer email input (ed0418b)
- API request without any includes (67d8a93)
- Automatic place order for Paypal and Checkout.com (7505a70)
- Autoselect first shipping method if it is single. Resolve #234 (c655252)
- Availability (e489656)
- Braintree styles (7534f4c)
- Callback response from
Errors
component (506a5df) - Cannot read property 'map' (fa91d89)
- Check billing and shipping address (ab64ffe)
- Check if there is
do_not_ship
set totrue
and the order doesn't have the shipping address (e329673) - Children props types (0108740)
- Children props types (cb83a0f)
- Clean order when it is placed (ae7dfed)
- Console warning if children are null or boolean (794ddea)
- Currency JSON (3e44e19)
- Diable AddToCart button and show availability without a VariantSelector (044f873)
- Disable
AddToCartButton
(1402783) - Disable AddToCartButton when inventory quantity is zero (197e0a2)
- Disable button when the order is equal to zero (1f01c37)
- Disabled the place order button (6311180)
- Dispatch sku code properly between contexts (3336dd1)
- Duplicate
payment_source
request (07e7c05) - Duplicate customer addresses (92dd652)
- Duplicate error messages (bfc3ee3)
- Edit default success_url and failure_url by configuration object (dd6b278)
- Empty availability (f447f7e)
- Enable styles configuration to AdyenPayment (2de4089)
- Export AdjustmentAmount (7282219)
- Export components (4b2d74c)
- Expose customer email through onBlur function (d117f57)
- Expose deliveryLeadTimeForShipment as prop of ShippingMethodName component (b1c1b12)
- Expose htmlFor prop for ShippingMethodName component (3264f0e)
- Expose lineItem prop to LineItem components (7f1a04b)
- Expose parentRef for custom children function (3c0cb7c)
- Expose prices resource within Price custom children props (40cd364)
- Expose text prop as AvailabilityTemplate children props (5854a53)
- Filter
line_items
byitem_type
to show the correct error (b9fac7d) - Filter addresses by shipping_country_lock if it has a value (ee20600)
- Follow right SKUs sort (7d027d9)
- Force include resources to order query (5506ebd)
- Free label on
ShippingMethodPrice
(0a25fd5) - Get order for the thank you page (936e1fa)
- Get remove coupon response by onClick (fdb326a)
- Hydrate props properly (b544e09)
- import getSdk in example page (0dae0b5)
- Import only countries and states packages (1995905)
- Include
line_items.item
(2251cd0) - Include resources to order (34c0ec8)
- Include resources to order request (872b761)
- Infinite loop without an order (8c3487e)
- Line items counter, resolve #223 (1a473c7)
- List of stock transfers (05940d3)
- Lose order data when reload the thank you page (b8d8389)
- Manage resources to include ([019749...