Skip to content

Latest commit

 

History

History
1249 lines (747 loc) · 88.7 KB

CHANGELOG.md

File metadata and controls

1249 lines (747 loc) · 88.7 KB

1.8.3 (2023-03-02)

Bug Fixes

  • autocomplete-js: query is reflected in the detached search button (#1100) (a41ccc6)

1.8.2 (2023-02-21)

Bug Fixes

1.8.1 (2023-02-14)

Bug Fixes

  • insights: split large view event payloads into multiple chunks (#1087) (df58096)
  • querySuggestions: allow categoryAttribute to be optional in hit (#1086) (2dcbcd8)
  • redirect: reopen menu when redirect detected (#1091) (53b9ce5)

1.8.0 (2023-02-09)

Bug Fixes

  • insights: pass clickAnalytics automatically (#1080) (8048442)

Features

1.7.4 (2022-12-20)

Bug Fixes

  • insights: add Algolia agent on subscribe (#1058) (60f8ae4)

1.7.3 (2022-11-02)

Bug Fixes

  • preset-algolia: ensure "ts-ignore" is present in the output (#1035) (c8a0f68)

1.7.2 (2022-10-18)

Bug Fixes

  • algoliasearch: support v5 via peerDependencies (#1018) (5ba25f6)
  • preset-algolia: support algoliasearch v5 (#1002) (b1d93df)

1.7.1 (2022-06-27)

Bug Fixes

  • metadata: ensure safe user agent detection (#993) (fdf2b34)

1.7.0 (2022-06-21)

Bug Fixes

  • autocomplete-js: leave the modal open on reset on pointer devices (#987) (3e387e6)

1.6.3 (2022-05-10)

Bug Fixes

  • react: fix compatibility issues with React 18 (#969) (fb46298)

1.6.2 (2022-04-12)

Bug Fixes

  • autocomplete-js: avoid warning when renderer is not specified at all (#947) (5fbae0d)
  • autocomplete-js: update components with new renderer (#946) (8fa038b)

1.6.1 (2022-04-08)

Bug Fixes

  • render: pass renderer.render to default render function (#940) (55f53d1)

1.6.0 (2022-04-07)

Features

  • autocomplete-js: enable HTML templating (#920) (f5bbf34)

1.5.7 (2022-04-05)

Bug Fixes

  • enterKeyHint: remove check on only Chrome browser (#933) (93a1fc2)
  • plugin-insights: allow search-insights v2 (#930) (c08189d), closes #929

1.5.6 (2022-03-31)

Bug Fixes

  • js: stop touchstart event propagation if coming from cancel button in detached mode (#924) (24cf9d6)

1.5.5 (2022-03-30)

Bug Fixes

  • enterKeyHint: use a fixed enterKeyHint value on Samsung devices (#916) (b4aa087)

1.5.4 (2022-03-23)

Bug Fixes

  • js: prevent event bubbling on cancel button click (#922) (ba17ccd)

1.5.3 (2022-02-23)

Bug Fixes

  • umd: batch requests when using plugins via UMD (#902) (1aa3dde)

1.5.2 (2022-01-26)

Bug Fixes

  • handle late resolving promises with promise cancelation (#864) (9640c2d)

1.5.1 (2021-12-09)

Bug Fixes

  • concurrency: ensure panel stays closed after blur (#829) (2dd34e0)

1.5.0 (2021-11-02)

Bug Fixes

  • getEnvironmentProps: remove obsolete check causing tap not to close (#803) (51cfb94)
  • js: support updating Element options (#777) (fe684b3)

Features

1.4.1 (2021-10-11)

Bug Fixes

  • concurrency: ensure responses resolve in order (#753) (d15c404)

1.4.0 (2021-09-13)

Features

1.3.0 (2021-08-26)

Bug Fixes

  • decycle potentially cyclic structures before serializing (#634) (99f7c84)

Features

1.2.2 (2021-07-19)

Bug Fixes

  • js: use user-provided "panelLayout" CSS class in classNames (#628) (c3aeb9f), closes #627

1.2.1 (2021-07-08)

Bug Fixes

  • completion: prevent error when getting activeItem with an empty collection (#623) (0e0ce81)

1.2.0 (2021-07-06)

Bug Fixes

  • core: open closed panel on ArrowDown and ArrowUp (#599) (37ebefe)
  • core: trigger invariant when user doesn't return anything from getItems (#607) (e019b4d)
  • js: provide fallback method for addEventListener on media queries (#600) (760f8e7)

Features

  • js: provide setters and refresh to render API (#598) (3e78566)

1.1.0 (2021-05-27)

Bug Fixes

Features

1.0.1 (2021-05-07)

Bug Fixes

  • js: pass children as array in highlight components (#575) (7d3402e), closes #574
  • js: rely on environment instead of global object (#572) (0a33b44)
  • js: render noResults template when openOnFocus is true (#573) (f2154c8)

1.0.0 (2021-05-03)

Banner

Read the Upgrading guide to migrate from Autocomplete v0 to v1.

1.0.0-alpha.49 (2021-05-03)

Bug Fixes

  • core: support Insights in requesters (#562) (c305ab4)

1.0.0-alpha.48 (2021-04-30)

Features

1.0.0-alpha.47 (2021-04-29)

Bug Fixes

Features

1.0.0-alpha.46 (2021-04-22)

This new version introduces the Requester API, which transparently batches calls to the same Algolia application. The getAlgoliaHits function is replaced by getAlgoliaResults, and getAlgoliaFacetHits by getAlgoliaFacets. Both functions no longer return a promise that resolves to the fetched records, but expose a transformResponse method that exposes the results, hits and facet hits for you to manipulate and return if need be. Learn more in the documentation.

Bug Fixes

  • classic-theme: fix modal display in Detached Mode (#531) (abf98ef)
  • classic-theme: remove pointer cursor on no result item content (#529) (b241df4)
  • examples: update build command (#539) (f5254e9)
  • js: compute panel top position with getBoundingClientRect (#536) (492e058)
  • types: fix collision between js/core and plugins (#532) (ac79f67)
  • adjust examples (#527) (32bd2bc)
  • theme-classic: wrap item content when there's no link (#522) (c6afe42)

Features

1.0.0-alpha.45 (2021-04-09)

Bug Fixes

  • js: change button class name to "aa-ClearButton" (5991e77)
  • js: prevent id incrementation when toggling detached mode (#489) (fe2bf13)
  • js: remove window references (#501) (7628d09)
  • js: run reactive values only once (8356031)
  • qs: rename categoriesLimit to itemsWithCategories (#491) (4c97375)

Features

1.0.0-alpha.44 (2021-03-01)

Bug Fixes

Features

  • js: scroll to top when query changes (#457) (706939c)
  • qs: rename category to categoryAttribute (5d8c5d4)

1.0.0-alpha.43 (2021-02-19)

Bug Fixes

  • js: display empty template only with a query (7c2f9a3)
  • js: rely on environment instead of window (0bc15e9)
  • theme: update icons and Detached mode design (#443) (af43a37)

Features

  • algolia: add getAlgoliaFacetHits preset (#451) (8876fd3)
  • algolia: fix highlighting hit type (#452) (0f92710)
  • css: support Detached mode (#438) (82747d5)
  • js: add aa-Detached CSS class on Detached mode (8a50e90)
  • js: always keep panel open on detached mode (9014a41)
  • js: rename detachedMediaQuery (46d30f5)
  • js: rename empty to noResults (#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)

1.0.0-alpha.42 (2021-02-09)

Bug Fixes

  • core: rename shouldPanelShow to shouldPanelOpen (c442884)
  • js: change highlighted element key to index (d4d0348)

Features

1.0.0-alpha.41 (2021-02-09)

Bug Fixes

  • core: don't open panel with openOnFocus without items (fde8b8a)
  • core: rename OnHighlightParams to OnActiveParams (2d7762d)
  • js: add footer template (b2223d5)
  • js: add key props to highlight children (11e5667)
  • js: forward TData type to AutocompletePlugin (f62cb36)
  • js: use AutocompletePlugin type from JS (ba3cda5)
  • plugins: pass createElement to 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 transformSource API (fbd9e72)
  • sourceId: add sourceId to provide data-autocomplete-source-id on section source container (#429) (ce35fea)
  • theme: add aa-ItemWrapper CSS class (a56c9d4)

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 getAlgoliaHits param (efa4c93)
  • recent-searches: update remove icon (b828171)
  • theme: introduce Autocomplete Classic Theme (#409) (226fc54)

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

  • recent-searches: escape highlighted query regex (#387) (d23f133)

Features

  • core: rename highlight to active (1c1b951)
  • emptyStates: add empty source template and renderEmpty method (#395) (8bd35e6)
  • js: (#381) (5a1efc2)
  • reverseHighlight/reverseSnippet: implement sibling strategy from InstantSearch.js (#388) (d86a33a)

1.0.0-alpha.38 (2020-12-12)

Bug Fixes

  • core: convert AutocompleteContext to interface (0fbfe59)
  • js: vertically offset panel based on offsetTop (bb1af17)

Features

  • core: add enterKeyHint prop 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 AutocompleteContext with 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 state to getSearchParams (5b8de7f)
  • shared: add invariant util (0e28f55)

1.0.0-alpha.37 (2020-12-06)

Features

  • core: export AutocompleteContext type (f6ce779)
  • core: pass refresh to all events (bd45a77)
  • core: support onReset prop (b7a66a8)
  • js: introduce Props API (04bef73)

1.0.0-alpha.36 (2020-12-03)

Bug Fixes

  • core: allow null inputElement in getInputProps (75b990a)
  • core: disable getSources concurrent fix (a558b5e)
  • core: extend TItem to object (fcf94ff)
  • examples: update ref types (1d0cb20)
  • js: add templates type to getSources (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 panelContainer optional (fe5db0c)
  • js: pass submit button to render (ca119f3)
  • update icons stroke-width (23e321b)

Features

  • core: rename searchBoxElement to formElement (#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 panelContainer option (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 (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 item class name (475e88f)
  • js: correct panel class name (a2be862)
  • js: fix highlight hit param (6c03d8d)
  • js: make getSources optional (b12cc26)
  • js: resize panel also when hidden (9007fe0)
  • qs: ignore storage param (5279dba)
  • recent-searches: type getTemplates internal function (1ff6a0d)
  • fix setCollections type (cb967a4)

Features

  • core: warn when using debug option (#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 statusContext API (#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)

v1.0.0-alpha.34 (2020-10-20)

Bug Fixes

  • core: keep cursor position on state changes (#343) (bae4d62)
  • algolia: fix getAlgoliaResults typings (#336) (0559624)
  • core: turn public navigator type to partial (#339) (056daeb)
  • core: keep last isOpen value on refresh (#334) (637d23e)

Features

  • core: provide prevState in onStateChange (#335) (21739b4)

1.0.0-alpha.33 (2020-10-05)

Bug Fixes

  • js: support onStateChange (e4c1488)

Features

1.0.0-alpha.32 (2020-09-28)

Features

  • core: run onSelect on item click (079a4c1)

1.0.0-alpha.31 (2020-09-28)

Bug Fixes

  • algolia: fallback non-existant highlighted to default value (7783bc6)
  • algolia: warn when an attribute cannot be highlighted (ce43e83)

Features

  • core: skip onInput on keyboard select with URL (399be2b)
  • core: trigger onSelect on meta keyboard select (b10fbe1)
  • core: use scrollIntoViewIfNeeded if exists (c409f11)
  • recent-searches: add recent-searches plugin (#316) (858637e)

1.0.0-alpha.30 (2020-09-17)

Bug Fixes

  • algolia: don't flatten getAlgoliaHits (8da805f)
  • algolia: type Algolia presets (7c34ada)
  • core: rename public types without prefix (77487a6)
  • js: forward event to all onInput calls (c5492aa)
  • website: ignore lint rule for Docusaurus packages (042f4dc)

Features

  • algolia: type highlight presets (9f4b6bd)
  • core: support onHighlight on input (e463933)
  • js: type highlight utils (23cff13)

1.0.0-alpha.29 (2020-09-15)

Bug Fixes

  • algolia: import version from file (d880d8a)
  • algolia: import version from package (c314375)
  • algolia: proxy highlighting tags (baabc3a)
  • core: fix type for getSources (18e88ae)
  • js: call debounced function (0662e1b)
  • js: convert header and footer templates to divs (1435aad)
  • js: fix source types (9913fe1)
  • js: fix type for getSources (4a29700)
  • js: make options types optional (569f738)
  • js: update HTML elements properties at every render (b00878c)

Features

  • algolia: escape values in highlighting utils (50a9a73)
  • algolia: introduce parseReverseSnippetedAttribute (0f7a912)
  • algolia: type highlighting utils (fa4b959)
  • core: introduce debug mode (#315) (7a7b612)
  • js: add destroy API (4e32138)
  • js: add magnifier glass as label (0cc8a44)
  • js: add reset icon (7d2dccc)
  • js: allow escaping in highlighting utils (a70f80d)
  • js: export snippeting utils (e276c5e)
  • js: introduce classNames API (#317) (28bb422)
  • js: introduce dropdownPlacement API (#314) (4a52ce5)
  • js: type highlighting utils (b178487)

1.0.0-alpha.28 (2020-08-26)

Bug Fixes

Features

  • autocomplete: introduce JavaScript API (fd9d2b7)
  • core: add default form props (2264f2b)
  • docsearch: add enterkeyhint to go (d652514)
  • js: pass state to render (7f7da3d)

1.0.0-alpha.27 (2020-08-07)

Bug Fixes

  • docsearch: fix vanilla DocSearch types (2b5e7aa)

Features

  • docsearch: export DocSearch types (b499fee)
  • docsearch: update missing results issue link (fb8d735)

1.0.0-alpha.26 (2020-08-04)

Bug Fixes

  • docsearch: don't open modal on / when editing text (6118725)

1.0.0-alpha.25 (2020-07-30)

Bug Fixes

  • docsearch: pass autoFocus prop to autocomplete for mobiles (8f4d3fb)

Features

  • docsearch: add aria-label to search button (5bc08ca)

1.0.0-alpha.24 (2020-07-23)

Bug Fixes

  • docsearch: don't blur input on submit (86da0fc)
  • docsearch: focus input on Selection Search (9f1fa52)

1.0.0-alpha.23 (2020-07-22)

Bug Fixes

  • docsearch: add padding to dropdown when no recent searches (0e3d0f5)
  • docsearch: rename DocSearch-Button CSS class (f3a5449)
  • docsearch: use Preact alias in Babel config (31b3bd4)
  • search: hide content when disableUserPersonalization (4940538)
  • website: memoize onInput callback (9fa7d30)

Features

  • docsearch: introduce disableUserPersonalization API (de31121)
  • docsearch: support initialQuery (11aa27b), closes #51
  • DocSearch: add DocSearch CSS class to DocSearch elements (0e93615)
  • website: forward Docusaurus props to DocSearch (abfb06d)

1.0.0-alpha.22 (2020-07-09)

Bug Fixes

  • docsearch: support initial query (dc476d3)
  • website: import DS variables and button styles dynamically (bef75be)

Features

  • docsearch: attach docsearch.js user agent to vanilla renderer (e1bd8d3)
  • docsearch: introduce transformSearchClient API (edf6b9b)
  • docsearch: introduce DocSearch.js v3 (#56) (0ff2462)
  • docsearch: track docsearch-react UA (2c280e2)
  • website: lazy load DocSearch styles (e3bc021)
  • website: track docsearch-docusaurus UA (eb400f2)

1.0.0-alpha.21 (2020-07-07)

Bug Fixes

  • css: don't display key shortcuts on mobile (1adc418)
  • css: Firefox placeholder opacity (49f7ac3)
  • docsearch: remove theme media query (a1030e4)
  • test: removed extra percy snapshot (24e38b7)

Features

  • docsearch: support keyboard on focus on default integration (7600f2a)
  • docsearch: support typing query when search button is focused (#54) (dcf2247)

1.0.0-alpha.20 (2020-07-01)

Features

  • docsearch: add / keyboard shortcut (d3a7275)

1.0.0-alpha.19 (2020-06-24)

Bug Fixes

  • ci: fix orbs declaration (db902a1)
  • ci: Install cypress (fb32788)
  • ci: install cypress with Yarn (5f7dc27)
  • ci: npm script + percy (949a24a)
  • ci: remove test cypress job args (c1bf37b)
  • ci: rerun (04fb6f6)
  • ci: use cypress docker image (fa5521b)
  • ci: use latest cypress browsers image with node 13 (bdab390)
  • css: fixed Modal height undefined on Gecko (85753c5)
  • cypress: Added Verify and Info npm scripts (5f4ae05)
  • cypress: changed env var name for cypress key (28307a8)
  • docsearch: hoist transformItems default value (1e0ae9e)
  • lint: Disable import/no-common for percy (8af940d)
  • lint: set carriage return in prettier config (3016601)
  • lint: set eol to auto (e6db26e)
  • test: lint (896ef59)
  • Cypress: Record results (7dac93e)

1.0.0-alpha.18 (2020-06-11)

Bug Fixes

  • css: overflow overlay not supported on gecko (9e5b764)

Features

  • docsearch: introduce initialScrollY option (2d5b216)

1.0.0-alpha.17 (2020-06-08)

Bug Fixes

  • docsearch: use scrollTo when unmounting modal (aae0a14)

1.0.0-alpha.16 (2020-06-08)

Bug Fixes

  • docsearch: always use aria-expanded to true (b89aeb5)
  • docsearch: don't add distinct search parameter (1c11457)
  • website: don't pass default appId (62e0609)
  • website: support missing algolia config (4b30cdd)
  • website: update netlify.com to netlify.app (9cbb80b)

Features

  • docsearch: display 5 hits per category maximum (7e6582c)
  • docsearch: introduce resultsFooterComponent option (b613bb2)
  • website: add "Creating a renderer" guide (71a94ea)
  • website: add link to search page in DocSearch modal (d610ce9)

1.0.0-alpha.15 (2020-05-20)

Bug Fixes

  • css: scroll windows (a966e74)
  • css: separate docusaurus css variables (f41c31d)
  • docsearch: use scrollTop on body (129c1d1)
  • website: update DocSearch integration (d41605d)

1.0.0-alpha.14 (2020-05-15)

Bug Fixes

  • docsearch: remove blur effect to avoid performance issues (978229f)
  • docsearch: use scrollTop for IE support (b51e81d)
  • docsearch: use absolute URLs (e1ed4e8)

Features

  • docsearch: add DocSearch component (218944e)
  • docsearch: add useDocSearchKeyboardEvents API (5697895)
  • docusaurus: import DocSearch modal on hover (e680f24)

1.0.0-alpha.13 (2020-04-24)

Bug Fixes

  • fix: update workspace dependencies when releasing (076b7be)

1.0.0-alpha.12 (2020-04-24)

Bug Fixes

  • docsearch: add index name to localStorage key (f5fbaa3)

(2020-04-24)

Bug Fixes

  • docsearch: add index name to localStorage key (f5fbaa3)

1.0.0-alpha.11 (2020-04-24)

Features

  • docsearch: create clean exports (d0f8ff3)
  • design: icon actions (056d333)
  • design: new error icons + update icons + update light shadows / searchbox (2e77e70)
  • design: new icons (5bd3cbc)
  • docsearch: add hitComponent and transformItems options (daaafe5)
  • docsearch: add DocSearch for Docusaurus (#39) (ad63053)
  • docsearch: add recent searches (#40) (36e7fab)
  • docsearch: add search suggestions (d1fe8b2)
  • docsearch: allow placeholder customization (3a4f13b)
  • docsearch: animate cards on action (8c7bdc1)
  • docsearch: append modal to body (73a7f0e)
  • docsearch: catch retry errors in the search client (750c4b5)
  • docsearch: display more recent searches when no favorites (a4c7082)
  • docsearch: forward props to autocomplete-core (7cbcb12)
  • docsearch: introduce favorite searches (61bd0aa)
  • docsearch: introduce Selection Search (d5fd4d6)
  • docsearch: save content record hit parent in recent searches (3fe547f)
  • docsearch: trap focus in modal (0ca92ca)
  • docsearch: use preconnect link in Docusaurus integration (33e2e8b)
  • docsearch: use relative URLs (f434ca1)

1.0.0-alpha.10 (2020-03-31)

Bug Fixes

  • remove unused prop getters (074c92d)
  • core: call generateAutocompleteId only if necessary (ce4d496)
  • getters: compute aria-autocomplete based on the props (9ea5042)
  • getters: don't forward data prop getters (0deb9a1)
  • react: fix options types (fdde35f)
  • react: remove dropdown from DOM when closed (c647224)

Features

0.37.0 (2019-08-30)

Bug Fixes

  • clear: Avoid error when clear is called after destroy (#287) (244425d)

0.36.0 (2019-02-21)

Bug Fixes

  • standalone: use aria label from input (#276) (4b94466)

0.35.0 (2018-12-17)

Bug Fixes

  • chrome-only: Change autocomplete from 'nope' to 'off' (#273) (892a8f0)
  • utils: correct _.every method (#274) (55af1e3)

0.34.0 (2018-12-04)

Features

  • change autocomplete from 'off' to 'nope' (#250) (fbbed04)

0.33.0 (2018-11-19)

Bug Fixes

Features

  • selected: Adding context.selectionMethod to selected event (#267) (36028a6)

0.32.0 (2018-11-06)

Bug Fixes

  • zepto: apply patch to prevent an error (#263) (917d5a7)

Features

  • source: add cache disabling for datasets (#254) (0e65fee)
  • add flag for toggling tab autocompletion (#260) (4dc7c52)
  • Throw err on update if suggestions are invalid type (#256) (179febf), closes #131

0.31.0 (2018-08-08)

Bug Fixes

  • dataset: avoid to call the source when update is canceled (a47696d)
  • dataset: avoid usage of callNow for debounce (1a0ce74)
  • Handle an odd case with the user agent (#242) (c194736)

Features

  • update dist files (9babf2e)
  • clearOnSelected: allow users to clear the input instead of filling (#244) (aa2edbb), closes #241

0.30.0 (2018-04-30)

0.29.0 (2017-10-12)

Features

  • a11y: Add ariaLabel option. (6db8e1b)
  • a11y: Add option to control aria-labelledby attribute. (0491c43)

0.28.3 (2017-07-31)

0.28.2 (2017-06-22)

Bug Fixes

  • empty template: hide main empty template as long as we have results (344e225), closes #185

0.28.1 (2017-03-29)

Bug Fixes

  • iOS: remove double tap bug on hrefs in suggestions (e532bd8)

0.28.0 (2017-03-24)

0.27.0 (2017-03-06)

Bug Fixes

  • UA: add failsafe if params not provided (30df97a), closes #166

0.26.0 (2017-02-28)

Bug Fixes

  • test: bad handling of no actual inner mechanics of client (622aec5)

Features

  • algolia agent: provide an algolia agent when searching (6ca7ac2)
  • algolia agent: provide an algolia agent when searching (ef604e1)

0.25.0 (2017-02-07)

Bug Fixes

  • zepto: .is() only accepts selectors, reworked code to use pure DOM (a47a4d4), closes #144

0.24.2 (2017-01-20)

Bug Fixes

  • dep: immediate is a dependency, not a devDependency (22164ad)

0.24.1 (2017-01-20)

Bug Fixes

  • postMessage: avoid using postMessage when feasible (a99f664), closes #142

0.24.0 (2017-01-10)

Bug Fixes

  • angular: do not launch the directive if autocomplete has a value (f96a1ba), closes #136
  • typeahead: propagate redrawn (82293e4)

Features

  • appendTo: new parameter (e40cbd0)

0.23.0 Dec 14, 2016

  • feat(build): add noConflict() for standalone build, fixes #133

0.22.1 Nov 07, 2016

  • Fixes bad behavior when autoselectOnBlur used, fixes #113

0.22.0 Oct 25, 2016

  • Add autocomplete:cursorremoved event, see #105
  • Add autoselectOnBlur option, fixes #113

0.21.8 Oct 3, 2016

  • Do not allow Zepto to leak to window. Never.

0.21.7 Sep 21, 2016

  • Ensure the empty templates get displayed before the footer.
  • Ensure the dataset empty templates are displayed when all datasets are empty.

0.21.6 Sep 20, 2016

  • Make sure we don't leak/override window.Zepto.

0.21.5 Sep 15, 2016

  • While selecting the top suggestion (autoselect=true), do not update the input.

0.21.4 Sep 2, 2016

  • Ensure the cursor selects the first suggestion when the dropdown is shown + send the cursorchanged event.

0.21.3 Aug 1, 2016

  • Ensure empty template displays from first keystroke (#104)

0.21.2 July 26, 2016

  • fix(empty): fix the empty even handling, fixes #95

0.21.1 July 19, 2016

  • fix(getVal): fix getVal on standalone build

0.21.0 July 15, 2016

  • Upgrade to zepto 1.2.0

0.20.1 June 14, 2016

  • Ensure the dropdown menu is hidden when there is an $empty block and blank query.

0.20.0 June 04, 2016

  • Ensure we don't update the input value on mouseenter (#76)
  • Render an empty template if no results (#80)

0.19.1 May 04, 2016

  • Fixed the angular build (_.Event was undefined)

0.19.0 Apr 25, 2016

  • Allow select handler to prevent menu from being closed (#72)
  • Do not trigger the cursorchanged event while entering/leaving nested divs (#71)

0.18.0 Apr 07, 2016

  • Ability to customize the CSS classes used to render the DOM
  • Ensure the autocomplete:cursorchanged event is called on mouseover as well

0.17.3 Apr 04, 2016

  • Standalone: ensure we actually use the Zepto object and not whatever is in window.$

0.17.2 Mar 21, 2016

  • Ability to setup the autocomplete on a multi-inputs Zepto selector
  • Propagate the shown event to the top-level

0.17.1 Mar 19, 2016

  • REVERT [Ability to setup the autocomplete on a multi-inputs Zepto selector] Fix #59

0.17.0 Mar 18, 2016

  • Ability to setup the autocomplete on a multi-inputs Zepto selector
  • Add a new shown event triggered when the dropdown menu is opened and non-empty

BREAKING CHANGE: the standalone object returned by the autocomplete() method is now a Zepto object.

0.16.2 Jan 22, 2016

  • stop using weird zepto package. Stop using chained .data calls it seems that chaining them ended up in an undefined return value when passing undefined as a value

0.16.1 Jan 22, 2016

  • remove npm-zepto, use zepto original package (now on npm) fixes #48

0.16.0 Dec 11, 2015

  • Emit a new autocomplete:updated event as soon as a dataset is rendered

0.15.0 Dec 10, 2015

  • Ability to configure the dropdown menu container

0.14.1 Dec 2, 2015

  • Move Zepto as a dependency (not a peer dep)
  • Really use the query instead of the displayKey (was supposed to be fixed in 0.11.0)

0.14.0 Nov 28, 2015

  • Move npm-zepto & angular to peerDependencies
  • Fixed custom dropdownMenu's footer & header not being displayed properly
  • Allow dataset with name=0

0.13.1 Nov 25, 2015

  • Move the bower release name to algolia-autocomplete.js since autocomplete.js is already used

0.13.0 Nov 25, 2015

  • Add Bower release

0.12.0 Oct 15, 2015

  • Expose the underlying close, open, ... functions in the standalone build.

0.11.1 Oct 13, 2015

  • Zepto doesn't work like jQuery regarding the data API, it doesn't support serializing objects.

0.11.0 Oct 07, 2015

  • If the displayKey is not specified and the value attribute missing, don't update the input value with undefined.
  • Expose the sources object in the Angular.js build as well.

0.10.0 Oct 06, 2015

  • Add a new includeAll option to the popularIn source to add an extra suggestion.

0.9.0 Oct 01, 2015

  • Full CommonJS compliance (moved from browserify to webpack)

0.8.0 Sep 24, 2015

  • UMD compliance

0.7.0 Sep 16, 2015

  • New standalone build (including Zepto.js)
  • Get rid of lodash-compat and use jQuery, Zepto or Angular.js's helper functions

0.6.0 Sep 11, 2015

  • Add Zepto.js support.

0.5.0 Sep 9, 2015

  • The wrapper span will now have a table-cell display if the original input was a block inside a table.

0.4.0 Aug 12, 2015

  • Add a new openOnFocus option to open the dropdown menu when the input is focused

0.3.0 July 27, 2015

  • Add Angular.js support [#7]

0.2.0 July 16, 2015

  • Ability to change the layout based on the matching datasets [#11]

0.1.0 July 13, 2015

  • Start using semantic versioning

0.0.2 July 13, 2015

  • Ability to keep the dropdown menu opened when the input if blurred [#1]
  • Ability to use a custom dropdown menu template [#2]
  • Ability to configure a custom header/footer on the dropdown menu [#3]

0.0.1 July 12, 2015

  • First release based on Twitter's typeahead.js library
  • Travis-ci.org, Coveralls.io, Saucelabs.com integration
  • CommonJS compatibility