This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
Releases: vuestorefront/vue-storefront-1
Releases · vuestorefront/vue-storefront-1
Vue Storefront 1.12.3
New fields in the config
Added
- Added states.json in core/i18n/resource (#4531)
- Added phone validation helper (#4980)
- Configurable enabling min & max price aggregations
- Storing totals in localStorage to sync it between tabs (#4733)
- Support for trailing slashes in the route paths - @tdugue @gibkigonzo @Fifciu (#5372)
Fixed
- Remove redundant user token invalidation code - TerrorSquad (#4533)
- configurableChildrenImages helper function incorrect loading images - @RakowskiPrzem (#4575)
- Fix user/register call by adding storeId - @haelbichalex (#4697)
- refresh categoryMappedFilters after loading attributes in PLP - @gibkigonzo (#4695)
- Check module registration for wishlist and compare list - gibkigonzo (#4764)
- Fix gallery image generation by checking if image exists - simonmaass (#4908)
- Fix getSelectedOption based on attribute_code check - simonmaass (#4851)
- add new resetUserInvalidation action to clear invalidation state before login,
clear order history and refresh token after logout,
add redirection when user is logged out and sees myaccount page - gibkigonzo (#4882) - Fix
config.products.filterUnavailableVariants
feature - Ogek (#4923) - added 'afterUserProfileUpdated' hook which allows us to take control over update address flow (send notification if something failed)
move pick allowed modification just before sending data to task managment
add 'beforeUserProfileUpdate' which allows to modify user object before update - gibkigonzo (#4427) - replace lodash with lodash-es for client files - gibkigonzo (#5019)
- add default personal detail loading on shipment step in checkout when user is logged - (#5040)
- Got rid of inifnity redirect or page-not-found on refresh category/product view
- Got rid of memory leak related to dynamic config - tomasz-duda (#4768)
- servercart-after-diff event payload - Fifciu (#5365)
- Fix Original Price Calculation typo - @akucharczyk / @lukaszjedrasik (#5472)
- Purge loader works properly with dynamic config reload - @Fifciu
- Multi-tab cart-sync in multi-store environment - @cewald (#5711, #5732)
- Incorrect load of default address in checkout - @lukaszjedrasik (#4682)
- Error with unknown theme/index.js alias - @Fifciuu (vuestorefront/vue-storefront#5813)
- ESLint warnings caused by the double import - @lukaszjedrasik
- Fix Order History Pagination - @AishwaryShrivastav / @lukaszjedrasik (#4599)
- Fix: Updating URL's params/query params with proper child SKU if options changes - @lukaszjedrasik (#5981)
- Fix: Passing
newToken: null
as a payload insideclearCurrentUser
action - @lukaszjedrasik (#5565)
Changed / Improved
- Moved hardcoded fields from omitSelectedVariantFields.ts to config (#4679)
- Bump dependencies versions (#4715, #4696, #4951)
- Using dayjs for dates in taxCalc.ts to make it work properly in Safari (#5364)
- Awaiting addItem action call inside mergeServerItem action (#5165)
- Moved
phoneNum
to proper branch - @lukaszjedrasik (#5730) - Development hot-reload speed webpack config - (#5559)
- Set correct type for
productPageVisited
hook - @lukaszjedrasik (#5997)
Vue Storefront 1.12.2
Added
- IMPORTANT for security reasons we added new config
users.allowModification
.
This can help to dissallow modifying fields that shouldn't be changed by user. - Add helmet - enabled by default, you can pass configuration by adding
config.server.helmet.config
.
More info about helmet configuration https://helmetjs.github.io/docs/ - Add config
users.tokenInHeader
which allows to send token in header instead in query. Require to set on true same config in vsf-api. - Make calculation of bundled products price by options optional - @cewald (#4556)
Fixed
- remove deprecated value from attributesListQuery query - @gibkigonzo (#4572)
- Fixed dutch translations - @1070rik (#4587)
- localForage memory overload fixed.
localForage.preserveCollections
keeps names of collections to be preserved from being cleared. - @prakowski - Fixed bug in
restoreQuantity
- getItem never returns cart item - @gibkigonzo (#4619) - Separate variant in findProductOption to get parent sku - @gibkigonzo (#4641)
- Fix wrong value in Cache-Control header for max-age - boehsermoe (#4657)
Vue Storefront 1.12.1
Added
- Add
purgeConfig
to default.json and purge-config loader - @gibkigonzo (#4540) - Load attributes data of attribute-meta for bundled and grouped products - @cewald (#4551)
- Separate theme installation and add it as yarn init:theme or as a step in yarn installer. - @gibkigonzo (4534, #4552)
Fixed
- use
config.i18n.defaultLocale
as fallback locale instead of'en-US'
- @gibkigonzo (#4489) - use Math.abs on raw price - @gibkigonzo (#4521)
- Clears vuex warnings about overriding state by module - @gibkigonzo (#4541)
Vue Storefront 1.12.0
Added
- Add
vsf-capybara
support as a dependency and extend CLI to support customization - @psmyrek (#4209) - Support theme configuration via CLI - @psmyrek (#4395)
- Allow parent_ids field on product as an alternative to urlpath based breadcrumb navigation (#4219)
- Pass the original item_id when updating/deleting a cart entry @carlokok (#4218)
- Separating endpoints for CSR/SSR - @Fifciu (#2861)
- Added short hands for version and help flags - @jamesgeorge007 (#3946)
- Add
or
operator for Elasticsearch filters inquickSearchByQuery
and use exists if value isnull
- @cewald (#3960) - Add unified fetch in mappingFallback for all searched entities - @gibkigonzo (#3942)
- add npm-run-all for parallel build - @gibkigonzo (#3819)
- Add OutputCaching support for x-vs-store-code - @benjick (#3979)
- The new search adapter
api-search-query
has been added. When you switch to it, by setting theconfig.server.api = "api-search-query"
the ElasticSearch query is being built in thevue-storefront-api
which saves around 400kB in the bundle size asbodybuilder
is no longer needed in the frontend - @pkarw - #2167 - This new
api-search-query
adapter supports theresponse_format
query parameter which now is sent to the/api/catalog
endpoint. Currently there is just one additional format supported:response_format=compact
. When used, the response format got optimized by: a) remapping the results, removing the_source
from thehits.hits
; b) compressing the JSON fields names according to theconfig.products.fieldsToCompact
; c) removing the JSON fields from theproduct.configurable_children
when their values === parent product values; overall response size reduced over -70% - @pkarw - The
amp-renderer
module has been disabled by default to save the bundle size; If you'd like to enable it uncomment the module from thesrc/modules
and uncomment theproduct-amp
andcategory-amp
links that are added to the<head>
section in thesrc/themes/default/Product.vue
andsrc/themes/default/Category.vue
- Reset Password confirmation page - @Fifciu (#2576)
- Add
Intl.NumberFormat()
/toLocaleString()
via polyfill support in NodeJs - @cewald (#3836, #4040) - Added
saveBandwidthOverCache
parameter for skipping caching for products data - @andrzejewsky (#3706) - New zoom effect for product gallery images - @Michal-Dziedzinski (#2755)
- Add custom currency separators and amount of fraction digits - @EndPositive (#3553)
- Product Page Schema implementation as JSON-LD - @Michal-Dziedzinski (#3704)
- Add
/cache-version.json
route to get current cache version - Built-in module for detecting device type based on UserAgent with SSR support - @Fifciu
- Update to
storefront-query-builder
version1.0.0
- @cewald (#4234) - Move generating files from webpack config to script @gibkigonzo (#4236)
- Add correct type matching to
getConfigurationMatchLevel
- @cewald (#4241) - Support
useSpecificImagePaths
withuseExactUrlsNoProxy
- @cewald (#4243) - Adds module which handles cache invalidation for Fastly. - @gibkigonzo (#4096)
- Add vsf-cache-nginx and vsf-cache-varnish modules - @gibkigonzo (#4096)
- Added meta info for CMS pages from Magento @mdanilowicz (#4392)
- Add useful core events to server & logger - @cewald (#4419)
Fixed
- Fixed
resultPorcessor
typo - @psmyrek - Negative price has doubled minus sign - @psmyrek (#4353)
- Fixed Search product fails for category filter when categoryId is string - @adityasharma7 (#3929)
- Revert init filters in Vue app - @gibkigonzo (#3929)
- All categories disappearing if you add the child category name to includeFields - @1070rik (#4015)
- Fix overlapping text in PersonalDetails component - @jakubmakielkowski (#4024)
- Redirect from checkout to home with a proper store code - @Fifciu
- Added back error notification when user selects invalid configuration - @1070rik (#4033)
- findConfigurableChildAsync - return best match for configurable variant - @gibkigonzo, @cewald (#4042, #4216)
- use storeCode for mappingFallback url - @gibkigonzo (#4050)
getVariantWithLowestPrice
uses inexistentfinal_price
property - @cewald (#4091)- Fixed
NOT_ALLOWED_SSR_EXTENSIONS_REGEX
to only match with file extensions having a dot - @haelbichalex (#4100) - Fixed problem with not showing error message when placing an order fails - @qiqqq
- Invoking afterCacheInvalidated server hook in a proper moment - @Fifciu (#4176)
- Fixed
cart/isVirtualCart
to returnfalse
when cart is empty - @haelbichalex(#4182) - Use
setProductGallery
inproduct/setCurrent
to use logic of the action - @cewald (#4153) - Use same data format in getConfigurationMatchLevel - @gibkigonzo (#4208)
- removed possible memory leak in ssr - @ResuBaka (#4247)
- Bugfix for reactivity of
current_configuration
inpopulateProductConfigurationAsync
- @cewald (#4258) - Bugfix for build exception in Node v13.13+ - @cewald (#4249)
- Convert option ids to string while comparing them in
getProductConfiguration
- @gibkigonzo (#4484) - change value to number in price filter - @gibkigonzo (#4478)
Changed / Improved
- Optimized
translation.processor
to process only enabled locale CSV files - @pkarw (#3950) - Remove commit register mapping - @gibkigonzo (#3875)
- Improved method
findConfigurableChildAsync
- find variant with lowest price - @gibkigonzo (#3939) - Removed
product/loadConfigurableAttributes
calls - @andrzejewsky (#3336) - Removed unused locales in disabled multistore - @gibkigonzo (#4072)
- Optimized attributes loading - @andrzejewsky (#3948)
- Cart optimization can now be used regardless if entity optimization is enabled - @juho-jaakkola (#4198)
- Improve typescript support for test utils - @ResuBaka (#4067)
- Removed
product/loadConfigurableAttributes
calls - @andrzejewsky, @gibkigonzo (#3336) - Disable
mapFallback
url by default - @gibkigonzo(#4092) - Include token in pricing sync - @carlokok (#4156)
- Move 'graphql' search adapter from core to src (deprecated) - @gibkigonzo (#4214)
- Homepage, new products query, uses now
new
attribute - @mdanilwoicz - Refactor product module, more info in upgrade notes- @gibkigonzo (#3952, #4459)
- Move default theme to separate repository https://github.com/DivanteLtd/vsf-default - @gibkigonzo (#4255)
- add two numbers after dot to price by default, calculate default price for bundle or grouped main product, update typing, add fallback to attribute options - @gibkigonzo (#4476)
- udpate yarn and filter shipping methods for instant checkout - @gibkigonzo (#4480)
- add attribute metadata search query, add parentId - @gibkigonzo (#4491)
Vue Storefront 1.11.4
Changed / Improved
- use yarn in cli installer - @gibkigonzo (#4292)
- disable out of stock notification when config.stock.allowOutOfStockInCart is true - @gibigonzo (#4340)
Fixed
- Use LRU as object contructor based on newest changes in module - @gibkigonzo (#4242)
- Fixed ESC button action (minicart, wishlist) - @mdanilowicz (#4393)
- Fixes problems related to tax calculation and price filter in multistore setup - @juho-jaakkola (#4376)
- Blank order details page - @mdanilowicz (#4382)
- upadate cart hash after sync with backend - @gibkigonzo (#4387)
- exit from errorHandler after redirection - @gibkigonzo (#4246)
- add redirection in component for simple product related to configurable product - @gibkigonzo (#4359)
- disable sending carrier_code or method_code for virtual products,
adjust vue-carousel and vuelidate to newest versions api,
add aplha validators for register fields - @gibkigonzo (#4455, #4461)
Vue Storefront 1.11.3
Changed / Improved
- The default config file is now in more human-readable format - @juho-jaakkola (#4197)
- Create only once aside async component - @gibkigonzo (#4229, #4268)
Fixed
- Fixes when having multiple custom options with overlapping option_type_id values, selecting 1 changes the others - @carlokok (#4196)
- Update eslint and fix code style. - @gibkigonzo (#4179 #4181)
- Fixes bug that caused addToCart action not to display messages to user - @juho-jaakkola (#4185)
- add missing cache tags for category and product - @gibkigonzo (#4173)
- add ssrAppId to avoid second meta render on csr - @gibkigonzo (#4203)
- take control over default broswer behavior and use saved category page size to load prev products - @gibkigonzo (#4201)
- update getCurrentCartHash after add/remove coupon - @gibkigonzo (#4220)
- update replaceNumberToString, so it will change ONLY numbers to string - @gibkigonzo (#4217)
- allow empty shipping methods in checkout - @gibkigozno (#4192)
- configure products before price update - this is needed to have variant sku as product sku - @gibkigonzo (#4053)
- omit stock and totals when creating cart hash, it is not needed to compare products - @gibkigozno (#4235, #4273)
Vue Storefront 1.11.2
Added
- Add
isBackRoute
that informs if user returns to route, skip loading products for category if he does - @gibkigonzo (#4066) - Add server context to async data loader - @gibkigonzo (#4113)
- Add preload and preconnect for google font - @gibkigonzo (#4121)
Changed / Improved
- optimizations - improved prefetch strategy - @gibkigonzo (#4080)
- improvements to Finnish translations - @evktalo (#4116)
- Radio button now allows separate checked, value and name attributes - @EndPositive (#4098)
- Update backwards compatible dependencies - @simonmaass (#4126)
Fixed
- add disconnect and sync options for cart/clear - @gibkigonzo (#4062)
- add '1' as searched value for 'is_user_defined' and 'is_visible' (createAttributesListQuery) - @gibkigonzo (#4075)
- Fix possibility to add same SKU with different custom options to the cart - @Michal-Dziedzinski (#3595)
- Fix
calculateProductTax
to find matching tax rules from ES for current product - @DylannCordel (#4056) - Set
totals
in products in cart always in reactive way - @psmyrek (#4079) - Fix sync cart between tabs - @Michal-Dziedzinski (#3838)
- Add currentRoute to url module and return cached requests - @gibkigonzo (#4077, #4066)
- Hide original radio button behind built label - @EndPositive (#4098)
- Disable overriding
route
state in INITIAL_STATE - @gibkigonzo (#4095) - Fix gtm order placement event when user was guest - @Michal-Dziedzinski (#4064)
- Fix gtm event switched properties - @Michal-Dziedzinski (#4106)
- Group 'productChecksum' and 'productsEquals' logic for all supported products types. Remove 'checksum' when editing product.
Remove and add coupon when user login Remove 'NA' as default company. Show qty in microcart for all types of product.
Remove preload font - it gives good performance, but vue-meta refresh page, because there is script onload. - @gibkigonzo (#4128) - Keep old category before route is resolved - @gibkigonzo (#4124)
- Added comments in 'productsEqual' and change logic for different types of products. Remove login user after order in Checkout. Allow changing qty for 'group' and 'bundle'.products - @gibkigonzo (#4144)
- Fix incorrect root categories when extending includeFields - @Michal-Dziedzinski (#4090)
- Add onlyPositive prop to BaseInputNumber to not allow user type negative value - @Michal-Dziedzinski (#4136)
- Await for cart/authorize while login user - @gibkigonzo (#4133)
- Fixed
NOT_ALLOWED_SSR_EXTENSIONS_REGEX
to only match with file extensions having a dot - @haelbichalex (#4100) - Add lazy load for vue-carousel - @gibkigonzo (#4157)
Vue Storefront 1.10.6
Added
- Add lazy create cart token - @gibkigonzo (#3994)
- Add server context to async data loader - @gibkigonzo (pr#4113)
Fixed
- Fix low-quality images styles - @przspa (#3906)
- Fix page-not-found redirect in dispatcher - @gibkigonzo (#3956)
- Fix hiding overlay for newsletter modal - @gibkigonzo (#3970)
- Fix problem with storeView as dependency in filters - @gibkigonzo (#3968)
- Fix v-model not working in BaseRadioButton - @lukeromanowicz (#4035)
- add disconnect and sync options for clear/cart - @gibkigonzo (#4062)
- Fix current token invalidation with refresh token - @gibkigonzo (#3928, #3620, #3626)
- Disable overriding
route
,config
,storeView
,version
state in INITIAL_STATE - @gibkigonzo (pr#4095) - Disable zoom image on hover in mobile - @gibkigonzo (pr#4115)
Vue Storefront 1.11.1
Added
- Add
ProductPrice
component with bundleOptions and customOptions prices - @gibkigonzo (#3978) - Add lazy create cart token - @gibkigonzo (#3994)
Changed / Improved
- Set cache tag when loading a category - @haelbichalex (#3940)
- In development build
webpack.config.js
in theme folder is now called without thedefault
key
Fixed
- Added Finnish translations - @mattiteraslahti and @alphpkeemik
- Updated Estonian translations to match 1.11 - @alphpkeemik
- CookieNotification CSR&SSR mismatch fixed - @Fifciu (#3922)
- The attribute filter in
attribute/list
was not filtering the already loaded attributes properly - @pkarw (#3964) - Update
hasProductErrors
in Product component and support additional sku in custom options - @gibkigonzo (#3976) - Fixed logic for generating ${lang}.json files in multi-store setup - @jpkempf
- Fixed logic for collecting valid locales in single-store, multi-lang setup - @jpkempf
- Make initial custom option value reactive - @gibkigonzo
- Fixed No image thumbnails leaded on 404 page - @andrzejewsky (#3955)
- Fixed Stock logic not working with manage_stock set to false - @andrzejewsky - (#3957)
- Support old price format in
ProductPrice
- @gibkigonzo (#3978) - Fixed product bundle comparison condition - @gk-daniel (#4004)
- Add event callback for checkout load initial data - @gibkigonzo(#3985)
- Fixed
Processing order...
modal closing too early - @grimasod (#4021) - Keep registered payment methods after
syncTotals
- @grimasod (#4020) - Added status code to the cache content and use it in cache response - @ResuBaka (#4014)
- Fixed sku attribute is missing on compare page - @gibkigonzo (#4036)
- Fixed z-index for aside in compare list - @gibkigonzo (#4037)
- Disable checking max quantity when manage stock is set to false - @gibkigonzo (#4038)
- Add products quantity only when token is created - @gibkigonzo (#4017)
- Revert init filters in Vue app - add storeView to global/store and pass it to filters - @gibkigonzo (#3929)
- Fix v-model not working in BaseRadioButton - @lukeromanowicz (#4035)
- always keep filters values as array of object - @gibkigonzo (#4045)
- Fix ecosystem config to work with ts-node - @andrzejewsky (#3981)
Vue Storefront 1.11.0
Added
- Add unit tests for
core/modules/url
- @dz3n (#3469) - Add unit test for
core/modules/checkout
- @psmyrek (#3460) - Add defense against incomplete config in ssr renderer - @oskar1233 (#3774)
- Add unit tests for
core/modules/order
- @dz3n (#3466) - Add unit tests for
core/modules/user
- @dz3n (#3470) - Add to cart from Wishlist and Product listing for simple products - @Dnd-Dboy, @dz3n (#2637)
- Add global Category and Breadcrumb filters, defined in local.json - @grimasod (#3691)
- Add constant which conditions the number of products loading per page - @AdKamil (#3630)
- Added price filtering key as config - @Roywcm
Fixed
- Fixed missing parameter to query function from cms/store/block/actions - @georgiev-ivan (#3909)
- Always close zoom overlay after changing product - @psmyrek (#3818)
- Fixed problem with cutting image height in category page on 1024px+ screen res - @AdKamil (#3781)
- Fixed null value of search input - @AdKamil (#3778)
- Fixed product sorting - @AdKamil (#3785)
- Fixed displaying
sale
andnew
mark - @andrzejewsky (#3800) - Fixed sorting on category page and product tile sizing - @andrzejewsky (#3817)
- Redirect from simple product using url_path - @benjick (#3804)
- Mount app in 'beforeResolve' if it's not dispatched in 'onReady' - @gibkigonzo (#3669)
- Fixed AMP pages - @andrzejewsky (#3799)
- Fixed Product page breadcrumbs problem when products are in multiple categories in different branches of the category tree - @grimasod (#3691)
- Change translation from jp-JP to ja-JP - @gibkigonzo (#3824)
- Fixed ecosystem config for pm2 - @andrzejewsky (#3842)
- Fixed
mappingFallback
for extending modules - @andrzejewsky (#3822) - Fixed adding products search results to category-next product store - @grimasod (#3877)
- Use
defaultSortBy
for sorting category products by default @haelbichalex (#3873) - Fixed some potential mutations of Config object in
catalog
andcatalog-next
- @grimasod (#3843) - Set
null
as default value for custom option in product page - @gibkigonzo (#3885) - Fixed Breadcrumb filters - apply to second category fetch - @grimasod (#3887)
- Fixed
config.storeViews.commonCache
being ignored - @grimasod (#3895) - Fixed static pages, password notification, offline mode #3902 - @andrzejewsky (#3902)
- Fixed error page display with enabled multistore - @gibkigonzo (#3890)
- Fixed edit shipping address in my account - @gibkigonzo (#3921)
- Fetch cms_block content in serverPrefetch method - @gibkigonzo (#3910)
- Fixed saving invalidated user token - @andrzejewsky (#3923)
- Keep category products objects on ssr - @gibkigonzo (#3924)
- product breadcrumbs - check if current category is not highest one - @gibkigonzo (#3933)
- Use
defaultSortBy
for sorting category products by default @haelbichalex (#3873)
Changed / Improved
- Changed pre commit hook to use NODE_ENV production to check for debugger statements - @ResuBaka (#3686)
- Improve the readability of 'getShippingDetails()' and 'updateDetails()' method of UserShippingDetails component - @adityasharma7 (#3770)
- Keep git after yarn install in dockerfile - @ddanier (#3826)
- Update the Storage Manager shipping details cache immediately when then Vuex checkout store is updated - @grimasod (#3894)