Skip to content

Commit

Permalink
Added since v1.3.6 docblocks, updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
canni committed Jan 23, 2011
1 parent 2accaf0 commit 83e2316
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 27 deletions.
13 changes: 7 additions & 6 deletions README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ This is the 1.3.6 release

## Added in this release:

- A lot of BUGs fixed, improved code readability, better in-code documentation, better exception handling
- Added support for PHP Mongo driver versions below 1.0.5
- **Ability to do *Extreme Efficent* document partial updates, that make use of MongoDB `$set` operator/feature**
- Support for partial loading of documents from DB
- Improved EEmbeddedArraysBehavior class implementation, with cache support
- Added Gii MongoCRUD *light* template, that will produce one index view instead of two admin/index views pair
- Few annoying bugs fixed
- Documentation corrects
- **Added `EMongoPartialDocument` class, that supports full-featured partial loading of documents from DB**
- **Added fixtures manager, that can replace the Yii default one, and work with Mongo model**

## The Key Feature List:

Expand Down Expand Up @@ -48,6 +46,9 @@ This is the 1.3.6 release
- *Support to have different models in single collection!*
- automated efficient index definition for collections, per model
- Support "Soft" documents, documents that do not have fixed list of attributes
- **Ability to do *Extreme Efficent* document partial updates, that make use of MongoDB `$set` operator/feature**
- Support for PHP Mongo driver versions below 1.0.5
- Support for partial loading of documents from DB

## Limitations:
- The main limitations are only those present in MongoDB itself, like the 4mb data transfer limit. But That's not a big deal either.
Expand Down
5 changes: 5 additions & 0 deletions doc/input/en/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ This is the **1.3.6** release

New features in 1.3.6

- Few annoying bugs fixed
- Documentation corrects
- **Added `EMongoPartialDocument` class, that supports full-featured partial loading of documents from DB**
- **Added fixtures manager, that can replace the Yii default one, and work with Mongo model**

New features in 1.3.5

- A lot of BUGs fixed, improved code readability, better in-code documentation, better exception handling
Expand Down
3 changes: 2 additions & 1 deletion extra/EMongoPartialDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
* @version 1.3
* @category ext
* @package ext.YiiMongoDbSuite
*
* @since v1.3.6
*/

/**
* EMongoPartialDocument
*
* @property-read array $loadedFields
* @property-read array $unloadedFields
* @since v1.3.6
*/
abstract class EMongoPartialDocument extends EMongoDocument
{
Expand Down
22 changes: 12 additions & 10 deletions test/EMongoDbFixtureManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
/**
* EMongoDbFixtureManager
*
* @author Philippe Gaultier <[email protected]>
* @copyright 2010-2011 Ibitux
* @license http://www.yiiframework.com/license/ BSD license
* @category tests
* @package ext.YiiMongoDbSuite.tests
* @author Philippe Gaultier <[email protected]>
* @copyright 2010-2011 Ibitux
* @license http://www.yiiframework.com/license/ BSD license
* @category tests
* @package ext.YiiMongoDbSuite.tests
* @since v1.3.6
*/

/**
Expand All @@ -32,11 +33,12 @@
* the database. If this file is not found, all available fixtures will be loaded
* into the database.
*
* @author Philippe Gaultier <[email protected]>
* @copyright 2010-2011 Ibitux
* @license http://www.yiiframework.com/license/ BSD license
* @category tests
* @package ext.YiiMongoDbSuite.tests
* @author Philippe Gaultier <[email protected]>
* @copyright 2010-2011 Ibitux
* @license http://www.yiiframework.com/license/ BSD license
* @category tests
* @package ext.YiiMongoDbSuite.tests
* @since v1.3.6
*/
class EMongoDbFixtureManager extends CApplicationComponent
{
Expand Down
22 changes: 12 additions & 10 deletions test/EMongoDbTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
*
* base class for unit testing
*
* @author Philippe Gaultier <[email protected]>
* @copyright 2010-2011 Ibitux
* @license http://www.yiiframework.com/license/ BSD license
* @category tests
* @package ext.YiiMongoDbSuite.tests
* @author Philippe Gaultier <[email protected]>
* @copyright 2010-2011 Ibitux
* @license http://www.yiiframework.com/license/ BSD license
* @category tests
* @package ext.YiiMongoDbSuite.tests
* @since v1.3.6
*/

Yii::import('system.test.CDbTestCase');
Expand All @@ -18,11 +19,12 @@
*
* Right now, EMongDbTestCase is identical to CDbTestCase.
*
* @author Philippe Gaultier <[email protected]>
* @copyright 2010-2011 Ibitux
* @license http://www.yiiframework.com/license/ BSD license
* @category tests
* @package ext.YiiMongoDbSuite.tests
* @author Philippe Gaultier <[email protected]>
* @copyright 2010-2011 Ibitux
* @license http://www.yiiframework.com/license/ BSD license
* @category tests
* @package ext.YiiMongoDbSuite.tests
* @since v1.3.6
*/
abstract class EMongoDbTestCase extends CDbTestCase
{
Expand Down

0 comments on commit 83e2316

Please sign in to comment.