Skip to content

Latest commit

 

History

History
2085 lines (1318 loc) · 95 KB

File metadata and controls

2085 lines (1318 loc) · 95 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.19.1 (2024-04-03)

Note: Version bump only for package @farfetch/blackout-client

2.19.0 (2024-02-14)

Features

  • client: add packaging options client (51658d6)

2.18.0 (2024-01-16)

Features

  • expose missing address endpoints (7c37f1b)

2.17.1 (2024-01-15)

Bug Fixes

  • fix productsList schema (c9e0f50)

2.17.0 (2024-01-09)

Features

  • client: draft orders endpoints (3a50465)

2.16.1 (2023-12-15)

Bug Fixes

  • client|redux: account settings type and reducer export (685f64e)

2.16.0 (2023-12-12)

Features

  • client|redux: add settings endpoints (043c9a9)

2.15.1 (2023-12-05)

Bug Fixes

  • fix getProductListingFacetGroups selector (6f19eca)

2.15.0 (2023-11-21)

Bug Fixes

  • save exchanges filters by id (e1959ba)

BREAKING CHANGES

    • Exchange filters are now stored under entities by orderItemUuid (shippingOrderLineId). Previously the user wasn't able to fetch multiple filters because each request cleared the previous data, which this PR aims to fix.
  • useCreateExchangeFilter hook renamed to useExchangeFilters.
  • isCreating selector from the hook, renamed to isLoading.

2.14.3 (2023-11-15)

Bug Fixes

  • add segments and benefits targets to commerce pages fetch (3616f28)
  • fix productsList schema handling of filterSegments (14e1652)

2.14.2 (2023-11-08)

Note: Version bump only for package @farfetch/blackout-client

2.14.1 (2023-11-08)

Note: Version bump only for package @farfetch/blackout-client

2.14.0 (2023-09-19)

Features

  • client: add checkout session tags endpoints (92c08f9)
  • client: put checkoutSessions promocodes (6a85c0b)
  • client: update payment installments types (7f99817)

2.13.0 (2023-09-13)

Bug Fixes

  • fix social login and account link endpoint paths (5149c44)

Features

  • client|redux: expose closet endpoints (9653a5f)
  • client: add delivery bundles endpoints (c0d1c5b)

2.12.1 (2023-09-07)

Bug Fixes

  • content metadata type (59e3ef5)
  • fix user addresses put requests (c61b02f)

2.12.0 (2023-08-28)

Features

  • add delete promocode endpoint (5ccde47)

2.11.0 (2023-08-17)

Features

  • client: add checkout session patch (c21feed)

2.10.0 (2023-08-08)

Bug Fixes

Features

  • add bagId property to postCheckoutSession body (50dfe83)

2.9.0 (2023-08-03)

Features

  • add postApplePaySession client (156483b)

2.8.0 (2023-08-02)

Features

  • client: add social login endpoints (03283de)

2.7.1 (2023-07-25)

Note: Version bump only for package @farfetch/blackout-client

2.7.0 (2023-07-25)

Features

  • setup product listing facets redux structure (3d759ce)

2.6.1 (2023-07-17)

Bug Fixes

  • fix recommended product sets slice name (7003e4f)

2.6.0 (2023-07-13)

Bug Fixes

Features

  • add postPaymentSession client (178789f)

2.5.1 (2023-07-06)

Bug Fixes

  • client: add isExchangeAvailable to orderItem property (77f2b93)

2.5.0 (2023-06-21)

Bug Fixes

  • add promocodes prop in bag types (b8eb870)

Features

  • client: add new themes endpoint (acc3e69)
  • react: add exchanges hooks (15db4fc)
  • redux: add redux for themes (ab0f5b7)

2.4.0 (2023-06-14)

Features

  • checkout payment capture upon shipment (4647dad)
  • client: add filters property to exchange filters (bce3089)

2.3.1 (2023-06-06)

Note: Version bump only for package @farfetch/blackout-client

2.3.0 (2023-06-06)

Features

  • add historical orders properties (c5a5516)
  • client: add checkoutSessions clients (5df29b4)

2.2.1 (2023-05-30)

Note: Version bump only for package @farfetch/blackout-client

2.2.0 (2023-05-23)

Features

  • client: add backorder types to order item (009cda6)

2.1.0 (2023-05-19)

Features

  • add checkoutOrder context endpoint (3e77b7c)

2.0.0 (2023-05-18)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.259 (2023-05-17)

Bug Fixes

chore

  • change fetchCollectPoints action (7025cdd)
  • change put checkout promocode client to support multiple promocodes (16abc6a)
  • more consistency changes (5df13f3)
  • more renames (08f08c0)
  • product selectors rename and more changes (823298e)
  • rename getProductRecommendedSet client and its dependents (7c0b74d)
  • rename contents exports (16695ba)
  • rename token actions and selectors (12237b3)

BREAKING CHANGES

  • The following public exports were renamed:

DeliveryWindowType -> CheckoutOrderDeliveryWindowType getOrderItemProductQuantity -> getOrderProductQuantity

  • Actions that add/remove/update both bag items, wishlist items and wishlist sets now require that the bagId and wishlistId parameters respectively be passed explicitly. useBag, useWishlist and useWishlistSets actions now assume the user's bagId and wishlistId as the parameter to perform an operation on so it is not necessary to pass that parameter anymore.
  • Check the message body of this commit to know the changes.
    • The following exports were renamed: buildSubscriptionPackagesHash -> generateSubscriptionPackagesHash generateProductsListHash -> generateProductListingHash getProductsListActiveFilters -> getProductListingActiveFilters getProductsListBreadcrumbs -> getProductListingBreadcrumbs getProductsListError -> getProductListingError getProductsListFacetGroups -> getProductListingFacetGroups getProductsListFacetsByFacetGroupType -> getProductListingFacetsByFacetGroupType getProductsListFacetsGroupsByType -> getProductListingFacetsGroupsByType getProductsListHash -> getProductListingHash getProductsListPagination -> getProductListingPagination getProductsListProducts -> getProductListingProducts getProductsListProductsFromAllPages -> getProductListingProductsFromAllPages getProductsListProductsIds -> getProductListingProductsIds getProductsListResult -> getProductListingResult getProductsListSelectedFiltersCount -> getProductListingSelectedFiltersCount getProductsListSort -> getProductListingSort isProductsListCached -> isProductListingCached isProductsListFetched -> isProductListingFetched isProductsListHydrated -> isProductListingHydrated isProductsListLoading -> isProductListingLoading
  • The following exports were removed: getBrandsHash -> No need since the brands selectors now use the query as their parameter instead of a hash. getSearchDidYouMeanQuery, getSearchIntentsQuery and getSearchSuggestionsQuery -> removed as they are redundant since their selectors already specify the query now instead of a hash.

  • The selectors from the following areas now receive a query parameter instead of a hash:

