This week Symfony2 committed the first changes related with the new composer component, a package manager that will greatly simplify bundle installation in symfony projects. In addition, parameters.ini configuration file was replaced by parameters.yml, a new mandatory checklist for pull requests was published and the documentation of Twig was significantly improved.

Development mailing list

Symfony2 development highlights

Master branch:

  • a57a4af: [DomCrawler] added a way to get parsing errors for Crawler::addHtmlContent() and Crawler::addXmlContent() via libxml functions
  • 258a1fd: moved makePathRelative to Filesystem
  • bfb99bf: [FrameworkBundle] added a --relative option to assets:install
  • 0f7bf41: [Console] detect if interactive mode is possible at all
  • b9ba117, ee0fe7a: [Validator] added a SizeLength validator
  • d6c4bfb, ee0fe7a: [Validator] added a Size validator
  • 8b240d4: implementation of kernel.event_subscriber tag for services
  • 1467bdb: [Routing] added RouterInterface::getRouteCollection()

2.0.x branch:

  • ed02aa9: [Console] fixed list 'namespace' command display all available commands
  • 72e82eb: [Serializer] replaced deprecated key_exists alias
  • 9ade639, d535afe, 731b28b: [composer] added composer.json
  • d6b915a, 369f181: [FrameworkBundle] added request scope to assets helper only if needed
  • c13b4e2: fixed fallback catalogue mechanism in Framework bundle
  • 2db24c2: removed time limit for the vendors script
  • 1e7e6ba: [HttpFoundation] removed the possibility for a cookie path to set it to null (as this is equivalent to /)
  • 1284681, b402835: [BrowserKit, HttpFoundation] standardized cookie paths (an empty path is equivalent to /)
  • 17af138: fixed usage of LIBXML_COMPACT as it is not always available
  • d429594: removed separator of choice widget when the separator is null
  • 600b8ef: [Validator] added support for grapheme_strlen when mbstring is not installed but intl is installed
  • e70c884: [Bridge/Monolog] fixed WebProcessor to accept a Request object
  • 5c8a2fb: [Routing] fixed route overriden mechanism when using embedded collections

Repository summary: 3,119 watchers (#1 in PHP, #25 overall) and 791 forks (#1 in PHP, #13 overall).

New plugins

  • sfUploadify: wraps the Uploadify library for jQuery.(http://www.uploadify.com)
  • cpLDAPAuth: authenticates users against an LDAP directory.

Updated plugins

  • sfPEARcaptcha:
    • updated Text_CAPTCHA_Driver_Image
    • updated image widget
    • split the function 'render' to 'renderInputField' and 'renderCaptcha'
  • sfTaskLogger:
    • fixed the "_length" partial on Nix systems
  • sfAssetsLibrary:
    • fixed bug in images filtering
  • cpTwig:
    • added twig and twig-extensions as vendor libs
  • apostrophe:
    • cast $user_id to integer in case it arrives as an empty string due to a busted session. Prevents SQL error
    • the new overrideLinks option to apostrophe.linkToRemote() can be used to inject an admin generator module or other really basic Symfony module that is not AJAX-aware into an AJAX container, such as a div
    • aInjectActualUrl function allows me to call it multiple times after dom ready instead of how it was structured before
    • the edit and new admin generator actions should have a title slot, just like the list action does
    • RSS Feed
    • backed out attempts to make the category admin gen classes autoload because Symfony's admin gen has a very limited way of autoloading things that looks for them in specific modulename/lib folders only
    • fixed the aAdmin theme to work when there is no filter and no custom table method
    • app_a_simple_permissions is an extremely simple alternative view permissions model
    • correctly tolerate symfony cc without the right environment settings
    • fixed bug with _menuToggle function in a.js
  • apostropheCkEditor:
    • fixed source view formatting. It was being displayed in a tiny window instead of the full editor frame

They talked about us

Published in #A week of symfony