Skip to content
This repository was archived by the owner on May 9, 2019. It is now read-only.

Commit 79582f0

Browse files
authored
Merge pull request #571 from algolia/develop
Release 2.1.0
2 parents 89b1d0f + fa0b06c commit 79582f0

File tree

7 files changed

+16
-7
lines changed

7 files changed

+16
-7
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.1.0
2+
3+
- Introduce a new filter to allow to customize synced indices
4+
15
# 2.0.1
26

37
- Fix an error that would display PHP notices on search results pages

Diff for: README.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ Automatic updates should work like a charm; as always though, ensure you backup
101101

102102
== Changelog ==
103103

104+
= 2.1.0 =
105+
106+
- Introduce a new filter to allow to customize synced indices
107+
104108
= 2.0.1 =
105109

106110
- Fix an error that would display PHP notices on search results pages
@@ -109,7 +113,7 @@ Automatic updates should work like a charm; as always though, ensure you backup
109113

110114
To upgrade from 1.7.0, follow the [Upgrade instructions](https://community.algolia.com/wordpress/upgrade.html#from-1-7-0-to-2-0-0).
111115

112-
## New features
116+
**New features**
113117

114118
- Allow to re-order results by drag and drop from the autocomplete settings page
115119
- Allow to customize the header label of each result type of the autocomplete dropdown menu
@@ -123,7 +127,7 @@ To upgrade from 1.7.0, follow the [Upgrade instructions](https://community.algol
123127
- New splitting strategy resulting in better relevancy and snippets
124128
- Add an "no results" template to the autocomplete dropdown
125129

126-
## Enhancements & bug fixes
130+
**Enhancements & bug fixes**
127131

128132
- Remove custom post type algolia_task
129133
- Remove custom post type algolia_log

Diff for: algolia.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Plugin Name: Search by Algolia – Instant & Relevant results
66
* Plugin URI: https://community.algolia.com/wordpress
77
* Description: Search by Algolia is the smartest way to improve search on your site. Autocomplete is included, along with full control over look, feel and relevance.
8-
* Version: 2.0.1
8+
* Version: 2.1.0
99
* Author: Algolia
1010
* Author URI: https://www.algolia.com/
1111
* License: MIT License, GNU General Public License v2.0
@@ -30,7 +30,7 @@
3030
}
3131

3232
// The Algolia Search plugin version.
33-
define( 'ALGOLIA_VERSION', '2.0.1' );
33+
define( 'ALGOLIA_VERSION', '2.1.0' );
3434
define( 'ALGOLIA_PLUGIN_BASENAME', plugin_basename(__FILE__) );
3535

3636
if ( ! defined( 'ALGOLIA_PATH' ) ) {

Diff for: docs/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var siteBuild = Metalsmith(__dirname)
2828
.metadata({
2929
title: 'Algolia Search Plugin for WordPress',
3030
url: 'https://github.com/algolia/algoliasearch-wordpress',
31-
version: '2.0.1',
31+
version: '2.1.0',
3232
time: new Date().getTime(),
3333
tweets:['666409672006606848','675635141713248256','684325213329305600','669552193419259904','672084577805012992','714625225359425536','669555344725696512','688027404741308417','783838738791227392','782584336323227648','787040561215582208','698839453469544448','687060441881796608','705467858961223680','665028633048821760','654785137272459265','661567388983279617','708574926962294784','707863195025858560'],
3434
header: algoliaComponents.communityHeader(communityHeaderData)

Diff for: docs/src/filters.md

+1
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,4 @@ Here is the list of all available Filters.
8686
| algolia_should_override_search_with_instantsearch | bool $bool (default: depending on configuration) |
8787
| algolia_post_images_sizes | array $sizes (default: only the 'thumbnail' size) |
8888
| algolia_get_post_images | array $images (default: only the info about the 'thumbnail' size) |
89+
| algolia_get_synced_indices_ids | array $ids |

Diff for: includes/class-algolia-settings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function get_synced_indices_ids() {
104104
$ids[] = $this->get_native_search_index_id();
105105
}
106106

107-
return $ids;
107+
return (array) apply_filters( 'algolia_get_synced_indices_ids', $ids );
108108
}
109109

110110

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "algoliasearch-wordpress",
3-
"version": "2.0.1",
3+
"version": "2.1.0",
44
"description": "Algolia Search plugin for WordPress is a drop in replacement for WordPress search. It also provides an optional \"as you type\" auto-complete experience.",
55
"main": "index.js",
66
"directories": {

0 commit comments

Comments
 (0)