Symfony News

A week of symfony #536 (3-9 April 2017)

This week Symfony started working on stabilizing the new features introduced for Symfony 3.3, specially the ones related to autowiring. Symfony also added a new Kernel::getProjectDir() method to get the root directory of the project instead of the kernel directory. Lastly, the first blog posts about Symfony 4 were published, outlining the future of the Symfony project.

Symfony development highlights

2.7 changelog:

  • c7163e2: [DependencyInjection] fixed fatal error at ContainerBuilder::compile() if config is not installed
  • a9da8a3: [ExpressionLanguage] provide the expression in syntax errors
  • a2cd63c: fixed more risky tests
  • a200357: [Translation] avoid creating cache files for fallback locales
  • 933835c: [DependencyInjection] fixed the XML schema
  • 2adfb37: [Validator] check for empty host when calling checkdnsrr
  • 0eed690: [ExpressionLanguage] avoid ExpressionLanguage dependency on ctype

2.8 changelog:

  • ee10bf2: [DependencyInjection] don't use auto-registered services to populate type-candidates
  • bad24d3: [DependencyInjection] autowiring and factories are incompatible with each others
  • 91b025a: [DependencyInjection] prevent AutowirePass from triggering irrelevant deprecations

3.2 changelog:

  • 80cea46: [PropertyInfo] supported nullable array or collection
  • 247e797: [PropertyInfo] allow Upper Case property names
  • db8231e: [HttpKernel] fixed forward compat with Request::setTrustedProxies()
  • 91b025a: [DependencyInjection] prevent AutowirePass from triggering irrelevant deprecations

Master changelog:

  • 47740ce: [Workflow] added workflow_marked_places() Twig function
  • 88c587d: [DependencyInjection] don't trigger deprecation for event_dispatcher service
  • 2450449: [DependencyInjection] added ServiceLocatorTagPass::register() to share service locators
  • a146e4d: [FrameworkBundle] returns the kernel instance in KernelTestCase::bootKernel
  • 6e54cdf: [Console] give errors back to error handler if not handled by console.error listeners
  • 54495b2: [Console] allow to catch CommandNotFoundException
  • 2a40b6f: [WebProfiler] fixed race condition in fast Ajax requests
  • 937045c: [Yaml] report deprecations when linting YAML files
  • d33c0ee: [TwigBundle] redesigned the exception pages
  • ab93fea: [DependencyInjection] always autowire "by id" instead of using reflection against all existing services
  • d662b21: [DependencyInjection] restrict autowired registration to "same-vendor" namespaces
  • 3458edf, 49ae724: [DependencyInjection] improved autowiring error messages
  • abb8d2b: [WebServerBundle] added a way to dump current status host/port/address when getting the status
  • 3f07e10: [HttpKernel] dump container logs in Kernel to have them also on errors
  • ec2cc08: [HttpKernel] resolve invokable controllers short notations using ServiceValueResolver
  • f04c0b5: [HttpKernel] skip ContainerAwareInterface::setContainer from service_arguments actions registration
  • 7b8409a: [HttpKernel] added Kernel::getProjectDir()

Newest issues and pull requests

They talked about us


Be trained by Symfony experts - 2017-04-10 Berlin - 2017-04-10 Berlin - 2017-04-12 Berlin


About us

What a Symfony developer should know about the framework: News, Jobs, Tweets, Events, Videos,...

Resources

Find us on Twitter

Find us on Facebook