Symfony 4.1.2 发布,PHP 框架与可重用 PHP 组件集

Symfony 4.1.2 发布了,Symfony 是一款基于 MVC 架构的 PHP 框架。Symfony 致力于减少重复代码的编写,以加速 Web 应用的开发和维护。Symfony 与许多关系型数据库集成的也非常好,成本也较小。此外,Symfony 致力于在企业背景下创建健壮的应用,同时也给予了开发者强大的配置功能:从文件结构到外部目录,几乎所有的东西都可以自定义。Symfony 也捆绑了一些诸如测试、调试、文档生成等额外的工具来满足企业的开发过程。

此次更新修复了一些 bug,内容如下:

  • bug #28005 [HttpKernel] Fixed templateExists on parse error of the template name (@yceruto)
  • bug #28013 [Messenger] Add missing typehint on chain sender (@sroze)
  • bug #27997 Serbo-Croatian has Serbian plural rule (@kylekatarnls)
  • bug #26193 Fix false-positive deprecation notices for TranslationLoader and WriteCheckSessionHandler (@iquito)
  • bug #27827 [Serializer] Supports nested abstract items (@sroze)
  • bug #27958 [Form] Remaining changes for bootstrap 4 file fields (@apfelbox)
  • bug #27919 [Form] Improve rendering of file field in bootstrap 4 (@apfelbox)
  • bug #27941 [WebProfilerBundle] Fixed icon alignment issue using Bootstrap 4.1.2 (@jmsche)
  • bug #27937 [HttpFoundation] reset callback on StreamedResponse when setNotModified() is called (@rubencm)
  • bug #27927 [HttpFoundation] Suppress side effects in ‘get’ and ‘has’ methods of NamespacedAttributeBag (@webnet-fr)
  • bug #27913 [EventDispatcher] Clear orphaned events on reset (@acasademont)
  • bug #27923 [Form/Profiler] Massively reducing memory footprint of form profiling pages… (@VincentChalnot)
  • bug #27918 [Console] correctly return parameter’s default value on “–” (@seschwar)
  • bug #27826 [Serializer] Fix serialization of items with groups across entities and discrimination map (@sroze)
  • bug #27904 [Filesystem] fix lock file permissions (@fritzmg)
  • bug #27903 [Lock] fix lock file permissions (@fritzmg)
  • bug #27889 [Form] Replace .initialism with .text-uppercase. (@vudaltsov)
  • bug #27902 Fix the detection of the Process new argument (@stof)
  • bug #27885 [HttpFoundation] don’t encode cookie name for BC (@nicolas-grekas)
  • bug #27782 [DI] Fix dumping ignore-on-uninitialized references to synthetic services (@nicolas-grekas)
  • bug #27435 [OptionResolver] resolve arrays (@Doctrs)
  • bug #27728 [TwigBridge] Fix missing path and separators in loader paths list on debug:twig output (@yceruto)
  • bug #27837 [PropertyInfo] Fix dock block lookup fallback loop (@DerManoMann)
  • bug #27848 [Workflow] Fixed BC break (@lyrixx)
  • bug #27758 [WebProfilerBundle] Prevent toolbar links color override by css (@alcalyn)
  • bug #27847 [Security] Fix accepting null as $uidKey in LdapUserProvider (@louhde)
  • bug #27820 [Messenger] Fix a bug when having more than one named handler per message subscriber (@sroze)
  • bug #27834 [DI] Don’t show internal service id on binding errors (@nicolas-grekas)
  • bug #27831 Check for Hyper terminal on all operating systems. (@azjezz)
  • bug #27794 Add color support for Hyper terminal . (@azjezz)
  • bug #27809 [HttpFoundation] Fix tests: new message for status 425 (@dunglas)
  • bug #27618 [PropertyInfo] added handling of nullable types in PhpDoc (@oxan)
  • bug #27659 [HttpKernel] Make AbstractTestSessionListener compatible with CookieClearingLogoutHandler (@thewilkybarkid)
  • bug #27752 [Cache] provider does not respect option maxIdLength with versioning enabled (@Constantine Shtompel)
  • bug #27773 [Serializer] Class discriminator and serialization groups (@sroze)
  • bug #27710 [DependencyInjection] fix handling of empty DI extension configs (@xabbuh)
  • bug #27776 [ProxyManagerBridge] Fix support of private services (bis) (@nicolas-grekas)
  • bug #27714 [HttpFoundation] fix session tracking counter (@nicolas-grekas, @dmaicher)
  • bug #27727 [Routing] Disallow object usage inside Route (@paxal)
  • bug #27736 [Routing] fix too much greediness in host-matching regex (@nicolas-grekas)
  • bug #27747 [HttpFoundation] fix registration of session proxies (@nicolas-grekas)
  • bug #27754 [HttpFoundation] missing namespace for RedisProxy (@Bonfante)
  • bug #27722 Redesign the Debug error page in prod (@javiereguiluz)
  • bug #27716 [DI] fix dumping deprecated service in yaml (@nicolas-grekas)