Upgrading symfony/routing 2 to 3
Unknownv2.8.52 → v3.4.47
Fetching 117 releases from GitHub…0 / 117
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
PHP requirement changed in v3.3.7: >=5.3.9 → ^5.5.9|>=7.0.8.
API changes
Generated by DepDelta from published PHP source. Not mixed with prose notes.
- removed:
method Route.getPattern() - removed:
method Route.setPattern($pattern) - changed:
method RouteCollectionBuilder.mount($prefix, RouteCollectionBuilder $builder) → method RouteCollectionBuilder.mount($prefix, self $builder) - changed:
method Router.getGeneratorDumperInstance() → protected method Router.getGeneratorDumperInstance() - changed:
method Router.getMatcherDumperInstance() → protected method Router.getMatcherDumperInstance()
- removed:
method Route.getPattern() - removed:
method Route.setPattern($pattern)
- added:
class RoutingResolverPass implements CompilerPassInterface - added:
constructor RoutingResolverPass($resolverServiceId = …, $loaderTag = …) - added:
method RoutingResolverPass.process(ContainerBuilder $container)
- added:
class NoConfigurationException extends ResourceNotFoundException
- removed:
class RecursiveCallbackFilterIterator extends \FilterIterator implements \RecursiveIterator - removed:
constructor RecursiveCallbackFilterIterator(\RecursiveIterator $iterator, $callback) - removed:
method RecursiveCallbackFilterIterator.accept() - removed:
method RecursiveCallbackFilterIterator.getChildren() - removed:
method RecursiveCallbackFilterIterator.hasChildren() - added:
class GlobFileLoader extends FileLoader - added:
final class ProtectedPhpFileLoader extends PhpFileLoader - added:
method GlobFileLoader.load($resource, $type = …) - added:
method GlobFileLoader.supports($resource, $type = …)
- added:
class CollectionConfigurator - added:
class ImportConfigurator - added:
class RouteConfigurator - added:
class RoutingConfigurator - added:
constructor CollectionConfigurator(RouteCollection $parent, $name, self $parentConfigurator = …) - added:
constructor ImportConfigurator(RouteCollection $parent, RouteCollection $route) - added:
constructor RouteConfigurator(RouteCollection $collection, Route $route, $name = …, CollectionConfigurator $parentConfigurator = …) - added:
constructor RoutingConfigurator(RouteCollection $collection, PhpFileLoader $loader, $path, $file) - added:
method CollectionConfigurator.__destruct() - added:
method CollectionConfigurator.add($name, $path) - added:
method CollectionConfigurator.collection($name = …) - added:
method CollectionConfigurator.prefix($prefix) - added:
method ImportConfigurator.__destruct() - added:
method ImportConfigurator.prefix($prefix) - added:
method RoutingConfigurator.collection($name = …) - added:
method RoutingConfigurator.import($resource, $type = …, $ignoreErrors = …)
- added:
method AddTrait.__invoke($name, $path) - added:
method AddTrait.add($name, $path) - added:
method RouteTrait.condition($condition) - added:
method RouteTrait.controller($controller) - added:
method RouteTrait.defaults(array $defaults) - added:
method RouteTrait.host($pattern) - added:
method RouteTrait.methods(array $methods) - added:
method RouteTrait.options(array $options) - added:
method RouteTrait.requirements(array $requirements) - added:
method RouteTrait.schemes(array $schemes) - added:
trait AddTrait - added:
trait RouteTrait
- removed:
class ApacheUrlMatcher extends UrlMatcher - removed:
method ApacheUrlMatcher.match($pathinfo)
- removed:
class ApacheMatcherDumper extends MatcherDumper - removed:
class DumperPrefixCollection extends DumperCollection - removed:
method ApacheMatcherDumper.dump(array $options = …) - removed:
method DumperPrefixCollection.addPrefixRoute(DumperRoute $route) - removed:
method DumperPrefixCollection.getPrefix() - removed:
method DumperPrefixCollection.mergeSlashNodes() - removed:
method DumperPrefixCollection.setPrefix($prefix) - changed:
protected method DumperCollection.setParent(DumperCollection $parent) → protected method DumperCollection.setParent(self $parent) - added:
class StaticPrefixCollection - added:
constructor StaticPrefixCollection($prefix = …) - added:
method StaticPrefixCollection.addRoute($prefix, $route) - added:
method StaticPrefixCollection.getItems() - added:
method StaticPrefixCollection.getPrefix() - added:
method StaticPrefixCollection.optimizeGroups()