orm

PHP DataMapper, ORM

MIT License

Downloads
526.9K
Stars
1.2K
Committers
27

Bot releases are hidden (Show)

orm - 1.8.1

Published by roxblnfk almost 3 years ago

What's Changed

  • Add the STI discriminator autoadding in the Schema by @gam6itko (#278)
  • Extract origin in the HasMany::queue() when it's instance of Collection by @roxblnfk (#277)
  • Fix lazy loading sorting by @msmakouz (#300)
  • Up min version of laminas-hydrator by @msmakouz (#310)

New Contributors

Full Changelog: https://github.com/cycle/orm/compare/v1.8.0...v1.8.1

orm - 2.0.0

Published by roxblnfk almost 3 years ago

  • Minimal PHP version is 8.0
  • Composited keys
  • 'Joined Table Inheritance' and 'Single Table Inheritance'
  • Added ProxyMapper (Cycle\Orm\Mapper\Mapper)
  • Supporting for arrays/Doctrine/Laravel or custom collections in HasMany and ManyToMany relations
  • Typecasting moved to Mappers
  • Added Typecast handlers with Castable/Uncastable interfaces
  • Added Entity Manager and Unit Of Work instead of Cycle\ORM\Transaction
  • A lot of Interfaces are changed
orm - v1.8.0

Published by roxblnfk almost 3 years ago

  • Added ORM::with. Other ORM::with* methods marked as deprecated (#257)
  • Better compatibility between ConstrainInterface and ScopeInterface (#271)
orm - v1.7.1

Published by roxblnfk almost 3 years ago

  • Fixed Node::getChanges() when a key in $current argument is undefined (#238)
orm - v1.7.0

Published by roxblnfk almost 3 years ago

  • Update the Node data comparison mechanism (#235)
  • Fix Entity data comparison with objects in fields (#234)
  • Add ability for relations to independently determine related value changing (#227)
orm - v1.6.1

Published by roxblnfk about 3 years ago

  • Prevent repeating entity hydration in the 'has many' relation
orm - v1.6.0

Published by roxblnfk about 3 years ago

  • Added Scope classes and deprecations for Constrain classes (#209)
orm - v1.5.1

Published by roxblnfk about 3 years ago

  • Hotfix: missing type casting to string for primary key (#204)
orm - v1.5.0

Published by roxblnfk over 3 years ago

  • Hotfix: fixed type assertions for mapped criteria keys (#187)
  • Hotfix: inner keys naming in morphed relations (#192)
  • Refactor: prevent repeating entity hydration in the Many to Many relations (#188)
  • Added deprecation for SchemaInterface::CONSTRAIN. Use SchemaInterface::SCOPE instead (#194)
orm - v1.4.2

Published by SerafimArts over 3 years ago

  • Hotfix: PK changes not tracked (#179)
  • Better heap sync (#180)
orm - v1.4.1

Published by SerafimArts over 3 years ago

  • Fix inserting empty entities by @roxblnfk (#175)
orm - v1.4.0

Published by wolfy-j over 3 years ago

  • Added support of Doctrine/Annotations v2 by @roxblnfk
  • Bugfix: prevent merge nodes with same roles when initializing pivot entity by @hustlahusky
  • Bugfix: RefersTo and BelongTo relations innerKey naming error by @roxblnfk
  • Added 'orderBy' option for relations by @roxblnfk
  • Fixed ID mapping column is set and differs from the field name by @roxblnfk
orm - v1.3.3

Published by wolfy-j over 3 years ago

  • fixed issue with redundant UPDATE when updating entity state in cyclic relations (related to TimestampedMapper)
  • fixed issue causing typed (7.4+) entities to fail in cycling many to many relations
  • entity re-load refreshes the entity state and relations instead of keeping the original entity
  • minor optimizations in many to many relations
  • added PHP8 test pipelines
orm - v1.3.2

Published by wolfy-j over 3 years ago

  • fixes hydration of typed properties by bumping laminas hydrator to v4 by @roxblnfk
orm - v1.3.1

Published by wolfy-j almost 4 years ago

  • bugfix: column mapping for embedded entities now excludes custom properties by @thenotsoft
orm - v1.3.0

Published by SerafimArts almost 4 years ago

  • Bump spiral dependency to 2.7+
orm - v1.2.17

Published by wolfy-j almost 4 years ago

  • allows LEFT JOIN for ManyToMany loader
orm - v1.2.16

Published by wolfy-j almost 4 years ago

  • added the ability to use objects as Heap keys by @thenotsoft
orm - v1.2.15

Published by wolfy-j almost 4 years ago

  • fixes loss of pivot context on pivoted collection clone
orm - v1.2.14

Published by wolfy-j almost 4 years ago

  • improved UUID serialization in Heap by @thenotsoft