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

4 5 6 7 8 9
2.0.3 under development
-----------------------

- no changes in this release.


Qiang Xue committed
10 11
2.0.2 January 11, 2015
----------------------
Qiang Xue committed
12

13
- Enh: Added `ActiveFixture` class for testing fixture support for elasticsearch (cebe, viilveer)
Qiang Xue committed
14 15


Qiang Xue committed
16
2.0.1 December 07, 2014
Qiang Xue committed
17 18
-----------------------

19
- Bug #5662: Elasticsearch AR updateCounters() now uses explicitly `groovy` script for updating making it compatible with ES >1.3.0 (cebe)
20
- Bug #6065: `ActiveRecord::unlink()` was failing in some situations when working with relations via array valued attributes (cebe)
21 22
- 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
23 24


Qiang Xue committed
25 26
2.0.0 October 12, 2014
----------------------
Qiang Xue committed
27

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


31 32
2.0.0-rc September 27, 2014
---------------------------
Qiang Xue committed
33

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


49 50
2.0.0-beta April 13, 2014
-------------------------
51

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

65

Carsten Brandt committed
66
2.0.0-alpha, December 1, 2013
67 68 69
-----------------------------

- Initial release.
70