2011-08-26 16:45:40 +01:00
|
|
|
CHANGELOG for 2.1.x
|
|
|
|
===================
|
|
|
|
|
|
|
|
This changelog references the relevant changes (bug and security fixes) done
|
|
|
|
in 2.1 minor versions.
|
|
|
|
|
|
|
|
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
|
|
|
|
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.1.0...v2.1.1
|
|
|
|
|
2011-08-29 14:31:57 +01:00
|
|
|
2.1.0
|
|
|
|
-----
|
2011-08-26 16:45:40 +01:00
|
|
|
|
2011-10-07 13:12:01 +01:00
|
|
|
### DoctrineBrige
|
|
|
|
|
2011-10-15 02:39:16 +01:00
|
|
|
* added a default implementation of the ManagerRegistry
|
|
|
|
* added a session storage for Doctrine DBAL
|
2011-10-07 13:12:01 +01:00
|
|
|
|
2011-11-08 18:00:05 +00:00
|
|
|
### AbstractDoctrineBundle
|
2011-11-01 14:25:47 +00:00
|
|
|
|
|
|
|
* This bundle has been removed and the relevant code has been moved to the Doctrine bridge
|
|
|
|
|
2011-09-22 07:04:24 +01:00
|
|
|
### DoctrineBundle
|
|
|
|
|
2011-11-01 14:25:47 +00:00
|
|
|
* added optional `group_by` property to `EntityType` that supports either a `PropertyPath` or a `\Closure` that is evaluated on the entity choices
|
2011-09-22 07:04:24 +01:00
|
|
|
* The `em` option for the `UniqueEntity` constraint is now optional (and should probably not be used anymore).
|
|
|
|
|
2011-09-14 08:06:29 +01:00
|
|
|
### FrameworkBundle
|
|
|
|
|
2011-10-24 08:11:18 +01:00
|
|
|
* added a router:match command
|
2011-09-30 05:58:54 +01:00
|
|
|
* added kernel.event_subscriber tag
|
2011-09-28 16:40:20 +01:00
|
|
|
* added a way to create relative symlinks when running assets:install command (--relative option)
|
2011-09-28 08:17:08 +01:00
|
|
|
* added Controller::getUser()
|
2011-09-19 17:03:40 +01:00
|
|
|
* [BC BREAK] assets_base_urls and base_urls merging strategy has changed
|
2011-09-16 17:49:11 +01:00
|
|
|
* changed the default profiler storage to use the filesystem instead of SQLite
|
2011-09-14 08:19:55 +01:00
|
|
|
* added support for placeholders in route defaults and requirements (replaced by the value set in the service container)
|
2011-09-14 08:06:29 +01:00
|
|
|
|
2011-09-22 08:44:58 +01:00
|
|
|
### SecurityBundle
|
|
|
|
|
|
|
|
* added a validator for the user password
|
|
|
|
|
2011-10-24 16:11:00 +01:00
|
|
|
### SwiftmailerBundle
|
|
|
|
|
|
|
|
* moved the data collector to the bridge
|
|
|
|
* replaced MessageLogger class with the one from Swiftmailer 4.1.3
|
|
|
|
|
2011-11-07 19:03:35 +00:00
|
|
|
### TwigBundle
|
|
|
|
|
|
|
|
* added the real template name when an error occurs in a Twig template
|
|
|
|
|
2011-09-22 07:28:07 +01:00
|
|
|
### WebProfilerBundle
|
|
|
|
|
2011-10-24 08:11:18 +01:00
|
|
|
* added a routing panel
|
2011-10-23 11:00:47 +01:00
|
|
|
* added a timeline panel
|
2011-09-22 07:28:07 +01:00
|
|
|
* The toolbar position can now be configured via the `position` option (can be `top` or `bottom`)
|
|
|
|
|
2011-11-01 14:30:43 +00:00
|
|
|
### Config
|
|
|
|
|
|
|
|
* implemented `Serializable` on resources
|
|
|
|
|
2011-09-29 13:52:52 +01:00
|
|
|
### Console
|
|
|
|
|
2011-10-25 16:11:49 +01:00
|
|
|
* made the defaults (helper set, commands, input definition) in Application more easily customizable
|
2011-09-29 13:52:52 +01:00
|
|
|
* added support for the shell even if readline is not available
|
|
|
|
|
2011-08-29 14:38:12 +01:00
|
|
|
### ClassLoader
|
|
|
|
|
|
|
|
* added support for loading globally-installed PEAR packages
|
|
|
|
|
2011-09-23 07:10:01 +01:00
|
|
|
### DomCrawler
|
|
|
|
|
2011-09-28 08:53:50 +01:00
|
|
|
* added a way to get parsing errors for Crawler::addHtmlContent() and Crawler::addXmlContent() via libxml functions
|
2011-09-23 07:10:01 +01:00
|
|
|
* added support for submitting a form without a submit button
|
|
|
|
|
2011-08-29 14:31:57 +01:00
|
|
|
### Finder
|
2011-08-29 13:45:37 +01:00
|
|
|
|
2011-08-29 14:31:57 +01:00
|
|
|
* Finder::exclude() now supports an array of directories as an argument
|
2011-08-29 13:45:37 +01:00
|
|
|
|
2011-09-24 14:29:19 +01:00
|
|
|
### Form
|
|
|
|
|
2011-11-08 08:06:23 +00:00
|
|
|
* added support for validation groups as callbacks
|
2011-10-10 18:47:28 +01:00
|
|
|
* made the translation catalogue configurable via the "translation_domain" option
|
2011-09-27 09:12:54 +01:00
|
|
|
* added Form::getErrorsAsString() to help debugging forms
|
2011-09-24 14:29:19 +01:00
|
|
|
* allowed setting different options for RepeatedType fields (like the label)
|
|
|
|
|
2011-08-29 14:31:57 +01:00
|
|
|
### HttpFoundation
|
2011-08-29 13:45:37 +01:00
|
|
|
|
2011-10-17 16:16:22 +01:00
|
|
|
* made Response::prepare() method the place to enforce HTTP specification
|
2011-10-05 10:09:51 +01:00
|
|
|
* [BC BREAK] moved management of the locale from the Session class to the Request class
|
2011-09-28 07:18:50 +01:00
|
|
|
* added a generic access to the PHP built-in filter mechanism: ParameterBag::filter()
|
2011-09-14 08:45:15 +01:00
|
|
|
* made FileBinaryMimeTypeGuesser command configurable
|
2011-09-13 07:48:32 +01:00
|
|
|
* added Request::getUser() and Request::getPassword()
|
2011-08-29 14:31:57 +01:00
|
|
|
* added support for the PATCH method in Request
|
|
|
|
* removed the ContentTypeMimeTypeGuesser class as it is deprecated and never used on PHP 5.3
|
2011-09-02 14:54:04 +01:00
|
|
|
* added ResponseHeaderBag::makeDisposition() (implements RFC 6266)
|
2011-09-06 07:59:53 +01:00
|
|
|
* made mimetype to extension conversion configurable
|
2011-08-29 13:45:37 +01:00
|
|
|
|
2011-09-06 06:47:18 +01:00
|
|
|
### HttpKernel
|
|
|
|
|
2011-10-23 11:00:47 +01:00
|
|
|
* added a Stopwatch class
|
|
|
|
* added WarmableInterface
|
2011-10-15 02:38:40 +01:00
|
|
|
* improved extensibility between bundles
|
2011-09-06 06:47:18 +01:00
|
|
|
* added a File-based profiler storage
|
2011-09-06 06:54:13 +01:00
|
|
|
* added a MongoDB-based profiler storage
|
2011-09-06 06:47:18 +01:00
|
|
|
|
2011-11-09 20:55:11 +00:00
|
|
|
### Locale
|
|
|
|
|
|
|
|
* added Locale::getIcuVersion() and Locale::getIcuDataVersion()
|
|
|
|
|
2011-09-30 06:48:34 +01:00
|
|
|
### Routing
|
|
|
|
|
2011-10-24 08:11:18 +01:00
|
|
|
* added a TraceableUrlMatcher
|
2011-10-23 10:56:23 +01:00
|
|
|
* added the possibility to define default values and requirements for placeholders in prefix
|
2011-09-30 06:48:34 +01:00
|
|
|
* added RouterInterface::getRouteCollection
|
|
|
|
|
2011-11-07 22:28:28 +00:00
|
|
|
### Security
|
|
|
|
|
|
|
|
* added a way to remove a token from a session
|
|
|
|
|
2011-08-29 14:31:57 +01:00
|
|
|
### Translation
|
2011-08-29 13:45:37 +01:00
|
|
|
|
2011-11-09 21:02:31 +00:00
|
|
|
* added support for gettext
|
2011-09-15 07:19:52 +01:00
|
|
|
* added support for more than one fallback locale
|
2011-09-13 07:49:25 +01:00
|
|
|
* added support for translations in ResourceBundles
|
2011-09-13 07:46:58 +01:00
|
|
|
* added support for extracting translation messages from templates (Twig and PHP)
|
2011-08-29 14:31:57 +01:00
|
|
|
* added dumpers for translation catalogs
|
2011-09-06 07:02:25 +01:00
|
|
|
* added support for QT translations
|
2011-09-02 08:25:13 +01:00
|
|
|
|
|
|
|
### Validator
|
|
|
|
|
2011-11-01 14:30:43 +00:00
|
|
|
* added support for `ctype_*` assertions in `TypeValidator`
|
2011-09-29 14:56:37 +01:00
|
|
|
* added a Size validator
|
2011-09-29 14:45:52 +01:00
|
|
|
* added a SizeLength validator
|
2011-09-06 07:19:05 +01:00
|
|
|
* improved the ImageValidator with min width, max width, min height, and max height constraints
|
2011-09-02 08:25:13 +01:00
|
|
|
* added support for MIME with wildcard in FileValidator
|
2011-11-07 15:43:15 +00:00
|
|
|
|
|
|
|
### Yaml
|
|
|
|
|
|
|
|
* Yaml::parse() does not evaluate loaded files as PHP files by default anymore (call Yaml::enablePhpParsing() to get back the old behavior)
|