searchSuggestions productGrouping productGroupingProperties searchDidYouMean searchIntents subscriptionPackages brands

  • fetchBrands action now does not clear the brands that are in store when the useCache parameter is set to false. Also the setBrandsHash parameter was removed since that functionality does not exist anymore.

  • The hooks useSearchIntents, useSearchSuggestions and useSearchDidYouMean now expose the data directly on the data property instead of being wrapped in another object.

  • The following exports were renamed:

ENVIRONMENT_CODES -> ContentEnvironmentCode getRankedCommercePage -> applyCommercePagesRankingStrategy CommercePagesStrategy -> CommercePagesRankingStrategy

  • The following exports were renamed: putCheckoutOrderPromocode -> putCheckoutOrderPromocodes setCheckoutOrderPromocode -> setCheckoutOrderPromocodes setCheckoutOrderPromocodeFactory -> setCheckoutOrderPromocodesFactory isCheckoutOrderPromocodeLoading -> areCheckoutOrderPromocodesLoading getCheckoutOrderPromocodeError -> getCheckoutOrderPromocodesError resetCheckoutOrderPromocodeState -> resetCheckoutOrderPromocodesState
  • The fetchCollectPoints action now does not require the query parameter. The following selectors to obtain state of collect points requests now requires the query parameter to match the query of the request:
  • getCollectPoints

  • areCollectPointsLoading

  • getCollectPointsError

  • areCollectPointsFetched

  • The checkoutOrder returned by getCheckoutOrder selector now does not contain the collectPoints property.

  • The following exports were renamed:

getUserTokenError -> getTokenError getUserTokenResult -> getTokenResult isUserTokenLoading -> isTokenLoading removeUserToken -> removeToken removeUserTokenFactory -> removeTokenFactory

  • The following exports were renamed: getProductRecommendedSet to getRecommendedProductSet fetchRecommendedSet to fetchRecommendedProductSet fetchRecommendedSetFactory to fetchRecommendedProductSetFactory getRecommendedSet to getRecommendedProductSet getRecommendedSetError to getRecommendedProductSetError isRecommendedSetFetched to isRecommendedProductSetFetched isRecommendedSetLoading to isRecommendedProductSetLoading FETCH_RECOMMENDED_SET_FAILURE to FETCH_RECOMMENDED_PRODUCT_SET_FAILURE FETCH_RECOMMENDED_SET_REQUEST to FETCH_RECOMMENDED_PRODUCT_SET_REQUEST FETCH_RECOMMENDED_SET_SUCCESS to FETCH_RECOMMENDED_PRODUCT_SET_SUCCESS
  • bagMiddleware export was renamed to bagsMiddleware. Also all redux modules related to returnPickupRequests were removed. You will need to use the useReturnPickupRescheduleRequests and useReturnPickupRescheduleRequest hooks instead.
    • useOrders and useReturns were renamed to useUserOrders and useUserReturns respectively.
  • useBag, useBagItem, useWishlist, useWishlistItem, useUser, useWishlistSet, useWishlistSets useReturnPickupCapability, useReturnPickupRescheduleRequest, useReturnPickupRescheduleRequests, useReturn, useOrder, useOrderReturnOptions and useOrderReturns have some changes in its public properties/actions. Check the description for more information.
  • putUserDefaultShippingAddress and putUserDefaultBillingAddress signatures changed. Now, instead of receiving an object containing the userId and id properties, there is a specific parameter for both of those properties.
  • fetchContentPage action and useContentPage hook now discard the query string from the codes in query when generating the hash.
  • Type BreadCrumb used in product listings was renamed to ProductsBreadcrumb. Do not confuse with the type Breadcrumb (with lowercase c) which is to be used with contents modules.
  • Type PasswordValidationErrorsConstants was replaced with PasswordValidationErrors type which is now an enum.

2.0.0-next.258 (2023-05-12)

Bug Fixes

  • remove contentTypeCode as required parameter (f32f7c0)

BREAKING CHANGES

  • useContentType hook is now called useContents and the contentTypeCode parameter was removed. You will need to pass the contentTypeCode property in the options parameter now.

2.0.0-next.257 (2023-05-12)

Features

  • implement and review both orders and returns area to integrate the order split and multiple returns flow (22cd9f2)

BREAKING CHANGES

    • Removed the entities mapper specific fetch order logic to merge information since we no longer have merging issues.
  • getOrder was reviewed
  • getOrderReturns was migrated and reviewed on the returns area.
  • getOrderMerchants was deleted and a new selector was born to replace it called getOrderSummaries that returns all the order summaries of a certain order id.
  • getOrderItemsByMerchant was renamed to getOrderItemsBySummary and it now returns the order items of an order summary instead of splitting them by merchant.
  • getOrderItemQuantity was reviewed to remove an unnecessary restriction
  • getUserOrder is now normalising the date
  • getOrderItems is now normalising the result
  • getOrderItem is now normalising the result
  • Tests were adapted and added to test the mentioned changes
  • Removed the reset of the return options since they are already resetted when a new user is fetches or when a user logins. There is no use case to manually reset this data for a user.
  • Revamped the returnOption schema to wrap around the entire object that contains sub returnOptions per type. The older schematisation implied that there was a need to reference each of the sub returnOption and there is none. Also the identifier of the this entity has been changed to be the merchantOrderId property so we can link it to the order items if needed.
  • Removed the artificial merchant normalization.
  • getOrderReturnOptions selector now returns a list of return options denormalized organised by merchantOrderId this id can be linked to order items.
  • getReturnOption is now normalising the result. You now need to provide a merchantOrderId to fetch it.
  • fetchOrderReturnOptions now saves the array with the merchantOrderIds identifying the returnOptions entities in the Orders area of the redux store.
  • Removed getGuestOrder clienta nd fetchGuestOrder action since it works the same way as getOrder and fetchOrder.

2.0.0-next.256 (2023-05-12)

Features

  • client: add package to unsubcribe action (7a4211c)

2.0.0-next.255 (2023-05-11)

Features

  • client|redux|react: add post guest orders endpoint (21c0fec)

BREAKING CHANGES

  • client|redux|react: The fetchGuestOrdersLegacy is now a POST to prevent from leaking query data to google analytics. Now it accepts an object as data with the user email instead of passing the email as query.

2.0.0-next.254 (2023-05-05)

Features

  • client|redux: add exchanges endpoints (ea34545)

2.0.0-next.253 (2023-04-27)

Bug Fixes

  • fix Variation type mispelling (b5a7620)

2.0.0-next.252 (2023-04-21)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.251 (2023-04-20)

Bug Fixes

2.0.0-next.250 (2023-04-14)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.249 (2023-04-11)

Bug Fixes

  • fix patchCheckoutOrderItems types (8237eca)

2.0.0-next.248 (2023-03-28)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.247 (2023-03-27)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.246 (2023-03-16)

Features

  • add support for esm module resolution algorithm in node (9c9e32b)

BREAKING CHANGES

  • Now the package is fully ESM-compliant which means it is not necessary anymore to run in node with --experimental-specifier-resolution=node to make it work. For web projects, it might be necessary to tweak some bundler settings to make it work, depending on the bundler/framework used. lodash-es and crypto-es packages replaced lodash and crypto-js respectively, so you might need to install these peer dependencies if your project does not use them. axios peer dependency version is now 1.3.1 which should be installed as well. In our tests, no breaking changes were found by using this version of axios. Node version was bumped to 14 so if you need to use an older version you will need to transpile the code. React 18 is now the peer dependency of @farfetch/blackout-react package but if you are transpiling the code you can use the package safely in previous 16 and 17 versions.

