Skip to content

Commit

Permalink
chore: release v1.0.0-alpha.46 (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour authored Apr 22, 2021
1 parent be1cee7 commit 999e5b2
Show file tree
Hide file tree
Showing 28 changed files with 112 additions and 93 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# [1.0.0-alpha.46](https://github.com/algolia/autocomplete/compare/v1.0.0-alpha.45...v1.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](https://autocomplete.algolia.com/docs/getAlgoliaResults).

### Bug Fixes

- **classic-theme:** fix modal display in Detached Mode ([#531](https://github.com/algolia/autocomplete/issues/531)) ([abf98ef](https://github.com/algolia/autocomplete/commit/abf98ef2c332c5f44988b521811e17a093adfd6a))
- **classic-theme:** remove pointer cursor on no result item content ([#529](https://github.com/algolia/autocomplete/issues/529)) ([b241df4](https://github.com/algolia/autocomplete/commit/b241df426fce5e062139fcc48fbee26765aba0e3))
- **examples:** update build command ([#539](https://github.com/algolia/autocomplete/issues/539)) ([f5254e9](https://github.com/algolia/autocomplete/commit/f5254e9a3e2c63962af87beea8e939319f12e619))
- **js:** compute panel top position with `getBoundingClientRect` ([#536](https://github.com/algolia/autocomplete/issues/536)) ([492e058](https://github.com/algolia/autocomplete/commit/492e058c66f0c9972206ef4417ba7d0c8edf92a2))
- **types:** fix collision between js/core and plugins ([#532](https://github.com/algolia/autocomplete/issues/532)) ([ac79f67](https://github.com/algolia/autocomplete/commit/ac79f6790f34cabe911492dbe24aad4633d9d949))
- adjust examples ([#527](https://github.com/algolia/autocomplete/issues/527)) ([32bd2bc](https://github.com/algolia/autocomplete/commit/32bd2bc08c14c06faa3551f11253da6b14af5450))
- **theme-classic:** wrap item content when there's no link ([#522](https://github.com/algolia/autocomplete/issues/522)) ([c6afe42](https://github.com/algolia/autocomplete/commit/c6afe4256047b234a5b4b0e45a1cfa61b1e82c6d))

### Features

- **core:** introduce Requester API ([#540](https://github.com/algolia/autocomplete/issues/540)) ([be1cee7](https://github.com/algolia/autocomplete/commit/be1cee7003ef6e804a22a62415f0711ec9f583a4))
- **qs:** append space to query on tap-ahead ([#525](https://github.com/algolia/autocomplete/issues/525)) ([06358bc](https://github.com/algolia/autocomplete/commit/06358bc8c295ffb7439d49c5959034dc5772f467))

# [1.0.0-alpha.45](https://github.com/algolia/autocomplete/compare/v1.0.0-alpha.44...v1.0.0-alpha.45) (2021-04-09)

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions examples/github-repositories-custom-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@algolia/autocomplete-example-github-repositories-custom-plugin",
"description": "Autocomplete example with custom GitHub Repositories plugin",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"preact": "10.5.13",
"qs": "6.10.1"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/multiple-datasets-with-headers/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "@algolia/autocomplete-example-multiple-datasets-with-headers",
"description": "Autocomplete example with multiple datasets with headers",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"algoliasearch": "4.9.0",
"preact": "10.5.13"
},
Expand Down
14 changes: 7 additions & 7 deletions examples/playground/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "@algolia/autocomplete-example-playground",
"description": "Autocomplete playground",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-algolia-insights": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.45",
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-algolia-insights": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.46",
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"@algolia/client-search": "4.9.0",
"algoliasearch": "4.9.0",
"preact": "10.5.13",
Expand Down
8 changes: 4 additions & 4 deletions examples/query-suggestions-with-categories/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@algolia/autocomplete-example-query-suggestion-with-categories",
"description": "Autocomplete example with Query Suggestions with categories",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"algoliasearch": "4.9.0",
"preact": "10.5.13"
},
Expand Down
14 changes: 7 additions & 7 deletions examples/query-suggestions-with-hits/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "@algolia/autocomplete-example-query-suggestions-with-hits",
"description": "Autocomplete example with Query Suggestions and hits",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-algolia-insights": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.45",
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-algolia-insights": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.46",
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"@algolia/client-search": "4.9.0",
"algoliasearch": "4.9.0",
"preact": "10.5.13",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@algolia/autocomplete-example-query-suggestions-with-inline-categories",
"description": "Autocomplete example with Query Suggestions with inline categories",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"algoliasearch": "4.9.0",
"preact": "10.5.13"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "@algolia/autocomplete-example-query-suggestions-with-recent-searches-and-categories",
"description": "Autocomplete example with Query Suggestions with recent searches and categories",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"@algolia/client-search": "4.9.0",
"algoliasearch": "4.9.0",
"preact": "10.5.13"
Expand Down
10 changes: 5 additions & 5 deletions examples/query-suggestions-with-recent-searches/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "@algolia/autocomplete-example-query-suggestions-with-recent-searches",
"description": "Autocomplete example with Query Suggestions and Recent Searches",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"algoliasearch": "4.9.0",
"preact": "10.5.13"
},
Expand Down
8 changes: 4 additions & 4 deletions examples/query-suggestions/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@algolia/autocomplete-example-query-suggestions",
"description": "Autocomplete example with Query Suggestions",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-query-suggestions": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"algoliasearch": "4.9.0",
"preact": "10.5.13"
},
Expand Down
8 changes: 4 additions & 4 deletions examples/react-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@algolia/autocomplete-example-react-renderer",
"description": "Autocomplete example with React Renderer",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"dependencies": {
"@algolia/autocomplete-core": "1.0.0-alpha.45",
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-core": "1.0.0-alpha.46",
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"@algolia/client-search": "4.9.0",
"algoliasearch": "4.9.0",
"react": "17.0.1",
Expand Down
12 changes: 6 additions & 6 deletions examples/recently-viewed-items/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"name": "@algolia/autocomplete-example-recently-viewed-items",
"description": "Autocomplete example with Recently Viewed Items",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-plugin-recent-searches": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"@algolia/client-search": "4.9.0",
"algoliasearch": "4.9.0",
"preact": "10.5.13"
},
"devDependencies": {
"@algolia/autocomplete-core": "1.0.0-alpha.45",
"@algolia/autocomplete-shared": "1.0.0-alpha.45",
"@algolia/autocomplete-core": "1.0.0-alpha.46",
"@algolia/autocomplete-shared": "1.0.0-alpha.46",
"parcel": "2.0.0-beta.2"
},
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions examples/starter-algolia/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@algolia/autocomplete-example-starter-algolia",
"description": "Autocomplete Algolia starter",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"algoliasearch": "4.9.0",
"preact": "10.5.13"
},
Expand Down
6 changes: 3 additions & 3 deletions examples/starter/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@algolia/autocomplete-example-starter",
"description": "Autocomplete starter",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"preact": "10.5.13"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions examples/voice-search/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@algolia/autocomplete-example-voice-search",
"description": "Autocomplete example with Voice Search",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"private": true,
"license": "MIT",
"scripts": {
"build": "parcel build index.html",
"start": "parcel index.html"
},
"dependencies": {
"@algolia/autocomplete-js": "1.0.0-alpha.45",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.45",
"@algolia/autocomplete-js": "1.0.0-alpha.46",
"@algolia/autocomplete-theme-classic": "1.0.0-alpha.46",
"algoliasearch": "4.9.0",
"preact": "10.5.13"
},
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"packages": ["packages/*", "examples/*"],
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"npmClient": "yarn"
}
6 changes: 3 additions & 3 deletions packages/autocomplete-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@algolia/autocomplete-core",
"description": "Core primitives for building autocomplete experiences.",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"license": "MIT",
"homepage": "https://github.com/algolia/autocomplete",
"repository": "algolia/autocomplete",
Expand Down Expand Up @@ -31,10 +31,10 @@
"watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\""
},
"dependencies": {
"@algolia/autocomplete-shared": "1.0.0-alpha.45"
"@algolia/autocomplete-shared": "1.0.0-alpha.46"
},
"devDependencies": {
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.45",
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.46",
"@algolia/client-search": "4.9.0",
"algoliasearch": "4.9.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/autocomplete-core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '1.0.0-alpha.45';
export const version = '1.0.0-alpha.46';
8 changes: 4 additions & 4 deletions packages/autocomplete-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@algolia/autocomplete-js",
"description": "Fast and fully-featured autocomplete JavaScript library.",
"version": "1.0.0-alpha.45",
"version": "1.0.0-alpha.46",
"license": "MIT",
"homepage": "https://github.com/algolia/autocomplete",
"repository": "algolia/autocomplete",
Expand Down Expand Up @@ -31,9 +31,9 @@
"watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\""
},
"dependencies": {
"@algolia/autocomplete-core": "1.0.0-alpha.45",
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.45",
"@algolia/autocomplete-shared": "1.0.0-alpha.45",
"@algolia/autocomplete-core": "1.0.0-alpha.46",
"@algolia/autocomplete-preset-algolia": "1.0.0-alpha.46",
"@algolia/autocomplete-shared": "1.0.0-alpha.46",
"preact": "^10.0.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 999e5b2

Please sign in to comment.