Skip to content

Releases: Sammaye/MongoYii

8.1.0

27 Oct 09:13
Compare
Choose a tag to compare

Added:

  • #235 selectDB() which allows you to change and select a new global database without having to do a setDB() and then a getDB()

8.0.2

29 Sep 12:41
Compare
Choose a tag to compare

Fixed:

  • #233 PHP 5.4+ only array syntax fixed to work with all versions

8.0.1

17 Sep 14:21
Compare
Choose a tag to compare

Fixed:

  • #231 MongoException not in class map

8.0.0

02 Sep 13:00
Compare
Choose a tag to compare

Fixed:

  • #225 Caching in general, now it should work as stated in the general Yii documentation, refer to MongoYiis documentation for understanding on how to use it

Added:

  • #226 Exception for when the Mongo PHP driver is not loaded telling you to download and install it

Changed:

  • #227 The mongodb component can be specified through an anon function witin the models by simply overriding getMongoComponent()
  • #228 converted all CDbExceptions to EMongoExceptions for better compliance and standardisation

Could cause backwards bugs:

  • #229 Completely reformatted the code to make use of modern code styling principles, this should not cause a problem and I have fully unit tested the code but please keep this in mind.

7.0.0

29 Jul 07:37
Compare
Choose a tag to compare

Breaking Change:

This change will break some peoples functionality.

6.2.0

28 Jul 08:18
Compare
Choose a tag to compare

Added:

  • #222 populateRecord() for EMongoModel to make subdocument handling easier

6.1.0

08 Jul 16:33
Compare
Choose a tag to compare

Fixed:

  • #220 PHPUnit 4.x compatibility

6.0.0

01 Jul 10:41
Compare
Choose a tag to compare

Changed:

  • #219 Behaviour of addOrCondition() in EMongoCriteria changed to create nested $ors in $and conditions

This will break some peoples code and is not backwards compatible with the old way this function worked.

Please try and have MongoDB 2.6 before using the new functionality since before then index usage of this function will be limited, if none existent.

5.1.0

01 Jul 10:50
Compare
Choose a tag to compare

This is a replacement to 5.1 which was incorrectly named.

Please use this tag instead of 5.1.

5.0.1

15 May 13:35
Compare
Choose a tag to compare

Fixed:

  • #216 problems with using username and password within the driver constructor options. It was trying to authenticate with the admin database.