This file will track changes to public interfaces between 2 major versions.
- PHP required version is now 5.5
- Cache data are incompatibles with previous major version, you should clean your cache data
- Cache interface is now provided by Doctrine/Cache, you need to rewrite all your code using CacheInterface or check if Doctrine/Cache provides an implementation for the cache datastore you need.
- Serializers Bool are renamed to Boolean for PHP7 compatibility So you should check your repository if you use CCMBenchmark\Ting\Driver\Pgsql\Serializer\Bool or CCMBenchmark\Ting\Driver\Mysqli\Serializer\Bool change Bool to Boolean
- Metadata was provided by Repository, they can now provided by any class, but you must now implement MetadataInitializer
- DriverInterface:
- New
setName
method
- New
- ResultInterface:
- Removed method
dataSeek
- Removed method
format
- Removed Constructor
- Added setter
setConnectionName
- Added setter
setDatabase
- Added setter
setResult
- Added accessor
getConnectionName
- Added accessor
getDatabase
- Added method
getNumRows
- Removed method
- StatementInterface :
- Added Constructor
- CollectionInterface:
set(\Iterator $result)
changed toset(ResultInterface $result)
- Renamed method
toArray
totoCache
- Renamed method
fromArray
tofromCache
- Now implement
IteratorAggregate
andCountable
- Removed all methods
rewind
,current
,key
,next
,valid
,count
,add
- HydratorInterface:
- Now implement
IteratorAggregate
,Countable
- Old method
hydrate
is nowsetResult
with a single argumentResultInterface
- Now implement
- UnitOfWork
manage($entity)
changed tomanage(NotifyPropertyInterface $entity)
isManaged($entity)
changed toisManaged(NotifyPropertyInterface $entity)
isNew($entity)
changed toisNew(NotifyPropertyInterface $entity)
pushSave($entity)
changed topushSave(NotifyPropertyInterface $entity)
shouldBePersisted($entity)
changed toshouldBePersisted(NotifyPropertyInterface $entity)
propertyChanged($entity, $propertyName, $oldValue, $newValue)
changed topropertyChanged(NotifyPropertyInterface $entity, $propertyName, $oldValue, $newValue)
isPropertyChanged($entity, $propertyName)
changed toisPropertyChanged(NotifyPropertyInterface $entity, $propertyName)
detach($entity)
changed todetach(NotifyPropertyInterface $entity)
pushDelete($entity)
changed topushDelete(NotifyPropertyInterface $entity)
shouldBeRemoved($entity)
changed toshouldBeRemoved(NotifyPropertyInterface $entity)
- PropertyListenerInterface
propertyChanged($entity, $propertyName, $oldValue, $newValue)
changed topropertyChanged(NotifyPropertyInterface $entity, $propertyName, $oldValue, $newValue)