From 2b67e3b0568517e58b814ffc1a13fe3ce40e16a5 Mon Sep 17 00:00:00 2001 From: bc-yevhenii-buliuk Date: Wed, 11 Jun 2025 13:08:47 +0300 Subject: [PATCH 1/3] Releasing 6.16.2 --- CHANGELOG.md | 2 ++ config.json | 2 +- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c3f090292..46065a80cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft + +## 6.16.2 (06-11-2025) - Patch security vulnerabilities [#2548](https://github.com/bigcommerce/cornerstone/pull/2548) - Update code standards based on updated linter expectancies [#2548](https://github.com/bigcommerce/cornerstone/pull/2548) diff --git a/config.json b/config.json index fbccc15761..11db5376d2 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "name": "Cornerstone", - "version": "6.16.2-rc.1", + "version": "6.16.2", "template_engine": "handlebars_v4", "meta": { "price": 0, diff --git a/package-lock.json b/package-lock.json index 26fbddb339..58d03b91c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "bigcommerce-cornerstone", - "version": "6.16.2-rc.1", + "version": "6.16.2", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 5dd192bd82..f9fb15f750 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bigcommerce-cornerstone", "description": "The BigCommerce reference theme for the Stencil platform", - "version": "6.16.2-rc.1", + "version": "6.16.2", "private": true, "author": "BigCommerce", "license": "MIT", From 6c97ccae84c843509d5efef963d8d52ce43e605c Mon Sep 17 00:00:00 2001 From: Peter Valadez Date: Wed, 11 Jun 2025 16:05:03 -0400 Subject: [PATCH 2/3] Add validationDictionary on search page for price filter error messages --- assets/js/theme/search.js | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/assets/js/theme/search.js b/assets/js/theme/search.js index 08add87658..7144121cd9 100644 --- a/assets/js/theme/search.js +++ b/assets/js/theme/search.js @@ -8,11 +8,17 @@ import Url from 'url'; import collapsibleFactory from './common/collapsible'; import 'jstree'; import nod from './common/nod'; +import { createTranslationDictionary } from './common/utils/translations-utils'; const leftArrowKey = 37; const rightArrowKey = 39; export default class Search extends CatalogPage { + constructor(context) { + super(context); + this.validationDictionary = createTranslationDictionary(context); + } + formatCategoryTreeForJSTree(node) { const nodeData = { text: node.data, @@ -264,8 +270,13 @@ export default class Search extends CatalogPage { } initFacetedSearch() { - // eslint-disable-next-line object-curly-newline - const { onMinPriceError, onMaxPriceError, minPriceNotEntered, maxPriceNotEntered, onInvalidPrice } = this.context; + const { + price_min_evaluation: onMinPriceError, + price_max_evaluation: onMaxPriceError, + price_min_not_entered: minPriceNotEntered, + price_max_not_entered: maxPriceNotEntered, + price_invalid_value: onInvalidPrice, + } = this.validationDictionary; const $productListingContainer = $('#product-listing-container'); const $contentListingContainer = $('#search-results-content'); const $facetedSearchContainer = $('#faceted-search-container'); From 286586fdb252a9cbe9ef31aefad857048f68fc17 Mon Sep 17 00:00:00 2001 From: Peter Valadez Date: Wed, 11 Jun 2025 16:32:32 -0400 Subject: [PATCH 3/3] Add draft changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46065a80cc..39bd1d0ce9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft +- Add validationDictionary to search page for price range filter error messages [#2553](https://github.com/bigcommerce/cornerstone/pull/2553) ## 6.16.2 (06-11-2025) - Patch security vulnerabilities [#2548](https://github.com/bigcommerce/cornerstone/pull/2548)