38 KiB
38 KiB
1.0.0-alpha.28 (2020-08-26)
Bug Fixes
- core: add type
searchtogetInputProps(92d95cc) - core: add type to
GetDropdownProps(6bd21fc), closes #70 - core: allow calling
getDropdownPropswithout argument (c44e494) - core: prevent
mousedownevent on dropdown to keep it open (ec9733b) - core: rename
showCompletiontoenableCompletion(07b46af) - core: type form props (1c2551b)
- docsearch: add type to
GetDropdownProps(50b4879) - docsearch: allow a single instance to open (90bfaaa)
- docsearch: capture
mousedownevent to close modal (b802621), closes /github.com/facebook/react-native-website/pull/2139#issuecomment-678330203 - docsearch: remove
data-cyattributes (6bedbb7) - docsearch: remove Docusaurus style (a52cc44)
- docsearch: use
"false"value forspellCheckin vanilla version (d22bea7) - js: return setters and
refreshonly (758565e) - js: revert highlighting conditions (8fb33b1)
- js: update types (607ea45)
- types: allow arbitrary keys in sources (6ed9e4a)
Features
- autocomplete: introduce JavaScript API (fd9d2b7)
- core: add default form props (2264f2b)
- docsearch: add
enterkeyhinttogo(d652514) - js: pass state to
render(7f7da3d)
1.0.0-alpha.27 (2020-08-07)
Bug Fixes
- docsearch: fix vanilla DocSearch types (2b5e7aa)
Features
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
autoFocusprop to autocomplete for mobiles (8f4d3fb)
Features
- docsearch: add
aria-labelto 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-ButtonCSS class (f3a5449) - docsearch: use Preact alias in Babel config (31b3bd4)
- search: hide content when
disableUserPersonalization(4940538) - website: memoize
onInputcallback (9fa7d30)
Features
- docsearch: introduce
disableUserPersonalizationAPI (de31121) - docsearch: support
initialQuery(11aa27b), closes #51 - DocSearch: add
DocSearchCSS 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.jsuser agent to vanilla renderer (e1bd8d3) - docsearch: introduce
transformSearchClientAPI (edf6b9b) - docsearch: introduce DocSearch.js v3 (#56) (0ff2462)
- docsearch: track
docsearch-reactUA (2c280e2) - website: lazy load DocSearch styles (e3bc021)
- website: track
docsearch-docusaurusUA (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
transformItemsdefault value (1e0ae9e) - lint: Disable import/no-common for percy (8af940d)
- lint: set cariage return in prettier config (3016601)
- lint: set eol to auto (e6db26e)
- test: lint (896ef59)
- ypress: Record reuslts (7dac93e)
1.0.0-alpha.18 (2020-06-11)
Bug Fixes
- css: overflow overlay not supported on gecko (9e5b764)
Features
- docsearch: introduce
initialScrollYoption (2d5b216)
1.0.0-alpha.17 (2020-06-08)
Bug Fixes
- docsearch: use
scrollTowhen unmounting modal (aae0a14)
1.0.0-alpha.16 (2020-06-08)
Bug Fixes
- docsearch: always use
aria-expandedtotrue(b89aeb5) - dosearch: don't add
distinctsearch parameter (1c11457) - website: don't pass default
appId(62e0609) - website: support missing
algoliaconfig (4b30cdd) - website: update netlify.com to netlify.app (9cbb80b)
Features
- docsearch: display 5 hits per category maximum (7e6582c)
- docsearch: introduce
resultsFooterComponentoption (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
scrollTopon 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
scrollTopfor IE support (b51e81d) - docsearch: use absolute URLs (e1ed4e8)
Features
- docsearch: add
DocSearchcomponent (218944e) - docsearch: add
useDocSearchKeyboardEventsAPI (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
hitComponentandtransformItemsoptions (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
preconnectlink 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
generateAutocompleteIdonly if necessary (ce4d496) - getters: compute
aria-autocompletebased 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
- core: allow input pause in keyboard navigation (0000499)
- core: introduce
getDropdownProps(9b758ee) - react: attach Algolia agents in React renderer (c6c4da5)
- react: create highlighting components (fb49161)
- add openOnFocus and remove minLength (#31) (553ea68)
- swap Preact with React (#34) (e0f2568)
- autoFocus: add support for
autoFocusoption (4d3f792) - core: filter out falsy sources (f771522)
- core: introduce
getEnvironmentPropsfor mobile experience (#27) (f9d7eed) - core: process completion as a state enhancer (#29) (53c2ef7)
- core: rename
shouldDropdownOpentoshouldDropdownShow(f2c3eb2), closes /github.com/francoischalifour/autocomplete.js/pull/16#pullrequestreview-355978230 - core: support
onHighlighton sources (0f4101b) - core: support
onSelecton sources (0cf0a93) - onInput: support
onInputprop for controlled mode (7345eb9) - onSubmit: introduce
onSubmitoption (#24) (ca0891c) - react: introduce
inputReffor focus management (#32) (4d804fe) - react: place dropdown with Popper (#25) (ca38070)
- website: add Docusaurus 2 website (#33) (3ee0ab5)
0.37.0 (2019-08-30)
Bug Fixes
0.36.0 (2019-02-21)
Bug Fixes
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
0.33.0 (2018-11-19)
Bug Fixes
Features
0.32.0 (2018-11-06)
Bug Fixes
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 upadte 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-labelledbyattribute. (0491c43)
0.28.3 (2017-07-31)
0.28.2 (2017-06-22)
Bug Fixes
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
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
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
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
autoselectOnBlurused, fixes #113
0.22.0 Oct 25, 2016
- Add
autocomplete:cursorremovedevent, see #105 - Add
autoselectOnBluroption, 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
emptytemplates get displayed before thefooter. - Ensure the dataset
emptytemplates 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
cursorchangedevent.
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
$emptyblock and blank query.
0.20.0 June 04, 2016
- Ensure we don't update the input value on mouseenter (#76)
- Render an
emptytemplate 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:cursorchangedevent is called onmouseoveras 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
shownevent 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
shownevent 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
undefinedreturn value when passingundefinedas 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:updatedevent 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
queryinstead of thedisplayKey(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.jssinceautocomplete.jsis 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
dataAPI, it doesn't support serializing objects.
0.11.0 Oct 07, 2015
- If the
displayKeyis not specified and thevalueattribute missing, don't update the input value withundefined. - Expose the
sourcesobject in the Angular.js build as well.
0.10.0 Oct 06, 2015
- Add a new
includeAlloption to thepopularInsource 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-celldisplay if the original input was ablockinside atable.
0.4.0 Aug 12, 2015
- Add a new
openOnFocusoption 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