Releases: Sammaye/MongoYii
Releases · Sammaye/MongoYii
8.1.0
8.0.2
8.0.1
8.0.0
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
Breaking Change:
- #223 the
populateRecord
functions inEMongoDocument
andEMongoModel
no longer directly set the variable ($this->$name
) for the magic__set
to be called but instead directly callsetAttributes()
which behaves the same as Yii1's updated implementation here: https://github.com/yiisoft/yii/blob/master/framework/db/ar/CActiveRecord.php#L1861
This change will break some peoples functionality.
6.2.0
6.1.0
6.0.0
Changed:
- #219 Behaviour of
addOrCondition()
inEMongoCriteria
changed to create nested$or
s 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.