Skip to content

Latest commit

 

History

History
221 lines (210 loc) · 17.5 KB

CHANGELOG-2.7.md

File metadata and controls

221 lines (210 loc) · 17.5 KB

CHANGELOG for 2.7.x

This changelog references the relevant changes (bug and security fixes) done in 2.7 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.7.0...v2.7.1

  • 2.7.1 (2015-06-11)

  • bug #14835 [DependencyInjection] Fixed resolving of service configurators containing Definition objects (webmozart)

  • bug #14816 [TwigBridge] Make AppVariable check if security.context exists (ogizanagi)

  • bug #14897 Allow new lines in Messages translated with transchoice() (replacement for #14867) (azine)

  • bug #14887 [Form] Swap new ChoiceView constructor arguments to ease migrating from the deprecated one (nicolas-grekas)

  • bug #14900 Silence deprecation warnings by default (reecefowell)

  • bug #14739 [Console] SymfonyStyle : fix blocks wordwrapping (ogizanagi)

  • bug #14740 [Console] SymfonyStyle : fix blocks output is broken on windows cmd (ogizanagi)

  • bug #14623 [Console] SymfonyStyle : fix & automate block gaps. (ogizanagi)

  • bug #14895 [Form] Support DateTimeImmutable in transform() (c960657)

  • bug #14891 without this change allways the legacy code get called (dominikzogg)

  • bug #14888 [Console] Fix ask and askHidden methods (dosten)

  • bug #14705 [Translator] avoid serialize unserializable resources. (aitboudad)

  • bug #14846 [console][TableCell] get cell width without decoration. (aitboudad)

  • bug #14852 [VarDumper] Fix generic casters calling order (nicolas-grekas)

  • bug #14855 [VarDumper] Changed tooltip to expand-all keybinding in OS X (taylankasap)

  • bug #14854 [Bridge\PhpUnit] Fix composer installed phpunit detection (nicolas-grekas)

  • bug #14859 Improve the config validation in TwigBundle (stof)

  • bug #14837 [SecurityBundle] Remove SecurityContext from Compile (Zander Baldwin)

  • bug #14793 [FrameworkBundle] make templating.helper.router service available again for BC reasons (xabbuh)

  • bug #14785 [BrowserKit] Fix bug when uri starts with http. (amouhzi)

  • bug #14807 [Security][Acl] enforce string identifiers (xabbuh)

  • bug #14808 [WebProfilerBundle][logger] added missing deprecation message. (aitboudad)

  • 2.7.0 (2015-05-30)

  • bug #14777 Avoid using the app global variable in the profiler templates (stof)

  • bug #14262 [REVERTED] [TwigBundle] Refresh twig paths when resources change. (aitboudad)

  • security #14759 CVE-2015-4050 [HttpKernel] Do not call the FragmentListener if _controller is already defined (jakzal)

  • bug #14745 [Serializer] AbstractNormalizer::instantiateObject allow default values when not optional (boekkooi)

  • bug #14743 [DebugBundle] Fix config XSD (nicolas-grekas)

  • bug #14711 [Serializer] AbstractNormalizer instantiateObject avoid null rejection (boekkooi)

  • bug #14726 [Translation] fixed JSON loader on PHP 7 when file is empty (fabpot)

  • bug #14715 [Form] Check instance of FormBuilderInterface instead of FormBuilder (dosten)

  • bug #14654 [Console] SymfonyStyle : fix blocks failed when $messages is null (ogizanagi)

  • bug #14708 [TwigBridge] use proper class to fetch asset version strategy property (xabbuh)

  • bug #14678 [Security] AbstractRememberMeServices::encodeCookie() validates cookie parts (MacDada)

  • bug #14635 [HttpKernel] Handle an array vary header in the http cache store (jakzal)

  • bug #14513 [console][formater] allow format toString object. (aitboudad)

  • bug #14335 [HttpFoundation] Fix baseUrl when script filename is contained in pathInfo (danez)

  • bug #14593 [Security][Firewall] Avoid redirection to XHR URIs (asiragusa)

  • bug #14576 [DoctrineBridge][Form] Fix BC break in DoctrineType (malarzm)

  • bug #14551 [Form] Fixed ChoiceType with legacy ChoiceList (xelaris)

  • bug #14648 [Console] Fix first choice was invalid when using value (ogizanagi)

  • bug #14618 [DomCrawler] Throw an exception if a form field path is incomplete (jakzal)

  • bug #14699 Fix HTML escaping of to-source links (amenk, nicolas-grekas)

  • bug #14698 Fix HTML escaping of to-source links (nicolas-grekas)

  • bug #14690 [HttpFoundation] IpUtils::checkIp4() should allow /0 networks (zerkms)

  • bug #14696 Fix the rendering of deprecation log messages (stof)

  • bug #14683 Fixed the indentation in the compiled template for the DumpNode (stof)

  • bug #14262 [TwigBundle] Refresh twig paths when resources change. (aitboudad)

  • bug #13633 [ServerBag] Handled bearer authorization header in REDIRECT_ form (Lance0312)

  • bug #13637 [CSS] WebProfiler break words (nicovak)

  • bug #14217 [WebProfilerBundle] Fix regexp (romqin)

  • bug #14644 [Bridge\Twig] Adding a space between the icon and the error message (zmikael, nicolas-grekas)

  • bug #14645 [WebProfilerBundle] Fix compatiblity with HttpKernel < 2.7 (GromNaN)

  • bug #14640 [DebugBundle] Allow alternative destination for dumps (nicolas-grekas)

  • bug #14600 [Console] SymfonyStyle: fix block rpadding when escaping '<' (ogizanagi)

  • bug #14633 [EventDispatcher] make listeners removable from an executed listener (xabbuh)

  • 2.7.0-BETA2 (2015-05-13)

  • bug #14609 [DebugBundle] Remove inlined dumps on XHR (nicolas-grekas)

  • bug #14605 [PropertyAccess] Fix setting public property on a class having a magic getter (lolautruche)

  • bug #14266 [HttpKernel] Check if "symfony/proxy-manager-bridge" package is installed (hason)

  • bug #14465 [Form] Fixed regression: Empty values were not accepted anymore for collapsed, optional choice fields (webmozart)

  • bug #14478 [DebugBundle] Fix dump() output in API / No-Toolbar context (nicolas-grekas)

  • bug #14501 [ProxyBridge] Fix proxy classnames generation (xphere)

  • bug #14540 [Serializer] Ignore \Traversable in default normalizers. (dunglas)

  • bug #14527 Fix getOrigin (WouterJ)

  • bug #14395 [Validator] Property paths starting with 0 are broken. (fago)

  • feature #14472 [Debug] Trigger deprecation notices when using PHP7 reserved class names (nicolas-grekas)

  • bug #14498 [FrameworkBundle] Added missing log in server:run command (lyrixx)

  • bug #14503 [Finder] Only use GLOB_BRACE when available (dosten)

  • bug #14484 [SecurityBundle][WebProfiler] check authenticated user by tokenClass instead of username. (aitboudad)

  • bug #14497 [HttpFoundation] Allow curly braces in trusted host patterns (sgrodzicki)

  • bug #14480 [TwigBundle] Fix deprecated use of FlattenException (alOneh)

  • bug #14469 [Debug] BaseException compatibility for PHP7 (nicolas-grekas)

  • bug #14483 [VarDumper] Fix #14481 : Open tree recursively on OSX (romainneutron)

  • bug #14466 [WebProfiler] fix html syntax for input types (Tobion)

  • bug #14436 Show a better error when the port is in use (dosten)

  • bug #14463 [Validator] Fixed Choice when an empty array is used in the "choices" option (webmozart)

  • bug #14415 [Serializer] Fix a bug when using groups together with a name converter (dunglas)

  • bug #14301 [FrameworkBundle][Translation] skip warmUp when cache is not used. (aitboudad)

  • bug #14446 [DependencyInjection] resolve circular reference (xabbuh)

  • feature #14187 [Serializer] Supports hassers and setters for groups annotations (dunglas)

  • feature #14462 Revert "[HttpKernel] Throw a LogicException when kernel.exception does not led to a Response" (nicolas-grekas)

  • bug #14448 [Validator] Fixed Choice when an empty array is used in the "choices" option (webmozart)

  • bug #14451 [Debug] Fix ClassNotFoundFatalErrorHandler candidates lookups (nicolas-grekas)

  • bug #14422 Update DebugClassLoader.php (userfriendly)

  • bug #14419 inject asset packages in assets helper service (xabbuh)

  • bug #14355 [EventDispatcher] make listeners removable from an executed listener (xabbuh)

  • bug #14397 [Debug] Map PHP errors to LogLevel::CRITICAL (nicolas-grekas)

  • bug #14402 [FrameworkBundle][Translation] Check for 'xlf' instead of 'xliff' (xelaris)

  • bug #14272 [FrameworkBundle] Workaround php -S ignoring auto_prepend_file (nicolas-grekas)

  • bug #14362 [Debug] Scream as LogLevel::DEBUG (but for fatal errors / uncaught exceptions) (nicolas-grekas)

  • bug #14345 [FrameworkBundle] Fix Routing\DelegatingLoader resiliency to fatal errors (nicolas-grekas)

  • bug #14381 [FrameworkBundle] Initialize translator with the default locale. (aitboudad)

  • bug #14325 [Routing][DependencyInjection] Support .yaml extension in YAML loaders (thunderer)

  • bug #14344 [Translation][fixed test] refresh cache when resources are no longer fresh. (aitboudad)

  • bug #14346 [WebProfilerBundle] Fix resiliency to exceptions thrown by the url generator (nicolas-grekas)

  • bug #14338 [FrameworkBundle] improve usage of Table helper (xabbuh)

  • bug #14315 [Translation] Revert inlining fallback catalogues as it might cause inconsistent results when a cache is used (mpdude)

  • bug #14129 [FrameworkBundle] Fixed server:start --router relative path issue #14124 (abulford)

  • bug #14313 [HttpKernel] fixed a regression when no exception listeners are registered (fabpot)

  • bug #14268 [Translator] Cache does not take fallback locales into consideration (sf2.3) (mpdude)

  • 2.7.0-BETA1 (2015-04-10)

  • feature #14229 [WebProfilerBundle] AJAX links (romqin)

  • feature #13220 [Console] Made output docopt compatible (WouterJ)

  • feature #14178 [Config] Delegate creation of ConfigCache instances to a factory. (mpdude)

  • feature #13443 [Translation][Command][FrameworkBundle] Enable translation debugging in directories (xelaris)

  • feature #14198 Automatically start server:run if server:start failed (WouterJ)

  • feature #13651 [Form][choice] added choice_translation_domain to avoid trans options. (aitboudad)

  • feature #14185 [Translation][Profiler]added the number of times a translation has been used. (aitboudad)

  • feature #13717 Deprecated precision option in favor of scale (WouterJ)

  • feature #14159 [Debug] Add symfony_debug_backtrace() and use it when dealing with fatal errors (jpauli, nicolas-grekas)

  • feature #14192 [HttpKernel] Embed the original exception as previous to bounced exceptions (nicolas-grekas)

  • feature #13626 [WebProfilerBundle] Added feedback about the current symfony version (WouterJ)

  • feature #13554 [TwigBundle] make date formats and number formats configurable (xabbuh)

  • feature #14196 Tweaked some console command styles (javiereguiluz)

  • feature #14181 [Debug] Updated the default log level when a PHP error occurs (lyrixx)

  • feature #14186 [Debug] Renamed "context" key to "scope_vars" to avoid any ambiguity (lyrixx)

  • feature #13942 [Translation] generate translation cache at warmup (xavierleune)

  • feature #14116 [FrameworkBundle] Move lint commands to lint namespace. (aitboudad)

  • feature #14052 [FrameworkBundle] added a protected shortcut getParameter() method in the base Controller class. (hhamon)

  • feature #14080 [VarDumper] Add casters for Reflection* classes (nicolas-grekas)

  • feature #14050 [Form] Refactored choice lists to support dynamic label, value, index and attribute generation (webmozart)

  • feature #14079 [VarDumper] Add and use Caster::PREFIX_* consts (nicolas-grekas)

  • feature #14057 [RFC][Console] Added console style guide helpers (v2) (kbond)

  • feature #14077 [VarDumper] Add VarDumperTestCase and related trait (nicolas-grekas)

  • feature #14058 [VarDumper] Add filters to casters (nicolas-grekas)

  • feature #14003 [Translation][Profiler] Added a Translation profiler. (aitboudad)

  • feature #14002 [Translation][Extractor] Allow extracting an array of files besides extracting a directory (marcosdsanchez)

  • feature #13438 [Console][Table] Add support for colspan/rowspan + multiple header lines (aitboudad)

  • feature #14071 [VarDumper] Ctrl+click toggles-all and fix IE8 support (larsborn, nicolas-grekas)

  • feature #13981 [Translation] merge all fallback catalogues messages into current catalo... (aitboudad)

  • feature #14006 [VarDumper] with-er interface for Cloner\Data (nicolas-grekas)

  • feature #14034 [VarDumper] add caster for MongoCursor objects (nicolas-grekas)

  • feature #14030 [DependencyInjection] make it possible to dump inlined services to XML (xabbuh)

  • feature #14016 Remove the API version in the validator component (saro0h, fabpot, stof)

  • feature #13960 [VarDumper] Add Caster for XML-parser resources (nicolas-grekas)

  • feature #13937 [FrameworkBundle] Allow to disable Kernel reboot (sroze)

  • feature #13892 [DependencyInjection] Improved yaml syntax (hason)

  • feature #14000 [SECURITY][ACL] fixed Base ACL exceptions on the RuntimeException (Neophy7e)

  • feature #14001 [Security] [ACL] Improved MaskBuilder and PermissionMap (AlexDpy)

  • feature #13959 [VarDumper] Add catch-all-objects hook for casters (nicolas-grekas)

  • feature #13980 [VarDumper] Added support for amqp (lyrixx)

  • feature #12818 [SecurityBundle] Added a command to encode a password (saro0h)

  • feature #13107 [FrameworkBundle] Serializer groups support (dunglas)

  • feature #13872 [FrameworkBundle] Added domain column when debugging translations (hiddewie)

  • feature #13780 [HttpKernel] Throw a LogicException when kernel.exception does not lead to a Response (nicolas-grekas)

  • feature #13897 [translation][performances] move loading resources into Translator initialize. (aitboudad)

  • feature #13864 Entity type: loader caching by query builder instance (dominikzogg)

  • feature #13855 Read validation contraints from Resources/config/validation/ sub-dir (GromNaN)

  • feature #13257 [Serializer] ObjectNormalizer (dunglas)

  • feature #13795 [Serializer] Refactoring of metadata (dunglas)

  • feature #13840 [WebProfilerBundle] Update ajax calls in toolbar to add the css error class (rubenrua)

  • feature #13809 [OptionsResolver] add missing deprecation triggers (Tobion)

  • feature #13398 [PhpUnit] new PhpUnit bridge (nicolas-grekas)

  • feature #13615 [FrameworkBundle] Made ServerParams a service (rpg600)

  • feature #12526 Add an auto_alias compiler pass (Daniel Wehner)

  • feature #13665 [Debug] generalize deprecated interfaces tracking (nicolas-grekas)

  • feature #13656 removed Propel bridge from Symfony Core (fabpot)

  • feature #13500 [Serializer] Normalizers can serialize collections and scalars (dunglas)

  • feature #13463 [WebProfilerBundle] Replaced raster PNG icons with vector SVG icons (sgrodzicki)

  • feature #13234 [Asset] added the component (fabpot)

  • feature #11379 Added new Forwarded header support for Request::getClientIps (tony-co)

  • feature #9782 [Security] added string representation for core Users (tobiassjosten)

  • feature #12174 [TwigBundle] Add loader priority (wizhippo)

  • feature #13074 [Translation] Refresh catalogues when resources change (iamluc)

  • feature #13294 [PropertyAccess] Show property path in all exception messages (mpajunen)

  • feature #13548 [TwigBridge] Added support for passing more files to twig:lint command (sustmi)

  • feature #13120 [Serializer] Name converter support (dunglas)

  • feature #13428 Added a Twig profiler (fabpot)

  • feature #11129 Added i18n support to ConfirmationQuestion (WouterJ)

  • feature #13034 [HttpKernel] [WebProfilerBundle] added HTTP status to profiler search result (xelaris)

  • feature #13475 [SecurityBundle] decouple the logout PHP helper and Twig extension (fabpot)

  • feature #12891 [Form] Deprecated setDefaultOptions() in favor of configureOptions() (peterrehm)

  • feature #13342 [security] Fetching current stored context when not explicitly specified (jaytaph)

  • feature #12960 [FrameworkBundle] Container parameters in Route#condition (nikita2206)

  • feature #13418 [DX] Attempt to improve logging messages with parameters (iltar)

  • feature #13320 [HttpKernel] Add request uri to Logger context (Rvanlaak)

  • feature #13401 [TwigBundle] use the new Twig autoescaping strategy (fabpot)

  • feature #13361 [Routing] apply deprecation triggers and fix tests (Tobion)

  • feature #13378 lazy-load fragment renderers (fabpot)

  • feature #13354 Twig decoupling from Templating (fabpot)

  • feature #13264 URL manipulations as a Twig extension (fabpot)

  • feature #13289 [DependencyInjection] deprecated synchronized services (fabpot)

  • feature #13323 [Security] removed usage of the deprecated SecurityContextInterface (fabpot)

  • feature #13241 [Form] add back model_timezone and view_timezone options (xabbuh)

  • feature #13252 [Serializer] Refactoring and object_to_populate support. (dunglas)

  • feature #13255 [Serializer] Add circular reference handling to the PropertyNormalizer (dunglas)

  • feature #13259 Deprecate the translator implementation in the Validator component (stof)

  • feature #12956 [Validator] Added checkDNS option on URL validator (saro0h)

  • feature #13230 [TwigBundle] removed the Container dependency on ActionsExtension (fabpot)

  • feature #12602 Add type aliases for allowed types in OptionsResolver (henrikbjorn)

  • feature #12594 [DX] [HttpKernel] Use "context" argument when logging route in RouterListener (iltar)

  • feature #12653 [Filesystem] Keep executable permission when a file is copied (joelwurtz)

  • feature #13164 [Debug] track and report deprecated classes and interfaces (nicolas-grekas)

  • feature #13157 [Security] Updated ACL generateSql.php (jaytaph)

  • feature #13105 [FrameworkBundle] added a test router for the built-in web server (fabpot)

  • feature #12092 [Serializer] Serialization groups support (dunglas)

  • feature #13031 [Serializer] Add xml_format_output context option. Close #12517. (dunglas)

  • feature #12862 [Console] Allowing the user answering key or value of the autocompleterValues (saro0h)

  • feature #12469 [Security] Added the triggering of the security.interactive_login event in SimplePreAuthenticationListener (saro0h)

  • feature #12896 [DX][Profiler] Show the inherited roles in the web profiler (peterrehm)

  • feature #12295 [FrameworkBundle] make GetSetMethodNormalizer available by default (dunglas)

  • feature #12666 [Hackday][Stopwatch] added __toString on StopwatchEvent (damienalexandre)