2.0.0-next.245 (2023-03-14)

Features

  • client: add get return workflow endpoint (dce3535)

2.0.0-next.244 (2023-03-03)

Bug Fixes

  • client: add metadata in post checkout order request and types (88b956f)

2.0.0-next.243 (2023-03-01)

Features

  • client: add metadata to bag item and requests types (d2959c9)

2.0.0-next.242 (2023-02-23)

Bug Fixes

  • add "type": "module" to all packages (71a07d9)

2.0.0-next.241 (2023-02-23)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.240 (2023-02-17)

Features

  • added raffles endpoints (d28e48e)

2.0.0-next.239 (2023-02-17)

Features

  • add set bag promocodes in bag (ecd490d)

BREAKING CHANGES

  • Bag middleware fetchBagOperationsOnBagRequestSuccess must now be imported from bagMiddlewares export instead of directly from the root of the package.

2.0.0-next.238 (2023-02-17)

Bug Fixes

  • remove deprecated params from translations (447a989)

BREAKING CHANGES

  • 'client_id' and 'tenant_id' parameters were removed from 'Translation' type. They are now inferred from the token.

2.0.0-next.237 (2023-02-10)

Bug Fixes

  • client: add crypto-js to client's dependencies (bc7e27e)

2.0.0-next.236 (2023-02-09)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.235 (2023-02-07)

Features

  • client: add product outfits endpoints (20efbdd)

2.0.0-next.234 (2023-02-02)

Bug Fixes

  • redux: fix product attributes server render (88b650f)

2.0.0-next.233 (2023-02-02)

Features

  • add segment at targets on searchContents (d81a96a)

2.0.0-next.232 (2023-01-30)

Features

  • client: add bag operations endpoints (c630500)

2.0.0-next.231 (2023-01-27)

Features

  • add baseUrl to seo metadata (6e663dc)

2.0.0-next.230 (2023-01-23)

Bug Fixes

2.0.0-next.229 (2023-01-11)

Features

  • client: add new get user returns endpoints (1042b4c)

2.0.0-next.228 (2023-01-09)

Bug Fixes

  • redux|react: fix createSelector types (883a337)

2.0.0-next.227 (2022-12-21)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.226 (2022-12-15)

Bug Fixes

  • redux|react|client: fix product listing hook and filters related types (baced32)

2.0.0-next.225 (2022-12-14)

Features

  • client: add share wishlist endpoints (60b3b8a)

2.0.0-next.224 (2022-12-13)

Features

  • client|redux|react: add support to metadata on bag and wishlist hooks (ab9def2)

2.0.0-next.223 (2022-12-09)

Bug Fixes

Features

  • react|redux: add checkout hooks (ca0f846)

BREAKING CHANGES

  • react|redux: The following modules were renamed:
  • ItemStatus to CheckoutOrderItemStatus
  • arePaymentInstrumentsLoading to arePaymentIntentInstrumentsLoading
  • getCheckoutDeliveryBundle to getCheckoutOrderDeliveryBundle.
  • getCheckoutDeliveryBundleUpgrade to getCheckoutOrderDeliveryBundleUpgrade
  • getCheckoutDeliveryBundleUpgrades to getCheckoutOrderDeliveryBundleUpgrades
  • getCheckoutDeliveryBundleWindow to getCheckoutOrderDeliveryBundleWindow
  • getCheckoutDeliveryBundles to getCheckoutOrderDeliveryBundles
  • getCheckoutDeliveryBundlesIds to getCheckoutOrderDeliveryBundlesIds
  • getCheckoutError to getCheckoutOrderError
  • getCheckoutId to getCheckoutOrderId
  • getCheckout to getCheckoutOrderResult
  • getCheckoutOrderCollectPoints to getCollectPoints (renamed back to get getCollectPoints as it does not depend on the order).
  • getCheckoutSelectedDeliveryBundleId to getCheckoutOrderSelectedDeliveryBundleId
  • getCheckoutShippingOptions to getCheckoutOrderShippingOptions
  • getPaymentInstrument to getPaymentIntentInstrument
  • getPaymentInstruments to getPaymentIntentInstruments
  • getPaymentInstrumentsError to getPaymentIntentInstrumentsError
  • getPaymentInstrumentsResult to getPaymentIntentInstrumentsResult
  • isCheckoutLoading to isCheckoutOrderLoading
  • resetPaymentInstrumentsState to resetPaymentIntentInstrumentsState

The following checkout selectors were removed as they can be easily replaced by looking at the checkout order (returned by the getCheckoutOrder selector) directly:

  • getCheckoutOrderItems
  • getCheckoutOrderItemsIds

Removed getCheckoutOrderCharge selector as it can be derived by the isCheckoutOrderChargeLoading, getCheckoutOrderChargeError and getCheckoutOrderChargeResult selectors.

2.0.0-next.222 (2022-12-06)

Features

  • react|redux: improve order and returns hooks (28b1aaf)
  • react: add returns hooks (cd7738e)
  • redux|react: add pickup reschedule hooks (b0087e8)

BREAKING CHANGES

  • react: The following modules were renamed: getReturnPickupCapabilities -> getReturnPickupCapability (client) areReturnPickupCapabilitiesLoading -> isReturnPickupCapabilityLoading fetchReturnPickupCapabilities -> fetchReturnPickupCapability fetchReturnPickupCapabilitiesFactory -> fetchReturnPickupCapabilityFactory getReturnItemsEntity -> getReturnItemsEntities getReturnPickupCapabilitiesError -> getReturnPickupCapabilityError getReturnsEntity -> getReturnsEntities

The following modules were removed as they are not necessary anymore: areReturnsLoading getReturnId getReturnItems getReturnItemsIds getReturnsError getTimeSlots (use now getReturnPickupCapability to get all data instead of only getting the time slots)

2.0.0-next.221 (2022-12-02)

Features

  • react: add base components contents (7a75bd4)

2.0.0-next.220 (2022-11-29)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.219 (2022-11-11)

chore

  • react|redux: remove checkout hooks (36702bf)

BREAKING CHANGES

  • react|redux: - useCheckout hook was removed from @farfetch/blackout-react package.
  • getCheckoutOrderOperation and fetchCheckoutOrderOperation signatures have changed to accept separate parameters for the checkoutOrderId and operationId values instead of using an object.
  • getPaymentMethods client was renamed to getCheckoutOrderPaymentMethods.
  • fetchPaymentMethods action was renamed to fetchCheckoutOrderPaymentMethods.

2.0.0-next.218 (2022-11-10)

Features

  • client|redux: create new client fetch Content Page (41834cd)

2.0.0-next.217 (2022-11-08)

Features

  • react|redux|client: add content hooks (5c398a4)

