-
Notifications
You must be signed in to change notification settings - Fork 16
/
changelog.txt
100 lines (86 loc) · 3.83 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
1.5.1
-----
- Fixed handling of models when using table prefixes {{ }} (marcovtwout)
- Fixed setTags() was not calling loadTags(). Further on, neededSave() would re-save even though no tags had changed, or not save when empty setTags(array()) was called (marcovtwout)
- Fixed check for empty tag in the for loop while saving in afterSave() (marcovtwout)
- Remove empty tags before handling (marcovtwout)
- Added ability to pass additional parameter to taggedWith() which allows matching ANY tag instead of ALL tags (marcovtwout)
1.5
---
- updateCount now uses proper PK name (RSol)
- added support for custom CDbExpression for finding tags (warden)
1.4
----
- Change CacheID defaults to false. If false don't use cache.
- Fixed phpDoc
- Fixed cache key generation (Sam Dark)
- Fixed English docs (Sam Dark)
- #27: Fixed typos (Sam Dark)
1.3
---
- Tag table primary key is no longer hardcoded as `id` and can be set via `tagTablePk`.
- Additional values inserting support (mitallast).
- Default scope criteria support (mitallast).
- Better criteria support (mitallast).
- Files and classnames are renamed to ETaggableBehavior and EARTaggableBehavior.
- Added criteria support to ETagListWidget.
- More flexibility for ETagListWidget url.
1.2
---
- Fixed getting tags array from string with separator at the end or beginning of line.
- Fixed getting wrong ids when using withTags() or taggedWith().
- ETagListWidget.
- Added getTagsWithModelsCount().
- getAllTagsWithModelsCount now can accept criteria.
- Input is being passed through strip_tags now.
1.1
---
- DBConnection is now saved in a private variable for better perfomance.
- Added tagTableName property that allows customizing name field http://code.google.com/p/yiiext/issues/detail?id=12
- Added tagTableCount property specifying counter field for storing tag count in database http://code.google.com/p/yiiext/issues/detail?id=17
- New subclass EARTaggableBehaviour for using behavior along with Tags model http://code.google.com/p/yiiext/issues/detail?id=13
1.0.2
-----
- New manual section: using taggable with CAutoComplete.
- Renamed __toString to toString since magic was hard to debug in case of failure.
- Fixed more possible cache keys overlap when using multiple tag sets within one model.
1.0.1
-----
- New naming conventions.
1.0
---
- More PHPDoc documentation.
- Fixed possible cache keys overlap when using multiple tag sets within one model.
0.9
---
Warning: this version is not compatible with Yii 1.0.
- Added resetAllTagsCache() and resetAllTagsWithModelsCountCache().
- Fixed getAllTags() and getAllTagsWithModelsCount() cache issues.
- Now tags are saved on save() only if they were changed.
- Extension is now compatible only with Yii 1.1.
- Fixed saving empty tags.
- Fixed caching.
0.8
---
Warning: this version is not backwards compatible to 0.6.
- Now you can set tagId field name for binding table.
- Do not try to delete tag bindings when inserting new record.
- Added taggedWith() alias withTags().
- Removed getCountByTags(), findAllByTags(). Use taggedWith().
- Method chaining: $post->addTags("yii, php")->save();
- New syntax: $posts = Post::model()->taggedWith(array('php', 'yii'))->findAll();
- Added parent:: calls in event handlers.
- Added hasTags() and it's alias hasTag() to check if all tags specified are attached to current model.
- New syntax: echo $post->tags (or by what name behaviour is attached) will print comma separated tags.
- getTags now returns array since implode is really easy to do yourself.
- Removed getTagsArray().
- addTags(), removeTags(), setTags() are now accept both string and array.
- Added addTag() as alias of addTags(), removeTag() as alias of removeTags().
- Some methods are now protected.
- Added $with to findAllByTags().
- getAllTags().
- Unit tests.
- createTagsAutomatically option allows to throw exception when adding nonexisting tag.
0.6
---
- Initial public release.