Releases: formal-php/orm
Releases · formal-php/orm
4.0.0
3.4.1
3.4.0
3.3.0
Added
- Ability to use the comparison
in Matching
in a specification. This allows to build complex queries across different aggregates.
Changed
- SQL columns storing
Formal\ORM\Id
s now use theuuid
type. To use the Cross Aggregate Matching feature with PostgreSQL you must migrate your schema.
3.2.0
3.1.1
Added
Formal\ORM\Definition\Type\PointInTimeType::new()
Deprecated
Formal\ORM\Definition\Type\PointInTimeType::of()
as it uses a non standard string format. Use::new()
instead, but don't forget to migrate your data.
Fixed
- Psalm was complaining of a missing argument when using
PointInTimeType::of()
3.1.0
3.0.0
Added
Formal\ORM\Adapter\Repository::removeAll()
Formal\ORM\Specification\Child\Enum
Changed
- Requires
innmind/specification:~4.0
- Requires
formal/access-layer:~4.0
Removed
Formal\ORM\Adapter\Repository\MassRemoval
, its method has been merged intoFormal\ORM\Adapter\Repository
Fixed
- Ability to remove with a condition on an entity property
2.2.0
Added
Formal\ORM\Adapter\Repository\MassRemoval
- You can match aggregates on optionals via
Formal\ORM\Specification\Just
Formal\ORM\Definition\Type\Support
Changed
- You can now pass a
Specification
toRepository::remove()
to remove multiple aggregates at once - When a
Set
is modified in an aggregate but the resultingSet
contains the same values the orm no longer re-persist the whole collection - The
Contains
attribute now enforce to only be used on properties