Skip to content

Update symfony packages to v5 (major)

Bekerle, Patrizio requested to merge renovate/major-symfony into main

This MR contains the following updates:

Package Type Update Change
symfony/framework-bundle (source) require major ^4.1.12 -> ^5.0.0
symfony/phpunit-bridge (source) require-dev major ^4.4 -> ^5.0

Release Notes

symfony/framework-bundle

v5.2.1

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.2.0...v5.2.1)

  • bug #​39555 Fix NFS detection on macOs (jderusse)
  • bug #​39360 Fix cache:clear with buildDir (jderusse)
  • bug #​39494 Add missing symfony/deprecation-contracts requirement (jderusse)
  • bug #​39478 Fix missing kernel.build_dir on cache clear (chalasr)
  • bug #​39442 Fix enabled key for ratelimiter config (pierredup)
  • bug #​39268 Use decoration instead of class replacement for mock factory (GaryPEGEOT)
  • bug #​39361 acces public-deprecated services via the private container to remove false-positive deprecations (nicolas-grekas)
  • bug #​39357 fix preserving some special chars in the query string (nicolas-grekas)
  • bug #​39313 TextDescriptor::formatControllerLink checked method… (fjogeleit)
  • bug #​39256 Fixed case when the marking store is not defined (lyrixx)

v5.2.0

Compare Source

  • Added framework.http_cache configuration tree
  • Added framework.trusted_proxies and framework.trusted_headers configuration options
  • Deprecated the public form.factory, form.type.file, translator, security.csrf.token_manager, serializer, cache_clearer, filesystem and validator services to private.
  • Added TemplateAwareDataCollectorInterface and AbstractDataCollector to simplify custom data collector creation and leverage autoconfiguration
  • Add cache.adapter.redis_tag_aware tag to use RedisCacheAwareAdapter
  • added framework.http_client.retry_failing configuration tree
  • added assertCheckboxChecked() and assertCheckboxNotChecked() in WebTestCase
  • added assertFormValue() and assertNoFormValue() in WebTestCase
  • Added "--as-tree=3" option to translation:update command to dump messages as a tree-like structure. The given value defines the level where to switch to inline YAML
  • Deprecated the lock.RESOURCE_NAME and lock.RESOURCE_NAME.store services and the lock, LockInterface, lock.store and PersistingStoreInterface aliases, use lock.RESOURCE_NAME.factory, lock.factory or LockFactory instead.

v5.1.10

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.9...v5.1.10)

  • bug #​39494 Add missing symfony/deprecation-contracts requirement (jderusse)
  • bug #​39361 acces public-deprecated services via the private container to remove false-positive deprecations (nicolas-grekas)
  • bug #​39357 fix preserving some special chars in the query string (nicolas-grekas)
  • bug #​39313 TextDescriptor::formatControllerLink checked method… (fjogeleit)

v5.1.9

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.8...v5.1.9)

  • bug #​39072 fix firebase transport factory DI tag type (xabbuh)
  • bug #​38999 autoconfigure behavior describing tags on decorators (xabbuh)
  • bug #​38867 Fixing TranslationUpdateCommand failure when using "--no-backup" (liarco)

v5.1.8

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.7...v5.1.8)

  • bug #​38578 Add missing use statement (jderusse)

v5.1.7

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.6...v5.1.7)

  • bug #​38348 Add Mailjet definition (michaelKaefer)
  • bug #​38343 Revert "bug #​38063 [FrameworkBundle] generate preload.php in src/ to make opcache.preload predictable" (nicolas-grekas)

v5.1.6

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.5...v5.1.6)

  • bug #​38226 loadRoutes shoud receive RoutingPhpFileLoader (grachevko)
  • bug #​38202 Fix xsd definition which prevent to add more than one workflow metadata (l-vo)
  • bug #​38142 adopt src/.preload.php (nicolas-grekas)
  • bug #​38095 Remove unnecessary check for existing request (jschaedl)
  • bug #​38063 generate preload.php in src/ to make opcache.preload predictable (nicolas-grekas)

v5.1.5

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.4...v5.1.5)

  • no changes

v5.1.4

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.3...v5.1.4)

  • bug #​37849 Add missing mailer transports in xsd (l-vo)
  • bug #​37729 fail properly when the required service is not defined (xabbuh)
  • bug #​37705 Added the missing reset tag to mailer.logger_message_listener (vudaltsov)

