- Requires
innmind/specification:~4.0
Sign::contains
,Sign::startsWith
andSign::endsWith
would not yield the expected result when containing special characters\
,_
and%
(as they're special pattern characters), these characters are now escaped so it would exactly match
- Support for
innmind/immutable
5
- Support for PHP
8.1
- Fix loading non lazy sequences when using a fetch join
Innmind\Doctrine\Matching::lazy()
Innmind\Doctrine\Matching::map()
Innmind\Doctrine\Repository::count()
the specification argument is now optional (it will count all entities)
Innmind\Doctrine\Matching::drop()
,take()
andsort()
no longer lose the type of object
Innmind\Doctrine\Repository::count()
Innmind\Doctrine\Id::of()
named constructor
Innmind\Doctrine\Sort
Innmind\Doctrine\Matching
- The callable passed to
Innmind\Doctrine\Manager::mutate
andInnmind\Doctrine\Manager::transaction
must return an instance ofInnmind\Immutable\Either
Innmind\Doctrine\Id
is nowfinal
Innmind\Doctrine\Id::new
now expect theclass-string
of the entity it is forInnmind\Doctrine\Manager
constructor is now private, use::of
named constructor insteadInnmind\Doctrine\Repository::get
now returns aInnmind\Immutable\Maybe
instead of throwing an exception- Update
innmind/immutable
to version~4.0
Innmind\Doctrine\Repository::matching()
now returns an instance ofInnmind\Doctrine\Matching
Innmind\Doctrine\Repository::all()
now returns an instance ofInnmind\Doctrine\Matching
- Update
innmind/specification
to version~3.0
Innmind\Doctrine\Sequence
Innmind\Doctrine\Sequence\Concrete
Innmind\Doctrine\Sequence\DeferFindBy
Innmind\Doctrine\Sequence\DeferQuery
Innmind\Doctrine\unwrap
- Support for php
7.4
and8.0