Skip to content

Commit d3e6e4e

Browse files
authored
Merge pull request #166 from WebDevStudios/hotfix/script-dependencies
Hotfix/script dependencies
2 parents 94978af + 876db2a commit d3e6e4e

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

README.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: Search, Algolia, Autocomplete, instant-search, relevant search, search hig
44
Requires at least: 5.0
55
Tested up to: 5.8
66
Requires PHP: 7.2
7-
Stable tag: 2.0.0
7+
Stable tag: 2.0.1
88
License: GNU General Public License v2.0, MIT License
99

1010
Improve search on your site. Autocomplete is included, along with full control over look, feel and relevance.
@@ -106,6 +106,9 @@ WebDevStudios provides end-to-end WordPress opportunities from strategy and plan
106106

107107
Follow along with the changelog on [Github](https://github.com/WebDevStudios/wp-search-with-algolia/releases).
108108

109+
= 2.0.1 =
110+
* Fix for users that enable intstantsearch but not autocomplete by adding algoliasearch client as direct dependency of both
111+
109112
= 2.0.0 =
110113
* Breaking changes for users with customized autocomplete.php / instantsearch.php template in their theme.
111114
* Update autocomplete.php and instantsearch.php templates for compatibility with new JS libs.

algolia.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: WP Search with Algolia
44
* Plugin URI: https://github.com/WebDevStudios/wp-search-with-algolia
55
* Description: Integrate the powerful Algolia search service with WordPress
6-
* Version: 2.0.0
6+
* Version: 2.0.1
77
* Requires at least: 5.0
88
* Requires PHP: 7.2
99
* Author: WebDevStudios
@@ -26,7 +26,7 @@
2626
}
2727

2828
// The Algolia Search plugin version.
29-
define( 'ALGOLIA_VERSION', '2.0.0' );
29+
define( 'ALGOLIA_VERSION', '2.0.1' );
3030

3131
// The minmum required PHP version.
3232
define( 'ALGOLIA_MIN_PHP_VERSION', '7.2' );

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webdevstudios/wp-search-with-algolia",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Integrate the powerful Algolia search service with WordPress.",
55
"authors": [
66
{

includes/class-algolia-scripts.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function register_scripts() {
6060
'jquery',
6161
'underscore',
6262
'wp-util',
63+
'algolia-search',
6364
],
6465
ALGOLIA_VERSION,
6566
$in_footer
@@ -82,6 +83,7 @@ public function register_scripts() {
8283
'jquery',
8384
'underscore',
8485
'wp-util',
86+
'algolia-search',
8587
],
8688
ALGOLIA_VERSION,
8789
$in_footer

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wp-search-with-algolia",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Integrate the powerful Algolia search service with WordPress.",
55
"author": "WebDevStudios",
66
"license": "GPL-3.0",

0 commit comments

Comments
 (0)