Skip to content

Releases: formal-php/orm

4.0.0

31 Oct 15:17
4.0.0
9c80f8c
Compare
Choose a tag to compare

Added

  • Allow to convert types to floating points.

Fixed

  • Cross matching on an aggregate or entity property.

3.4.1

26 Oct 16:45
3.4.1
68b9957
Compare
Choose a tag to compare

Changed

  • Use static closures as much as possible to reduce the probability of creating circular references by capturing $this as it can lead to memory root buffer exhaustion.

3.4.0

02 Oct 17:52
3.4.0
2382c48
Compare
Choose a tag to compare

Added

  • Formal\ORM\Adapter\SQL\ShowCreateTable::ifNotExists()

3.3.0

29 Sep 09:24
3.3.0
9dd02a1
Compare
Choose a tag to compare

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\Ids now use the uuid type. To use the Cross Aggregate Matching feature with PostgreSQL you must migrate your schema.

3.2.0

20 Aug 15:13
3.2.0
2b1c24b
Compare
Choose a tag to compare

Added

  • Formal\ORM\Specification\Has

Fixed

  • Updating an optional entity resulting in no property change no longer raised an exception when stored via SQL nor it generates an invalid document in Elasticsearch

3.1.1

01 Aug 11:54
3.1.1
7f075db
Compare
Choose a tag to compare

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

26 Jul 09:48
3.1.0
9f20f28
Compare
Choose a tag to compare

Added

  • Formal\ORM\Definition\Aggregagtes::mapName()

3.0.0

14 Jul 16:17
3.0.0
85b2b51
Compare
Choose a tag to compare

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 into Formal\ORM\Adapter\Repository

Fixed

  • Ability to remove with a condition on an entity property

2.2.0

08 Jul 06:55
2.2.0
255ce24
Compare
Choose a tag to compare

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 to Repository::remove() to remove multiple aggregates at once
  • When a Set is modified in an aggregate but the resulting Set contains the same values the orm no longer re-persist the whole collection
  • The Contains attribute now enforce to only be used on properties

2.1.0

02 Jun 15:54
2.1.0
1fc076c
Compare
Choose a tag to compare

Added

  • Formal\ORM\Id::for()