diff --git a/CHANGELOG.md b/CHANGELOG.md index 7abd42198..1e77f21ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# [1.0.0-alpha.37](https://github.com/algolia/autocomplete.js/compare/v1.0.0-alpha.36...v1.0.0-alpha.37) (2020-12-06) + +### Features + +- **core:** export `AutocompleteContext` type ([f6ce779](https://github.com/algolia/autocomplete.js/commit/f6ce779575aadcce4d7c711f950ebff7ae25dcc5)) +- **core:** pass `refresh` to all events ([bd45a77](https://github.com/algolia/autocomplete.js/commit/bd45a7793143425ba84f6f0bd2b66811b525f984)) +- **core:** support `onReset` prop ([b7a66a8](https://github.com/algolia/autocomplete.js/commit/b7a66a85216c8a54330c087127da1ae45a59c1e6)) +- **js:** introduce Props API ([04bef73](https://github.com/algolia/autocomplete.js/commit/04bef73d7b8b23fa2d0d1a0256dc794dab5a8422)) + # [1.0.0-alpha.36](https://github.com/algolia/autocomplete.js/compare/v1.0.0-alpha.35...v1.0.0-alpha.36) (2020-12-03) ### Bug Fixes diff --git a/bundlesize.config.json b/bundlesize.config.json index d27668fb7..79ad4b764 100644 --- a/bundlesize.config.json +++ b/bundlesize.config.json @@ -6,7 +6,7 @@ }, { "path": "packages/autocomplete-js/dist/umd/index.production.js", - "maxSize": "8.75 kB" + "maxSize": "9 kB" }, { "path": "packages/autocomplete-preset-algolia/dist/umd/index.production.js", diff --git a/examples/js/package.json b/examples/js/package.json index 1b5911361..98f2025ce 100644 --- a/examples/js/package.json +++ b/examples/js/package.json @@ -1,7 +1,7 @@ { "name": "@algolia/js-example", "description": "Autocomplete JavaScript Sandbox", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "private": true, "license": "MIT", "main": "index.html", @@ -10,12 +10,12 @@ "start": "parcel index.html" }, "dependencies": { - "@algolia/autocomplete-js": "1.0.0-alpha.36", - "@algolia/autocomplete-plugin-algolia-insights": "1.0.0-alpha.36", - "@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.36", - "@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.36", - "@algolia/autocomplete-preset-algolia": "1.0.0-alpha.36", - "@algolia/autocomplete-theme-classic": "1.0.0-alpha.36", + "@algolia/autocomplete-js": "1.0.0-alpha.37", + "@algolia/autocomplete-plugin-algolia-insights": "1.0.0-alpha.37", + "@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.37", + "@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.37", + "@algolia/autocomplete-preset-algolia": "1.0.0-alpha.37", + "@algolia/autocomplete-theme-classic": "1.0.0-alpha.37", "algoliasearch": "4.8.3", "search-insights": "1.6.3" }, diff --git a/examples/react-renderer/package.json b/examples/react-renderer/package.json index 9086af5cc..8a7dacb6e 100644 --- a/examples/react-renderer/package.json +++ b/examples/react-renderer/package.json @@ -1,12 +1,12 @@ { "name": "@algolia/react-renderer-example", "description": "Autocomplete React Renderer example", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "private": true, "dependencies": { - "@algolia/autocomplete-core": "1.0.0-alpha.36", - "@algolia/autocomplete-preset-algolia": "1.0.0-alpha.36", - "@algolia/autocomplete-theme-classic": "1.0.0-alpha.36", + "@algolia/autocomplete-core": "1.0.0-alpha.37", + "@algolia/autocomplete-preset-algolia": "1.0.0-alpha.37", + "@algolia/autocomplete-theme-classic": "1.0.0-alpha.37", "algoliasearch": "4.8.3", "react": "17.0.1", "react-dom": "17.0.1", diff --git a/lerna.json b/lerna.json index 2cf96e7f1..43dca5014 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { "packages": ["packages/*", "examples/*"], - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "npmClient": "yarn" } diff --git a/packages/autocomplete-core/package.json b/packages/autocomplete-core/package.json index 4f2894873..2b97ede46 100644 --- a/packages/autocomplete-core/package.json +++ b/packages/autocomplete-core/package.json @@ -1,7 +1,7 @@ { "name": "@algolia/autocomplete-core", "description": "Core primitives for building autocomplete experiences.", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "license": "MIT", "homepage": "https://github.com/algolia/autocomplete.js", "repository": "algolia/autocomplete.js", @@ -31,6 +31,6 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@algolia/autocomplete-shared": "1.0.0-alpha.36" + "@algolia/autocomplete-shared": "1.0.0-alpha.37" } } diff --git a/packages/autocomplete-core/src/version.ts b/packages/autocomplete-core/src/version.ts index 7eef73c89..d6247975b 100644 --- a/packages/autocomplete-core/src/version.ts +++ b/packages/autocomplete-core/src/version.ts @@ -1 +1 @@ -export const version = '1.0.0-alpha.36'; +export const version = '1.0.0-alpha.37'; diff --git a/packages/autocomplete-js/package.json b/packages/autocomplete-js/package.json index ac4203588..67c448996 100644 --- a/packages/autocomplete-js/package.json +++ b/packages/autocomplete-js/package.json @@ -1,7 +1,7 @@ { "name": "@algolia/autocomplete-js", "description": "Fast and fully-featured autocomplete JavaScript library.", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "license": "MIT", "homepage": "https://github.com/algolia/autocomplete.js", "repository": "algolia/autocomplete.js", @@ -31,9 +31,9 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@algolia/autocomplete-core": "1.0.0-alpha.36", - "@algolia/autocomplete-preset-algolia": "1.0.0-alpha.36", - "@algolia/autocomplete-shared": "1.0.0-alpha.36" + "@algolia/autocomplete-core": "1.0.0-alpha.37", + "@algolia/autocomplete-preset-algolia": "1.0.0-alpha.37", + "@algolia/autocomplete-shared": "1.0.0-alpha.37" }, "devDependencies": { "@algolia/client-search": "4.8.3" diff --git a/packages/autocomplete-plugin-algolia-insights/package.json b/packages/autocomplete-plugin-algolia-insights/package.json index 1f7f21500..1379a5d65 100644 --- a/packages/autocomplete-plugin-algolia-insights/package.json +++ b/packages/autocomplete-plugin-algolia-insights/package.json @@ -1,7 +1,7 @@ { "name": "@algolia/autocomplete-plugin-algolia-insights", "description": "A plugin to add Algolia Insights to Algolia Autocomplete.", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "license": "MIT", "homepage": "https://github.com/algolia/autocomplete.js", "repository": "algolia/autocomplete.js", @@ -31,8 +31,8 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@algolia/autocomplete-core": "1.0.0-alpha.36", - "@algolia/autocomplete-shared": "1.0.0-alpha.36" + "@algolia/autocomplete-core": "1.0.0-alpha.37", + "@algolia/autocomplete-shared": "1.0.0-alpha.37" }, "peerDependencies": { "search-insights": "^1.0.0" diff --git a/packages/autocomplete-plugin-query-suggestions/package.json b/packages/autocomplete-plugin-query-suggestions/package.json index 17ba9aacf..186bc73eb 100644 --- a/packages/autocomplete-plugin-query-suggestions/package.json +++ b/packages/autocomplete-plugin-query-suggestions/package.json @@ -1,7 +1,7 @@ { "name": "@algolia/autocomplete-plugin-query-suggestions", "description": "A plugin to add query suggestions to Algolia Autocomplete.", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "license": "MIT", "homepage": "https://github.com/algolia/autocomplete.js", "repository": "algolia/autocomplete.js", @@ -31,8 +31,8 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@algolia/autocomplete-core": "1.0.0-alpha.36", - "@algolia/autocomplete-js": "1.0.0-alpha.36" + "@algolia/autocomplete-core": "1.0.0-alpha.37", + "@algolia/autocomplete-js": "1.0.0-alpha.37" }, "devDependencies": { "@algolia/client-search": "4.8.3", diff --git a/packages/autocomplete-plugin-recent-searches/package.json b/packages/autocomplete-plugin-recent-searches/package.json index ee1e830b8..a2333f2a8 100644 --- a/packages/autocomplete-plugin-recent-searches/package.json +++ b/packages/autocomplete-plugin-recent-searches/package.json @@ -1,7 +1,7 @@ { "name": "@algolia/autocomplete-plugin-recent-searches", "description": "A plugin to add recent searches to Algolia Autocomplete.", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "license": "MIT", "homepage": "https://github.com/algolia/autocomplete.js", "repository": "algolia/autocomplete.js", @@ -31,9 +31,9 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@algolia/autocomplete-core": "1.0.0-alpha.36", - "@algolia/autocomplete-js": "1.0.0-alpha.36", - "@algolia/autocomplete-shared": "1.0.0-alpha.36" + "@algolia/autocomplete-core": "1.0.0-alpha.37", + "@algolia/autocomplete-js": "1.0.0-alpha.37", + "@algolia/autocomplete-shared": "1.0.0-alpha.37" }, "devDependencies": { "@algolia/client-search": "4.8.3" diff --git a/packages/autocomplete-preset-algolia/package.json b/packages/autocomplete-preset-algolia/package.json index 13b213095..b44a0cd43 100644 --- a/packages/autocomplete-preset-algolia/package.json +++ b/packages/autocomplete-preset-algolia/package.json @@ -1,7 +1,7 @@ { "name": "@algolia/autocomplete-preset-algolia", "description": "Presets for building autocomplete experiences with Algolia.", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "license": "MIT", "homepage": "https://github.com/algolia/autocomplete.js", "repository": "algolia/autocomplete.js", @@ -31,7 +31,7 @@ "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"" }, "dependencies": { - "@algolia/autocomplete-shared": "1.0.0-alpha.36" + "@algolia/autocomplete-shared": "1.0.0-alpha.37" }, "devDependencies": { "@algolia/client-search": "4.8.3", diff --git a/packages/autocomplete-preset-algolia/src/version.ts b/packages/autocomplete-preset-algolia/src/version.ts index 7eef73c89..d6247975b 100644 --- a/packages/autocomplete-preset-algolia/src/version.ts +++ b/packages/autocomplete-preset-algolia/src/version.ts @@ -1 +1 @@ -export const version = '1.0.0-alpha.36'; +export const version = '1.0.0-alpha.37'; diff --git a/packages/autocomplete-shared/package.json b/packages/autocomplete-shared/package.json index f218240a6..23a6e8cf0 100644 --- a/packages/autocomplete-shared/package.json +++ b/packages/autocomplete-shared/package.json @@ -1,7 +1,7 @@ { "name": "@algolia/autocomplete-shared", "description": "Shared utils for Autocomplete packages.", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "license": "MIT", "homepage": "https://github.com/algolia/autocomplete.js", "repository": "algolia/autocomplete.js", diff --git a/packages/autocomplete-theme-classic/package.json b/packages/autocomplete-theme-classic/package.json index 1fb0e62d0..08be71363 100644 --- a/packages/autocomplete-theme-classic/package.json +++ b/packages/autocomplete-theme-classic/package.json @@ -1,7 +1,7 @@ { "name": "@algolia/autocomplete-theme-classic", "description": "Classic theme for Algolia Autocomplete.", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "license": "MIT", "homepage": "https://github.com/algolia/autocomplete.js", "repository": "algolia/autocomplete.js", diff --git a/packages/website/package.json b/packages/website/package.json index 67578c4a8..1241767d0 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -1,6 +1,6 @@ { "name": "@algolia/autocomplete-website", - "version": "1.0.0-alpha.36", + "version": "1.0.0-alpha.37", "private": true, "scripts": { "start": "docusaurus start",