v5.1.3

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.2...v5.1.3)

  • bug #​37572 set default session.handler alias if handler_id is not provided (Youssef BENHSSAIEN)
  • bug #​37271 preserve dots in query-string when redirecting (nicolas-grekas)
  • bug #​37270 preserve dots in query-string when redirecting (nicolas-grekas)

v5.1.2

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.1...v5.1.2)

  • no changes

v5.1.1

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.1.0...v5.1.1)

  • bug #​37044 Apply ExpressionLanguageProviderPass to router.default (wizhippo)
  • bug #​37154 Remove reference to APP_SECRET in MicroKernelTrait (nicolas-grekas)
  • bug #​36913 fix type annotation on ControllerTrait::addFlash() (ThomasLandauer)
  • bug #​37058 Extension Serializer issue (Korbeil)
  • bug #​37028 Fix enabled_locales behavior (tgalopin)

v5.1.0

Compare Source

  • Removed --no-backup option from translation:update command (broken since 5.0.0)
  • Added link to source for controllers registered as named services
  • Added link to source on controller on router:match/debug:router (when framework.ide is configured)
  • Added the framework.router.default_uri configuration option to configure the default RequestContext
  • Made MicroKernelTrait::configureContainer() compatible with ContainerConfigurator
  • Added a new mailer.message_bus option to configure or disable the message bus to use to send mails.
  • Added flex-compatible default implementation for MicroKernelTrait::registerBundles()
  • Deprecated passing a RouteCollectionBuilder to MicroKernelTrait::configureRoutes(), type-hint RoutingConfigurator instead
  • The TemplateController now accepts context argument
  • Deprecated not setting the "framework.router.utf8" configuration option as it will default to true in Symfony 6.0
  • Added tag routing.expression_language_function to define functions available in route conditions
  • Added debug:container --deprecations option to see compile-time deprecations.
  • Made BrowserKitAssertionsTrait report the original error message in case of a failure
  • Added ability for config:dump-reference and debug:config to dump and debug kernel container extension configuration.
  • Deprecated session.attribute_bag service and session.flash_bag service.

v5.0.11

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.0.10...v5.0.11)

  • bug #​37572 set default session.handler alias if handler_id is not provided (Youssef BENHSSAIEN)
  • bug #​37271 preserve dots in query-string when redirecting (nicolas-grekas)
  • bug #​37270 preserve dots in query-string when redirecting (nicolas-grekas)

v5.0.10

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.0.9...v5.0.10)

  • bug #​36913 fix type annotation on ControllerTrait::addFlash() (ThomasLandauer)

v5.0.9

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.0.8...v5.0.9)

  • bug #​36505 Fix for translation:update command updating ICU messages (artemoliynyk)

v5.0.8

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.0.7...v5.0.8)

  • bug #​36519 debug:autowiring: Fix wrong display when using class_alias (weaverryan)
  • bug #​36506 Fix session.attribute_bag service definition (fancyweb)
  • bug #​36441 fix loading defaults when using the PHP-DSL (nicolas-grekas)
  • bug #​36400 Allowing empty secrets to be set (weaverryan)
  • bug #​36377 Fix scoped client without query option configuration (X-Coder264)
  • bug #​36342 fix compat with Debug component (nicolas-grekas)

v5.0.7

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.0.6...v5.0.7)

  • bug #​36261 revert to legacy wiring of the session when circular refs are detected (nicolas-grekas)

v5.0.6

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.0.5...v5.0.6)

  • bug #​36143 Fix Router Cache (guillbdx)
  • bug #​36103 fix preloading script generation (nicolas-grekas)
  • bug #​36063 start session on flashbag injection (William Arslett)
  • bug #​35912 register only existing transport factories (xabbuh)

v5.0.5

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.0.4...v5.0.5)

  • bug #​35897 add missing Messenger options to XML schema definition (xabbuh)
  • bug #​35830 Skip notifiers tags in UnusedTagsPass (chalasr)
  • bug #​35826 Add correct tags for NullTransportFactory (jschaedl)
  • bug #​35605 fix support for samesite in session cookies (fabpot)
  • bug #​35553 Fix HTTP client config handling (julienfalque)
  • bug #​35161 Check non-null type for numeric type (Arman-Hosseini)

