All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.22.3 (2024-04-03)
Note: Version bump only for package @farfetch/blackout-redux
1.22.2 (2024-03-18)
- referencedListing serverInitialState Validation (2e8ddc3)
1.22.1 (2024-03-07)
Note: Version bump only for package @farfetch/blackout-redux
1.22.0 (2024-02-14)
- client: add packaging options client (51658d6)
1.21.1 (2024-02-06)
Note: Version bump only for package @farfetch/blackout-redux
1.21.0 (2024-01-30)
1.20.1 (2024-01-17)
- fix recentleViewedProducts reducer to sort descending (8b8602c)
1.20.0 (2024-01-16)
- fix updateCheckoutOrder factory recovery case (42ca931)
1.19.1 (2024-01-15)
- fix
productsList
schema (c9e0f50)
1.19.0 (2024-01-09)
- add sort by date on recently viewed main (4a10c9e)
- client: draft orders endpoints (3a50465)
1.18.1 (2023-12-15)
- client|redux: account settings type and reducer export (685f64e)
1.18.0 (2023-12-12)
- client|redux: add settings endpoints (043c9a9)
1.17.0 (2023-12-05)
- fix
getProductListingFacetGroups
selector (6f19eca) - fix
ids
slice reducer in wishlist sets (d6a0dc5)
- add id delivery bundle in tests (fb6e6b0)
- add new parameters to interact content event main (b853f03)
- Revert "fix: buildQueryStringFromObject query construction" (487436b)
1.16.0 (2023-11-21)
- save exchanges filters by id (e1959ba)
-
- 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.
1.15.0 (2023-11-15)
- fix
productsList
schema handling offilterSegments
(14e1652)
- omnitracking minor changes for
main
(83c1183)
1.14.0 (2023-11-08)
- avoid facets replacement when multiple listing requests (b9b29ba)
- commerce pages merge strategy not merging correctly (1f71943)
- add isMainWishlist parameter to main (923a37c)
1.13.0 (2023-11-08)
- avoid facets replacement when multiple listing requests (b9b29ba)
- commerce pages merge strategy not merging correctly (1f71943)
- add isMainWishlist parameter to main (923a37c)
1.12.0 (2023-09-19)
1.11.0 (2023-09-13)
- client|redux: expose closet endpoints (9653a5f)
1.10.0 (2023-09-07)
- react: add useSocialLogin hook (6ecbd58)
1.9.0 (2023-08-31)
- adjust shared wishlist reducer (d112504)
- add share wishlist middleware for refetching wishlist sets (7b342f2)
1.8.0 (2023-08-28)
- add delete promocode endpoint (5ccde47)
1.7.1 (2023-08-17)
Note: Version bump only for package @farfetch/blackout-redux
1.7.0 (2023-08-08)
1.6.0 (2023-08-03)
- add postApplePaySession client (156483b)
1.5.2 (2023-08-02)
Note: Version bump only for package @farfetch/blackout-redux
1.5.1 (2023-07-25)
Note: Version bump only for package @farfetch/blackout-redux
1.5.0 (2023-07-25)
- setup product listing facets redux structure (3d759ce)
1.4.2 (2023-07-17)
- fix recommended product sets slice name (7003e4f)
1.4.1 (2023-07-13)
- fix types (8ee62ae)
1.4.0 (2023-07-06)
- implement eircode validation (954d9ee)
1.3.0 (2023-06-21)
- add promocodes prop in bag types (b8eb870)
1.2.0 (2023-06-14)
- redux: exchanges result reducer (5a633a6)
- checkout payment capture upon shipment (4647dad)
- client: add filters property to exchange filters (bce3089)
1.1.5 (2023-06-06)
Note: Version bump only for package @farfetch/blackout-redux
1.1.4 (2023-06-06)
Note: Version bump only for package @farfetch/blackout-redux
1.1.3 (2023-05-30)
Note: Version bump only for package @farfetch/blackout-redux
1.1.2 (2023-05-30)
- send metadata to bag endpoints in useBag hook (3bbc65c)
1.1.1 (2023-05-23)
Note: Version bump only for package @farfetch/blackout-redux
1.1.0 (2023-05-19)
- add checkoutOrder context endpoint (3e77b7c)
1.0.0 (2023-05-18)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.412 (2023-05-17)
- add consistency fixes (67724fc)
- client|redux: type fixes (4d9e537)
- fix AnalyticsAPI options (7a50ddf)
- fix useProductListing auto fetch check (a6f8bba)
- fix useWishlistSets hook (9251d66)
- more consistency fixes (622a6c0)
- add reset actions consistency changes (e58e690)
- 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 authentication actions (da769dc)
- rename checkout action type (2532f40)
- rename contents exports (16695ba)
- rename facet groups selectors (10851b7)
- rename selectors some selectors (ef4675e)
- rename token actions and selectors (12237b3)
- The following public exports were renamed:
DeliveryWindowType
-> CheckoutOrderDeliveryWindowType
getOrderItemProductQuantity
-> getOrderProductQuantity
- reset actions that only reset either the entities or the internal state were now removed. All reset actions provided now remove both entities and state simultaneously.
- 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
anduseWishlistSets
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 renamed:
-
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
andgetSearchSuggestionsQuery
-> 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 theuseCache
parameter is set tofalse
. Also thesetBrandsHash
parameter was removed since that functionality does not exist anymore. -
The hooks
useSearchIntents
,useSearchSuggestions
anduseSearchDidYouMean
now expose the data directly on thedata
property instead of being wrapped in another object.
- The following selectors were renamed:
getReturnItemsEntities
->getReturnItems
getReturnsEntities
->getReturns
getAllRaffles
->getRaffles
getAllContentTypes
->getContentTypes
- The following actions and factories
were renamed:
createPhoneTokens
->createPhoneToken
createPhoneTokensFactory
->createPhoneTokenFactory
createPhoneTokenValidations
->createPhoneTokenValidation
createPhoneTokenValidationsFactory
->createPhoneTokenValidationFactory
createPhoneNumberValidations
->createPhoneNumberValidation
createPhoneNumberValidationsFactory
->createPhoneNumberValidationFactory
- The selectors
getMaxDepth
andgetShallowestDepth
were renamed togetFacetGroupsMaxDepth
andgetFacetGroupsShallowestDepth
respectively. - 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 thequery
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
togetRecommendedProductSet
fetchRecommendedSet
tofetchRecommendedProductSet
fetchRecommendedSetFactory
tofetchRecommendedProductSetFactory
getRecommendedSet
togetRecommendedProductSet
getRecommendedSetError
togetRecommendedProductSetError
isRecommendedSetFetched
toisRecommendedProductSetFetched
isRecommendedSetLoading
toisRecommendedProductSetLoading
FETCH_RECOMMENDED_SET_FAILURE
toFETCH_RECOMMENDED_PRODUCT_SET_FAILURE
FETCH_RECOMMENDED_SET_REQUEST
toFETCH_RECOMMENDED_PRODUCT_SET_REQUEST
FETCH_RECOMMENDED_SET_SUCCESS
toFETCH_RECOMMENDED_PRODUCT_SET_SUCCESS
- UPDATEDELIVERY_BUNDLE_UPGRADE_ action types were renamed to UPDATECHECKOUT_ORDER_DELIVERY_BUNDLE_UPGRADE_
bagMiddleware
export was renamed tobagsMiddleware
. Also all redux modules related toreturnPickupRequests
were removed. You will need to use theuseReturnPickupRescheduleRequests
anduseReturnPickupRescheduleRequest
hooks instead.-
useOrders
anduseReturns
were renamed touseUserOrders
anduseUserReturns
respectively.
useBag
,useBagItem
,useWishlist
,useWishlistItem
,useUser
,useWishlistSet
,useWishlistSets
useReturnPickupCapability
,useReturnPickupRescheduleRequest
,useReturnPickupRescheduleRequests
,useReturn
,useOrder
,useOrderReturnOptions
anduseOrderReturns
have some changes in its public properties/actions. Check the description for more information.putUserDefaultShippingAddress
andputUserDefaultBillingAddress
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 anduseContentPage
hook now discard the query string from thecodes
in query when generating the hash.- Type
BreadCrumb
used in product listings was renamed toProductsBreadcrumb
. Do not confuse with the typeBreadcrumb
(with lowercase c) which is to be used with contents modules. - Type
PasswordValidationErrorsConstants
was replaced withPasswordValidationErrors
type which is now an enum.
1.0.0-next.411 (2023-05-12)
- remove
contentTypeCode
as required parameter (f32f7c0)
useContentType
hook is now calleduseContents
and thecontentTypeCode
parameter was removed. You will need to pass thecontentTypeCode
property in the options parameter now.
1.0.0-next.410 (2023-05-12)
- implement and review both orders and returns area to integrate the order split and multiple returns flow (22cd9f2)
-
- 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.
1.0.0-next.409 (2023-05-12)
- react|redux: analytics improvements (d72a4de)
1.0.0-next.408 (2023-05-12)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.407 (2023-05-12)
- refactor serverInitialState (46b998c)
1.0.0-next.406 (2023-05-11)
- client|redux|react: add post guest orders endpoint (21c0fec)
- 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.
1.0.0-next.405 (2023-05-05)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.404 (2023-05-05)
- client|redux: add exchanges endpoints (ea34545)
1.0.0-next.403 (2023-04-28)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.402 (2023-04-27)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.401 (2023-04-21)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.400 (2023-04-20)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.399 (2023-04-19)
- redux: exclude update product event for next (ee11cc5)
1.0.0-next.398 (2023-04-18)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.397 (2023-04-14)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.396 (2023-04-11)
- fix
patchCheckoutOrderItems
types (8237eca)
1.0.0-next.395 (2023-04-10)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.394 (2023-04-05)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.393 (2023-04-03)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.392 (2023-04-03)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.391 (2023-03-28)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.390 (2023-03-27)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.389 (2023-03-17)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.388 (2023-03-16)
- add support for esm module resolution algorithm in node (9c9e32b)
- 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
andcrypto-es
packages replacedlodash
andcrypto-js
respectively, so you might need to install these peer dependencies if your project does not use them. axios peer dependency version is now1.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.
1.0.0-next.387 (2023-03-16)
- wrong actionType for the subfolder (6b04e59)
1.0.0-next.386 (2023-03-14)
- subfolder on useLocale & serverInitialState (da52aa6)
1.0.0-next.385 (2023-03-14)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.384 (2023-03-14)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.383 (2023-03-13)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.382 (2023-03-03)
- client: add metadata in post checkout order request and types (88b956f)
1.0.0-next.381 (2023-03-02)
- redux: fix immer imports to work with nodenext (076c010)
1.0.0-next.380 (2023-03-01)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.379 (2023-02-28)
- redux: fix useBag hook actions (3374551)
1.0.0-next.378 (2023-02-27)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.377 (2023-02-24)
- redux: checkout reducer not overwriting address state (eec50e8)
1.0.0-next.376 (2023-02-23)
- add "type": "module" to all packages (71a07d9)
1.0.0-next.375 (2023-02-23)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.374 (2023-02-20)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.373 (2023-02-17)
- added raffles endpoints (d28e48e)
1.0.0-next.372 (2023-02-17)
- add set bag promocodes in bag (ecd490d)
- Bag middleware
fetchBagOperationsOnBagRequestSuccess
must now be imported frombagMiddlewares
export instead of directly from the root of the package.
1.0.0-next.371 (2023-02-17)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.370 (2023-02-16)
- analytics|react: add forter and riskified integrations (5fcf9bb)
- analytics|react: Vitorino was removed from the list of available integrations and now there are separate Riskified and Forter integrations that will need to be added separately to have the same behaviour provided by Vitorino.
1.0.0-next.369 (2023-02-15)
- redux: fix checkout reducer (48fe940)
- redux: Now when the default login, register and fetch user actions are dispatched to the store, no cleanup of any checkout order state is performed.
1.0.0-next.368 (2023-02-10)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.367 (2023-02-09)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.366 (2023-02-08)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.365 (2023-02-07)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.364 (2023-02-07)
- redux: add redux product outfits (1df1612)
1.0.0-next.363 (2023-02-03)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.362 (2023-02-02)
- redux: fix product attributes server render (88b650f)
1.0.0-next.361 (2023-02-02)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.360 (2023-01-31)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.359 (2023-01-30)
- redux: add bag operations endpoints (374b3e6)
1.0.0-next.358 (2023-01-27)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.357 (2023-01-23)
- fix error handling (0a2128d)
1.0.0-next.356 (2023-01-11)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.355 (2023-01-09)
- redux|react: fix createSelector types (883a337)
1.0.0-next.354 (2023-01-02)
- analytics|react|redux: transform analytics types into enums (cd551c3)
1.0.0-next.353 (2022-12-22)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.352 (2022-12-21)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.351 (2022-12-21)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.350 (2022-12-15)
- redux|react|client: fix product listing hook and filters related types (baced32)
1.0.0-next.349 (2022-12-14)
- redux: add redux shared whislists (581a76b)
1.0.0-next.348 (2022-12-13)
- client|redux|react: add support to metadata on bag and wishlist hooks (ab9def2)
1.0.0-next.347 (2022-12-13)
- react|redux: fix wishlist and bag selectors (071ed5d)
- redux: add missing selectors exports (c27ec21)
1.0.0-next.346 (2022-12-09)
- fix unit tests typings (8046bbd)
- react|redux: add checkout hooks (ca0f846)
- react|redux: The following modules were renamed:
ItemStatus
toCheckoutOrderItemStatus
arePaymentInstrumentsLoading
toarePaymentIntentInstrumentsLoading
getCheckoutDeliveryBundle
togetCheckoutOrderDeliveryBundle
.getCheckoutDeliveryBundleUpgrade
togetCheckoutOrderDeliveryBundleUpgrade
getCheckoutDeliveryBundleUpgrades
togetCheckoutOrderDeliveryBundleUpgrades
getCheckoutDeliveryBundleWindow
togetCheckoutOrderDeliveryBundleWindow
getCheckoutDeliveryBundles
togetCheckoutOrderDeliveryBundles
getCheckoutDeliveryBundlesIds
togetCheckoutOrderDeliveryBundlesIds
getCheckoutError
togetCheckoutOrderError
getCheckoutId
togetCheckoutOrderId
getCheckout
togetCheckoutOrderResult
getCheckoutOrderCollectPoints
togetCollectPoints
(renamed back to getgetCollectPoints
as it does not depend on the order).getCheckoutSelectedDeliveryBundleId
togetCheckoutOrderSelectedDeliveryBundleId
getCheckoutShippingOptions
togetCheckoutOrderShippingOptions
getPaymentInstrument
togetPaymentIntentInstrument
getPaymentInstruments
togetPaymentIntentInstruments
getPaymentInstrumentsError
togetPaymentIntentInstrumentsError
getPaymentInstrumentsResult
togetPaymentIntentInstrumentsResult
isCheckoutLoading
toisCheckoutOrderLoading
resetPaymentInstrumentsState
toresetPaymentIntentInstrumentsState
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.
1.0.0-next.345 (2022-12-07)
- react|redux: add getProductDenormalized selector (1ea953b)
1.0.0-next.344 (2022-12-06)
- react|redux: improve order and returns hooks (28b1aaf)
- react: add returns hooks (cd7738e)
- redux|react: add pickup reschedule hooks (b0087e8)
- 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)
1.0.0-next.343 (2022-12-05)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.342 (2022-12-02)
- react: add base components contents (7a75bd4)
1.0.0-next.341 (2022-11-29)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.340 (2022-11-28)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.339 (2022-11-22)
- redux: fix countrySourceCode in locale initial state (56939f7)
1.0.0-next.338 (2022-11-21)
- analytics|redux: fix analytics' setUser middleware on logout action (8b5484d)
1.0.0-next.337 (2022-11-16)
- redux: fix bag reducer (299fcb8)
1.0.0-next.336 (2022-11-11)
- react|redux: remove checkout hooks (36702bf)
- react|redux: -
useCheckout
hook was removed from @farfetch/blackout-react package.
getCheckoutOrderOperation
andfetchCheckoutOrderOperation
signatures have changed to accept separate parameters for the checkoutOrderId and operationId values instead of using an object.getPaymentMethods
client was renamed togetCheckoutOrderPaymentMethods
.fetchPaymentMethods
action was renamed tofetchCheckoutOrderPaymentMethods
.
1.0.0-next.335 (2022-11-10)
- client|redux: create new client fetch Content Page (41834cd)
1.0.0-next.334 (2022-11-08)
- react|redux|client: add content hooks (5c398a4)
- react|redux|client: commerce pages client endpoint updated and content hooks refactored
1.0.0-next.333 (2022-11-03)
- analytics|react|redux: add omnitracking's product updated events mappings (0d8d626)
- analytics|redux: add omnitracking's bag events mappings next (18ddc86)
- react|redux: change analytics dependencies on react and redux projects (1a529ab)
1.0.0-next.332 (2022-10-25)
- react|redux|client: refactor and add seo metadata hooks and utils (95864db)
1.0.0-next.331 (2022-10-25)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.330 (2022-10-24)
1.0.0-next.329 (2022-10-24)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.328 (2022-10-20)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.327 (2022-10-20)
- redux: configurations actions (4f5d89b)
1.0.0-next.326 (2022-10-18)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.325 (2022-10-17)
- add useRecentlyViewedProducts hook (702f311)
1.0.0-next.324 (2022-10-13)
- client|redux: fix content redux exports (690ec18)
1.0.0-next.323 (2022-10-07)
- redux: fix reducers cleanup actions (1a7d768)
- redux: -
resetCheckoutState
action was renamed toresetCheckout
.
resetReturn
action was renamed toresetReturns
.resetOrderDetailsState
now accepts an array of orderIds instead of a single orderId to allow multiple resets at the same time.
1.0.0-next.322 (2022-10-07)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.321 (2022-10-06)
- client|react|redux: refactor grouping and groupingProperties reducers and fix selectors (d4f7d59)
- client|react|redux: add useProductGrouping and useProductGroupingProperties hooks (d21352e)
1.0.0-next.320 (2022-10-04)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.319 (2022-09-29)
- redux|client|react: add brands hooks (667cb69)
1.0.0-next.318 (2022-09-28)
- redux|client|react: add categories hooks (e708dc4)
1.0.0-next.317 (2022-09-22)
- react|redux|client: add subscriptions hooks (f03d4f2)
- react|redux|client: Subscriptions reducer refactor
1.0.0-next.316 (2022-09-22)
- redux: fix resetProductsLists action (c895a22)
1.0.0-next.315 (2022-09-21)
- redux: fix TS erros on redux reducers unit tests (d6acf84)
1.0.0-next.314 (2022-09-15)
- redux: update getProductsListProducts selector to return brand data (03bf002)
1.0.0-next.313 (2022-09-09)
- redux: fix TS errors on redux actions unit tests (2005870)
1.0.0-next.312 (2022-09-09)
- redux|client|react: add search hooks (828a0b4)
- redux|client|react: Search reducers refactor
1.0.0-next.311 (2022-09-09)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.310 (2022-09-08)
- react: add orders hooks (06d39e7)
- react: The selectors
isOrdersListLoading
andgetOrdersListError
were removed and replaced with the selectorsareOrdersLoading
andgetOrdersError
. The orders reducer was now changed as well and not it will only change its root sliceisLoading
anderror
values only when the fetchUserOrders and fetchGuestOrders actions are used.
1.0.0-next.309 (2022-09-07)
- redux|client: fix checkout and payments types (63bf09f)
1.0.0-next.308 (2022-09-02)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.307 (2022-09-02)
- client|redux|react: orders area fixes (c5db8bc)
- 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
1.0.0-next.306 (2022-08-30)
- react: add usePaymentTokens hook (9deba6f)
1.0.0-next.305 (2022-08-25)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.304 (2022-08-24)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.303 (2022-08-23)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.302 (2022-08-23)
- client|react|redux: rename locale selectors and action (78cf7e3)
- client|react|redux: The following action was renamed: fetchCountryCities -> fetchCountryStateCities
The following selectors were renamed: getCountryCitiesError -> getCountryStateCitiesError areCountryCitiesLoading -> areCountryStateCitiesLoading getCountryCities -> getCountryStateCities areCountryCitiesFetched -> areCountryStateCitiesFetched
1.0.0-next.301 (2022-08-22)
- client: fix client unit tests TS errors (f68da8c)
1.0.0-next.300 (2022-08-16)
- react: add user addresses hooks (a1c8427)
1.0.0-next.299 (2022-08-16)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.298 (2022-08-12)
- redux: move entity selectors from entities folder (34fdf43)
- redux: All entity selectors must now be imported from its
respective area instead of being import from the
entities
folder.
1.0.0-next.297 (2022-08-12)
- redux|react: rename checkout actions and selectors (2e8a913)
- 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
1.0.0-next.296 (2022-08-12)
- redux: add productImgQueryParam to checkout order items (a8cbf1b)
1.0.0-next.295 (2022-08-11)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.294 (2022-08-10)
- redux: fix buildBagItem (20e9cd0)
1.0.0-next.293 (2022-08-10)
- react: add useProductSizeGuides hook (1b1d7f9)
1.0.0-next.292 (2022-08-09)
- react: add locale hooks (8e62032)
- react: locale selectors moved from entities folder to locale folder
1.0.0-next.291 (2022-08-05)
- 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.
1.0.0-next.290 (2022-08-05)
- redux: add pagination to commerce pages structure response (0a67a6e)
1.0.0-next.289 (2022-08-04)
- client|redux: rename orders files (43cd3dd)
- 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;
1.0.0-next.288 (2022-08-03)
- redux|react: fix fetched selectors (810177e)
1.0.0-next.287 (2022-08-03)
- allow partial product details state reset (10e78ac)
1.0.0-next.286 (2022-08-02)
- client|react: remove authentication interceptor (3247708)
- client|react: Authentication interceptor is now removed from both client and react packages as it only makes sense for native apps.
1.0.0-next.285 (2022-08-01)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.284 (2022-08-01)
- redux: add reducer and selectors to personal ids (94f1f52)
1.0.0-next.283 (2022-07-29)
- redux: update keys on locale serverInitialState (3c0b46b)
1.0.0-next.282 (2022-07-29)
- rename
postRegister
client (902a601)
postRegister
client is nowpostUser
.
1.0.0-next.281 (2022-07-29)
- react: useBag and useBagItem hooks new interface
1.0.0-next.280 (2022-07-28)
- fix user typings (1d96701)
1.0.0-next.279 (2022-07-27)
- client|redux|redux: fix account areas imports and exports (e80b833)
- fix
useAction
hook type (288c0e6)
- add support for passing metadata in wishlist and bag items actions (167c2a2)
- implement next version (9995600)
- react: refactor useWishlist and useWishlistItem hooks (89813a4)
- react: useWishlist and useWishlistItem hooks new interface
- 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.
1.0.0-next.278 (2022-07-15)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.277 (2022-07-12)
- redux: add defaultCulture and defaultSubfolder keys on locale (c2d6954)
1.0.0-next.276 (2022-07-06)
- client|redux: change return files exports (02457ce)
1.0.0-next.275 (2022-07-06)
- export
helpers
andauthentication
modules in client's root index file (0efea8b)
-
- Imports from the
helpers
andauthentication
folders of the@farfetch/blackout-core
package must now be changed to import from the@farfetch/blackout-client
package:
- Imports from the
// 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 toAuthenticationTokenManager
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';
1.0.0-next.274 (2022-07-06)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.273 (2022-07-04)
- blackout-client: fix typescript errors (4020e29)
1.0.0-next.272 (2022-07-01)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.271 (2022-07-01)
- fix typings and renames (494c84c)
- client|redux: export subscription modules in client and redux root index file (dc72eaf)
1.0.0-next.270 (2022-06-30)
- client|redux: recommendations in product's scope (10ad661)
1.0.0-next.269 (2022-06-30)
- redux: merge entities and run duplicate keys (941ae7e)
- redux: - entitiesMapper signature has changed. Now it receives an array of extraMappers instead of an object.
1.0.0-next.268 (2022-06-30)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.267 (2022-06-29)
- redux: add users reset actions to reducer (fd60cb8)
1.0.0-next.266 (2022-06-29)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.265 (2022-06-29)
- review users structure in clients (551274f)
- The users clients naming strategy and folders structure was changed.
1.0.0-next.264 (2022-06-29)
- blackout-redux: set customActionTypes as optional (1a09ec7)
1.0.0-next.263 (2022-06-28)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.262 (2022-06-28)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.261 (2022-06-27)
- blackout-redux: fix reset recently viewed action naming (9a90fef)
- blackout-redux: - The following exports were renamed:
// Previously
import {
actionTypesProducts,
entitiesMapperProducts,
serverInitialStateProducts,
} from '@farfetch/blackout-redux';
// Now
import {
productsActionTypes,
productsEntitiesMapper,
productsServerInitialState,
} from '@farfetch/blackout-redux';
1.0.0-next.260 (2022-06-27)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.259 (2022-06-27)
- blackout-client|blackout-redux: export forms modules in root index file (1180d3e)
- 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.
// 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
andreducer
from@farfetch/blackout-core/forms/redux
were renamed toformsActionTypes
andformsReducer
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 toRESET_FORM_SCHEMAS
// Previously
import { RESET_SCHEMAS } from '@farfetch/blackout-core/forms/redux';
// Now
import { RESET_FORM_SCHEMAS } from '@farfetch/blackout-redux';
1.0.0-next.258 (2022-06-27)
- blackout-client|blackout-react|blackout-redux: export analytics modules in root index file (45e97d2)
- 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';
1.0.0-next.257 (2022-06-27)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.256 (2022-06-27)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.255 (2022-06-27)
- redux: add
grouping
state management (1398356)
1.0.0-next.254 (2022-06-22)
- client|redux: recently viewed in product's scope (8ad16e6)
- redux: refactoring of exports in products (a17e25a)
-
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
, andserverInitialState
, need to be changed toactionTypesProducts
,entitiesMapperProducts
, andserverInitialStateProducts
, 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’; ```
1.0.0-next.253 (2022-06-22)
- client|redux: export clients and actions on root for content area (3e4913f)
- 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
1.0.0-next.252 (2022-06-21)
- add patch checkout order item and delete checkout order item action creators (40baaa3)
1.0.0-next.251 (2022-06-20)
- redux: add chargeId param on checkout fetchCharges action (25709c7)
1.0.0-next.250 (2022-06-20)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.249 (2022-06-15)
- add logic for operation endpoints (5f3d28b)
1.0.0-next.248 (2022-06-15)
- add
totalQuantity
anditemsCount
touseBag
hook (e71fd5b)
1.0.0-next.247 (2022-06-15)
- redux: remove setUser middleware mandatory parameter (1bd38bc)
1.0.0-next.246 (2022-06-15)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.245 (2022-06-15)
- add
facetId
tofilterSegments
inproductsList
entity (f8bdfd8)
1.0.0-next.244 (2022-06-15)
- redux: add reset action for users (b958eb8)
1.0.0-next.243 (2022-06-14)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.242 (2022-06-14)
- blackout-client|blackout-redux: fix getFormSchemaByCode selector (5e209c4)
1.0.0-next.241 (2022-06-14)
- redux: remove unsupported params from FetchUserFactory (7278675)
1.0.0-next.240 (2022-06-09)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.239 (2022-06-09)
- blackout-client|blackout-redux: fix error handling on blackout client and redux (7b1f92f)
1.0.0-next.238 (2022-06-09)
- blackout-*: convert jsdocs to tsdocs (7936d24)
1.0.0-next.237 (2022-06-07)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.236 (2022-06-03)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.235 (2022-06-02)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.234 (2022-06-02)
- redux: get entity selectors errors (30ef8e4)
1.0.0-next.233 (2022-05-25)
- blackout-*: fix issues for the release blackout 2 (8fb3d11)
1.0.0-next.232 (2022-05-17)
- client|redux: add reschedule endpoints (2365af9)
1.0.0-next.231 (2022-05-16)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.230 (2022-05-12)
- client|redux: add personal id and image endpoints (d295f55)
1.0.0-next.229 (2022-05-11)
- client|redux: add personal ids endpoints (02d7371)
1.0.0-next.228 (2022-05-10)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.227 (2022-05-10)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.226 (2022-05-04)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.225 (2022-05-02)
- analytics|client|react: transform Omnitracking integration to typescript (c987863)
1.0.0-next.224 (2022-04-28)
- blackout-redux: convert analytic's wishlist middleware to typescript (ab2e7a2)
1.0.0-next.223 (2022-04-27)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.222 (2022-04-27)
- blackout-redux: convert analytic's bag middleware to typescript (c3f89fd)
1.0.0-next.221 (2022-04-21)
- client|redux: add phone token validation endpoints on next (58edd6c)
1.0.0-next.220 (2022-04-19)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.219 (2022-04-19)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.218 (2022-04-11)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.217 (2022-04-08)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.216 (2022-04-06)
- blackout-analytics|blackout-redux: convert analytic's user middleware to typescript (3a6433d)
1.0.0-next.215 (2022-04-05)
- blackout-client|blackout-redux: fix updateUserSubscriptions action (97467d1)
- blackout-client|blackout-redux: The
getUserSubscriptionsError
selector will not return the error when there is an error for theupdateUserSubscriptions
action. To check if there was an error for that action, you will need to use thegetUpdateSubscriptionsError
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)
};
};
1.0.0-next.214 (2022-04-04)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.213 (2022-04-04)
- blackout-core: fix
getWishlistItemIdFromAction
function (a8e7256)
1.0.0-next.212 (2022-03-29)
- react: add lodash map render content (8b8a5cc)
- core|react|redux: fix typescript issues for authentication and users (84920d2)
1.0.0-next.211 (2022-03-28)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.210 (2022-03-28)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.209 (2022-03-25)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.208 (2022-03-21)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.207 (2022-03-21)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.206 (2022-03-18)
- analytics|react: fix typescript typings (0294198)
1.0.0-next.205 (2022-03-04)
- redux: update order of components and fix ranking on merge strategy for commerce pages next (ad96bda)
1.0.0-next.204 (2022-03-03)
- core: add
groupsOn
to the sizes facet's entity id (884138a)
1.0.0-next.203 (2022-03-01)
- redux: add missing reducers and selectors for activities endpoints on next (620ec34)
1.0.0-next.202 (2022-02-24)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.201 (2022-02-22)
- client|redux: add order activities endpoints (e15afcd)
1.0.0-next.200 (2022-02-22)
- client|redux: convert subscription area from js to ts (6b623e4)
1.0.0-next.199 (2022-02-15)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.198 (2022-02-14)
- client|redux: convert orders files to typescript (6066925)
1.0.0-next.197 (2022-02-11)
- react: This moves the method
handleAddOrUpdateItem
to a new hookuseAddOrUpdateBagItem
. The new hook is necessary since we are using selectors and actions outside a React component.
1.0.0-next.196 (2022-02-11)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.195 (2022-02-07)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.194 (2022-02-07)
- react|redux: fixed GA4 mappings and improved wishlist middleware (7f989e1)
1.0.0-next.193 (2022-02-07)
- redux: fix fetchWishlistSetFactory (138ef0a)
1.0.0-next.192 (2022-02-04)
- redux: reset users data on logout (f123cb8)
1.0.0-next.191 (2022-02-04)
- redux: improve actions of 'users' (aa976a2)
1.0.0-next.190 (2022-02-03)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.189 (2022-02-02)
- client|redux: save pickup capabilities time slots (80bcdb8)
1.0.0-next.188 (2022-02-01)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.187 (2022-01-31)
- client|redux: add new unsubscribe client (a82f004)
1.0.0-next.186 (2022-01-28)
- client|redux: orders - split core and redux (60580f6)
1.0.0-next.185 (2022-01-26)
- client|redux: reset orders data on logout (cd23bdd)
1.0.0-next.184 (2022-01-26)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.183 (2022-01-25)
- redux: multiple entries generates same hash contents (597fa06)
1.0.0-next.182 (2022-01-24)
- redux: add isWishlistSetFetched selector (89115c9)
1.0.0-next.181 (2022-01-20)
- client|redux: convert recommended area from js to ts … (d86eca2)
1.0.0-next.180 (2022-01-20)
- client|redux: implement new return endpoint (3442fe4)
- client|redux: - Changed pickupCapabilities endpoint. Instead of a query, now it should receive the pickup day in the format YYYY-MM-DD.
1.0.0-next.179 (2022-01-20)
- redux: reset loyalty data on logout (877dc08)
1.0.0-next.178 (2022-01-19)
- client|redux: convert recently viewed area from js to ts (869a576)
- client|redux: convert recently viewed area from js to ts (d80258c)
1.0.0-next.177 (2022-01-19)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.176 (2022-01-19)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.175 (2022-01-17)
- redux: add
id
to the lists server initial state (83948bb)
1.0.0-next.174 (2022-01-14)
- redux: add selectors types for `wishlistsSets`` (a85a00f)
1.0.0-next.173 (2022-01-14)
- react: add useProductDetails hook (e373f6a)
1.0.0-next.172 (2022-01-13)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.171 (2022-01-13)
- redux: reset returns data on logout (b52f8c2)
1.0.0-next.170 (2022-01-12)
- redux: add commerce pages to redux (2924ec3)
1.0.0-next.169 (2022-01-12)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.168 (2022-01-12)
- redux: returns - rename api (eac274a)
- redux: provide returns actions with client (73af24c)
- redux: - Rename the action types if you use them in any custom reducer/middleware:
import { actionTypes } from '@farfetch/blackout-client/returns/redux';
// Previously
actionTypes.GET_PICKUP_CAPABILITIES_FAILURE;
actionTypes.GET_PICKUP_CAPABILITIES_REQUEST;
actionTypes.GET_PICKUP_CAPABILITIES_SUCCESS;
actionTypes.GET_REFERENCES_FAILURE;
actionTypes.GET_REFERENCES_REQUEST;
actionTypes.GET_REFERENCES_SUCCESS;
actionTypes.GET_RETURN_FAILURE;
actionTypes.GET_RETURN_REQUEST;
actionTypes.GET_RETURN_SUCCESS;
actionTypes.GET_RETURNS_FROM_ORDER_FAILURE;
actionTypes.GET_RETURNS_FROM_ORDER_REQUEST;
actionTypes.GET_RETURNS_FROM_ORDER_SUCCESS;
// Change to
actionTypes.FETCH_PICKUP_CAPABILITIES_FAILURE;
actionTypes.FETCH_PICKUP_CAPABILITIES_REQUEST;
actionTypes.FETCH_PICKUP_CAPABILITIES_SUCCESS;
actionTypes.FETCH_REFERENCES_FAILURE;
actionTypes.FETCH_REFERENCES_REQUEST;
actionTypes.FETCH_REFERENCES_SUCCESS;
actionTypes.FETCH_RETURN_FAILURE;
actionTypes.FETCH_RETURN_REQUEST;
actionTypes.FETCH_RETURN_SUCCESS;
actionTypes.FETCH_RETURNS_FROM_ORDER_FAILURE;
actionTypes.FETCH_RETURNS_FROM_ORDER_REQUEST;
actionTypes.FETCH_RETURNS_FROM_ORDER_SUCCESS;
- Rename the action thunk creators:
// Previously
import {
doCreateReturn,
doGetReturn,
doGetPickupCapabilities,
doGetReferences,
doGetReturnsFromOrder,
doResetReturn,
doUpdateReturn,
} from '@farfetch/blackout-redux/returns';
// Change to
import {
createReturn,
fetchReturn,
fetchPickupCapabilities,
fetchReferences,
fetchReturnsFromOrder,
resetReturn,
updateReturn,
} from '@farfetch/blackout-redux/returns';
1.0.0-next.167 (2022-01-11)
- client|redux: convert forms area to ts (43c4a73)
1.0.0-next.166 (2022-01-11)
- redux|client: add additional user attributes client (86f2455)
1.0.0-next.165 (2022-01-10)
useBag
hook types (b1a480a)
1.0.0-next.164 (2022-01-07)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.163 (2021-12-27)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.162 (2021-12-23)
- redux: provide loyalty actions with a client (2e98225)
1.0.0-next.161 (2021-12-23)
- change loyalty actions nomenclature (bad8581)
1.0.0-next.160 (2021-12-21)
- client|redux: general mocks - returns (1d385be)
- client|redux: split core & redux returns (ebff34d)
- redux: return statements - returns (4ae2e50)
1.0.0-next.159 (2021-12-16)
- redux: remove circular dependency from recently viewed (9a69cc1)
1.0.0-next.158 (2021-12-16)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.157 (2021-12-15)
- redux: add
promotionEvaluations
redux logic (da63b77)
1.0.0-next.156 (2021-12-14)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.155 (2021-12-13)
- analytics|react|redux: add ga4 custom events support (29eccb3)
1.0.0-next.154 (2021-12-10)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.153 (2021-12-10)
- add selector to get all product sizes with remaining quantity (28fc8a6)
1.0.0-next.152 (2021-12-09)
- client|redux: loyalty - split client (6d36e03)
1.0.0-next.151 (2021-12-07)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.150 (2021-12-06)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.149 (2021-12-06)
- redux: make
getBagItems
return empty array (c339a06)
- client|redux: profile - rename API and client split (1d74770)
1.0.0-next.148 (2021-12-03)
- redux: remove entries in server initial state of product/details (d73b71f)
1.0.0-next.147 (2021-12-02)
- redux: add productAggregatorId to add to bag requests (e661332)
1.0.0-next.146 (2021-12-02)
Note: Version bump only for package @farfetch/blackout-redux
1.0.0-next.145 (2021-11-29)
Note: Version bump only for package @farfetch/blackout-redux
- migrate packages (d081242)