Symfony 3.0.5 released

Symfony 3.0.5 has just been released. Here is a list of the most important changes:

  • bug #18180 [Form] fixed BC break with pre selection of choices with ChoiceType and its children (HeahDude)
  • bug #18645 [Console] Fix wrong exceptions being thrown (JhonnyL)
  • bug #18562 [WebProfilerBunde] Give an absolute url in case the request occured from another domain (romainneutron)
  • bug #18600 [DI] Fix AutowirePass fatal error with classes that have non-existing parents (hason, nicolas-grekas)
  • bug #18556 [FrameworkBundle] Better output for user in ContainerDebugCommand (JhonnyL)
  • bug #18603 [PropertyAccess] ->getValue() should be read-only (nicolas-grekas)
  • bug #18593 [VarDumper] Fix dumping type hints for non-existing parent classes (nicolas-grekas)
  • bug #18596 [DI] Fix internal caching in AutowirePass (nicolas-grekas)
  • bug #18581 [Console] [TableHelper] make it work with SymfonyStyle. (aitboudad)
  • bug #18280 [Routing] add query param if value is different from default (Tobion)
  • bug #18540 Replace iconv_*() uses by mb_*(), add mbstring polyfill when required (nicolas-grekas)
  • bug #18496 [Console] use ANSI escape sequences in ProgressBar overwrite method (alekitto)
  • bug #18490 [LDAP] Free the search result after a search to free memory (hiddewie)
  • bug #18491 [DependencyInjection] anonymous services are always private (xabbuh)
  • bug #18515 [Filesystem] Better error handling in remove() (nicolas-grekas)
  • bug #18081 [Form] FormValidator removed code related to removed cascade_validation option (peterrehm)
  • bug #18360 [PropertyInfo] Extract nullable and collection key type for Doctrine associations (teohhanhui)
  • bug #18449 [PropertyAccess] Fix regression (nicolas-grekas)
  • bug #18429 [Console] Correct time formatting. (camporter)
  • bug #18457 [WebProfilerBundle] Fixed error from unset twig variable (simonsargeant)
  • bug #18467 [DependencyInjection] Resolve aliases before removing abstract services + add tests (nicolas-grekas)
  • bug #18469 Force profiler toolbar svg display (pyrech)
  • bug #18460 [DomCrawler] Fix select option with empty value (Matt Wells)
  • bug #18425 [Security] Fixed SwitchUserListener when exiting an impersonation with AnonymousToken (lyrixx)
  • bug #18317 [Form] fix "prototype" not required when parent form is not required (HeahDude)
  • bug #18439 [Logging] Add support for Firefox (43+) in ChromePhpHandler (arjenm)
  • bug #18385 Detect CLI color support for Windows 10 build 10586 (mlocati)
  • bug #18426 [EventDispatcher] Try first if the event is Stopped (lyrixx)
  • bug #18407 Fixed the "hover" state of the profiler sidebar menu (javiereguiluz)
  • bug #18399 [Intl] Fix int32 min boundary check (nicolas-grekas)
  • bug #18394 [FrameworkBundle] Return the invokable service if its name is the class name (dunglas)
  • bug #18347 Fixed the styles of the Symfony icon in the web debug toolbar (javiereguiluz)
  • bug #18265 Optimize ReplaceAliasByActualDefinitionPass (ajb-in)
  • bug #18349 [Process] Fix stream_select priority when writing to stdin (nicolas-grekas)
  • bug #18358 [Form] NumberToLocalizedStringTransformer should return floats when possible (nicolas-grekas)
  • bug #17926 [DependencyInjection] Enable alias for service_container (hason)

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.

Want to check the integrity of this new version? Read my blog post about signing releases .

Want to be notified whenever a new Symfony release is published? Or when a version is not maintained anymore? Or only when a security issue is fixed? Consider subscribing to the Symfony Roadmap Notifications.

Comments

Fine.
when in may, looking at the roadmap, will 3.1 be released?
And some other questions:
I red on an other page that not all bundles are ready for 3? We have a self written framework at the moment, we're going to set up an new architecture, and considering building from scratch with an existing framework as symfony or laravel. I've worked with symfony before and i think it's the best choice at the moment.
- Is it best practice to set up all new from 3 (or 3.1 when its out soon)? or is it safer to set it up in 2.8 and upgrade to 3 later on?
- At the moment in our self written framework we use requerejs, but i used to use assetic in symfony2 before for the js. I see that from 2.8 its not included anymore, while you can still add it.
- What is the reason for that?
- Is it better to use requirejs now instead of assetic?
- If so, what to do with the css and other assets?
- Or is it better to use requirejs for js and assetic for the rest of the assets?
i now see that the FOSUserBundle isn't ready for 3?
@Bart

* Symfony versions are usually published on the last day of the month.
* Assetic is not included by default, but it's still compatible and you can easily add it.
* The reason to remove it is that some people think that it's better to manage assets with JavaScript instead of PHP.
* Some of us don't agree with that and we're still happily using Assetic, despite its quirks.
* In your scenario, it's better to start with Symfony 2.8, where all bundles are compatible. Then, when all bundles are ready, upgrading to 3.0 will be painless.
@Bart I've been using FOSUserBundle with Symfony 3.04 and now 3.0.5 without any problems thus far. In my experience, may bundles have their dev-master versions Symfony 3 compatible and none that I have tested have brought major issues. I think its safe to use most of the dev-master in production which gives you upto date features and fixes - this applies to may libraries not just bundles because the wait time between stable releases is normally very long.

About Assetic, I was among those disappointed to see it removed from the full stack but as @Javier pointed out you can still install it easily with composer.
I have a special chars in my console when I use Symfony 3.0.5, no problem with 3.0.4

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.