This week, Symfony added the possibility of defining multiple fallback locales and improved the Length validator to reject values which don't match the expected charset. Meanwhile, the DX initiative keeps improving Symfony with new proposals to throw exceptions with error messages visible to users and to simplify setting Twig options to format dates and numbers.
Symfony2 development highlights
- 1251f0e: [FrameworkBundle] allowed multiple fallback locales
- 58bf582: [Doctrine Bridge] Unique Entity Validator Invalid Value
- 915fcd8: [Validator] dropped grapheme_strlen in LengthValidator
- 3a9058a: [Validator] rejected ill-formed strings
- 458b029: [EventDispatcher] injected the correct EventDispatcher instance
- 1901c84: [OptionsResolver] added test for allowed values and types that default to null
- 8100069: [SecurityBundle] removed usage of deprecated service
- d5e8ee3: [TwigBundle] fixed Twig options (removed the parameter as it cannot contain service references)
- f939fea: [Routing] made path required again in the xsd
Newest issues and pull requests
- Loading translation resources performances
- Better handling of implementation of deprecated interfaces
- [DX][Security] Make it easy to throw Exceptions with User visible error messages
- Please add .gitattributes files and fix line endings
- MoFileLoader issues a warning on missing translation
- [DX] [TwigBundle] Allow to configure date and number formats
- [Security][Acl] Improve PermissionMap and MaskBuilder
Twig development highlights
Silex development highlights
- 9d082c6: used the SessionAuthenticationStrategy::MIGRATE constant to refer to session auth strategy
They talked about us
- Install Symfony application in a subfolder of an existing site
- How to install SonataUserBundle in Symfony2
- What is Drupal Console for me
- Talks from our January #Symfony London meetup are now online
- Статичний аналіз PHP коду на прикладі Symfony2
- Статический анализ PHP кода на примере Symfony2
- Symfony2安装第三方Bundles【原创】
- 30个最常用的Symfony组件
- Symfony2 テーブル作成、エンティティの生成
- Symfony2 Doctrine2の小ネタ(OneToOneリレーション)
- Symfony2 UserSecurityEncoder实现自己的验证方式