Skip to content

Latest commit

 

History

History
374 lines (163 loc) · 14.5 KB

CHANGELOG.md

File metadata and controls

374 lines (163 loc) · 14.5 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.6.1 (2021-06-16)

Bug Fixes

  • fetch: must pass instance storeId to ecomClient request (2dd9d67)

2.6.0 (2021-06-01)

Features

  • 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)

Bug Fixes

  • set-sort-order: check price effective dates for 'offers' sort (92cf8dc)

2.5.0 (2020-11-26)

Features

  • set-sort-order: accepting any valid item sortable field (asc by default) (4c3cab4)

2.4.1 (2020-09-11)

Bug Fixes

  • fetch: handle pagination for simple search request (8fbaf01)

2.4.0 (2020-09-10)

Features

  • simple-search: add isSimpleSearch param to fetch method (#1) (21ac233)

Bug Fixes

  • set-sort-order: ensure in stock sort with default sort option (views) (78e82e7)

2.3.2 (2020-06-01)

Bug Fixes

  • set-sort-order: ensure in stock sort check for common sort (fa1b8da)

2.3.1 (2020-05-27)

Bug Fixes

  • set-sort-order: ensure ordering in stock first on sort options (8f34ae6)

2.3.0 (2020-05-23)

Features

  • merge-filter: add/handling occur param (occurency type) (b4ef3ee)
  • remove-filter: add/handling occur param (occurency type) (fb0ba8d)

Bug Fixes

  • 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)

Bug Fixes

  • set-sort-order: sort 'news' by creation date desc (bd27f9e)

2.2.0 (2020-05-15)

Features

  • set-sort-order: add 'offers' sort option (cdc5748)

2.1.0 (2020-05-14)

Features

  • set-sort-orders: add 'news' option to enumOrder (418c862)

Bug Fixes

  • dsl: add 'preference: in stock first' to default dsl query (f813801)

2.0.3 (2020-01-24)

Bug Fixes

  • 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)

⚠ BREAKING CHANGES

  • deps: ecomplus/utils and core-js no more direct dependencies

  • deps: fix dependencies (peer) (a0b00e5)

1.1.1 (2019-12-27)

Bug Fixes

  • fetch: properly setting request data (dsl) (997132c)

1.1.0 (2019-12-27)

Features

  • fetch: accepting additional axios config object (acc6dae)

1.0.5 (2019-09-10)

Bug Fixes

  • history: prevent duplicated term (ef0d0e7)

1.0.4 (2019-09-10)

Bug Fixes

  • history: check total results before adding term to history (7c8152a)

1.0.3 (2019-09-10)

Bug Fixes

  • search-history: unshift term to history, store up to 20 terms (6ee7b30)

1.0.2 (2019-08-24)

Bug Fixes

  • constructor: fix getting store id from config (921883c)

1.0.1 (2019-08-13)

Build System

  • webpack: fix externals for lodash.utility (424c471)

1.0.0 (2019-08-12)

0.10.0 (2019-08-06)

Features

  • history: handing search terms history list (e1ab9f1)

0.9.0 (2019-08-06)

Features

  • 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)

Features

  • get-items: add 'getItems' method (4c96b2e)
  • get-total-count: add 'getTotalCount' method (a295007)
  • result: saving last result object as instance member (8241d41)

refactor

  • reset: also unset instance result, change method name (860c911)

BREAKING CHANGES

  • reset: 'resetQuery' method no more working, renamed to 'reset'

0.7.0 (2019-08-03)

Features

  • 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)

Bug Fixes

  • merge-filter: check field and key value for nested object filter (0d4fc0f)

Features

  • merge-filter: handling 'mergeFilter' method (b86c96c)
  • set-price-range: handling 'setPriceRange' method (5b9ead4)
  • set-spec: handling 'setSpec' methods (0a93966)

refactor

  • constructor: changing some methods names (cad3d3e)
  • set-price-range: edit method params (8927966)

BREAKING CHANGES

  • set-price-range: 'setPriceRange' no more working with object param
  • constructor: some methods renamed

0.5.0 (2019-08-01)

Bug Fixes

  • reset-query: reset default page limit and sort by views (6712898)

Features

  • set-page-number: handling 'setPageNumber' method (baca926)
  • set-search-term: handling 'setSearchTerm' method (204eae2)

0.4.0 (2019-08-01)

Build System

  • webpack: fix declaring lodash as external lib (32cb011)

Features

  • set-page-size: handing 'setPageSize' method (cf12f36)

refactor

  • constructor: changing 'query' property to 'dsl' (3e5e08b)

BREAKING CHANGES

  • constructor: search.query will no more work, changed to search.dsl

0.3.0 (2019-07-31)

Bug Fixes

  • 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)

Build System

  • webpack: ignoring lodash.clonedeep on bundler as external package (9797129)

Features

  • 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)

Features

  • fetch: handling search api request with fetch method (ebd12ba)
  • method: add 'resetQuery' method and setup with default Query DSL (f3770d9)

0.1.0 (2019-07-29)

Build System

  • babel: setup babel config file (d272605)
  • webpack: edit output filename for cdns (35d1308)
  • webpack: setup webpack config with two outputs (5f170f2)

Features

  • constructor: setup constructor function (6a87d99)

Tests

  • home: setup html file for tests (8dfb2aa)