Symfony v5.0.2 Release Notes

Release Date: 2019-12-19 // over 4 years ago
  • Changelog (since v5.0.1...v5.0.2)

    • ๐Ÿ› bug #35051 [DependencyInjection] Fix binding tagged services to containers (@nicolas-grekas)
    • ๐Ÿ› bug #35039 [DI] skip looking for config class when the extension class is anonymous (@nicolas-grekas)
    • ๐Ÿ› bug #35049 [ProxyManager] fix generating proxies for root-namespaced classes (@nicolas-grekas)
    • ๐Ÿ› bug #35022 [Dotenv] FIX missing getenv (@mccullagh)
    • ๐Ÿ› bug #35023 [HttpKernel] ignore failures generated by opcache.restrict_api (@nicolas-grekas)
    • ๐Ÿ› bug #35024 [HttpFoundation] fix pdo session handler for sqlsrv (@azjezz)
    • ๐Ÿ› bug #35025 [HttpClient][Psr18Client] Remove Psr18ExceptionTrait (@fancyweb)
    • ๐Ÿ› bug #35028 [TwigBridge] Fix invalid typehint for subject in is_granted Twig function (@emodric)
    • ๐Ÿ› bug #35015 [Config] fix perf of glob discovery when GLOB_BRACE is not available (@nicolas-grekas)
    • ๐Ÿ› bug #35014 [HttpClient] make pushed responses retry-able (@nicolas-grekas)
    • bug #35010 [VarDumper] ignore failing __debugInfo() (@nicolas-grekas)
    • ๐Ÿ› bug #34998 [DI] fix auto-binding service providers to their service subscribers (@nicolas-grekas)
    • ๐Ÿ› bug #34954 [Mailer] Fixed undefined index when sending via Mandrill API (@wulff)
    • ๐Ÿ› bug #33670 [DI] Service locators can't be decorated (@malarzm)
    • ๐Ÿ› bug #35000 [Console][SymfonyQuestionHelper] Handle multibytes question choices keys and custom prompt (@fancyweb)
    • ๐Ÿ› bug #35005 [HttpClient] force HTTP/1.1 when NTLM auth is used (@nicolas-grekas)
    • ๐Ÿ› bug #34707 [Validation][FrameworkBundle] Allow EnableAutoMapping to work without auto-mapping namespaces (@ogizanagi)
    • ๐Ÿ› bug #34996 Fix displaying anonymous classes on PHP 7.4 (@nicolas-grekas)
    • ๐Ÿ› bug #29839 [Validator] fix comparisons with null values at property paths (@xabbuh)
    • ๐Ÿ› bug #34900 [DoctrineBridge] Fixed submitting invalid ids when using queries with limit (@HeahDude)
    • ๐Ÿ› bug #34791 [Serializer] Skip uninitialized (PHP 7.4) properties in PropertyNormalizer and ObjectNormalizer (@vudaltsov)
    • ๐Ÿ› bug #34956 [Messenger][AMQP] Use delivery_mode=2 by default (@lyrixx)
    • ๐Ÿ› bug #34915 [FrameworkBundle] Fix invalid Windows path normalization in TemplateNameParser (@mvorisek)
    • ๐Ÿ› bug #34981 stop using deprecated Doctrine persistence classes (@xabbuh)
    • ๐Ÿ› bug #34904 [Validator][ConstraintValidator] Safe fail on invalid timezones (@fancyweb)
    • ๐Ÿ› bug #34935 [FrameworkBundle][DependencyInjection] Skip removed ids in the lint container command and its associated pass (@fancyweb)
    • ๐Ÿ› bug #34957 [Security] Revert "AbstractAuthenticationListener.php error instead info" (@larzuk91)
    • ๐Ÿ› bug #34922 [FrameworkBundle][Secrets] Hook configured local dotenv file (@fancyweb)
    • ๐Ÿ› bug #34967 [HttpFoundation] fix redis multi host dsn not recognized (@jan Christoph Beyer)
    • ๐Ÿ› bug #34963 [Lock] fix constructor argument type declaration (@xabbuh)
    • ๐Ÿ› bug #34955 Require doctrine/persistence 1.3 (@nicolas-grekas)
    • ๐Ÿ› bug #34923 [DI] Fix support for immutable setters in CallTrait (@Lctrs)
    • ๐Ÿ› bug #34878 [TwigBundle] fix broken FilesystemLoader::exists() with Twig 3 (@dpesch)
    • ๐Ÿ› bug #34921 [HttpFoundation] Removed "Content-Type" from the preferred format guessing mechanism (@yceruto)
    • ๐Ÿ› bug #34886 [HttpKernel] fix triggering deprecation in file locator (@xabbuh)
    • ๐Ÿ› bug #34918 [Translation] fix memoryleak in PhpFileLoader (@nicolas-grekas)
    • ๐Ÿ› bug #34920 [Routing] fix memoryleak when loading compiled routes (@nicolas-grekas)
    • ๐Ÿ› bug #34787 [Cache] Propagate expiry when syncing items in ChainAdapter (@trvrnrth)
    • ๐Ÿ› bug #34694 [Validator] Fix auto-mapping constraints should not be validated (@ogizanagi)
    • ๐Ÿ› bug #34848 [Process] change the syntax of portable command lines (@nicolas-grekas)
    • ๐Ÿ› bug #34862 [FrameworkBundle][ContainerLintCommand] Reinitialize bundles when the container is reprepared (@fancyweb)
    • ๐Ÿ› bug #34896 [Cache] fix memory leak when using PhpFilesAdapter (@nicolas-grekas)
    • ๐Ÿ› bug #34438 [HttpFoundation] Use Cache-Control: must-revalidate only if explicit lifetime has been given (@mpdude)
    • ๐Ÿ› bug #34449 [Yaml] Implement multiline string as scalar block for tagged values (@natepage)
    • ๐Ÿ› bug #34601 [MonologBridge] Fix debug processor datetime type (@mRoca)
    • ๐Ÿ› bug #34842 [ExpressionLanguage] Process division by zero (@tigr1991)
    • ๐Ÿ› bug #34902 [PropertyAccess] forward caught exception (@xabbuh)
    • ๐Ÿ› bug #34903 Fixing bad order of operations with null coalescing operator (@weaverryan)
    • ๐Ÿ› bug #34888 [TwigBundle] add tags before processing them (@xabbuh)
    • ๐Ÿ› bug #34760 [Mailer] Fix SMTP Authentication when using STARTTLS (@DjLeChuck)
    • ๐Ÿ› bug #34762 [Config] never try loading failed classes twice with ClassExistenceResource (@nicolas-grekas)
    • ๐Ÿ› bug #34783 [DependencyInjection] Handle env var placeholders in CheckTypeDeclarationsPass (@fancyweb)
    • ๐Ÿ› bug #34839 [Cache] fix memory leak when using PhpArrayAdapter (@nicolas-grekas)
    • bug #34801 [String] implement __sleep()/__wakeup() on strings (@nicolas-grekas)
    • ๐Ÿ› bug #34782 [String] inline Latin-ASCII rules (@nicolas-grekas)
    • ๐Ÿ› bug #34812 [Yaml] fix parsing negative octal numbers (@xabbuh)
    • ๐Ÿ› bug #34854 [Messenger] gracefully handle missing event dispatchers (@xabbuh)
    • ๐Ÿ› bug #34802 [Security] Check UserInterface::getPassword is not null before calling needsRehash (@dbrekelmans)
    • ๐Ÿ› bug #34788 [SecurityBundle] Properly escape regex in AddSessionDomainConstraintPass (@fancyweb)
    • ๐Ÿ› bug #34859 [SecurityBundle] Fix TokenStorage::reset not called in stateless firewall (@jderusse)
    • ๐Ÿ› bug #34827 [HttpFoundation] get currently session.gc_maxlifetime if ttl doesnt exists (@rafaeltovar)
    • ๐Ÿ› bug #34755 [FrameworkBundle] resolve service locators in debug:* commands (@nicolas-grekas)
    • ๐Ÿ› bug #34832 [Validator] Allow underscore character "_" in URL username and password (@romainneutron)
    • ๐Ÿ› bug #34765 [DoctrineBridge] Removed QueryBuilder type hint in getLoader() (@HeahDude)
    • bug #34811 [TwigBridge] Update bootstrap_4_layout.html.twig missing switch-custom label (@sabruss)
    • ๐Ÿ› bug #34820 [FrameworkBundle][SodiumVault] Create secrets directory only when it is used (@fancyweb)
    • ๐Ÿ› bug #34776 [DI] fix resolving bindings for named TypedReference (@nicolas-grekas)
    • ๐Ÿ› bug #34794 [DependencyInjection] Resolve expressions in CheckTypeDeclarationsPass (@fancyweb)
    • ๐Ÿ› bug #34795 [Routing][ObjectLoader] Remove forgotten deprecation after merge (@fancyweb)
    • ๐Ÿ› bug #34797 [Translation] Fix FileDumper behavior (@yceruto)
    • ๐Ÿ› bug #34738 [SecurityBundle] Passwords are not encoded when algorithm set to "true" (@nieuwenhuisen)
    • ๐Ÿ› bug #34759 [SecurityBundle] Fix switch_user provider configuration handling (@fancyweb)
    • ๐Ÿ› bug #34779 [Security] do not validate passwords when the hash is null (@xabbuh)
    • ๐Ÿ› bug #34786 [SecurityBundle] Use config variable in AnonymousFactory (@martijnboers)
    • ๐Ÿ› bug #34784 [FrameworkBundle] Set the parameter bag as resolved in ContainerLintCommand (@fancyweb)
    • ๐Ÿ› bug #34763 [Security/Core] Fix checking for SHA256/SHA512 passwords (@david Brooks)
    • ๐Ÿ› bug #34757 [DI] Fix making the container path-independent when the app is in /app (@nicolas-grekas)

    [PR] #35055