Archives


Master Symfony2 fundamentals

Be trained by SensioLabs experts (2 to 6 day sessions -- French or English).
trainings.sensiolabs.com

Discover the SensioLabs Support

Access to the SensioLabs Competency Center for an exclusive and tailor-made support on Symfony
sensiolabs.com

Javier Eguiluz
A week of symfony #260 (19->25 December 2011)
by Javier Eguiluz – December 26, 2011 – 0 comments

This week, the Symfony2 master branch focused on a big DoctrineBridge refactorization. In addition, the Filesystem class was moved to its own component. Lastly, the 2.0 branch was made compatible with the upcoming Twig 1.5 version.

Development mailing list

symfony 1 development highlights

Changelog:

  • r33292: [1.4] fixed test for PHP 5.3

Symfony2 development highlights

Master branch:

  • 517eebc: [DoctrineBridge] refactored entity choice list to be ORM independant using an EntityLoader interface
  • fd174a2: [Tests] use proper assertion for counting
  • b919d92: [DoctrineBridge] optimized fetching of entities to use WHERE IN and fix other inefficencies
  • 3b5c617: [DoctrineBridge] removed large parts of the EntityChoiceList code that were completly unnecessary
  • 3c81b62: [DoctrineBridge] cleanup and move loader into its own method
  • 200ed54: [DoctrineBridge] extracted the common type and made the choice list generic
  • f1199c0: [DoctrineBridge] decoupled the EntityUserProvider from the ORM (it can now be used by any Doctrine project implementing the interfaces from Doctrine Common 2.2)
  • 84ad40d: added cache clear hook
  • 24319bb: [DoctrineBridge] made it possible to change the manager used by the provider
  • 9653be6: moved the EntityFactory to the bridge
  • 818a332: [Component] moved Filesystem class to its own component
  • 74cfd04: [Security] made the logout path check configurable
  • 9daa2a6: [Profiler] added function to get parent token directly

2.0.x branch:

  • 29f4111: [DoctrineBridge] added a failing test showing the issue for proxy users
  • 649fa52: [DoctrineBridge] fixed the entity provider to support proxies
  • ebc9979: [Process] fixed unit tests on PHP 5.4
  • 3dd1072: [HttpKernel] fixed unit tests that can fail randomly
  • 5a6c989: [FrameworkBundle] added test-attribute in xsd-schema to write functional-tests if using xml-configurations
  • 8235848: [HttpFoundation] added flv file default extension
  • 1b4aaa2: [HttpFoundation] fixed ApacheRequest (pathinfo was incorrect when using mod_rewrite; added better test coverage)
  • bebdd07: [TwigBridge] simplified code
  • 6e98730: added forwards compatibility with Symfony 2.1 for the Filesystem component
  • adea589: [Twig] made code compatible with Twig 1.5

Repository summary: 3,640 watchers (#1 in PHP, #22 overall) and 943 forks (#1 in PHP, #12 overall).

Updated plugins

  • dcReloadedFormExtra:
    • added onChange event on autocomplete
  • WebPurify:
    • replaced simple_xml_call with sfWebBrowser, which uses CURL
    • added 10 second timeout
  • sfSphinx:
    • updated main lib to version 2.0.2-beta
  • cpUniForm:
    • added a missing require_once
  • apostrophe:
    • fixed bug with singleton slots and the areaHideWhenEmpty flag
    • more flexible form fields in the blog / events admin sidebar
    • the placeholder of media slots is now sized automatically and clickable
    • created a utility function for checking and calling a callback
  • apostropheBlog:
    • added more descriptive labels for the delete button in the admin form
    • when app_a_simple_permissions is true (PR), there is no list of allowed editors for a blog post
    • moved that refactored JS to a.js from aBlog.js because it can be shared by both admin generator skeletons

They talked about us

Be the first to comment this post