# Changelog
# 2.2.1
- fixed
vue-lazy-hydration
dependency innuxt-theme-module
and improved typings in Boilerplate (#5403 (opens new window))
# 2.2.0
- added bottom margin to fix visibility of last footer category (#5253 (opens new window))
- [BREAKING] refactored names of many factory methods and composable methods, details in linked PR (#5299 (opens new window))
- [BREAKING] changed signatures of factory methods to always 2 arguments, details in linked PR (#5299 (opens new window))
- [BREAKING] composables are always returning one field for the response, removed
totalOrders
andtotalProducts
,useCartFactory
anduseUserFactory
are returning only composables (#5330 (opens new window)) - [BREAKING] update composables in Boilerplate to match new factories signatures (#5389 (opens new window))
- removed
formatPrice
fromuseUiHelpers
, replaced by vue18n$n
function (#5339 (opens new window)) - updated integration boilerplate to work with refactored names of factories mentioned above (#5348 (opens new window))
- change
useUserBillingFactory
,useUserShippingFactory
anduseWishlistFactory
to return composable, movesetWishlist
inside of composable (5350 (opens new window)) - optimize loading of fonts and their stylesheets from Google Fonts and introduce lazy hydration to improve performance (#5326 (opens new window))
- added missing
i18n
tags (#5337 (opens new window)) - fix adding to cart button on product page (#5375 (opens new window))
- typed error ref for each core's factory (#4956 (opens new window))
- added ID to Loggers in core factories (#5351 (opens new window))
# 2.1.1-rc.1
- updated version of nuxt composition-api
# 2.1.0-rc.1
- removed
availableFilters
andavailableSortingOptions
fromuseProduct
(#4856 (opens new window)) - removed
@import "~@storefront-ui/vue/styles";
from all components, because SFUI variables and mixins are now available globally and imports will drastically increase bundle size (#5195 (opens new window)) - added new performance options to
@vue-storefront/nuxt
package (#5195 (opens new window)) - open active category and highlight current subcategory on the Category page (#5244 (opens new window))
- added missing order getter to get item price (#5231 (opens new window))
- changed default logging level to 'warn' and 'error' in development and production mode respectively (#5304 (opens new window))
- fixed broken focus in login form (#5273 (opens new window))
- fixed select for changing variant on product page (#5281 (opens new window))
- fixed checkboxes in filters sidebar are not clickable on mobile (#5246 (opens new window))
- fixed no option to close a login modal (#5243 (opens new window))
- fixed category page for mobile (#5238 (opens new window))
- fixed issue with CSS waterfall (#5229 (opens new window))
- added support for HTTP/2 push for JS assets (#5179 (opens new window))
- added discounts api getter (#5154 (opens new window))
- added context implementation (#5218 (opens new window))
- added context typings (5290 (opens new window))
# 2.0.12
- fix ssr implementation, transition on client-side (#5103 (opens new window))
# 2.0.11
- fixed SSR in useWishlistFactory (#5076 (opens new window))
- added
components/MyAccount/BillingAddressForm.vue
andcomponents/UserBillingAddress.vue
components for vendor-specific address formats (#5069 (opens new window))
# 2.0.10
- added
useContent
andrenderContent
(#4848 (opens new window)) - added
useUiState
composable insteadui-state.ts
(#4876 (opens new window)) - added
components/MyAccount/ShippingAddressForm.vue
andcomponents/UserShippingAddress.vue
components for vendor-specific address formats (#5032 (opens new window)) - added
getStreetNumber
,getId
,getApartmentNumber
andisDefault
toshippingGetters
(#5032 (opens new window)) - support for customQuery in
loadWishlist
,removeFromWishlist
andaddToWishlist
from useWishlistFactory (#5059 (opens new window))
# 2.0.9
- added
getEmailAddress
getter touserGetters
(#4939 (opens new window)) - added
getTotalReviews
andgetAverageRating
toproductGetters
(#4958 (opens new window)) - fix ssr transitions
- updated UseUserShipping & UserShippingGetters interfaces, implemented them in useUserShippingFactory, written & updated tests (#4841 (opens new window))
- fix
sharedRef
nullable assigning
# 2.0.8
- renamed
refreshUser
toload
inuseUser
, user shouldn't be automatically loaded now #4917 (opens new window) - implementing logger feature #4911 (opens new window)
- fixed cart hydration issues #4942 (opens new window)
# 2.0.6
- renamed useReviews factory to useReview #4800 (opens new window)
- added useUserBillingFactory and useUserShippingFactory factory #4809 (opens new window)
# 2.0.5
- added useReviews factory #4775 (opens new window)
- refactored apiClientFactory #4777 (opens new window)
- removed useLocale types #4777 (opens new window)
- created useFacet factory and types #4853 (opens new window)