From b75888100a616a47049ed2b9bfdfa0e2b5ce4bf4 Mon Sep 17 00:00:00 2001 From: Alban Jubert Date: Mon, 25 Mar 2019 10:05:10 +0100 Subject: [PATCH] Prepare 1.1.0 release --- .craftplugin | 2 +- CHANGELOG.md | 15 ++++++++++----- README.md | 3 +-- composer.json | 4 ++-- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.craftplugin b/.craftplugin index 0414a48..0354cb5 100644 --- a/.craftplugin +++ b/.craftplugin @@ -1 +1 @@ -{"pluginName":"Elasticsearch","pluginDescription":"Bring the power of Elasticsearch to you Craft 3 CMS project","pluginVersion":"1.0.0","pluginAuthorName":"La Haute Société","pluginVendorName":"la-haute-societe","pluginAuthorUrl":"https://www.lahautesociete.com","pluginAuthorGithub":"juban","codeComments":"codeComments","pluginComponents":["utilities","jobs","tasks","consolecommands","controllers","cpsection","models","records","services","settings","variables"],"consolecommandName":"Elasticsearch","controllerName":"Elasticsearch","cpsectionName":"Elasticsearch","modelName":"Elasticsearch","recordName":"Elasticsearch","serviceName":"Elasticsearch","utilityName":"elasticsearch","apiVersion":"api_version_3_0"} +{"pluginName":"Elasticsearch","pluginDescription":"Bring the power of Elasticsearch to you Craft 3 CMS project","pluginVersion":"1.1.0,1.0.0","pluginAuthorName":"La Haute Société","pluginVendorName":"la-haute-societe","pluginAuthorUrl":"https://www.lahautesociete.com","pluginAuthorGithub":"juban","codeComments":"codeComments","pluginComponents":["utilities","jobs","tasks","consolecommands","controllers","cpsection","models","records","services","settings","variables"],"consolecommandName":"Elasticsearch","controllerName":"Elasticsearch","cpsectionName":"Elasticsearch","modelName":"Elasticsearch","recordName":"Elasticsearch","serviceName":"Elasticsearch","utilityName":"elasticsearch","apiVersion":"api_version_3_0"} diff --git a/CHANGELOG.md b/CHANGELOG.md index f1b1868..d0aa956 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ # Elasticsearch plugin for Craft CMS 3.x Changelog -## 1.1.0 - Unreleased +## 1.1.0 - 2019-03-25 + +> {warning} The way page content are indexed have changed and now rely on a Guzzle client implementation. +If your entries are not indexed anymore after upgrade, please check you network configuration (specially when using docker containers) and the documentation for `elementContentCallback` new configuration parameter to override the Guzzle implementation if needed. + ### Added -- Craft Commerce product support (Enh #1) -- Ability to index and search additional data (Enh #2) +- Craft Commerce product support (#1) +- Ability to index and search additional data (#2) - `rawResult` in result fields to get a reference to the raw ElasticsearchRecord result object - `elementHandle` in result fields to be able to get the element type related to the result - `resultFormatterCallback` configuration callback in order to make changes to the results data @@ -11,13 +15,14 @@ - `EVENT_BEFORE_CREATE_INDEX`, `EVENT_BEFORE_SAVE` and `EVENT_BEFORE_SEARCH` events of `ElasticsearchRecord` can be listened to customized various aspects of the Elastisearch life cycle ### Changed -- IndexEntryException has been replaced by IndexElementException - Guzzle 6 is now used to get page content of elements instead of the Twig template renderer +- Updated documentation +- `IndexEntryException` class has been replaced by `IndexElementException` - Merge highlight results for all fields - Removed default highlight for title field ### Fixed -- Prefixed table names configuration where leading to a 'Column not found Error' (Bug #3) +- Prefixed table names configuration where leading to a 'Column not found Error' (#3) ## 1.0.0 - 2018-12-12 ### Added diff --git a/README.md b/README.md index 5bbb714..5320d57 100755 --- a/README.md +++ b/README.md @@ -438,11 +438,10 @@ This plugin is free to try in development environments, but requires payment to ## Elasticsearch plugin Roadmap -* Be able to customise Elasticsearch schema -* Additional fields support * Handle dependencies update * Detect need for re-indexation * Switch form `la-haute-societe/yii2-elasticsearch` to official 2.1 `yiisoft/yii2-elasticsearch` library as soon as a stable version will be released +* Easy setup for suggest Brought to you by [![Logo](resources/img/lhs.png)][lhs-site] La Haute Société diff --git a/composer.json b/composer.json index a55f6e7..34d9ae6 100755 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "la-haute-societe/craft-elasticsearch", "description": "Bring the power of Elasticsearch to your Craft CMS projects.", "type": "craft-plugin", - "version": "1.1.0-beta.7", + "version": "1.1.0", "keywords": [ "craft", "cms", @@ -36,7 +36,7 @@ "extra": { "name": "Elasticsearch", "handle": "elasticsearch", - "schemaVersion": "1.1.0-beta.7", + "schemaVersion": "1.1.0", "changelogUrl": "https://raw.githubusercontent.com/la-haute-societe/craft-elasticsearch/master/CHANGELOG.md", "components": { "elasticsearch": "lhs\\elasticsearch\\services\\Elasticsearch"