mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 21:34:12 +01:00
Package operations: 2 installs, 23 updates, 0 removals - Updating psr/log (1.1.0 => 1.1.2) - Updating symfony/debug (v3.4.30 => v3.4.35) - Updating symfony/console (v3.4.30 => v3.4.35) - Updating symfony/dotenv (v3.4.30 => v3.4.35) - Updating symfony/routing (v3.4.30 => v3.4.35) - Updating symfony/finder (v3.4.30 => v3.4.35) - Updating symfony/filesystem (v3.4.30 => v3.4.35) - Installing symfony/polyfill-util (v1.12.0) - Installing symfony/polyfill-php56 (v1.12.0) - Updating symfony/http-foundation (v3.4.30 => v3.4.35) - Updating symfony/event-dispatcher (v3.4.30 => v3.4.35) - Updating symfony/http-kernel (v3.4.30 => v3.4.35) - Updating symfony/config (v3.4.30 => v3.4.35) - Updating symfony/dependency-injection (v3.4.30 => v3.4.35) - Updating symfony/class-loader (v3.4.30 => v3.4.35) - Updating symfony/cache (v3.4.30 => v3.4.35) - Updating symfony/framework-bundle (v3.4.30 => v3.4.35) - Updating twig/twig (v1.42.2 => v1.42.4) - Updating symfony/twig-bridge (v3.4.30 => v3.4.35) - Updating symfony/twig-bundle (v3.4.30 => v3.4.35) - Updating symfony/yaml (v3.4.30 => v3.4.35) - Updating symfony/stopwatch (v3.4.30 => v3.4.35) - Updating symfony/var-dumper (v3.4.30 => v3.4.35) - Updating symfony/web-profiler-bundle (v3.4.30 => v3.4.35) - Updating symfony/css-selector (v3.4.30 => v3.4.35)
15 KiB
15 KiB
CHANGELOG
3.4.0
- Added
translator.default_pathoption and parameter - Session
use_strict_modeis now enabled by default and the corresponding option has been deprecated - Made the
cache:clearcommand to not clear "app" PSR-6 cache pools anymore, but to still clear "system" ones; use thecache:pool:clearcommand to clear "app" pools instead - Always register a minimalist logger that writes in
stderr - Deprecated
profiler.matcheroption - Added support for
EventSubscriberInterfaceonMicroKernelTrait - Removed
doctrine/cachefrom the list of required dependencies incomposer.json - Deprecated
validator.mapping.cache.doctrine.apcservice - The
symfony/stopwatchdependency has been removed, require it viacomposer require symfony/stopwatchin yourdevenvironment. - Deprecated using the
KERNEL_DIRenvironment variable withKernelTestCase::getKernelClass(). - Deprecated the
KernelTestCase::getPhpUnitXmlDir()andKernelTestCase::getPhpUnitCliConfigArgument()methods. - Deprecated
AddCacheClearerPass, use tagged iterator arguments instead. - Deprecated
AddCacheWarmerPass, use tagged iterator arguments instead. - Deprecated
TranslationDumperPass, useSymfony\Component\Translation\DependencyInjection\TranslationDumperPassinstead - Deprecated
TranslationExtractorPass, useSymfony\Component\Translation\DependencyInjection\TranslationExtractorPassinstead - Deprecated
TranslatorPass, useSymfony\Component\Translation\DependencyInjection\TranslatorPassinstead - Added
commandattribute to theconsole.commandtag which takes the command name as value, using it makes the command lazy - Added
cache:pool:prunecommand to allow manual stale cache item pruning of supported PSR-6 and PSR-16 cache pool implementations - Deprecated
Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader, useSymfony\Component\Translation\Reader\TranslationReaderinstead - Deprecated
translation.loaderservice, usetranslation.readerinstead AssetsInstallCommand::__construct()now takes an instance ofSymfony\Component\Filesystem\Filesystemas first argumentCacheClearCommand::__construct()now takes an instance ofSymfony\Component\HttpKernel\CacheClearer\CacheClearerInterfaceas first argumentCachePoolClearCommand::__construct()now takes an instance ofSymfony\Component\HttpKernel\CacheClearer\Psr6CacheCleareras first argumentEventDispatcherDebugCommand::__construct()now takes an instance ofSymfony\Component\EventDispatcher\EventDispatcherInterfaceas first argumentRouterDebugCommand::__construct()now takes an instance ofSymfony\Component\Routing\RouterInterfaceas first argumentRouterMatchCommand::__construct()now takes an instance ofSymfony\Component\Routing\RouterInterfaceas first argumentTranslationDebugCommand::__construct()now takes an instance ofSymfony\Component\Translation\TranslatorInterfaceas first argumentTranslationUpdateCommand::__construct()now takes an instance ofSymfony\Component\Translation\TranslatorInterfaceas first argumentAssetsInstallCommand,CacheClearCommand,CachePoolClearCommand,EventDispatcherDebugCommand,RouterDebugCommand,RouterMatchCommand,TranslationDebugCommand,TranslationUpdateCommand,XliffLintCommandandYamlLintCommandclasses have been marked as final- Added
asset.request_context.base_pathandasset.request_context.secureparameters to provide a default request context in case the stack is empty (similar torouter.request_context.*parameters) - Display environment variables managed by
DotenvinAboutCommand
3.3.0
- Not defining the
typeoption of theframework.workflows.*configuration entries is deprecated. The default value will bestate_machinein Symfony 4.0. - Deprecated the
CompilerDebugDumpPassclass - Deprecated the "framework.trusted_proxies" configuration option and the corresponding "kernel.trusted_proxies" parameter
- Added a new version strategy option called "json_manifest_path"
that allows you to use the
JsonManifestVersionStrategy. - Added
Symfony\Bundle\FrameworkBundle\Controller\AbstractController. It provides the same helpers as theControllerclass, but does not allow accessing the dependency injection container, in order to encourage explicit dependency declarations. - Added support for the
controller.service_argumentstag, for injecting services into controllers' actions - Changed default configuration for
assets/forms/validation/translation/serialization/csrf from
canBeEnabled()tocanBeDisabled()when Flex is used - The server:* commands and their associated router files were moved to WebServerBundle
- Translation related services are not loaded anymore when the
framework.translatoroption is disabled. - Added
GlobalVariables::getToken() - Deprecated
Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddConsoleCommandPass. UseSymfony\Component\Console\DependencyInjection\AddConsoleCommandPassinstead. - Added configurable paths for validation files
- Deprecated
SerializerPass, useSymfony\Component\Serializer\DependencyInjection\SerializerPassinstead - Deprecated
FormPass, useSymfony\Component\Form\DependencyInjection\FormPassinstead - Deprecated
SessionListener - Deprecated
TestSessionListener - Deprecated
Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ConfigCachePass. Use tagged iterator arguments instead. - Deprecated
PropertyInfoPass, useSymfony\Component\PropertyInfo\DependencyInjection\PropertyInfoPassinstead - Deprecated
ControllerArgumentValueResolverPass. UseSymfony\Component\HttpKernel\DependencyInjection\ControllerArgumentValueResolverPassinstead - Deprecated
RoutingResolverPass, useSymfony\Component\Routing\DependencyInjection\RoutingResolverPassinstead - [BC BREAK] The
server:run,server:start,server:stopandserver:statusconsole commands have been moved to a dedicated bundle. Requiresymfony/web-server-bundlein your composer.json and registerSymfony\Bundle\WebServerBundle\WebServerBundlein your AppKernel to use them. - Added
$defaultLocaleas 3rd argument ofTranslator::__construct()makingTranslatorworks with any PSR-11 container - Added
framework.serializer.mappingconfig option allowing to define custom serialization mapping files and directories - Deprecated
AddValidatorInitializersPass, useSymfony\Component\Validator\DependencyInjection\AddValidatorInitializersPassinstead - Deprecated
AddConstraintValidatorsPass, useSymfony\Component\Validator\DependencyInjection\AddConstraintValidatorsPassinstead - Deprecated
ValidateWorkflowsPass, useSymfony\Component\Workflow\DependencyInjection\ValidateWorkflowsPassinstead - Deprecated
ConstraintValidatorFactory, useSymfony\Component\Validator\ContainerConstraintValidatorFactoryinstead. - Deprecated
PhpStringTokenParser, useSymfony\Component\Translation\Extractor\PhpStringTokenParserinstead. - Deprecated
PhpExtractor, useSymfony\Component\Translation\Extractor\PhpExtractorinstead.
3.2.0
- Removed
doctrine/annotationsfrom the list of required dependencies incomposer.json - Removed
symfony/security-coreandsymfony/security-csrffrom the list of required dependencies incomposer.json - Removed
symfony/templatingfrom the list of required dependencies incomposer.json - Removed
symfony/translationfrom the list of required dependencies incomposer.json - Removed
symfony/assetfrom the list of required dependencies incomposer.json - The
Resources/public/images/*files have been removed. - The
Resources/public/css/*.cssfiles have been removed (they are now inlined in TwigBundle). - Added possibility to prioritize form type extensions with
'priority'attribute on tagsform.type_extension
3.1.0
- Added
Controller::jsonto simplify creating JSON responses when using the Serializer component - Deprecated absolute template paths support in the template name parser
- Deprecated using core form types without dependencies as services
- Added
Symfony\Component\HttpHernel\DataCollector\RequestDataCollector::onKernelResponse() - Added
Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector - The
framework.serializer.cacheoption and the serviceserializer.mapping.cache.apchave been deprecated. APCu should now be automatically used when available.
3.0.0
- removed
validator.apiparameter - removed
aliasoption of theform.typetag
2.8.0
- Deprecated the
aliasoption of theform.type_extensiontag in favor of theextended_type/extended-typeoption - Deprecated the
aliasoption of theform.typetag - Deprecated the Shell
2.7.0
- Added possibility to extract translation messages from a file or files besides extracting from a directory
- Added
TranslationsCacheWarmerto create catalogues at warmup
2.6.0
- Added helper commands (
server:start,server:stopandserver:status) to control the built-in web server in the background - Added
Controller::isCsrfTokenValidhelper - Added configuration for the PropertyAccess component
- Added
Controller::redirectToRoutehelper - Added
Controller::addFlashhelper - Added
Controller::isGrantedhelper - Added
Controller::denyAccessUnlessGrantedhelper - Deprecated
app.securityin twig asapp.userandis_granted()are already available
2.5.0
- Added
translation:debugcommand - Added
--no-backupoption totranslation:updatecommand - Added
config:debugcommand - Added
yaml:lintcommand - Deprecated the
RouterApacheDumperCommandwhich will be removed in Symfony 3.0.
2.4.0
- allowed multiple IP addresses in profiler matcher settings
- added stopwatch helper to time templates with the WebProfilerBundle
- added service definition for "security.secure_random" service
- added service definitions for the new Security CSRF sub-component
2.3.0
- [BC BREAK] added a way to disable the profiler (when disabling the profiler, it is now completely removed)
To get the same "disabled" behavior as before, set
enabledtotrueandcollecttofalse - [BC BREAK] the
Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RegisterKernelListenersPasswas moved toComponent\HttpKernel\DependencyInjection\RegisterListenersPass - added ControllerNameParser::build() which converts a controller short notation (a:b:c) to a class::method notation
- added possibility to run PHP built-in server in production environment
- added possibility to load the serializer component in the service container
- added route debug information when using the
router:matchcommand - added
TimedPhpEngine - added
--cleanoption to thetranslation:updatecommand - added
http_method_overrideoption - added support for default templates per render tag
- added FormHelper::form(), FormHelper::start() and FormHelper::end()
- deprecated FormHelper::enctype() in favor of FormHelper::start()
- RedirectController actions now receive the Request instance via the method signature.
2.2.0
- added a new
uri_signerservice to help sign URIs - deprecated
Symfony\Bundle\FrameworkBundle\HttpKernel::render()andSymfony\Bundle\FrameworkBundle\HttpKernel::forward() - deprecated the
Symfony\Bundle\FrameworkBundle\HttpKernelclass in favor ofSymfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel - added support for adding new HTTP content rendering strategies (like ESI and Hinclude)
in the DIC via the
kernel.fragment_renderertag - [BC BREAK] restricted the
Symfony\Bundle\FrameworkBundle\HttpKernel::render()method to only accept URIs or ControllerReference instancesSymfony\Bundle\FrameworkBundle\HttpKernel::render()method signature changed and the first argument must now be a URI or a ControllerReference instance (thegenerateInternalUri()method was removed)- The internal routes (
Resources/config/routing/internal.xml) have been removed and replaced with a listener (Symfony\Component\HttpKernel\EventListener\FragmentListener) - The
rendermethod of theactionstemplating helper signature and arguments changed
- replaced Symfony\Bundle\FrameworkBundle\Controller\TraceableControllerResolver by Symfony\Component\HttpKernel\Controller\TraceableControllerResolver
- replaced Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher by Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher
- added Client::enableProfiler()
- a new parameter has been added to the DIC:
router.request_context.base_urlYou can customize it for your functional tests or for generating URLs with the right base URL when your are in the CLI context. - added support for default templates per render tag
2.1.0
- moved the translation files to the Form and Validator components
- changed the default extension for XLIFF files from .xliff to .xlf
- moved Symfony\Bundle\FrameworkBundle\ContainerAwareEventDispatcher to Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher
- moved Symfony\Bundle\FrameworkBundle\Debug\TraceableEventDispatcher to Symfony\Component\EventDispatcher\ContainerAwareTraceableEventDispatcher
- added a router:match command
- added a config:dump-reference command
- added a server:run command
- added kernel.event_subscriber tag
- added a way to create relative symlinks when running assets:install command (--relative option)
- added Controller::getUser()
- [BC BREAK] assets_base_urls and base_urls merging strategy has changed
- changed the default profiler storage to use the filesystem instead of SQLite
- added support for placeholders in route defaults and requirements (replaced by the value set in the service container)
- added Filesystem component as a dependency
- added support for hinclude (use
standalone: 'js'in render tag) - session options: lifetime, path, domain, secure, httponly were deprecated. Prefixed versions should now be used instead: cookie_lifetime, cookie_path, cookie_domain, cookie_secure, cookie_httponly
- [BC BREAK] following session options: 'lifetime', 'path', 'domain', 'secure', 'httponly' are now prefixed with cookie_ when dumped to the container
- Added
handler_idconfiguration undersessionkey to representsession.handlerservice, defaults tosession.handler.native_file. - Added
gc_maxlifetime,gc_probability, andgc_divisorto session configuration. This means session garbage collection has agc_probability/gc_divisorchance of being run. Thegc_maxlifetimedefines how long a session can idle for. It is different from cookie lifetime which declares how long a cookie can be stored on the remote client. - Removed 'auto_start' configuration parameter from session config. The session will start on demand.
- [BC BREAK] TemplateNameParser::parseFromFilename() has been moved to a dedicated parser: TemplateFilenameParser::parse().
- [BC BREAK] Kernel parameters are replaced by their value wherever they appear in Route patterns, requirements and defaults. Use '%%' as the escaped value for '%'.
- [BC BREAK] Switched behavior of flash messages to expire flash messages on retrieval using Symfony\Component\HttpFoundation\Session\Flash\FlashBag as opposed to on next pageload regardless of whether they are displayed or not.