BREAKING CHANGES

  • react|redux|client: commerce pages client endpoint updated and content hooks refactored

2.0.0-next.216 (2022-10-25)

Features

  • react|redux|client: refactor and add seo metadata hooks and utils (95864db)

2.0.0-next.215 (2022-10-24)

Bug Fixes

  • ts errors on redux selectors (52ea54b)

2.0.0-next.214 (2022-10-20)

Features

  • redux: configurations actions (4f5d89b)

2.0.0-next.213 (2022-10-13)

Bug Fixes

  • client|redux: fix content redux exports (690ec18)

2.0.0-next.212 (2022-10-07)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.211 (2022-10-06)

Features

  • client|react|redux: add useProductGrouping and useProductGroupingProperties hooks (d21352e)

2.0.0-next.210 (2022-10-04)

Features

  • client: add getConfiguration client (1e89f0f)
  • redux|client|react: add brands hooks (667cb69)

2.0.0-next.209 (2022-09-28)

Bug Fixes

Features

  • redux|client|react: add categories hooks (e708dc4)

2.0.0-next.208 (2022-09-22)

Features

  • react|redux|client: add subscriptions hooks (f03d4f2)

BREAKING CHANGES

  • react|redux|client: Subscriptions reducer refactor

2.0.0-next.207 (2022-09-21)

Bug Fixes

  • redux: fix TS erros on redux reducers unit tests (d6acf84)

2.0.0-next.206 (2022-09-09)

Bug Fixes

  • redux: fix TS errors on redux actions unit tests (2005870)

2.0.0-next.205 (2022-09-09)

Bug Fixes

  • redux|client|react: add search hooks (828a0b4)

BREAKING CHANGES

  • redux|client|react: Search reducers refactor

2.0.0-next.204 (2022-09-08)

Features

  • react: add orders hooks (06d39e7)

BREAKING CHANGES

  • react: The selectors isOrdersListLoading and getOrdersListError were removed and replaced with the selectors areOrdersLoading and getOrdersError. The orders reducer was now changed as well and not it will only change its root slice isLoading and error values only when the fetchUserOrders and fetchGuestOrders actions are used.

2.0.0-next.203 (2022-09-07)

Bug Fixes

  • redux|client: fix checkout and payments types (63bf09f)

2.0.0-next.202 (2022-09-02)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.201 (2022-09-02)

Bug Fixes

  • client|redux|react: orders area fixes (c5db8bc)

BREAKING CHANGES

  • client|redux|react: The following exports were renamed:
  • OrderStatus -> MerchantOrderStatus
  • deleteRecipientFromTopic -> deleteSubscriptionTopicRecipient
  • getOrders -> getUserOrders
  • getUserCredit (client) -> getUserCredits
  • clearAllUnsubscribeRecipientFromTopic -> clearAllUnsubscribeSubscriptionTopicRecipientRequests
  • clearUnsubscribeRecipientFromTopic -> clearUnsubscribeSubscriptionTopicRecipientRequest
  • fetchListing -> fetchProductListing
  • fetchListingFactory -> fetchProductListingFactory
  • fetchOrders -> fetchUserOrders
  • fetchOrdersFactory -> fetchUserOrdersFactory
  • fetchSet -> fetchProductSet
  • fetchSetFactory -> fetchProductSetFactory
  • fetchUserCredit -> fetchUserCredits
  • getMerchantsFromOrder -> getOrderMerchants
  • getReturnOptionsFromOrder -> getOrderReturnOptions
  • getUserCredit (selector) -> getUserCredits
  • unsubscribeFromSubscription -> unsubscribeSubscription
  • unsubscribeFromSubscriptionFactory -> unsubscribeSubscriptionFactory
  • unsubscribeRecipientFromTopic -> unsubscribeSubscriptionTopicRecipient
  • unsubscribeRecipientFromTopicFactory -> unsubscribeSubscriptionTopicRecipientFactory

2.0.0-next.200 (2022-08-25)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.199 (2022-08-24)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.198 (2022-08-23)

Bug Fixes

  • client|react|redux: rename locale selectors and action (78cf7e3)

BREAKING CHANGES

  • client|react|redux: The following action was renamed: fetchCountryCities -> fetchCountryStateCities

The following selectors were renamed: getCountryCitiesError -> getCountryStateCitiesError areCountryCitiesLoading -> areCountryStateCitiesLoading getCountryCities -> getCountryStateCities areCountryCitiesFetched -> areCountryStateCitiesFetched

2.0.0-next.197 (2022-08-22)

Bug Fixes

  • client: fix client unit tests TS errors (f68da8c)

2.0.0-next.196 (2022-08-16)

Features

  • react: add user addresses hooks (a1c8427)

2.0.0-next.195 (2022-08-16)

Bug Fixes

  • client: fix adaptError for errors with no response description (b69b487)

2.0.0-next.194 (2022-08-12)

chore

  • redux: move entity selectors from entities folder (34fdf43)

BREAKING CHANGES

  • redux: All entity selectors must now be imported from its respective area instead of being import from the entities folder.

2.0.0-next.193 (2022-08-12)

Bug Fixes

  • redux|react: rename checkout actions and selectors (2e8a913)

BREAKING CHANGES

  • redux|react: The following actions were renamed:

createCheckout -> createCheckoutOrder fetchCheckout -> fetchCheckoutOrder fetchCheckoutDetails -> fetchCheckoutOrderDetails fetchDeliveryBundleUpgrades -> fetchCheckoutOrderDeliveryBundleUpgrades fetchItemDeliveryProvisioning -> fetchCheckoutOrderDeliveryBundleProvisioning fetchUpgradeItemDeliveryProvisioning -> fetchCheckoutOrderDeliveryBundleUpgradeProvisioning setItemTags -> setCheckoutOrderItemTags setPromocode -> setCheckoutOrderPromocode setTags -> setCheckoutOrderTags updateCheckout -> updateCheckoutOrder updateDeliveryBundleUpgrades -> updateCheckoutOrderDeliveryBundleUpgrades updateGiftMessage -> updateCheckoutOrderItems