v5.0.4

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.0.3...v5.0.4)

  • bug #​35486 Default value for 'sort' option in translation:update should be 'asc' (versgui)
  • bug #​35502 Fix bug when using single route with XML config (Nyholm)

v5.0.3

Compare Source

Changelog (https://github.com/symfony/framework-bundle/compare/v5.0.2...v5.0.3)

  • bug #​35351 Revert #​34797 "Fixed translations file dumper behavior" and fix #​34713 (yceruto)
  • bug #​35323 Set booted flag to false when test kernel is unset (thiagocordeiro)
  • bug #​35306 Make sure one can use fragments.hinclude_default_template (Nyholm)
  • bug #​35299 Avoid stale-if-error in FrameworkBundle's HttpCache if kernel.debug = true (mpdude)
  • bug #​35247 Only skip .errored. services (fancyweb)
  • bug #​35170 Do not output positive feedback on stderr (fancyweb)
  • bug #​35099 Do not throw exception on value generate key (jderusse)

v5.0.2

Compare Source

v5.0.1

Compare Source

v5.0.0

Compare Source

  • Removed support to load translation resources from the legacy directories src/Resources/translations/ and src/Resources/<BundleName>/translations/
  • Removed ControllerNameParser.
  • Removed ResolveControllerNameSubscriber
  • Removed support for bundle:controller:action to reference controllers. Use serviceOrFqcn::method instead
  • Removed support for PHP templating, use Twig instead
  • Removed Controller, use AbstractController instead
  • Removed Client, use KernelBrowser instead
  • Removed ContainerAwareCommand, use dependency injection instead
  • Removed the validation.strict_email option, use validation.email_validation_mode instead
  • Removed the cache.app.simple service and its corresponding PSR-16 autowiring alias
  • Removed cache-related compiler passes and RequestDataCollector
  • Removed the translator.selector and session.save_listener services
  • Removed SecurityUserValueResolver, use UserValueResolver instead
  • Removed routing.loader.service.
  • Service route loaders must be tagged with routing.route_loader.
  • Added slugger service and SluggerInterface alias
  • Removed the lock.store.flock, lock.store.semaphore, lock.store.memcached.abstract and lock.store.redis.abstract services.
  • Removed the router.cache_class_prefix parameter.
symfony/phpunit-bridge

v5.2.1

Compare Source

Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.2.0...v5.2.1)

  • bug #​39331 Fixed PHPunit 9.5 compatibility (wouterj)
  • bug #​39226 Fix disabling DeprecationErrorHandler from PHPUnit configuration file (fancyweb)

v5.2.0

Compare Source

Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.2.0-RC2...v5.2.0)

  • bug #​38597 Fix qualification of deprecations triggered by the debug class loader (fancyweb)

v5.1.10

Compare Source

Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.1.9...v5.1.10)

  • bug #​39331 Fixed PHPunit 9.5 compatibility (wouterj)
  • bug #​39226 Fix disabling DeprecationErrorHandler from PHPUnit configuration file (fancyweb)

v5.1.9

Compare Source

Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.1.8...v5.1.9)

  • bug #​38597 Fix qualification of deprecations triggered by the debug class loader (fancyweb)
  • bug #​38971 fix replaying skipped tests (nicolas-grekas)
  • bug #​38921 Fixed crash on Windows with PHP 8 (villfa)
  • bug #​38895 Fix wrong check for exporter in ConstraintTrait (alcaeus)

v5.1.8

Compare Source

Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.1.7...v5.1.8)

  • bug #​38681 Support PHPUnit 8 and PHPUnit 9 in constraint compatibility trait (alcaeus)
  • bug #​38680 Support new expect methods in test case polyfill (alcaeus)
  • bug #​38679 Add missing exporter function for PHPUnit 7 (alcaeus)
  • bug #​38444 fix running parallel tests with phpunit 9 (nicolas-grekas)

v5.1.7

Compare Source

Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.1.6...v5.1.7)

  • bug #​38384 Fix Deprecation file when it comes from the TestsListener (fancyweb)
  • bug #​38336 Fixed class_alias() for PHPUnit\Framework\Error\Error (stevegrunwell)

v5.1.6

Compare Source

Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.1.5...v5.1.6)

  • bug #​38169 Internal classes are not legacy (derrabus)
  • bug #​38094 Skip internal classes in CoverageListenerTrait (san

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading