Releases: algolia/autocomplete
Releases · algolia/autocomplete
v1.0.0-alpha.43
1.0.0-alpha.43 (2021-02-19)
Bug Fixes
- js: display
emptytemplate only with a query (7c2f9a3) - js: rely on
environmentinstead ofwindow(0bc15e9) - theme: update icons and Detached mode design (#443) (af43a37)
Features
- algolia: add
getAlgoliaFacetHitspreset (#451) (8876fd3) - algolia: fix highlighting hit type (#452) (0f92710)
- css: support Detached mode (#438) (82747d5)
- js: add
aa-DetachedCSS class on Detached mode (8a50e90) - js: always keep panel open on detached mode (9014a41)
- js: rename
detachedMediaQuery(46d30f5) - js: rename
emptytonoResults(#450) (71ea2d0) - js: rename classnames to Detached (dadec26)
- plugins: add categories to Query Suggestions and Recent Searches (54ef36c)
- recent-searches: display tap-ahead button (b3670c9)
- theme: design search button focus state (e284771)
- theme: support modal design on Detached Mode (#445) (5043d27)
- theme: update search button design (818a1d9)
v1.0.0-alpha.42
1.0.0-alpha.42 (2021-02-09)
Bug Fixes
- core: rename
shouldPanelShowtoshouldPanelOpen(c442884) - js: change highlighted element
keyto index (d4d0348)
Features
v1.0.0-alpha.41
1.0.0-alpha.41 (2021-02-09)
Bug Fixes
- core: don't open panel with
openOnFocuswithout items (fde8b8a) - core: rename
OnHighlightParamstoOnActiveParams(2d7762d) - js: add
footertemplate (b2223d5) - js: add
keyprops to highlight children (11e5667) - js: forward
TDatatype toAutocompletePlugin(f62cb36) - js: use
AutocompletePlugintype from JS (ba3cda5) - plugins: pass
createElementto highlight utils (11f4cb7)
Features
- emptyStates: implements empty source template and renderEmpty method (#395) (fbfca35)
- js: wrap item action buttons in container (#434) (0032f38)
- plugin: add
transformSourceAPI (fbd9e72) - sourceId: add
sourceIdto providedata-autocomplete-source-idonsectionsource container (#429) (ce35fea) - theme: add
aa-ItemWrapperCSS class (a56c9d4)
v1.0.0-alpha.40
1.0.0-alpha.40 (2021-02-03)
Bug Fixes
- core: forward props in
getEnvironmentProps(af49483) - core: remove error handler when fetching results (#416) (eb98af6)
- insights: rename event to "Item Active" (03059b6)
- js: ignore empty template with no query and
openOnFocus(#407) (92eeb3e) - js: update panel markup (1eecc65)
- mergeClassNames: prevent classes with the same name being merged (#413) (9651481)
Features
- core: pass scoped API to lifecycle hooks (#422) (049b343)
- highlighting: support array syntax for nested attributes (#418) (4ad4e41)
- js: add JS user agent to Algolia requests (#420) (fab2d57)
- js: update reset icon (2c953f6)
- query-suggestions: remove
getAlgoliaHitsparam (efa4c93) - recent-searches: update remove icon (b828171)
- theme: introduce Autocomplete Classic Theme (#409) (226fc54)
v1.0.0-alpha.39
1.0.0-alpha.39 (2021-01-22)
This is a big release that changes the rendering implementation from plain HTML to Virtual DOM (see #381).
Bug Fixes
Features
v1.0.0-alpha.38
1.0.0-alpha.38 (2020-12-12)
Bug Fixes
- core: convert
AutocompleteContextto interface (0fbfe59) - js: vertically offset panel based on
offsetTop(bb1af17)
Features
- core: add
enterKeyHintprop to input (7ff2971) - core: add invariant for
getItems(b57ccf3) - core: add invariant for
getSources(309371c) - core: add invariant for unknown reducer actions (27d6281)
- insights: extends
AutocompleteContextwith Insights API (f1e8de4) - js: add non-input container invariant (2e3a8ed)
- js: introduce Autocomplete Touch (#379) (5cfbdf2)
- js: introduce Update API (921788c)
- js: pass scope API to prop getters (18c7474)
- js: schedule renders (ef54af3)
- query-suggestions: pass
statetogetSearchParams(5b8de7f) - shared: add invariant util (0e28f55)
v1.0.0-alpha.37
1.0.0-alpha.37 (2020-12-06)
Features
v1.0.0-alpha.36
1.0.0-alpha.36 (2020-12-03)
Bug Fixes
- core: allow null
inputElementingetInputProps(75b990a) - core: disable
getSourcesconcurrent fix (a558b5e) - core: extend
TItemto object (fcf94ff) - examples: update ref types (1d0cb20)
- js: add
templatestype togetSources(69b9718) - js: calculate panel position before opening (#375) (307a7ac)
- js: clean environment effects (eec80d2)
- js: fix debounce function (82e6f4e)
- js: fix internal state type (6def041)
- js: make
panelContaineroptional (fe5db0c) - js: pass submit button to render (ca119f3)
- update icons
stroke-width(23e321b)
Features
- core: rename
searchBoxElementtoformElement(#374) (79c4985) - js: add loading indicator (59dc31b)
- js: add PanelLayout element (371fae0)
- js: batch DOM updates (#372) (d06873e)
- js: display reset button only when query (1656530)
- js: don't append panel on initial loading (84ce729)
- js: introduce
panelContaineroption (98dfe4b) - js: pass source to header and footer templates (9983c64)
- js: turn search label into submit button (27e61cb)
- plugins: introduce Insights plugin (#373) (2e967be)
- theme: prepare Autocomplete Classic Theme (#361) (8638a98)
- website: update GitHub logo (20a9b48)
v1.0.0-alpha.35
v1.0.0-alpha.35 (2020-11-12)
This new version introduces breaking changes.
Bug Fixes
- core: don't complete query when closed (86adc65)
- getSuggestions: allow nested arrays to be returned (#331) (753c8ca)
- js: correct
itemclass name (475e88f) - js: correct
panelclass name (a2be862) - js: fix highlight
hitparam (6c03d8d) - js: make
getSourcesoptional (b12cc26) - js: resize panel also when hidden (9007fe0)
- qs: ignore
storageparam (5279dba) - recent-searches: type
getTemplatesinternal function (1ff6a0d) - fix
setCollectionstype (cb967a4)
Features
- core: warn when using
debugoption (#364) (2a2e3dd) - recent-searches: add search highlighting (#370) (3cb1d39)
- introduce development and production modes (#363) (eed934f)
- rename getters (#362) (b7e86d5)
- core: introduce new completion system (#354) (25099e8)
- core: remove
statusContextAPI (#350) (a916aea) - core: rename private and public methods and properties (#349) (aeebe6d)
- js: rename class names (#351) (8c53d2d)
- plugins: introduce Query Suggestions plugin (#360) (7d19396)
- recent-searches: support search and templating (#353) (b8ff178)
- shared: introduce autocomplete-shared package (#359) (af04ae1)
- shared: prefix warnings (586f0f1)