Skip to content

Latest commit

 

History

History
647 lines (452 loc) · 52.7 KB

CHANGELOG.md

File metadata and controls

647 lines (452 loc) · 52.7 KB

4.4.1 (2023-04-06)

Bug Fixes

  • SSR: inject document into searchBox rather than using global in Node environments (#986) (e19ecf2)

4.4.0 (2022-12-05)

Features

  • support angular 15 through peerDependencies (#980) (d59bf21)

4.3.2 (2022-11-08)

Bug Fixes

  • pagination: use pages computed in connector (#978) (f31a01f)

4.3.1 (2022-10-18)

Bug Fixes

  • dependencies: update instantsearch.js (77f7f37)

4.3.0 (2022-08-16)

Bug Fixes

  • ais-hierarchical-menu: show full hierarchical parent values (#958) (bf835b7)
  • searchbox: prevent concurrent query updates from state while input is focused (#960) (8440a41)

Features

  • search-box: add loading indicator + showLoadingIndicator prop (#962) (cef0b75)

4.2.1 (2022-06-13)

Bug Fixes

  • widgets: remove private access modifier on widgets inputs (#955) (ac79fa0)
  • update peer dependencies range to allow angular 14 (#956) (6d499cd)

4.2.0 (2022-05-17)

Features

  • widgets: support $$widgetType metadata (#950) (4565c06)
  • add <ais-reverse-highlight>, <ais-snippet> and <ais-reverse-snippet> components (#891) (fbe9f59)
  • highlight: use helper from InstantSearch.js instead of custom implementation (#888) (33b7be3)

4.1.0 (2022-01-18)

Features

4.0.1 (2021-10-20)

Bug Fixes

  • dependencies: update instantsearch.js to ^4.31.1 (#839) (8d96277)

4.0.0 (2021-08-31)

If migrating from v3, refer to the upgrade guide.

Bug Fixes

  • types: use InstantSearch.js types (#828) (7c9a1ed)
  • BaseWidget: allow declared state and index widgets (#825) (e46fae7)

BREAKING CHANGES

  • enable support for Angular 12. Deprecating support for < 10.0.0. (#818) (33d9350)
  • update InstantSearch.js version to 4.25.0-experimental-typescript.0 (formerly 4.7.0-experimental-typescript.0). Breaking changes will happen mostly on types (#821) (39bec5e)
  • InstantSearch.js is no longer a peer dependency. (#821) (39bec5e)

3.0.0-beta.5 (2020-04-03)

Features

  • ssr: forward options to search client (#715) (8355c97)

3.0.0-beta.4 (2019-07-29)

Bug Fixes

3.0.0-beta.3 (2019-07-22)

Bug Fixes

Tests

  • utils: add tests for bem (#614) (497d714)
  • test(utils): add test for root element

BREAKING CHANGES

  • pagination: The default value used to be false. According to the InstantSearch specs, it should be true.
  • utils: ais-body class has been removed from ais-range-slide component

3.0.0-beta.2 (2019-06-05)

Bug Fixes

Features

  • Hits: expose escapeHTML instance option (#578) (9bb1fb3)
  • ssr: update createSSRSearchClient() (#500) (db9e597)
  • voiceSearch: add voice search component (#530) (865cf5c)

3.0.0-beta.1 (2019-04-26)

Bug Fixes

  • Hits: add test for template support (#490) (9a6a41e)
  • RangeInput: allow precision of 0 (#495) (d1d9a26)
  • stories: update Query Rules stories (#484) (62c5903)
  • ua: change the User-Agent to use the new specs lib (version) (#481) (6fab272)

Features

  • infiniteHits: add previous button (#486) (2c13674)
  • insights: add insights support to Hits widget (#492) (cdb9cae)
  • insights: add insights support to InfiniteHits widget (#493) (1ae9625)
  • queryRules: add ais-query-rule-custom-data widget (#482) (7cba8d8), closes #483
  • searchClient: enforce search client (#496) (f552d9f)

3.0.0-beta.0 (2019-02-13)

Bug Fixes

  • InfiniteHits: fix showMore button class to (152da2f)
  • NumericSelector: remove NumericSelector as no longer part of the spec (8c5edd9), closes #408
  • RefinementList: introduce showMore prop to hide button (f3e769c)

Features

2.2.2 (2019-04-18)

Bug Fixes

  • docs: add missing prefix (861b42d)
  • docs: fix header nav position (bbe2f1e)
  • ua: change the User-Agent to use the new specs lib (version) (#481) (9046bf3)

2.2.1 (2019-02-12)

Bug Fixes

2.1.0 (2018-10-31)

Bug Fixes

  • Remove unused HttpClientModule import in InstantSearch module (#252) (faa8251), closes #246
  • CI: make various changes to circleci config (#266) (6f98298)
  • community: fix DocSearch config (#243) (cb2dc67)
  • examples: update angular-instantsearch versions (#258) (#260) (068e2ac)
  • examples: use ts highlighting instead of js (#331) (f932f17)
  • peerDependencies: allow peer dependencies >=5.0.0 <8.0.0 (#330) (3bfea08), closes #320 #306
  • prettier: updated prettier config ✨ (#300) (f17506e)
  • types: return array in search client SFFV (#253) (871adb9), closes #249

Features

  • Tree-shaking: allow use of individual component modules (#299) (a0d5159), closes #250

2.0.4 (2018-08-27)

Bug Fixes

2.0.3 (2018-07-13)

Bug Fixes

  • webpack: override default value for compress in uglifyjs-webpack-plugin (#182) (7e3fa79)

Features

  • core: add the refresh method to the InstantSearchInstance signature (#186) (6986bbf), closes #185

2.0.2 (2018-06-22)

Bug Fixes

  • ng-packagr configuration (2f56bcf)
  • remove unused variable (ea8bc48)
  • build: correct lodash imports (#140) (2651fb7)
  • lodash: switch to normal lodash package (9d9153e)
  • lodash: use normal lodash as in instantsearch.js (#141) (b871323)

Features

Performance Improvements

2.0.1 (2018-05-30)

Bug Fixes

  • scripts/release: npm publish in dist folder (c0d2387)

2.0.0 (2018-05-30)

Bug Fixes

  • Lint (9c91e16)
  • instantsearch: do not mix urlSync && routing on SSR (c2983d2)
  • lint: glob pattern was incorrect (4c00bc3)
  • ng-: remove reserver prefix (e972e7b)
  • run-examples: copy instantsearch.js as well (8200ac1)
  • scripts/release: how to check npm ownership (074f285)

Features

  • Add SearchClient type (9d97603)
  • configure: detect channges of searchParameters (e92e325)
  • dev-novel: Add searchClient support (245f3a9)
  • dev-novel: Add search client stories (b3bfeb2)
  • Change algoliasearch import for Rollup (1b5f6f6)
  • widgets: add (0f09f71)
  • Add createSSRSearchClient as a createSSRAlgoliaClient alternative (03da52b)
  • Add function signature for SearchClient type (ef9cc65)
  • Add support for searchClient (12b66bb)
  • Export createSSRSearchClient (59e80d8)
  • Type SearchClient and SearchParameters (5415cde)
  • Update Client, Helper and InstantSearch (6fa4e8f)
  • Use SearchParameters type for searchParameters option (8182211)

1.0.2 (2018-04-10)

Bug Fixes

1.0.1 (2018-02-28)

Bug Fixes

  • highlight: use attribute instead of attributeName (d1d3ce8)
  • range-input: use attribute instead of attributeName (d81878e)
  • refinement-list: tag removed (beab390)
  • release-script: reset --hard (624c813)

1.0.0 (2018-02-28)

Bug Fixes

  • scripts: publish docs (7a41e23)
  • widgets: replace results by hitts (2e2ec63)

1.0.0-beta.12 (2018-02-06)

Breaking changes

  • Rename <ng-ais-infinite-results> to <ng-ais-infinite-hits>
  • Do not display load more button when using a template on infinite-hits

Features

  • infinite-hits: dont display loadMore when using template (1b70c5e)
  • widgets: rename infinite-results to infinite-hits (0218a49)

1.0.0-beta.11 (2018-02-01)

Breaking Changes

  • Custom widgets needs to be updated, the constructor() call has changed: see guide
  • NumericMenu option options is now called items
  • CurrentRefinements widget now group same refinement (like React-InstantSearch)

Bug Fixes

  • dev-novel: typo attribute (5e074bd)
  • numeric-menu: update options -> items (75033e9)
  • tsconfig-aot: ensure it compiles with strictNullChecks (701188a)
  • typings: make it work with strictNullChecks (593cd00)

Features

  • BaseWidget: support multiple instances (e6e5c7a)
  • current-refinements: group refinement by type and attributeName (8965b35)
  • instantsearch: remove Instance Service (bbcc27b)
  • instantsearch: support multiple instances (d30f58f)
  • library: export NgAisInstantSearch for custom widgets (6cc1954)
  • widgets: support new BaseWidget API (beaea7f)

1.0.0-beta.10 (2018-01-25)

Breaking Changes

  • Rename of attributeName option to attribute on every widgets
  • Rename of options on Menu, NumericMenu, NumericSelector, RangeSlider, RatingMenu, RefinementList, SortBy and Toggle widgets

Features

  • menu: update options (ba1d055)
  • numeric-menu: update options (d0162f5)
  • numeric-selector: update options (c64385d)
  • pagination: update options (788b81c)
  • range-slider: update options (75f2bd1)
  • rating-menu: update options (07f041c)
  • refinement-list: update options (f69fff1)
  • sort-by: update options (3471e56)
  • toggle: update options (f1523a6)

1.0.0-beta.9 (2018-01-24)

Breaking Changes

  • Widgets naming changes:
Before Now
<ng-ais-results> <ng-ais-hits>
<ng-ais-results-per-page> <ng-ais-hits-per-page>
<ng-ais-numeric-range> <ng-ais-range-input>
  • Widgets does not have a -body CSS class anymore
  • Widgets does not have a header and footer option, you should use the <ng-ais-panel> component now (documentation)

Bug Fixes

  • hits: mass replace left-overs (77d3df8)
  • menu: dont display showMore button if no limitMax set (364afcb)
  • refinementList: labelText className (9a31c91)
  • refinementList: apply correctly selected className (1a1419c)
  • results: remove body div (3bf3057)
  • widgets: use method for complex CSS className (5fb84d7)

Features

  • breadcrumb: update markup to is.css v6 (64800f1)
  • clearRefinements: update markup to is.css v6 (6981cf3)
  • currentRefinements: update markup to is.css v6 (ceafcdb)
  • hierarchicalMenu: update markup to is.css v6 (51a7e95)
  • highlight: update markup to is.css v6 (b21cceb)
  • infiniteResults: update markup to is.css v6 (8c63657)
  • menu: udpate markup to is.css v6 (05450e4)
  • numericMenu: update markup to is.css v6 (45d9845)
  • numericSelector: update markup to is.css v6 (e3ba6f2)
  • pagination: update markup to is.css v6 (3889955)
  • panel: add <ng-ais-panel> component (a58cbae)
  • range-input: update markup to is.css v6 (7be7abd)
  • ratingMenu: update markup to is.css v6 (5c23d49)
  • refinementList: update markup to is.css v6 (dee2ff7)
  • refinementList: update markup to is.css v6 (ba0aacd)
  • resultsPerPage: update markup to is.css v6 (b8f961c)
  • searchBox: update markup to is.css v6 (833e86c)
  • sortBy: update markup to is.css v6 (4d234e9)
  • stats: update markup to is.css v6 (77b3df0)
  • toggle: update markup to is.css v6 (656040d)
  • widgets: remove header/footer (55853b5)

1.0.0-beta.8 (2018-01-19)

Bug Fixes

  • BaseWidget: default state property to an object (e21a885)
  • header-version: use version.ts instead of process.env (d76808a)
  • release: commit src/version.ts (fa26371)
  • release: remove tag on abort (e76a645)

Features

  • autoHideContainer: add property to BaseWidget class (c9043a8)
  • breadcrumb: add autoHideContainer option (db3ce89)
  • clearRefinements: add autoHideContainer option (8677875)
  • currentRefinements: add autoHideContainer option (497d9bd)
  • hiearchicalMenu: add autoHideContainer option (3bb4bb5)
  • menu: add autoHideContainer option (3e441ab)
  • numeric-menu: add autoHideContainer option (6309861)
  • rating-menu: add autoHideContainer option (ff5904b)
  • refinementList: add autoHideContainer option (9fd2d0d)
  • results-per-page: add autoHideContainer option (2e0bfaf)

1.0.0-beta.7 (2017-12-11)

Features

  • requests: send custom agent (141f974)
  • scripts/release: build library after update version (3ec0576)

1.0.0-beta.6 (2017-12-07)

Bug Fixes

  • algoliasearchclient: handle request errors (2654000)
  • dist: add missing dependencies (1c41fbc)
  • import: workaround to make dev + build work (56a4e25)
  • rollup: remove build warnings (af094a0)
  • svg: remove xmlns attribute not support ng5 ssr (cb03f17)

Features

  • base-widget: dont run ngOnDestroy on SSR (457cca8)
  • examples/ssr: add preboot to avoid blinking (c44eda9)
  • instance: custom algoliasearch client for SSR (dc374ba)
  • ssr: provide createAlgoliaSSRClient() (90d30f3)
  • ssr: provide parseServerRequest() util (ad12adb)

1.0.0-beta.5 (2017-12-06)

Bug Fixes

  • scripts: use full path to ng binary (4a8dcf0)

Features

  • examples: add two page SPA (32cbe35)
  • examples: angular router bootstrap (2a26a6e)
  • scripts: add run-example script (1d292d2)

1.0.0-beta.4 (2017-11-22)

Bug Fixes

  • dev: wrong webpack rootPath on dev (969a840)
  • examples/ecommerce: replace price-ranges widget (c11fec8)
  • menu: apply selected class when item isRefined (794d12f)
  • menu: intercept click event (2991f93)
  • scripts/release: reset command on fail (4a8ada9)
  • scripts/release: update correctly CHANGELOG.md (58f2d11)

Features

  • docs: add doc folder (cabc8cd)
  • instantsearch: allow (change) event binding (d4159df)
  • numeric-range: add widget (6efd241)
  • numeric-range: remove price-ranges widget (83a0bf8)

1.0.0-beta.3 (2017-11-20)

Breaking Changes

Several widgets changed name, these will be the next naming for every InstantSearch library:

Before Now
<ng-ais-clear-all> <ng-ais-clear-refinements>
<ng-ais-current-refined-values> <ng-ais-current-refinements>
<ng-ais-numeric-refinement-list> <ng-ais-numeric-menu>
<ng-ais-hits> <ng-ais-results>
<ng-ais-infinite-hits> <ng-ais-infinite-results>
<ng-ais-hits-per-page-selector> <ng-ais-results-per-page>
<ng-ais-sort-by-selector> <ng-ais-sort-by>
<ng-ais-star-rating> <ng-ais-rating-menu>

Bug Fixes

  • lib: wrong import path for results module (6f94e79)
  • search-box: update markup to match instantsearch.css (2afddf1)
  • webpack: rootPath should be /dev-novel (d037d7c)
  • widges: update className as well (2f1d0a8)

Features

  • dev-novel: write component stories (0e77ab2)
  • netlify: add script to run (902a9be)

1.0.0-beta.2 (2017-11-16)

Bug Fixes

  • aot: ship original .js and .js.map files with package (f32a3d2)
  • examples/ecommerce: import instantsearch styles into .scss (9412cd3)
  • rollup: suppress warnings (f48939e)
  • src: include typings inside components (c99389f)

Features

  • clear-all: add disabled class on button (3b059da)
  • examples/ecommerce: build with AOT (56a3014)
  • menu: add disbled class on showMore (7b7a086)

1.0.0-beta.1 (2017-11-15)

Bug Fixes

  • bem: capitalize manually (99ce670)
  • build: only find files for delete (4156c9c)
  • build: webpack -> rollup (affc09c)
  • build:ecommerce: use cp instead of yarn link (16290aa)
  • circleci: wrong test command (eaca294)
  • clear-all: data-binding for disabled state (ba001eb)
  • currentRefinedValues: display clearAll before if it's true (1027c23)
  • demo: rename limit options (2d75854)
  • dist/package.json: change repo name, move to dependencies (a99c4b6)
  • hierarchical-menu: default same separator as connector (be7c713)
  • highlight: export module (7b676c5)
  • highlight: use escapeHits (1ecaa12)
  • highlight: use tagName (985fcd0)
  • hits: provide full state (834600a)
  • hits: provide transformed hits to template (6371e0b)
  • infinite-hits: apply transformItems (5c665b8)
  • netlify: correct published directory path (4443f52)
  • netlify: directy to examples/e-commerce/dist (4d54a86)
  • pagination: allow refine of last page (6f90d37)
  • pagination: dont refine if page is not in range (51a1e59)
  • pagination: dont use pagesPadding when not enough nbPages (5822fe8)
  • pagination: padding calculation (461331d)
  • pagination: respecte pagesPagging prop (50cc585)
  • range-slider: handle case range.min === range.max (6372fa4)
  • range-slider: use connectRange (3dc5faf)
  • src: complies to AOT compile rules (f28fd0f)
  • src: export typings to .d.ts (d021270)
  • svg: use [ngClass] (af74ec2)
  • webpack: re-add angular2-template-loader (013e46d)

Features

  • ngis-instantsearch: add root component (8539fb4)
  • base-widget: explicit typing updateState (656b875)
  • bem: accept subelement (f1bd795)
  • build: introcude yarn build (11db04b)
  • components: add header/footer (d18edb9)
  • currentRefinedValues: add transformItems option (a823428)
  • demo: use instantsearch.css (3ef58b4)
  • ecommerce: include base style (512fdc8)
  • examples: bootstrap e-commerce (c9aa6e1)
  • examples/ecommerce: optimize hits images (b02c4de)
  • hierarchicalMenu: add transformItems option (929a870)
  • highlight: when search on refinement list (1b31e44)
  • hits: add transformItems option (ea4d607)
  • hits: re-use BaseWidget and add header/footer (2f25f62)
  • hits: remove widget on destroy (b939cbc)
  • hits: specificy correct css classes (8ada826)
  • hits: use <ng-ais-highlight> (a6e49e6)
  • hits: use noop as unmountFn (bb54eab)
  • infinite-hits: use <ng-ais-highlight> (c9e2b0c)
  • instantsearch: set highlight tag config (0ad85de)
  • instantsearch-instance: addWidget() (e540250)
  • menu: add transformItems option (a9cf013)
  • pagination: apply disabled class name (bd045a5)
  • pagination: apply selected class (2124cc1)
  • pagination: inline template for simplicity (82a997a)
  • range-slider: copy behaviour from slider v1 (6e0a626)
  • range-slider: remove ng2-nouislider (90bcab0)
  • refinement-list: add withSearchBox option (2a7c885)
  • refinementList: add trasnformItems option (9b7a007)
  • search-box: forward on* events to parent component (ab29ae1)
  • typings: extract typings (7168a5f)
  • utils: add css class name generator (4751f8b)
  • utils: add parse @Input number (b06785c)
  • widgets: add <ngis-breadcrumb> (88a862d)
  • widgets: add <ngis-clear-all> (f1814eb)
  • widgets: add <ngis-current-refined-values /> (32ad581)
  • widgets: add <ngis-hierarchical-menu> (8d322e7)
  • widgets: add <ngis-hits-per-page-selector> (ff318ff)
  • widgets: add <ngis-infinite-hits> (820db1c)
  • widgets: add <ngis-menu> (b1ffd65)
  • widgets: add <ngis-numeric-refinement-list> (490c024)
  • widgets: add <ngis-numeric-selector> (560303f)
  • widgets: add <ngis-price-ranges> (f8d811a)
  • widgets: add <ngis-refinement-list /> (e01ff89)
  • widgets: add <ngis-sort-by-selector> (4074d89)
  • widgets: add <ngis-star-rating> (fa8fe63)
  • widgets: add <ngis-stats> (db77ec3)
  • widgets: add <ngis-toggle> (9f5abd7)
  • widgets: add highlight (9f0efb0)
  • widgets: add hits (dcd73c8)
  • widgets: add range slider (15bc352)
  • widgets: add search-box (5cda27e)
  • widgets: add simple pagination (f87a6e1)

Performance Improvements

  • hits: avoid re-render loop with getters (18594b4)