Skip to content

Commit

Permalink
Prepare 1.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Alban Jubert committed Mar 25, 2019
1 parent 26c5a7c commit b758881
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .craftplugin
Original file line number Diff line number Diff line change
@@ -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"}
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
# 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
- `elementContentCallback` configuration callback to be able to implement custom method to get the element content to index
- `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
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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é

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit b758881

Please sign in to comment.