CHANGELOG.md 3.17 KB
Newer Older
1 2 3
Yii Framework 2 elasticsearch extension Change Log
==================================================

Qiang Xue committed
4 5 6
2.0.1 under development
-----------------------

7
- Bug #5662: Elasticsearch AR updateCounters() now uses explicitly `groovy` script for updating making it compatible with ES >1.3.0 (cebe)
8
- Bug #6065: `ActiveRecord::unlink()` was failing in some situations when working with relations via array valued attributes (cebe)
Qiang Xue committed
9 10


Qiang Xue committed
11 12
2.0.0 October 12, 2014
----------------------
Qiang Xue committed
13

14
- Enh #3381: Added ActiveRecord::arrayAttributes() to define attributes that should be treated as array when retrieved via `fields` (cebe)
Qiang Xue committed
15 16


17 18
2.0.0-rc September 27, 2014
---------------------------
Qiang Xue committed
19

20
- Bug #3587: Fixed an issue with storing empty records (cebe)
Carsten Brandt committed
21
- Bug #4187: Elasticsearch dynamic scripting is disabled in 1.2.0, so do not use it in query builder (cebe)
22
- Enh #3527: Added `highlight` property to Query and ActiveRecord. (Borales)
23
- Enh #4048: Added `init` event to `ActiveQuery` classes (qiangxue)
Carsten Brandt committed
24
- Enh #4086: changedAttributes of afterSave Event now contain old values (dizews)
Carsten Brandt committed
25
- Enh: Make error messages more readable in HTML output (cebe)
26
- Enh: Added support for query stats (cebe)
27
- Enh: Added support for query suggesters (cebe, tvdavid)
Carsten Brandt committed
28
- Enh: Added support for delete by query (cebe, tvdavid)
29
- Chg #4451: Removed support for facets and replaced them with aggregations (cebe, tadaszelvys)
30
- Chg: asArray in ActiveQuery is now equal to using the normal Query. This means, that the output structure has changed and `with` is supported anymore. (cebe)
31
- Chg: Deletion of a record is now also considered successful if the record did not exist. (cebe)
32
- Chg: Requirement changes: Yii now requires elasticsearch version 1.0 or higher (cebe)
Qiang Xue committed
33 34


35 36
2.0.0-beta April 13, 2014
-------------------------
37

Carsten Brandt committed
38
- Bug #1993: afterFind event in AR is now called after relations have been populated (cebe, creocoder)
39
- Bug #2324: Fixed QueryBuilder bug when building a query with "query" option (mintao)
40
- Enh #1313: made index and type available in `ActiveRecord::instantiate()` to allow creating records based on elasticsearch type when doing cross index/type search (cebe)
41
- Enh #1382: Added a debug toolbar panel for elasticsearch (cebe)
Carsten Brandt committed
42
- Enh #1765: Added support for primary key path mapping, pk can now be part of the attributes when mapping is defined (cebe)
Carsten Brandt committed
43
- Enh #2002: Added filterWhere() method to yii\elasticsearch\Query to allow easy addition of search filter conditions by ignoring empty search fields (samdark, cebe)
44
- Enh #2892: ActiveRecord dirty attributes are now reset after call to `afterSave()` so information about changed attributes is available in `afterSave`-event (cebe)
Carsten Brandt committed
45
- Chg #1765: Changed handling of ActiveRecord primary keys, removed getId(), use getPrimaryKey() instead (cebe)
46
- Chg #2281: Renamed `ActiveRecord::create()` to `populateRecord()` and changed signature. This method will not call instantiate() anymore (cebe)
47 48 49
- Chg #2146: Removed `ActiveRelation` class and moved the functionality to `ActiveQuery`.
             All relational queries are now directly served by `ActiveQuery` allowing to use
             custom scopes in relations (cebe)
50

51

Carsten Brandt committed
52
2.0.0-alpha, December 1, 2013
53 54 55
-----------------------------

- Initial release.
56