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

Qiang Xue committed
4 5 6
2.0.0-rc under development
--------------------------

7
- 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)
8
- Chg: Deletion of a record is now also considered successful if the record did not exist. (cebe)
9
- Chg: Requirement changes: Yii now requires elasticsearch version 1.0 or higher (cebe)
10
- Enh #3527: Added `highlight` property to Query and ActiveRecord. (Borales)
Qiang Xue committed
11 12


13 14
2.0.0-beta April 13, 2014
-------------------------
15

Carsten Brandt committed
16
- Bug #1993: afterFind event in AR is now called after relations have been populated (cebe, creocoder)
17
- Bug #2324: Fixed QueryBuilder bug when building a query with "query" option (mintao)
18
- 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)
19
- Enh #1382: Added a debug toolbar panel for elasticsearch (cebe)
Carsten Brandt committed
20
- 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
21
- Enh #2002: Added filterWhere() method to yii\elasticsearch\Query to allow easy addition of search filter conditions by ignoring empty search fields (samdark, cebe)
22
- 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
23
- Chg #1765: Changed handling of ActiveRecord primary keys, removed getId(), use getPrimaryKey() instead (cebe)
24
- Chg #2281: Renamed `ActiveRecord::create()` to `populateRecord()` and changed signature. This method will not call instantiate() anymore (cebe)
25 26 27
- 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)
28

Carsten Brandt committed
29
2.0.0-alpha, December 1, 2013
30 31 32
-----------------------------

- Initial release.