Software-update: Symfony 4.0.0 / 3.4.0

Symfony is een php-webapplicatieframework en is beschikbaar onder de mit-licentie. Naast een framework biedt Symfony ook een filosofie, methodiek en community, ondersteund door SensioLabs. Op ons forum zijn er ook verschillende topics over terug te vinden. De ontwikkelaars hebben versies 4.0.0 en 3.4.0 uitgebracht met de volgende aankondigingen:

Hello Symfony 4!

It's here! I am beyond excited to welcome today's release of Symfony 4! This is not just a new major version: it's an entirely reimagined developer experience. You will love working with Symfony 4:
  • Automated package installation with Symfony Flex
  • Auto-registered & autowired services to keep you coding, not configuring
  • Micro: a new Symfony 4 app is 70% smaller than Symfony 3. Symfony is a micro-framework out-of-the-box!
  • Performance: We've optimized and re-optimized every part of Symfony
  • Conventions: A Symfony 4 app has a smaller directory structure, less "Symfony-ideas" and uses more standard ideas.
And so many more features, including the MakerBundle for code generation and Webpack Encore for professional frontend assets.

Ready to get started! Just run:
composer create-project symfony/skeleton my_project

And then follow the Setup Documentation. Have fun!

An Immense Community Effort
I want to thank the many people who contributed to this huge effort, which included 3,000 commits from more than 300 people over just the past year on the Symfony repository. The documentation has also been overhauled with over 25k lines changed in the last six months! Thanks to the passion from the community, Symfony is truly in a Renaissance.

Let's Upgrade!
For existing users, as always, thanks to the Backwards Compatibility Promise and continuous upgrade path (i.e. upgrading a major version is easy), you'll be able to migrate your apps to the new version, safely, and at your own pace. See the UPGRADE log for details on changes.

The biggest change (which is optional) is to move your project to the new Symfony 4 directory structure so that you can take advantage of Symfony Flex. For details, read Upgrading Existing Applications to Flex. We'll continue updating that page to contain the easiest and safest ways to upgrade.

Also many of the community bundles have already been updated and will work on your Symfony 4 application. But, we're still working to add support everywhere.

Symfony 3.4.0 released

Symfony 3.4.0 has just been released. Here is a list of the most important changes:
  • bug #25220 [HttpFoundation] Add Session::isEmpty(), fix MockFileSessionStorage to behave like the native one
  • bug #25209 [VarDumper] Dont use empty(), it chokes on eg GMP objects
  • bug #25200 [HttpKernel] Arrays with scalar values passed to ESI fragment renderer throw deprecation notice
  • bug #25201 [HttpKernel] Add a better error messages when passing a private or non-tagged controller
  • bug #25217 [Dotenv] Changed preg_match flags from null to 0
  • bug #25180 [DI] Fix circular reference when using setters
  • bug #25204 [DI] Clear service reference graph
  • bug #25203 [DI] Fix infinite loop in InlineServiceDefinitionsPass
  • bug #25185 [Serializer] Do not cache attributes if attributes in context
  • bug #25190 [HttpKernel] Keep legacy container files for concurrent requests
  • bug #25182 [HttpFoundation] AutExpireFlashBag should not clear new flashes
  • bug #25174 [Translation] modify definitions only if the do exist
  • bug #25179 [FrameworkBundle][Serializer] Remove YamlEncoder definition if Yaml component isn't installed
  • bug #25160 [DI] Prevent a ReflectionException during cache:clear when the parent class doesn't exist
  • bug #25163 [DI] Fix tracking of env vars in exceptions
  • bug #25162 [HttpKernel] Read $_ENV when checking SHELL_VERBOSITY
  • bug #25158 [DI] Remove unreachable code
  • bug #25152 [Form] Don't rely on SymfonyComponentHttpFoundationFileFile if http-foundation isn't in FileType
  • bug #24987 [Console] Fix global console flag when used in chain
  • bug #25137 Adding checks for the expression language
  • bug #25151 [FrameworkBundle] Automatically enable the CSRF protection if CSRF manager exists
  • bug #25043 [Yaml] added ability for substitute aliases when mapping is on single line
Want to upgrade to this new release? Fortunately, because Symfony protects backwards-compatibility very closely, this should be quite easy. Read our upgrade documentation to learn more.
Versienummer 4.0.0 / 3.4.0
Releasestatus Final
Besturingssystemen Scripttaal
Website Symfony
Download https://symfony.com/download
Licentietype Voorwaarden (GNU/BSD/etc.)

Door Japke Rosink

Meukposter

04-12-2017 • 09:26

2

Submitter: Antrax

Bron: Symfony

Reacties (2)

2
2
2
2
0
0
Wijzig sortering
Symfony 4 is een goede vooruitgang in de Symfony community! Vele malen sneller. Check http://www.phpbenchmarks....lect-version/symfony.html voor benchmarks tussen bijvoorbeeld Symfony 3.4 en 4.0 O+
Naast een framework biedt Symfony ook een filosofie, methodiek en community
Het is niet alleen een framework, maar ook een set aan Components. Het framework is 'slechts' een manier waarmee je die componenten met elkaar laat samenwerken.

O.a. Drupal, phpBB, Magento, Prestashop, Joomla! en 'concurrent' Laravel gebruiken die componenten ook: https://symfony.com/projects

Op dit item kan niet meer gereageerd worden.