- The signature of
StorageInterface::resolveStream
method was changed. The $fieldName parameter is now nullable. - the
AdapterInterface
no longer requiresgetObjectFromArgs
method. - the
AdapterInterface::recomputeChangeSet()
acceptsDoctrine\Persistence\Event\LifecycleEventArgs
as argument.
- the internal class
FilenameUtils
has been removed.
- every class marked as
@final
is now final - all properties are now fully type-hinted
- all methods arguments are now fully type-hinted
- all methods have now return types
- all constructors now use property promotion
- all deprecated features were removed
- the new default type for mapping is "attribute". You can still use annotations, but you need an explicit definition (set "annotation" as value for "vich_uploader.metadata.type" config key)
- the service "vich_uploader.current_date_time_helper" has been removed. The
DateTimeHelper
interface has been removed as well.