diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ae9a49..1a1081e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [1.2.0] - 2020-03-02 + +### Added + +- Filters for various query parts to enable query customizations. + ## [1.1.5] - 2020-02-18 ### Fixed diff --git a/README.md b/README.md index f839ec2..09bda35 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,19 @@ new WP_Query([ ]); ``` +### Filters + +#### Query parts + +To customize the RediSearch query, you can filter individual query parts with the following filters: + +- `redipress/sortby` +- `redipress/applies` +- `redipress/filters` +- `redipress/groupby` +- `redipress/reduce_functions` +- `redipress/load` + ## Expanding RediPress is built to be as developer-friendly as possible. Nearly everything can be filtered and there are a lot of actions to work with. diff --git a/package.json b/package.json index 07f315d..c76d3fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "RediPress", - "version": "1.0.0", + "version": "1.2.0", "description": "RediSearch plugin for WordPress.", "private": true, "dependencies": { diff --git a/plugin.php b/plugin.php index eb71c0b..a59ccd7 100644 --- a/plugin.php +++ b/plugin.php @@ -3,7 +3,7 @@ * Plugin Name: RediPress * Plugin URI: https://github.com/devgeniem/redipress * Description: A WordPress plugin that provides a blazing fast search engine and WP Query performance enhancements. - * Version: 1.1.5 + * Version: 1.2.0 * Author: Geniem * Author URI: http://www.geniem.fi/ * License: GPL3