changelog.txt 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Title: Changelog
  2. Author: Dariusz Górecki <darek.krk@gmail.com>
  3. ---
  4. This is the **1.3.6** release
  5. New features in 1.3.6
  6. - Few annoying bugs fixed
  7. - Documentation corrects
  8. - **Added `EMongoPartialDocument` class, that supports full-featured partial loading of documents from DB**
  9. - **Added fixtures manager, that can replace the Yii default one, and work with Mongo model**
  10. - **Ability to do massive [partial updates of multiple documents][advanced.partial-batch-update]**
  11. New features in 1.3.5
  12. - A lot of BUGs fixed, improved code readability, better in-code documentation, better exception handling
  13. - Added support for PHP Mongo driver versions below 1.0.5
  14. - **Ability to do *Extreme Efficent* document [partial updates][advanced.partial-update], that make use of MongoDB `$set` operator/feature**
  15. - Support for partial loading of documents from DB
  16. - Improved EEmbeddedArraysBehavior class implementation, with cache support
  17. - Added Gii MongoCRUD *light* template, that will produce one index view instead of two admin/index views pair
  18. New features in 1.3.4
  19. - Added "Soft" Documents support, soft documents do not have fixed attribute lists, for more info see [soft models section][advanced.soft-models]
  20. - Added support for global temporary folder used by GridFS
  21. - Added missing deleteByPk method to `EmongoDocument`
  22. - Added support for generating Mongo models from existing SQL tables, see [Gii section][gii#model]
  23. New features in 1.3.3
  24. - Ability to set FSync and Safe flag on different scopes, see the [Write queries flags][advanced.write-flags] documentation part
  25. - **Ability to use efficient Cursors instead of raw array, returned by the findAll* methods** see [Use Cursor Flag][special#useCursorFlag] documentation part
  26. New features in 1.3.2
  27. - Fixed bug that find* methods don't accept criteria in array format
  28. - Lazy loading/creating of embedded documents
  29. - Little performance boost, save embedded documents configs in static array
  30. New features in 1.3.1
  31. - Fixed few major bugs in EMongoCriteria class
  32. - *Bugfixes to criteria object had forced to change the criteria object creation from array, please see the [updated doc][querying.criteria-object#array] for it*
  33. - Fixed bug that in massive assign way, embedded documents always used only safe attributes
  34. - Setup of PHPUnit testing framework
  35. - Written test cases for EMongoDB class and EMongoCriteria class
  36. New features in 1.3
  37. - MongoDB [GridFS feature support][advanced.gridfs], thanks to work of: Jose Martinez and Philippe Gaultier
  38. New features in 1.2.3
  39. - Gii CRUD generator, now generates advanced search form in admin (like in regular Yii CRUD generator)
  40. - Search form now supports comparsion operators ( > | < | >= | <= | <> | != | == | = )
  41. - In v1.2.2 all search attributes where treated as a string regex, now you can test numbers to, just juse comparsion operators, example:
  42. - search for '1234' will try to find a string matching regexp /1234/i (this will not work if field is numeric)
  43. - search for '= 1234' will try to find numberic value 1234
  44. - search for '>= 1234' will try to find any record with field greater or equals numeric value 1234
  45. New features in 1.2.2
  46. - Magic method search() delivered with every EMongoDocument object
  47. - Gii CRUD generator now uses search method, to provide text search in admin view (by default using case-insensitive regexp)
  48. - EMongoDocument search() method has one parameter:
  49. - $caseSensitive true|false, default to false, whathever to use case-sensitive string comparsion
  50. New features in 1.2.1
  51. - **Support for [generating CRUD][gii#crud] for EMongoDocument models!**
  52. - Few minor bug fixes
  53. New features in 1.2
  54. - Support for using any other than [_id field as a Primary Key][advanced.primary-key#ownpk]
  55. - Better names scopes handling, support for default scope
  56. - *Support to have different models in single collection! see [Multimodel collection topic][special.multimodel]*
  57. - Better memory management, now there is only one collection object instance, per model
  58. New features in 1.1
  59. - [automated efficient index][advanced.indexing] definition for collections, per model
  60. New features in 1.0:
  61. - [Named scopes][advanced.named-scopes] just like in AR
  62. - Very easy to use [criteria object][querying.criteria-object], you don't have to create complex MongoDB query arrays!
  63. - Better exeption handling
  64. - A lot more PHPDocs in code
  65. Features:
  66. - Support of using Class::model()->find / findAll / count / countByAttributes and other Yii ActiveRecord syntax
  67. - Support of schema-less documents with Yii standard rules and validation features
  68. - Endless Embedded/Nested document support (Embedded documents are their own Model class with their own rules and other methods.
  69. - (almost, limited only by MongoDB 4MB limit of single document) endless document embedding/nesting
  70. - Ready to go out-of-box *EFFICIENT* DataProvider, witch use native php db driver sort, limit and offset features for returning results!
  71. - Records and embedded documents inherit from CModel, so you can use every class witch can handle of CModel (ie: Gii form generator)
  72. - [relation support *idea/concept/example*][advanced.relations]