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

Qiang Xue committed
4 5 6 7 8 9
2.0.2 under development
-----------------------

- no changes in this release.


Qiang Xue committed
10
2.0.1 December 07, 2014
Qiang Xue committed
11 12
-----------------------

13
- Bug #5662: Elasticsearch AR updateCounters() now uses explicitly `groovy` script for updating making it compatible with ES >1.3.0 (cebe)
14
- Bug #6065: `ActiveRecord::unlink()` was failing in some situations when working with relations via array valued attributes (cebe)
15 16
- Enh #5758: Allow passing custom options to `ActiveRecord::update()` and `::delete()` including support for routing needed for updating records with parent relation (cebe)
- Enh: Add support for optimistic locking (cebe)
Qiang Xue committed
17 18


Qiang Xue committed
19 20
2.0.0 October 12, 2014
----------------------
Qiang Xue committed
21

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


25 26
2.0.0-rc September 27, 2014
---------------------------
Qiang Xue committed
27

28
- Bug #3587: Fixed an issue with storing empty records (cebe)
Carsten Brandt committed
29
- Bug #4187: Elasticsearch dynamic scripting is disabled in 1.2.0, so do not use it in query builder (cebe)
30
- Enh #3527: Added `highlight` property to Query and ActiveRecord. (Borales)
31
- Enh #4048: Added `init` event to `ActiveQuery` classes (qiangxue)
Carsten Brandt committed
32
- Enh #4086: changedAttributes of afterSave Event now contain old values (dizews)
Carsten Brandt committed
33
- Enh: Make error messages more readable in HTML output (cebe)
34
- Enh: Added support for query stats (cebe)
35
- Enh: Added support for query suggesters (cebe, tvdavid)
Carsten Brandt committed
36
- Enh: Added support for delete by query (cebe, tvdavid)
37
- Chg #4451: Removed support for facets and replaced them with aggregations (cebe, tadaszelvys)
38
- 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)
39
- Chg: Deletion of a record is now also considered successful if the record did not exist. (cebe)
40
- Chg: Requirement changes: Yii now requires elasticsearch version 1.0 or higher (cebe)
Qiang Xue committed
41 42


43 44
2.0.0-beta April 13, 2014
-------------------------
45

Carsten Brandt committed
46
- Bug #1993: afterFind event in AR is now called after relations have been populated (cebe, creocoder)
47
- Bug #2324: Fixed QueryBuilder bug when building a query with "query" option (mintao)
48
- 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)
49
- Enh #1382: Added a debug toolbar panel for elasticsearch (cebe)
Carsten Brandt committed
50
- 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
51
- Enh #2002: Added filterWhere() method to yii\elasticsearch\Query to allow easy addition of search filter conditions by ignoring empty search fields (samdark, cebe)
52
- 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
53
- Chg #1765: Changed handling of ActiveRecord primary keys, removed getId(), use getPrimaryKey() instead (cebe)
54
- Chg #2281: Renamed `ActiveRecord::create()` to `populateRecord()` and changed signature. This method will not call instantiate() anymore (cebe)
55 56 57
- 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)
58

59

Carsten Brandt committed
60
2.0.0-alpha, December 1, 2013
61 62 63
-----------------------------

- Initial release.
64