- fixed bug causing ORM to disable relation graph pointing to Promises in related entities
- more promise related tests
- adds getTarget to RelationInterface
- fixed compatibility issues with PHPUnit8 (no more warnings)
- [bugfix] MtM relation did not load eager relations when selected via promise #94
- added more MtM tests
- a number of performance optimizations by @pine3ree
- laminas hydrators used directly by @pine3ree
zendframework/zend-hydrator
replaced withlaminas/laminas-hydrator
- do not load embedded object when parent not loaded
- minor performance optimizations
- all collection promises are Selectable
- reverted notNull relation logic by @mishfish
- bumped PHPUnit version to 8
- removed Travis tests
- added GitHub Actions
- suppressed PK introspection on Postgres insert queries
- added the support for custom default sources, repositories and mappers by @mrakolice
- [bugfix] embedded relations data was loaded with parent entity even when not required
- simplified query builder creation within joinable loader
- added support for callable
load
option (where alternative) for all relations - added support for where in all relations
- code-style changes (optimizations)
- performance optimizations in Node parsers, Select builder, Typecast
- 33% performance improvement (with updated DBAL)
- the limit exception is not thrown on joined singular relations
- Select doc-block improvement (better IDE integration)
- bugfix: invalid target resolution in lazy-loaded many-to-many relations
- Select methods return typehinted as self instead of $this to improve compatibility with PHPStorm
- the minimum PHP version is set as 7.2 as stated in the documentation
- fixed typo THOUGH => THROUGH, old constants marked as deprecated
- added shortcut to specify relation load constrains using
load
option
- cyclic relations initialization only applied to non-resolved entity references
- bugfix: entity columns and relations are no longer altered if entity fetched from database multiple times #33
- joined filters are always called prior to joined loaders
- ability to reference the column of joined relation in loaded relation where condition while using INLOAD
- added constants for relation fetch methods
Select::SINGLE_QUERY
andSelect::OUTER_QUERY
- added support for Zend/Hydrator 3.0
- Transaction object always empty after
run
method + docs
- added ability to easier query nested relations inside
with
->where
conditions - added ability overwrite default loader method when no options are set
- CS: @invisible renamed to @internal
- DatabaseMapper will not generate new PK if value has been set by user
- minor CS (is_null => === null, !empty => === type)
- ORM->get() and Heap->find() can now accept multiple kv pairs (search is still done using first pair) for future composite key support
- first public release with documentation