This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/CHANGELOG-2.8.md

14 KiB

CHANGELOG for 2.8.x

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

  • 2.8.0-BETA1 (2015-11-16)

  • feature #16156 [Filesystem] Changed dumpFile to allow dumping to streams (markchalloner, pierredup)

  • feature #16502 [Bridge\PhpUnit] Add extra clock-mocked namespaces in phpunit.xml.dist (nicolas-grekas)

  • feature #16464 [DependencyInjection] Fix some edge cases with autowiring (dunglas)

  • feature #16433 [Yaml] deprecate unquoted indicator characters (xabbuh)

  • feature #16419 [FrameworkBundle][Form] Better exception message for private form tagged services (ogizanagi)

  • feature #15990 added a micro kernel (fabpot)

  • feature #16459 [Security\Core] Deprecate passing $salt to BCryptPasswordEncoder::encodePassword() (nicolas-grekas)

  • feature #16409 [Console] Add progress indicator helper (kbond)

  • feature #16423 [VarDumper] Deprecate VarDumperTestCase in favor of the trait (nicolas-grekas)

  • feature #16424 [DI] Deprecate ContainerAware in favor of ContainerAwareTrait (nicolas-grekas)

  • feature #16430 [HttpKernel] PostResponseEvent should extend the KernelEvent (jakzal)

  • feature #16325 [VarDumper] Casters for Generator, ReflectionGenerator and ReflectionType (nicolas-grekas)

  • feature #16395 checkCredentials() force it to be an affirmative yes! (weaverryan)

  • feature #16344 [WebProfilerBundle] Filter links in search results (Rvanlaak)

  • feature #16285 [Yaml] deprecated usage of @ and ` at the beginning of an unquoted string (fabpot)

  • feature #16317 Rely on iconv and symfony/polyfill-* (nicolas-grekas)

  • feature #15966 [FrameworkBundle] PropertyInfo support (dunglas)

  • feature #16161 [Validator] Add expressionLanguage to ExpressionValidator constructor (enumag)

  • feature #16263 [FrameworkBundle] Add a new ClassCache cache warmer (tucksaun)

  • feature #16271 [TwigBundle] added a Twig templates warmer when templating is disabled (fabpot)

  • feature #16276 Unify URL generator reference type + make linking in php templates consistent with twig (Tobion)

  • feature #15947 Added UserLoaderInterface for loading users through Doctrine. (mtrojanowski)

  • feature #16194 [PhpUnit] Mock clock on @group time-sensitive annotations (nicolas-grekas)

  • feature #16201 [Yaml] deprecated non-escaped \ in double-quoted strings when parsing (fabpot)

  • feature #16198 [EventDispatcher] added EventDispatcher::getListenerPriority() (fabpot)

  • feature #15025 [2.8] [Form] Rename CollectionType options for entries (WouterJ)

  • feature #16189 [PhpUnitBridge] Add SkippedTestsListener to collect and replay skipped tests (nicolas-grekas)

  • feature #15879 Deprecate the SecureRandom class (pierredup)

  • feature #16001 [DI] Warn when a definition relies on a deprecated class in ContainerBuilder::createService() (nicolas-grekas)

  • feature #14044 [Console] [Helper] [Table] Columns styles (MAXakaWIZARD)

  • feature #14908 Include working directory in ProcessFailedException (Rvanlaak)

  • feature #16102 Simplify AbstractVoter (Koc)

  • feature #15613 [DependencyInjection] Add autowiring capabilities (dunglas)

  • feature #14721 [Security] Configuring a user checker per firewall (iltar)

  • feature #16069 [WebProfilerBundle] Move AjaxCollector to HttpKernel for use with Silex (glaubinix, fabpot)

  • feature #16063 [VarDumper] Add $this->getDump($var) when using VarDumperTestTrait (nicolas-grekas)

  • feature #16058 Prevent adding non-DOMElement elements in DomCrawler (stof)

  • feature #16057 Deprecate loading multiple documents in the same crawler (stof)

  • feature #15742 Using a service as a router resource (weaverryan)

  • feature #15778 Fluid interface for building routes in PHP (weaverryan)

  • feature #16029 [FrameworkBundle][TwigBridge] do not render empty form action attributes (xabbuh)

  • feature #15938 [Console] Bind input before executing the COMMAND event (WouterJ)

  • feature #15503 UI & CSS improvement to new toolbar (WouterJ)

  • feature #15838 [VarDumper] Dump PHP+Twig code excerpts in backtraces (nicolas-grekas)

  • feature #16011 [FrameworkBundle] Tag deprecated services (nicolas-grekas)

  • feature #15944 Remove profiler storages (javiereguiluz)

  • feature #16007 [HttpFoundation] deprecate finding deep items in request parameters (xabbuh)

  • feature #15978 Updated the styles of the cache commands (javiereguiluz)

  • feature #15972 [Console] Updated the styles of the server commands (javiereguiluz)

  • feature #15964 Symfony Console Style tweaks (javiereguiluz)

  • feature #15919 [Form] Guess currency field based on validator constraint (enumag)

  • feature #15934 Add a non-static API for the CssSelector component (stof)

  • feature #14235 [FrameworkBundle] Refactored assets:install command and apply Symfony styles (1ed)

  • feature #15963 added logging of unused tags (Marmelatze, fabpot)

  • feature #15970 [TwigBundle] removed usage of Templating classes (fabpot)

  • feature #14132 Applied the new styles to the router: commands (javiereguiluz)

  • feature #15356 [WebProfilerBundle] Profiler View Latest should preserve all the current query parameters (jbafford)

  • feature #15953 [TwigBridge] is_granted no longer raise an exception if the token storage is empty (lyrixx)

  • feature #14602 [2.8] [Ldap] Added support for LDAP (New Component + integration in the Security Component). (csarrazi, lyrixx)

  • feature #15939 Removed the "Delete profiles" action from the web profiler sidebar (javiereguiluz)

  • feature #15962 [Finder] simplified code (fabpot)

  • feature #15882 Easier Custom Authentication errors (weaverryan)

  • feature #15907 [DomCrawler] Deprecate methods inherited from SplObjectStorage (stof)

  • feature #15301 [Form][Type Date/Time] added choice_translation_domain option. (aitboudad)

  • feature #15697 [BrowserKit] Added isFollowingRedirects and getMaxRedirects methods (Naktibalda)

  • feature #15719 Deprecate ResourceInterface::getResource() (mpdude)

  • feature #15818 [WebProfilerBundle] Add collapsed sidebar on small screens (hason)

  • feature #15858 [PropertyInfo] Import the component (dunglas)

  • feature #15892 deprecated the Shell Console class (fabpot)

  • feature #15519 [Validator] added BIC (SWIFT-BIC) validation constraint (mvhirsch)

  • feature #12587 [TwigBridge] Foundation form layout integration (totophe)

  • feature #15151 [Security] Deprecated supportsAttribute and supportsClass methods (WouterJ)

  • feature #15491 Add support for deprecated definitions (Taluu)

  • feature #14894 [Console] Add domain exceptions to replace generic exceptions (GromNaN)

  • feature #15738 Implement service-based Resource (cache) validation (mpdude)

  • feature #14673 New Guard Authentication System (e.g. putting the joy back into security) (weaverryan)

  • feature #15870 Updating AbstractVoter so that the method receives the TokenInterface (weaverryan)

  • feature #15786 [Translation][File dumper] allow get file content without writing in file. (aitboudad)

  • feature #15805 [Finder] Deprecate adapters and related classes (nicolas-grekas)

  • feature #15837 [VarDumper] Add EnumStub for dumping virtual collections with casters (nicolas-grekas)

  • feature #15699 [Translator][FileDumper] deprecated format method in favor of formatCatalogue. (aitboudad)

  • feature #15717 [Translator][Loader] added XLIFF 2.0 support. (xphere, aitboudad)

  • feature #15743 Validate the extended type for lazy-loaded type extensions (stof)

  • feature #13761 Automatically process extensions when they implement CompilerPassInterface (WouterJ)

  • feature #15787 [VarDumper] Add caster for OuterIterator objects (nicolas-grekas)

  • feature #13616 [HttpKernel] Add entry point to more easily create/configure the DI extension (egeloen)

  • feature #14378 [DX] Added a logout link in the security panel of the web debug toolbar (javiereguiluz)

  • feature #15620 [WIP] #15502 Make template shortcuts be usable without Templating component (Koc)

  • feature #15523 Redesigned the Symfony Profiler (javiereguiluz)

  • feature #15773 Make the exception output visible even in quiet mode, fixes #15680 (Seldaek)

  • feature #15772 Convert Output::write's type to an options arg where verbosity can be passed in as well (Seldaek)

  • feature #15756 [Translation] added option json_options to JsonFileDumper. (gepo)

  • feature #15724 [HttpKernel] Move required RequestStack args as first arguments (nicolas-grekas)

  • feature #15521 [Debug] Add BufferingLogger for errors that happen before a proper logger is configured (nicolas-grekas)

  • feature #15709 [WebProfilerBundle] deprecated import/export commands (fabpot)

  • feature #15710 added ExceptionHandler::getHtml() to expose the full HTML of an exception (fabpot)

  • feature #15562 [translation] Deprecated DiffOperation (zerustech)

  • feature #15635 [Config] Prototypes info (ogizanagi)

  • feature #15551 [Translation] added element metadata to XliffFileDumper (aitboudad)

  • feature #15555 [VarDumper] Add caster for pgsql resources (nicolas-grekas)

  • feature #15452 [Translator] [Xliff] Add support for target attributes. (marcosdsanchez)

  • feature #15416 [DependencyInjection] Added a way to define the priority of service decoration (dosten)

  • feature #15433 Allow to define Enum nodes with 1 single element (javiereguiluz)

  • feature #13990 [Form] Add flexibility for EntityType (raziel057)

  • feature #15382 [Console] Use readline for user input when available #DX (michaelperrin)

  • feature #15013 [Security] Removed security-acl from the core (iltar)

  • feature #15079 [Form] Deprecated FormTypeInterface::getName() and passing of type instances (webmozart)

  • feature #15418 [Debug] Deprecate ExceptionHandler::createResponse (nicolas-grekas)

  • feature #15123 [2.8][FrameworkBundle] Allow parameter use_cookies in session configuration (derrabus)

  • feature #14987 [FrameworkBundle] Configurable Serializer name converter (dunglas)

  • feature #15285 [Config] deprecate cannotBeEmpty() for boolean and numeric nodes (xabbuh)

  • feature #15372 [FrameworkBundle] Change the default value of cookie_httponly (jderusse)

  • feature #15160 Redesigned the web debug toolbar (javiereguiluz)

  • feature #15185 Implement resettable containers (stof)

  • feature #15131 [Security] Moved Simple{Form,Pre}AuthenticatorInterfaces to Security\Http (WouterJ)

  • feature #15290 [DependencyInjection] Forbid container cloning (jakzal)

  • feature #14264 [WebProfilerBundle] Add link to show profile of latest request (xelaris)

  • feature #15139 [Translation] Add parameters to DataCollectorTranslator (damienalexandre)

  • feature #15175 [VarDumper] Ingore PHPUnit and Prophecy object when they are nested (lyrixx)

  • feature #15141 [DX] [Security] Renamed Token#getKey() to getSecret() (WouterJ)

  • feature #15154 [Validator] Added missing error codes and turned codes into UUIDs (webmozart)

  • feature #15096 [DependencyInjection] Allow anonymous DefinitionDecorator resolving (nicolas-grekas)

  • feature #14764 [TwigBundle] Warmup twig templates in non-standard paths (kbond)

  • feature #15134 [FrameworkBundle] add option to force web server startup (xabbuh)

  • feature #14238 [config] added remove option to ignoreExtraKeys (twifty)

  • feature #15076 [Debug] Allow throwing from __toString() with return trigger_error($e, E_USER_ERROR); (nicolas-grekas)

  • feature #14984 [DependencyInjection] Deprecate scope concept (dosten)

  • feature #14429 [FrameworkBundle] Add a doctrine cache service definition for validator mapping (jakzal)

  • feature #14991 [Console][Table] allow multiple render() calls. (jaytaph)

  • feature #14660 [Form] moved data trimming logic of TrimListener into StringUtil (issei-m)

  • feature #15019 [Form] Deprecated "cascade_validation" (webmozart)

  • feature #12314 [Form] Add "prototype_data" option to collection type (kgilden)

  • feature #12067 [Form] Added the 'range' FormType (jaytaph)

  • feature #14993 [Profiler][Translation] added filter. (aitboudad)

  • feature #14912 [HttpFoundation] Postpone setting the date header on a Response (jakzal)

  • feature #14903 [profiler][request toolbar] Removed route name from the toolbar (MJBGO)

  • feature #14904 [toolbar] Merged colored icons in toolbar (MJBGO)

  • feature #14781 [TwigBundle] Reconfigure twig paths when they are updated (chbruyand)

  • feature #14700 [DependencyInjection] [Routing] [Config] Recursive directory loading (lavoiesl, nicolas-grekas)

  • feature #14733 [Security] Add setVoters() on AccessDecisionManager (nicolas-grekas)

  • feature #14756 [Serializer] Support for array denormalization (derrabus)

  • feature #14630 [Translator] Dump translation constants as tree instead of simple list (gepo)

  • feature #14403 [Form] deprecate read_only option (Tobion)

  • feature #13324 [WebProfilerBundle] Improved page for logs (hason)

  • feature #14561 [FrameworkBundle][DX] Add option to specify additional translation loading paths (Seldaek)

  • feature #14563 [FrameworkBundle][EventDispatcher] Add priorities to the debug:event-dispatcher command (Seldaek)

  • feature #14546 [Translator] deprecate getMessages in favor of getCatalogue. (aitboudad)

  • feature #14320 [Translation] added an --all option to the debug:translation command #14237 (sgehrig)

  • feature #14473 [DX] Minor improvement for the translation:debug output (nicolasdewez)

  • feature #14443 [VarDumper] Allow preserving a subset of cut arrays (nicolas-grekas)

  • feature #14431 [Console] Bind the closure (code) to the Command if possible (lyrixx)

  • feature #14424 [VarDumper] Added support for SplFileInfo (lyrixx)

  • feature #14359 [Translation] added FileLoader. (aitboudad)

  • feature #14383 [FrameworkBundle][Server Command] add address port number option. (aitboudad)