All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.6.1 (2021-06-16)
- fetch: must pass instance
storeId
to ecomClient request (2dd9d67)
2.6.0 (2021-06-01)
- add-global-filter: abstraction to add custom DSL middleware for simple search filter (e72e65f)
- dsl-middlewares: custom dsl parses before fetch with DSL middleware functions (3ed2d0c)
- exports: named exports with global modifiers (4b64dd4)
- set-sales-channel: set channel id for all search instances with
setSalesChannel
(fb7cea4) - set-warehouse: ser warehouse code for all search instances with
setWarehouse
(a4273c1)
2.5.1 (2021-03-20)
- set-sort-order: check price effective dates for 'offers' sort (92cf8dc)
2.5.0 (2020-11-26)
- set-sort-order: accepting any valid item sortable field (asc by default) (4c3cab4)
2.4.1 (2020-09-11)
- fetch: handle pagination for simple search request (8fbaf01)
2.4.0 (2020-09-10)
- set-sort-order: ensure in stock sort with default sort option (views) (78e82e7)
2.3.2 (2020-06-01)
- set-sort-order: ensure in stock sort check for common sort (fa1b8da)
2.3.1 (2020-05-27)
- set-sort-order: ensure ordering in stock first on sort options (8f34ae6)
2.3.0 (2020-05-23)
- merge-filter: add/handling occur param (occurency type) (b4ef3ee)
- remove-filter: add/handling occur param (occurency type) (fb0ba8d)
- set-category-ids: using 'must' to handle multiple categories (78c90e8)
- set-category-names: using 'must' to handle multiple categories (6d2f03c)
- set-search-term: merge filter to prevent overriting 'must' queries (bb689ea)
2.2.1 (2020-05-15)
- set-sort-order: sort 'news' by creation date desc (bd27f9e)
2.2.0 (2020-05-15)
- set-sort-order: add 'offers' sort option (cdc5748)
2.1.0 (2020-05-14)
- set-sort-orders: add 'news' option to enumOrder (418c862)
- dsl: add 'preference: in stock first' to default dsl query (f813801)
2.0.3 (2020-01-24)
- imports: use import * as for lodash merge and cloneDeep (cjs) (0d897d4)
2.0.2 (2020-01-07)
2.0.1 (2020-01-02)
2.0.0 (2019-12-31)
-
deps: ecomplus/utils and core-js no more direct dependencies
-
deps: fix dependencies (peer) (a0b00e5)
1.1.1 (2019-12-27)
- fetch: properly setting request data (dsl) (997132c)
1.1.0 (2019-12-27)
- fetch: accepting additional axios config object (acc6dae)
1.0.5 (2019-09-10)
- history: prevent duplicated term (ef0d0e7)
1.0.4 (2019-09-10)
- history: check total results before adding term to history (7c8152a)
1.0.3 (2019-09-10)
- search-history: unshift term to history, store up to 20 terms (6ee7b30)
1.0.2 (2019-08-24)
- constructor: fix getting store id from config (921883c)
1.0.1 (2019-08-13)
- webpack: fix externals for lodash.utility (424c471)
1.0.0 (2019-08-12)
0.10.0 (2019-08-06)
- history: handing search terms history list (e1ab9f1)
0.9.0 (2019-08-06)
- get-brands: add 'getBrands' method (fd3171c)
- get-categories: add 'getCategories' method (4811243)
- get-price-range: add 'getPriceRange' method (ed1f631)
- get-specs: add 'getSpecs' method (75e6588)
- get-term-suggestions: add 'getTermSuggestions' method (1ec9b12)
0.8.0 (2019-08-05)
- get-items: add 'getItems' method (4c96b2e)
- get-total-count: add 'getTotalCount' method (a295007)
- result: saving last result object as instance member (8241d41)
- reset: also unset instance result, change method name (860c911)
- reset: 'resetQuery' method no more working, renamed to 'reset'
0.7.0 (2019-08-03)
- remove-filters: handling 'removeFilters' method (425383c)
- set-brand-ids: handling 'setBrandIds' method (cbac95e)
- set-brand-names: handling 'setBrandNames' method (caf127f)
- set-category-ids: handling 'setCategoryIds' method (f775482)
- set-category-names: handling 'setCategoryNames' method (bca22b0)
- set-product-ids: handling 'setProductIds' method (23f1871)
- set-skus: handling 'setSkus' method (13172b2)
0.6.0 (2019-08-02)
- merge-filter: check field and key value for nested object filter (0d4fc0f)
- merge-filter: handling 'mergeFilter' method (b86c96c)
- set-price-range: handling 'setPriceRange' method (5b9ead4)
- set-spec: handling 'setSpec' methods (0a93966)
- set-price-range: 'setPriceRange' no more working with object param
- constructor: some methods renamed
0.5.0 (2019-08-01)
- reset-query: reset default page limit and sort by views (6712898)
- set-page-number: handling 'setPageNumber' method (baca926)
- set-search-term: handling 'setSearchTerm' method (204eae2)
0.4.0 (2019-08-01)
- webpack: fix declaring lodash as external lib (32cb011)
- set-page-size: handing 'setPageSize' method (cf12f36)
- constructor: changing 'query' property to 'dsl' (3e5e08b)
- constructor: search.query will no more work, changed to search.dsl
0.3.0 (2019-07-31)
- query: preset query object, set default page limit and sort (0fd4f51)
- reset-query: using assing to keep original default query object (c7523f9)
- reset-query: using deep clone to keep default query object intact (9bd53ab)
- webpack: ignoring lodash.clonedeep on bundler as external package (9797129)
- constructor: setup methods (b633495)
- reset-query: return self to add ability to chain code (10b00ca)
- set-sort-order: handling 'setSortOrder' method (419ae41)
- set-sort-order: return self to add ability to chain code (191a7f1)
0.2.0 (2019-07-30)
- fetch: handling search api request with fetch method (ebd12ba)
- method: add 'resetQuery' method and setup with default Query DSL (f3770d9)
- babel: setup babel config file (d272605)
- webpack: edit output filename for cdns (35d1308)
- webpack: setup webpack config with two outputs (5f170f2)
- constructor: setup constructor function (6a87d99)
- home: setup html file for tests (8dfb2aa)