The following selectors were renamed: getCheckoutDetail -> getCheckoutOrderDetails getCheckoutCollectPointEstimatedDeliveryPeriod -> getCheckoutOrderSelectedCollectPointEstimatedDeliveryPeriod areCheckoutDetailsLoading -> areCheckoutOrderDetailsLoading getCheckoutDetailsError -> getCheckoutOrderDetailsError isItemTagsLoading -> areCheckoutOrderItemTagsLoading getItemTagsError -> getCheckoutOrderItemTagsError isPromoCodeLoading -> isCheckoutOrderPromocodeLoading getPromoCodeError -> getCheckoutOrderPromocodeError isTagsLoading -> areCheckoutOrderTagsLoading getTagsError -> getCheckoutOrderTagsError isGiftMessageLoading -> areCheckoutOrderItemsUpdating getGiftMessageError -> getCheckoutOrderItemsUpdateError areDeliveryBundleUpgradesLoading -> areCheckoutOrderDeliveryBundleUpgradesLoading getDeliveryBundleUpgradesError -> getCheckoutOrderDeliveryBundleUpgradesError isItemDeliveryProvisioningLoading -> isCheckoutOrderDeliveryBundleProvisioningLoading getItemDeliveryProvisioningError -> getCheckoutOrderDeliveryBundleProvisioningError isUpgradeItemDeliveryProvisioningLoading -> isCheckoutOrderDeliveryBundleUpgradeProvisioningLoading getUpgradeItemDeliveryProvisioningError -> getCheckoutOrderDeliveryBundleUpgradeProvisioningError getBundleDeliveryWindow -> getCheckoutDeliveryBundleWindow isOperationLoading -> isCheckoutOrderOperationLoading getOperationError -> getCheckoutOrderOperationError isOperationsLoading -> areCheckoutOrderOperationsLoading getOperationsError -> getCheckoutOrderOperationsError getOperationsPagination -> getCheckoutOrderOperationsPagination isProgramsLoading -> areProgramsLoading getMembership -> getProgramMembership getMembershipError -> getProgramMembershipError getMembershipResult -> getProgramMembershipResult isMembershipLoading -> isProgramMembershipLoading getReplacements -> getProgramMembershipReplacements getReplacementsError -> getProgramMembershipReplacementsError getReplacementsResult -> getProgramMembershipReplacementsResult isReplacementsLoading -> areProgramMembershipReplacementsLoading getConverts -> getProgramMembershipConverts getConvertsError -> getProgramMembershipConvertsError getConvertsResult -> getProgramMembershipConvertsResult isConvertsLoading -> areProgramMembershipConvertsLoading getStatements -> getProgramMembershipStatements getStatementsError -> getProgramMembershipStatementsError getStatementsResult -> getProgramMembershipStatementsResult isStatementsLoading -> areProgramMembershipStatementsLoading isReturnsLoading -> areReturnsLoading isPickupCapabilitiesLoading -> areReturnPickupCapabilitiesLoading getPickupCapabilitiesError -> getReturnPickupCapabilitiesError isUserSubscriptionsLoading -> areUserSubscriptionsLoading isUserDefaultAddressDetailsLoading -> areUserDefaultAddressDetailsLoading

2.0.0-next.192 (2022-08-11)

Features

  • react: refactor useProductListing hook (e27b0ae)

BREAKING CHANGES

  • react: useProductListing hook new interface

2.0.0-next.191 (2022-08-10)

Bug Fixes

  • redux: fix buildBagItem (20e9cd0)

2.0.0-next.190 (2022-08-09)

Features

  • react: add locale hooks (8e62032)

BREAKING CHANGES

  • react: locale selectors moved from entities folder to locale folder

2.0.0-next.189 (2022-08-05)

Bug Fixes

  • change getCountries client (2f1519a)
  • remove getProductColorGrouping client (95d9cac)

BREAKING CHANGES

  • The getCountries client now does not return a paginated response and does not accept any query parameters. The result is an array of all the countries available.

2.0.0-next.188 (2022-08-05)

Features

  • redux: add pagination to commerce pages structure response (0a67a6e)

2.0.0-next.187 (2022-08-04)

chore

  • client|redux: rename orders files (43cd3dd)

BREAKING CHANGES

  • client|redux: - The following files from client package were moved and renamed:client was moved from the returns area to orders area. Update your imports accordingly:
    • The 'returns/getReturnsFromOrder' client was moved and renamed to 'orders/getOrderReturns'
    • The 'orders/getTrackings' client was renamed to 'orders/getShipmentTrackings'
    • The 'orders/getOrderDetails' client was renamed to 'orders/getOrder'
  • The following selectors from redux package were renamed:

    • The 'orders/isTrackingsLoading' was renamed to 'orders/areShipmentTrackingsLoading'
    • The 'orders/isOrdersLoading' was renamed to 'orders/areOrdersLoading'
    • The 'orders/isOrderDetailsLoading' was renamed to 'orders/areOrderDetailsLoading'
    • The 'orders/isDocumentsLoading' was renamed to 'orders/areDocumentsLoading'
    • The 'orders/isAvailableItemsActivitiesLoading' was renamed to 'orders/areAvailableItemsActivitiesLoading'
    • The 'orders/isOrderItemAvailableActivitiesLoading' was renamed to 'orders/areOrderItemAvailableActivitiesLoading'
  • Some Action types for the order returns were also renamed. Update them in case you use them in any custom reducer/middleware:

import { actionTypes } from '@farfetch/blackout-redux/returns';

// Previously
actionTypes.FETCH_RETURNS_FROM_ORDER_FAILURE;
actionTypes.FETCH_RETURNS_FROM_ORDER_REQUEST;
actionTypes.FETCH_RETURNS_FROM_ORDER_SUCCESS;

// Change to
actionTypes.FETCH_ORDER_RETURNS_FAILURE;
actionTypes.FETCH_ORDER_RETURNS_REQUEST;
actionTypes.FETCH_ORDER_RETURNS_SUCCESS;

2.0.0-next.186 (2022-08-02)

chore

  • client|react: remove authentication interceptor (3247708)

BREAKING CHANGES

  • client|react: Authentication interceptor is now removed from both client and react packages as it only makes sense for native apps.

2.0.0-next.185 (2022-08-01)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.184 (2022-07-29)

chore

  • rename postRegister client (902a601)

BREAKING CHANGES

  • postRegister client is now postUser.

2.0.0-next.183 (2022-07-28)

Bug Fixes

2.0.0-next.182 (2022-07-27)

