Skip to content

2.0.0

Compare
Choose a tag to compare
@hrach hrach released this 21 Feb 11:31
· 965 commits to main since this release

Next major version 2.0.0 is out! 🍎 🎉

  • Read migration guide
  • BC breaks:
    • minimal PHP version is 5.5 [551911b]
    • added abstract IRepository::getEntityClassNames() [494f37e]
    • changed syntax of modifiers in Entities. Read migration guide.
    • added MetadataParserFactory, changed constuctors of SimpleModelFactory and MetadataStorage. [6f424e6]
    • changed signature of PropertyMetadata, added and removed some properties [e904691]
    • removed DbalMapper::createCollection() method, #110 [b3146b0]
    • IEntity::$id must be explicitly defined [5269a58]
    • removed 1:1 relationship (references stored on both sides) and directed 1:1 relationship (reference stored only on one side) renamed to 1:1 relationship. [2ccd6a7]
    • DbalMapper: removed some methods [ba7ea1d]
    • changed signature of IModel, added persist(), remove(), persistAndFlush(), removeAndFlush() methods and internal changes in IRelationshipCollection, IRepository and OneHasMany [39ff10a]
    • refactored StorageRefleciton [00be9d0]
    • Cache instance is required instead of Caching\IStorage [6dac8c7]
  • New features:
    • brand new Modifier parser, #110
    • great rework of recursive persist as cascade persist and remove.
    • added MetadataStorage::addMapping method, #76 [6f424e6]
    • added support for one-sided relationship, #29
    • added warnings if modifiers contain unknown keys [7c82909]
    • many bugfixes and enhancements.
  • See full commit changelog since version 1.1.