Skip to content

Releases: Sammaye/MongoYii

5.0.0

13 May 07:36
Compare
Choose a tag to compare

THERE IS A BREAKING CHANGE IN THIS RELEASE, PLEASE READ BELOW BEFORE UPDATING IF YOU ARE USING OLD CODE.

Breaking Change:

  • Relation caching turned on by default now: #169

Added:

  • EMongoCacheDependency: #201

4.2.0

02 May 22:11
Compare
Choose a tag to compare

Added:

  • #210 ability to send in "asc" and "desc" params for the EMongoCriteria sort.

Fixed:

  • #209 relation handling for singular DBRefs

4.1.0

29 Apr 07:03
Compare
Choose a tag to compare

I know I said the next release was going to the relation caching but a fault on my part, when reading time on GitHub, means this is not the case. Instead I will do that release in another month.

Added:

  • #206 findAllByAttributes() to match Yii AR coding.

4.0.3

22 Apr 11:31
Compare
Choose a tag to compare

This is the last release before the fixing of: #169 whereby relations will by default load eagerly and be cached in arrays within the models. The next release, featuring this fix, will be pushed to a 5.0 tag as it will be a breaking change.

PLEASE ENSURE YOU HAVE ACCOUNTED FOR THIS CHANGE IN YOUR CODE.

Fixed:

  • #203 aggregate helper not using the models database connection.

4.0.2

26 Mar 08:51
Compare
Choose a tag to compare

Documentation:

  • #200 Removed upgrade notes. It has been 9 months since the release of 2.x of MongoYii and I doubt anyone is still using 1.x, if they are then they will be advised to automatically upgrade.

4.0.1

27 Feb 09:30
Compare
Choose a tag to compare

Fixed:

  • #199 bug with boolean type being used in compare() function in EMongoCriteria

4.0.0

26 Feb 09:50
Compare
Choose a tag to compare

Changed:

  • #197 The way __get returns exceptions. It will now return exceptions under certain cases when child function return exceptions of their own. This does not effect the schemaless nature of MongoYii however it does mean that exceptions might be thrown where they were not before. Since this is not backwards compatible with previous functionality this release has been pushed to a new major, however, it is not really that major a change.

3.5.0

23 Feb 19:47
Compare
Choose a tag to compare

Fixed:

  • #195 Spelling mistake in documentation

Added:

  • #196 EMongoPagination class

3.4.0

29 Jan 09:00
Compare
Choose a tag to compare

Added:

  • #193 database migrations

3.3.0 Release

21 Jan 08:18
Compare
Choose a tag to compare

Added:

  • #192 a strict parameter for the EMongoSubdocumentValidator to allow it to not care about model rules when returning fields.