Bug Fixes

  • client|redux|redux: fix account areas imports and exports (e80b833)
  • client: add required @types/* and remove unnecessary dependencies (4c20f28)
  • client: update PostGuestTokens type (a4af154)
  • fix useAction hook type (288c0e6)

Features

  • add support for passing metadata in wishlist and bag items actions (167c2a2)
  • implement next version (9995600)

BREAKING CHANGES

  • Many renames of actions and clients, as well as redux store layout were implemented and will be described in a new migration file which will be authored later.

2.0.0-next.181 (2022-07-15)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.180 (2022-07-06)

Features

  • client|redux: change return files exports (02457ce)

2.0.0-next.179 (2022-07-06)

Features

  • export helpers and authentication modules in client's root index file (0efea8b)

BREAKING CHANGES

    • Imports from the helpers and authentication folders of the @farfetch/blackout-core package must now be changed to import from the @farfetch/blackout-client package:
// Previously
import client, {
  configApiBlackAndWhite,
  headers,
} from '@farfetch/blackout-core/helpers';
import {
  postGuestTokens,
  postRegister,
  postTokens,
} from '@farfetch/blackout-core/authentication';

// Now
import {
  client,
  configApiBlackAndWhite,
  headers,
  postGuestTokens,
  postRegister,
  postTokens,
} from '@farfetch/blackout-client';
  • parsePickupDate module was removed.

  • AxiosAuthenticationTokenManager was renamed to AuthenticationTokenManager besides having to be imported from the root of the @farfetch/blackout-client package:

// Previously
import { AxiosAuthenticationTokenManager } from '@farfetch/blackout-core/helpers/client/interceptors/authentication';

// Now
import { AuthenticationTokenManager } from '@farfetch/blackout-client';

2.0.0-next.178 (2022-07-06)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.177 (2022-07-04)

Bug Fixes

  • blackout-client: fix typescript errors (4020e29)

2.0.0-next.176 (2022-07-01)

Features

  • client: change e-commerce clients naming (aa65b31)

BREAKING CHANGES

  • client: The following clients, imported from @farfetch/blackout-client/products, changed its name to:

getProductsDetails → getProduct getProductVariantsByMerchantsLocations → getProductVariantMerchantsLocations getListing → getProductListing getSets → getProductSets getRecommendedSets → getProductRecommendedSets

2.0.0-next.175 (2022-07-01)

Bug Fixes

  • fix typings and renames (494c84c)

Features

  • client|redux: export subscription modules in client and redux root index file (dc72eaf)

2.0.0-next.174 (2022-06-30)

Features

  • client|redux: recommendations in product's scope (10ad661)

2.0.0-next.173 (2022-06-30)

chore

  • client: update checkout client names (69b8961)

BREAKING CHANGES

  • client: The following clients, imported from @farfetch/blackout-client/checkout

changed its name to:

  • getCheckout → getCheckoutOrder
  • getCharges → getCheckoutOrderCharges
  • getDeliveryBundleUpgrades → getCheckoutOrderDeliveryBundleUpgrades
  • getItemDeliveryProvisioning → getCheckoutOrderDeliveryBundleProvisioning
  • getOperation → getCheckoutOrderOperation
  • getOperations → getCheckoutOrderOperations
  • getUpgradeItemDeliveryProvisioning → getCheckoutOrderDeliveryBundleUpgradeProvisioning
  • patchCheckout → patchCheckoutOrder
  • patchDeliveryBundleUpgrades → patchCheckoutOrderDeliveryBundleUpgrades
  • patchGiftMessage → patchCheckoutOrderItems
  • postCharges → postCheckoutOrderCharges
  • postCheckout → postCheckoutOrder
  • putItemTags → putCheckoutOrderItemTags
  • putPromocode → putCheckoutOrderPromocode
  • putTags → putCheckoutOrderTags

removed:

  • patchCheckoutCompletePayment

All checkout client functions should be now imported direcly from '@farfetch/blackout-client'

// example import { getCheckoutOrder, getCheckoutOrderCharges, patchCheckoutOrderItems, putCheckoutOrderPromocode, } from '@farfetch/blackout-client';






# [2.0.0-next.172](https://github.com/Farfetch/blackout/compare/@farfetch/blackout-client@2.0.0-next.171...@farfetch/blackout-client@2.0.0-next.172) (2022-06-29)


### Bug Fixes

* fix `adaptProductImages` type ([24e5e04](https://github.com/Farfetch/blackout/commit/24e5e0431adb578491bad7d15aecda4675ceb1c5))





# [2.0.0-next.171](https://github.com/Farfetch/blackout/compare/@farfetch/blackout-client@2.0.0-next.170...@farfetch/blackout-client@2.0.0-next.171) (2022-06-29)


### Features

* review users structure in clients ([551274f](https://github.com/Farfetch/blackout/commit/551274f0c1b3277918e17e03698f839550c9fb75))


### BREAKING CHANGES

* The users clients naming strategy and folders structure was changed.





# [2.0.0-next.170](https://github.com/Farfetch/blackout/compare/@farfetch/blackout-client@2.0.0-next.169...@farfetch/blackout-client@2.0.0-next.170) (2022-06-28)


### Bug Fixes

* update size prop to optional ([1f5e6b6](https://github.com/Farfetch/blackout/commit/1f5e6b6bd65b7d6ea3100dcb6a1fb664b34ee553))





# [2.0.0-next.169](https://github.com/Farfetch/blackout/compare/@farfetch/blackout-client@2.0.0-next.168...@farfetch/blackout-client@2.0.0-next.169) (2022-06-28)

**Note:** Version bump only for package @farfetch/blackout-client





# [2.0.0-next.168](https://github.com/Farfetch/blackout/compare/@farfetch/blackout-client@2.0.0-next.167...@farfetch/blackout-client@2.0.0-next.168) (2022-06-27)


### Features

* **blackout-client|blackout-redux:** export forms modules in root index file ([1180d3e](https://github.com/Farfetch/blackout/commit/1180d3e3b18e1d2337e302dfe194c691479b422c))


### BREAKING CHANGES

* **blackout-client|blackout-redux:** - Imports of form modules now must be done from the root
for both @farfetch/blackout-client and @farfetch/blackout-redux
packages.

```js
// Previously

import {
getFormSchema,
postFormData,
} from '@farfetch/blackout-core/forms/client';

import {
  fetchFormSchema,
  getFormSchemaByCode,
  getFormSchemaError,
  getSubmitFormDataError,
  isFormSchemaLoading,
  isSubmitFormDataLoading,
  resetFormSchema,
  submitFormData,
} from '@farfetch/blackout-core/forms/redux';

// Now

import {
getFormSchema,
postFormData,
} from '@farfetch/blackout-client';

import {
  fetchFormSchema,
  getFormSchemaByCode,
  getFormSchemaError,
  getSubmitFormDataError,
  isFormSchemaLoading,
  isSubmitFormDataLoading,
  resetFormSchema,
  submitFormData,
} from '@farfetch/blackout-redux';
  • The modules actionTypes and reducer from @farfetch/blackout-core/forms/redux were renamed to formsActionTypes and formsReducer respectively.
// Previously
import reducer, { actionTypes } from '@farfetch/blackout-core/forms/redux;

// Now
import { actionTypesForms, formsReducer } from '@farfetch/blackout-redux';
  • The action type RESET_SCHEMAS was renamed to RESET_FORM_SCHEMAS
// Previously
import { RESET_SCHEMAS } from '@farfetch/blackout-core/forms/redux';

// Now
import { RESET_FORM_SCHEMAS } from '@farfetch/blackout-redux';

2.0.0-next.167 (2022-06-27)

Features

  • blackout-client|blackout-react|blackout-redux: export analytics modules in root index file (45e97d2)

BREAKING CHANGES

  • blackout-client|blackout-react|blackout-redux: - Analytics imports from @farfetch/blackout-react/analytics

All analytics modules that were being imported from @farfetch/blackout-react/analytics must now be imported from the root of the package:

// Previously
import analytics, { eventTypes } from "@farfetch/blackout-
react/analytics"

// Now
import { analytics, eventTypes } from "@farfetch/blackout-
react"
  • Analytics redux middlewares from @farfetch/blackout-core/analytics/redux/middlewares

All analytics middlewares that were being imported from @farfetch/blackout-core/analytics/redux/middlewares were renamed and moved to the @farfetch/blackout-redux package:

// Previously
import {
  bagMiddleware,
  setUserMiddleware,
  wishlistMiddleware,
} from '@farfetch/blackout-core/analytics/redux/middlewares';

// Now
import {
  analyticsBagMiddleware,
  analyticsSetUserMiddleware,
  analyticsWishlistMiddleware,
} from '@farfetch/blackout-redux';
  • Omnitracking clients

Omnitracking clients postTrackings and postBatchTrackings now must be imported from @farfetch/blackout-client package:

// Previously
import { postTrackings } from '@farfetch/blackout-core/analytics/integrations/Omnitracking/client';
import { postBatchTrackings } from '@farfetch/blackout-core/analytics/integrations/Omnitracking/client';

// Now
import { postTrackings } from '@farfetch/blackout-client';
import { postBatchTrackings } from '@farfetch/blackout-client';

2.0.0-next.166 (2022-06-27)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.165 (2022-06-27)

Features

  • client: add product grouping client (f69e9bc)

2.0.0-next.164 (2022-06-22)

Features

  • client|redux: recently viewed in product's scope (8ad16e6)
  • redux: refactoring of exports in products (a17e25a)

BREAKING CHANGES

  • redux: - Client:

    • All modules related to recently viewed must now be imported from the root of the package.

      // previously
      import{ getRecentlyViewedProducts } from @farfetch/blackout-client/recentlyViewed’;
      
      // now
      import{ getRecentlyViewedProducts } from @farfetch/blackout-client’;
  • Redux: - Like client package, recentlyViewed now be imported from root package: Applied to reducer, actions, selectors, and types as well. - imports from products now can be imported from root package. Product's actionTypes, entitiesMapper, and serverInitialState, need to be changed to actionTypesProducts, entitiesMapperProducts, and serverInitialStateProducts, to deal with name ambiguity as a result of allowing import from the root of each blackout package

        ```js
       // previously
       import {
          fetchRecentlyViewedProducts,
          areRecentlyViewedProductsFetched
       } from ‘@farfetch/blackout-redux/recentlyViewed’;
       import {
           actionTypes,
           serverInitialState,
           entitiesMapper
       } from ‘@farfetch/blackout-redux/products’;
    
       // now
       import {
            fetchRecentlyViewedProducts,
            areRecentlyViewedProductsFetched,
            actionTypesProducts,
            serverInitialStateProducts,
            entitiesMapperProducts
       } from ‘@farfetch/blackout-redux’;
       ```
    

2.0.0-next.163 (2022-06-22)

Features

  • client|redux: export clients and actions on root for content area (3e4913f)

BREAKING CHANGES

  • client|redux: renamed exports and removed default exports on contents folder.

package/redux

  • removed reducer default export
  • all exports are now in the following format '*Content'.
  • actionTypes to actionTypesContent
  • reducer to reducerContent
  • serverInitialState to serverInitialStateContent

2.0.0-next.162 (2022-06-20)

Bug Fixes

  • client: checkout getCheckoutOrderCharge with chargeId param (d597a31)

2.0.0-next.161 (2022-06-20)

Features

  • add patch checkout order item and delete checkout order item (e1e709e)

2.0.0-next.160 (2022-06-15)

Features

  • add logic for operation endpoints (5f3d28b)

2.0.0-next.159 (2022-06-15)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.158 (2022-06-15)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.157 (2022-06-14)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.156 (2022-06-14)

Bug Fixes

  • blackout-client|blackout-redux: fix getFormSchemaByCode selector (5e209c4)

2.0.0-next.155 (2022-06-14)

Bug Fixes

  • redux: remove unsupported params from FetchUserFactory (7278675)

2.0.0-next.154 (2022-06-09)

Features

  • client: new reset password endpoint (5d0ced9)

2.0.0-next.153 (2022-06-09)

Features

  • blackout-client|blackout-redux: fix error handling on blackout client and redux (7b1f92f)

2.0.0-next.152 (2022-06-09)

Features

  • blackout-*: convert jsdocs to tsdocs (7936d24)

2.0.0-next.151 (2022-06-07)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.150 (2022-06-03)

Features

  • blackout-react: add checkout events mappings to Zaraz (9c166db)

2.0.0-next.149 (2022-06-02)

Features

  • client: add checkout operation clients (02e902b)

2.0.0-next.148 (2022-05-25)

Features

  • blackout-*: fix issues for the release blackout 2 (8fb3d11)

2.0.0-next.147 (2022-05-17)

Features

  • client|redux: add reschedule endpoints (2365af9)

2.0.0-next.146 (2022-05-12)

Features

  • client|redux: add personal id and image endpoints (d295f55)

2.0.0-next.145 (2022-05-11)

Features

  • client|redux: add personal ids endpoints (02d7371)

2.0.0-next.144 (2022-05-10)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.143 (2022-05-02)

Features

  • analytics|client|react: transform Omnitracking integration to typescript (c987863)

2.0.0-next.142 (2022-04-27)

Bug Fixes

  • client: fix phone tokens endpoints requests (b6ea348)

2.0.0-next.141 (2022-04-21)

Features

  • client|redux: add phone token validation endpoints on next (58edd6c)

2.0.0-next.140 (2022-04-19)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.139 (2022-04-08)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.138 (2022-04-05)

Bug Fixes

  • blackout-client|blackout-redux: fix updateUserSubscriptions action (97467d1)

BREAKING CHANGES

  • blackout-client|blackout-redux: The getUserSubscriptionsError selector will not return the error when there is an error for the updateUserSubscriptions action. To check if there was an error for that action, you will need to use the getUpdateSubscriptionsError selector as the following example shows:
// Previously

import {
    getUserSubscriptionsError,
} from '@farfetch/blackout-redux/subscriptions';

const mapStateToProps = state => {
    return {
      // errorLoadingUserSubscriptions would return all errors
      errorLoadingUserSubscriptions: getUserSubscriptionsError(state),
    };
};

// Change to

import {
    getUserSubscriptionsError,
    getUpdateSubscriptionsError,
} from '@farfetch/blackout-redux/subscriptions';

const mapStateToProps = state => {
    return {
      // Now getUserSubscriptionsError will return errors for loading / deleting actions
      errorLoadingUserSubscriptions: getUserSubscriptionsError(state),
      // getUpdateSubscriptionsError will return the error for the update action
      errorUpdatingUserSubscriptions: getUpdateSubscriptionsError(state)
   };
};

2.0.0-next.137 (2022-04-04)

Bug Fixes

  • blackout-client: fix logout in axios interceptor (e7352d7)

2.0.0-next.136 (2022-03-29)

Bug Fixes

  • react: add lodash map render content (8b8a5cc)

Features

  • core|react|redux: fix typescript issues for authentication and users (84920d2)

2.0.0-next.135 (2022-03-21)

Features

  • react: update renderContent method (48911a4)

2.0.0-next.134 (2022-03-18)

Bug Fixes

  • analytics|react: fix typescript typings (0294198)

2.0.0-next.133 (2022-02-22)

Features

  • client|redux: add order activities endpoints (e15afcd)

2.0.0-next.132 (2022-02-22)

Features

  • client|redux: convert subscription area from js to ts (6b623e4)

2.0.0-next.131 (2022-02-14)

Features

  • client|redux: convert orders files to typescript (6066925)

2.0.0-next.130 (2022-02-11)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.129 (2022-02-04)

Features

  • redux: improve actions of 'users' (aa976a2)

2.0.0-next.128 (2022-02-03)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.127 (2022-02-02)

Bug Fixes

  • client|redux: save pickup capabilities time slots (80bcdb8)

2.0.0-next.126 (2022-01-31)

Features

  • client|redux: add new unsubscribe client (a82f004)

2.0.0-next.125 (2022-01-28)

Features

  • client|redux: orders - split core and redux (60580f6)

2.0.0-next.124 (2022-01-26)

Features

  • client|redux: reset orders data on logout (cd23bdd)

2.0.0-next.123 (2022-01-20)

Features

  • client|redux: convert recommended area from js to ts … (d86eca2)

2.0.0-next.122 (2022-01-20)

Features

  • client|redux: implement new return endpoint (3442fe4)

BREAKING CHANGES

  • client|redux: - Changed pickupCapabilities endpoint. Instead of a query, now it should receive the pickup day in the format YYYY-MM-DD.

2.0.0-next.121 (2022-01-19)

Features

  • client|redux: convert recently viewed area from js to ts (d80258c)

2.0.0-next.120 (2022-01-19)

Features

  • client: create client search translations (997a703)

2.0.0-next.119 (2022-01-19)

Features

  • client: add mock service worker contents (54b78da)

2.0.0-next.118 (2022-01-17)

Bug Fixes

  • client: add id to the set type (b1bb52c)

2.0.0-next.117 (2022-01-14)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.116 (2022-01-13)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.115 (2022-01-12)

Features

  • client: add more commerce pages types (66bcc2c)

2.0.0-next.114 (2022-01-12)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.113 (2022-01-11)

Features

  • client|redux: convert forms area to ts (43c4a73)

2.0.0-next.112 (2022-01-11)

Features

  • redux|client: add additional user attributes client (86f2455)

2.0.0-next.111 (2022-01-07)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.110 (2021-12-27)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.109 (2021-12-23)

Features

  • change loyalty actions nomenclature (bad8581)

2.0.0-next.108 (2021-12-21)

Features

  • client|redux: general mocks - returns (1d385be)
  • client|redux: split core & redux returns (ebff34d)

2.0.0-next.107 (2021-12-15)

Features

  • client: add promotionEvaluations client (7db4408)

2.0.0-next.106 (2021-12-14)

Features

  • client|redux: remove getGuestOrderDetails from next (36a9660)

2.0.0-next.105 (2021-12-09)

Features

  • client|redux: loyalty - split client (6d36e03)

2.0.0-next.104 (2021-12-07)

Bug Fixes

  • core|react: handle guest users expired in authentication provider (447ed49)

2.0.0-next.103 (2021-12-06)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.102 (2021-12-06)

Features

  • client|redux: profile - rename API and client split (1d74770)

2.0.0-next.101 (2021-12-02)

Features

  • client: change nomenclature and improve orders actions (312ca96)

BREAKING CHANGES

  • client: - Rename the action types if you use them in any custom reducer/middleware:
import { actionTypes } from '@farfetch/blackout-client/orders/redux';

// Previously
actionTypes.GET_ORDER_DETAILS_FAILURE;
actionTypes.GET_ORDER_DETAILS_REQUEST;
actionTypes.GET_ORDER_DETAILS_SUCCESS;

actionTypes.GET_ORDER_RETURN_OPTIONS_FAILURE;
actionTypes.GET_ORDER_RETURN_OPTIONS_REQUEST;
actionTypes.GET_ORDER_RETURN_OPTIONS_SUCCESS;

actionTypes.GET_ORDERS_FAILURE;
actionTypes.GET_ORDERS_REQUEST;
actionTypes.GET_ORDERS_SUCCESS;

actionTypes.GET_TRACKINGS_FAILURE;
actionTypes.GET_TRACKINGS_REQUEST;
actionTypes.GET_TRACKINGS_SUCCESS;

actionTypes.GET_ORDER_DOCUMENTS_FAILURE;
actionTypes.GET_ORDER_DOCUMENTS_REQUEST;
actionTypes.GET_ORDER_DOCUMENTS_SUCCESS;

actionTypes.GET_ORDER_DOCUMENT_FAILURE;
actionTypes.GET_ORDER_DOCUMENT_REQUEST;
actionTypes.GET_ORDER_DOCUMENT_SUCCESS;

actionTypes.POST_ORDER_DOCUMENT_FAILURE;
actionTypes.POST_ORDER_DOCUMENT_REQUEST;
actionTypes.POST_ORDER_DOCUMENT_SUCCESS;

// Change to
actionTypes.FETCH_ORDER_DETAILS_FAILURE;
actionTypes.FETCH_ORDER_DETAILS_REQUEST;
actionTypes.FETCH_ORDER_DETAILS_SUCCESS;

actionTypes.FETCH_ORDER_RETURN_OPTIONS_FAILURE;
actionTypes.FETCH_ORDER_RETURN_OPTIONS_REQUEST;
actionTypes.FETCH_ORDER_RETURN_OPTIONS_SUCCESS;

actionTypes.FETCH_ORDERS_FAILURE;
actionTypes.FETCH_ORDERS_REQUEST;
actionTypes.FETCH_ORDERS_SUCCESS;

actionTypes.FETCH_TRACKINGS_FAILURE;
actionTypes.FETCH_TRACKINGS_REQUEST;
actionTypes.FETCH_TRACKINGS_SUCCESS;

actionTypes.FETCH_ORDER_DOCUMENTS_FAILURE;
actionTypes.FETCH_ORDER_DOCUMENTS_REQUEST;
actionTypes.FETCH_ORDER_DOCUMENTS_SUCCESS;

actionTypes.FETCH_ORDER_DOCUMENT_FAILURE;
actionTypes.FETCH_ORDER_DOCUMENT_REQUEST;
actionTypes.FETCH_ORDER_DOCUMENT_SUCCESS;

actionTypes.ADD_ORDER_DOCUMENT_FAILURE;
actionTypes.ADD_ORDER_DOCUMENT_REQUEST;
actionTypes.ADD_ORDER_DOCUMENT_SUCCESS;
  • Rename the action thunk creators:
// Previously
import {
  doPostOrderDocument,
  doGetOrderDetails,
  doGetOrderDetailsGuestUser,
  doGetOrderDocument,
  doGetOrderDocuments,
  doGetOrderReturnOptions,
  doGetOrders,
  doGetTracking,
  doResetOrders,
} from '@farfetch/blackout-core/orders/redux';

// Change to
import {
  addOrderDocument,
  fetchOrderDetails,
  fetchOrderDetailsGuestUser,
  fetchOrderDocument,
  fetchOrderDocuments,
  fetchOrderReturnOptions,
  fetchOrders,
  fetchTrackings,
  resetOrders,
} from '@farfetch/blackout-client/orders/redux';

2.0.0-next.100 (2021-11-29)

Note: Version bump only for package @farfetch/blackout-client

2.0.0-next.99 (2021-11-29)

Features