- The
AutoRouteManager
constructor now requires anUriContextCollectionBuilder
.
- The
uri_schema
option now requires an array of uri schema's instead of a single string.
-
The argument of the
ContentMethodProvider
constructor has been changed to use the new SlugifierApi interface. -
The
configureOptions()
method argument has been changed fromOptionsResolverInterface
toOptionsResolver
. -
An empty or
/
token value will now trigger an exception. Use theallow_empty
option to allow empty token values.
-
The typehint of
setRedirectTarget()
has been removed. -
The
setAutoRouteTag()
/getAutoRouteTag()
methods have been renamed tosetLocale()
/getLocale()
. -
The
getAutoRouteByTag()
has been renamed togetAutoRouteByLocale()
.
AdapterInterface::translateObject()
has been changed to return the translated object instead of modifying it by reference.
- The
subjectObject
andtranslatedSubjectObject
with their related methods are renamed tosubject
andtranslatedSubject
.
A lot of previously protected fields and some methods where moved to private, as they are not meant to represent part of the contract. If you have a valid use case to extend one of the classes, please explain in a github issue and we will see whether that property should be made protected or whether ther is a cleaner sulution.