8000 legacy cs fixes · symfony/symfony@da3e8b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit da3e8b0

Browse files
committed
legacy cs fixes
1 parent 26da79c commit da3e8b0

File tree

1 file changed

+72
-57
lines changed

1 file changed

+72
-57
lines changed

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 72 additions & 57 deletions
B959
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ CHANGELOG
44
3.1.0
55
-----
66

7-
* Added `Controller::json` to simplify creating JSON responses when using the Serializer component
8-
* Deprecated absolute template paths support in the template name parser
9-
* Deprecated using core form types without dependencies as services
7+
* added `Controller::json` to simplify creating JSON responses when using the Serializer component
8+
* deprecated absolute template paths support in the template name parser
9+
* deprecated using core form types without dependencies as services
1010
* added `Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector`
1111

1212
3.0.0
@@ -18,38 +18,41 @@ CHANGELOG
1818
2.8.0
1919
-----
2020

21-
* Deprecated the `alias` option of the `form.type_extension` tag in favor of the
21+
* deprecated the `alias` option of the `form.type_extension` tag in favor of the
2222
`extended_type`/`extended-type` option
23-
* Deprecated the `alias` option of the `form.type` tag
24-
* Deprecated the Shell
23+
* deprecated the `alias` option of the `form.type` tag
24+
* deprecated the Shell
2525

2626
2.7.0
2727
-----
2828

29-
* Added possibility to extract translation messages from a file or files besides extracting from a directory
30-
* Added `TranslationsCacheWarmer` to create catalogues at warmup
29+
* added possibility to extract translation messages from a file or files besides
30+
extracting from a directory
31+
* added `TranslationsCacheWarmer` to create catalogues at warmup
3132

3233
2.6.0
3334
-----
3435

35-
* Added helper commands (`server:start`, `server:stop` and `server:status`) to control the built-in web
36-
server in the background
37-
* Added `Controller::isCsrfTokenValid` helper
38-
* Added configuration for the PropertyAccess component
39-
* Added `Controller::redirectToRoute` helper
40-
* Added `Controller::addFlash` helper
41-
* Added `Controller::isGranted` helper
42-
* Added `Controller::denyAccessUnlessGranted` helper
43-
* Deprecated `app.security` in twig as `app.user` and `is_granted()` are already available
36+
* added helper commands (`server:start`, `server:stop` and `server:status`) to
37+
control the built-in web server in the background
38+
* added `Controller::isCsrfTokenValid` helper
39+
* added configuration for the PropertyAccess component
40+
* added `Controller::redirectToRoute` helper
41+
* added `Controller::addFlash` helper
42+
* added `Controller::isGranted` helper
43+
* added `Controller::denyAccessUnlessGranted` helper
44+
* deprecated `app.security` in twig as `app.user` and `is_granted()` are
45+
already available
4446

4547
2.5.0
4648
-----
4749

48-
* Added `translation:debug` command
49-
* Added `--no-backup` option to `translation:update` command
50-
* Added `config:debug` command
51-
* Added `yaml:lint` command
52-
* Deprecated the `RouterApacheDumperCommand` which will be removed in Symfony 3.0.
50+
* added `translation:debug` command
51+
* added `--no-backup` option to `translation:update` command
52+
* added `config:debug` command
53+
* added `yaml:lint` command
54+
* deprecated the `RouterApacheDumperCommand` which will be removed in
55+
Symfony 3.0.
5356

5457
2.4.0
5558
-----
@@ -62,38 +65,48 @@ CHANGELOG
6265
2.3.0
6366
-----
6467

65-
* [BC BREAK] added a way to disable the profiler (when disabling the profiler, it is now completely removed)
66-
To get the same "disabled" behavior as before, set `enabled` to `true` and `collect` to `false`
67-
* [BC BREAK] the `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RegisterKernelListenersPass` was moved
68-
to `Component\HttpKernel\DependencyInjection\RegisterListenersPass`
69-
* added ControllerNameParser::build() which converts a controller short notation (a:b:c) to a class::method notation
68+
* [BC BREAK] added a way to disable the profiler (when disabling the profiler,
69+
it is now completely removed).
70+
To get the same "disabled" behavior as before, set `enabled` to `true` and
71+
`collect` to `false`
72+
* [BC BREAK] the `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RegisterKernelListenersPass`
73+
was moved to `Symfony\Component\HttpKernel\DependencyInjection\RegisterListenersPass`
74+
* added `ControllerNameParser::build()` which converts a controller short
75+
notation (a:b:c) to a class::method notation
7076
* added possibility to run PHP built-in server in production environment
7177
* added possibility to load the serializer component in the service container
7278
* added route debug information when using the `router:match` command
7379
* added `TimedPhpEngine`
7480
* added `--clean` option to the `translation:update` command
7581
* added `http_method_override` option
7682
* added support for default templates per render tag
77-
* added FormHelper::form(), FormHelper::start() and FormHelper::end()
78-
* deprecated FormHelper::enctype() in favor of FormHelper::start()
79-
* RedirectController actions now receive the Request instance via the method signature.
83+
* added `FormHelper::form()`, `FormHelper::start()` and `FormHelper::end()`
84+
* deprecated `FormHelper::enctype()` in favor of `FormHelper::start()`
85+
* `RedirectController` actions now receive the Request instance via the method
86+
signature.
8087

8188
2.2.0
8289
-----
8390

8491
* added a new `uri_signer` service to help sign URIs
85-
* deprecated `Symfony\Bundle\FrameworkBundle\HttpKernel::render()` and `Symfony\Bundle\FrameworkBundle\HttpKernel::forward()`
86-
* deprecated the `Symfony\Bundle\FrameworkBundle\HttpKernel` class in favor of `Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel`
87-
* added support for adding new HTTP content rendering strategies (like ESI and Hinclude)
88-
in the DIC via the `kernel.fragment_renderer` tag
89-
* [BC BREAK] restricted the `Symfony\Bundle\FrameworkBundle\HttpKernel::render()` method to only accept URIs or ControllerReference instances
92+
* deprecated `Symfony\Bundle\FrameworkBundle\HttpKernel::render()`
93+
and `Symfony\Bundle\FrameworkBundle\HttpKernel::forward()`
94+
* deprecated the `Symfony\Bundle\FrameworkBundle\HttpKernel` class in favor
95+
of `Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel`
96+
* added support for adding new HTTP content rendering strategies (like ESI and
97+
Hinclude) in the DIC via the `kernel.fragment_renderer` tag
98+
* [BC BREAK] restricted the `Symfony\Bundle\FrameworkBundle\HttpKernel::render()`
99+
method to only accept URIs or ControllerReference instances
90100
* `Symfony\Bundle\FrameworkBundle\HttpKernel::render()` method signature changed and the first argument
91101
must now be a URI or a ControllerReference instance (the `generateInternalUri()` method was removed)
92-
* The internal routes (`Resources/config/routing/internal.xml`) have been removed and replaced with a listener (`Symfony\Component\HttpKernel\EventListener\FragmentListener`)
102+
* The internal routes (`Resources/config/routing/internal.xml`) have been removed and replaced with
103+
a listener (`Symfony\Component\HttpKernel\EventListener\FragmentListener`)
93104
* The `render` method of the `actions` templating helper signature and arguments changed
94-
* replaced Symfony\Bundle\FrameworkBundle\Controller\TraceableControllerResolver by Symfony\Component\HttpKernel\Controller\TraceableControllerResolver
95-
* replaced Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher by Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher
96-
* added Client::enableProfiler()
105+
* replaced `Symfony\Bundle\FrameworkBundle\Controller\TraceableControllerResolver`
106+
by `Symfony\Component\HttpKernel\Controller\TraceableControllerResolver`
107+
* replaced `Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher`
108+
by `Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher`
109+
* added `Client::enableProfiler()`
97110
* a new parameter has been added to the DIC: `router.request_context.base_url`
98111
You can customize it for your functional tests or for generating URLs with
99112
the right base URL when your are in the CLI context.
@@ -104,15 +117,17 @@ CHANGELOG
104117

105118
* moved the translation files to the Form and Validator components
106119
* changed the default extension for XLIFF files from .xliff to .xlf
107-
* moved Symfony\Bundle\FrameworkBundle\ContainerAwareEventDispatcher to Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher
108-
* moved Symfony\Bundle\FrameworkBundle\Debug\TraceableEventDispatcher to Symfony\Component\EventDispatcher\ContainerAwareTraceableEventDispatcher
109-
* added a router:match command
110-
* added a config:dump-reference command
111-
* added a server:run command
112-
* added kernel.event_subscriber tag
113-
* added a way to create relative symlinks when running assets:install command (--relative option)
114-
* added Controller::getUser()
115-
* [BC BREAK] assets_base_urls and base_urls merging strategy has changed
120+
* moved `Symfony\Bundle\FrameworkBundle\ContainerAwareEventDispatcher`
121+
to `Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher`
122+
* moved `Symfony\Bundle\FrameworkBundle\Debug\TraceableEventDispatcher`
123+
to `Symfony\Component\EventDispatcher\ContainerAwareTraceableEventDispatcher`
124+
* added a `router:match` command
125+
* added a `config:dump-reference` command
126+
* added a `server:run` command
127+
* added `kernel.event_subscriber` tag
128+
* added a way to create relative symlinks when running `assets:install` command (`--relative` option)
129+
* added `Controller::getUser()`
130+
* [BC BREAK] `assets_base_urls` and `base_urls` merging strategy has changed
116131
* changed the default profiler storage to use the filesystem instead of SQLite
117132
* added support for placeholders in route defaults and requirements (replaced
118133
by the value set in the service container)
@@ -123,19 +138,19 @@ CHANGELOG
123138
cookie_domain, cookie_secure, cookie_httponly
124139
* [BC BREAK] following session options: 'lifetime', 'path', 'domain', 'secure',
125140
'httponly' are now prefixed with cookie_ when dumped to the container
126-
* Added `handler_id` configuration under `session` key to represent `session.handler`
141+
* added `handler_id` configuration under `session` key to represent `session.handler`
127142
service, defaults to `session.handler.native_file`.
128-
* Added `gc_maxlifetime`, `gc_probability`, and `gc_divisor` to session
143+
* added `gc_maxlifetime`, `gc_probability`, and `gc_divisor` to session
129144
configuration. This means session garbage collection has a
130145
`gc_probability`/`gc_divisor` chance of being run. The `gc_maxlifetime` defines
131146
how long a session can idle for. It is different from cookie lifetime which
132147
declares how long a cookie can be stored on the remote client.
133-
* Removed 'auto_start' configuration parameter from session config. The session will
148+
* removed 'auto_start' configuration parameter from session config. The session will
134149
start on demand.
135-
* [BC BREAK] TemplateNameParser::parseFromFilename() has been moved to a dedicated
136-
parser: TemplateFilenameParser::parse().
137-
* [BC BREAK] Kernel parameters are replaced by their value wherever they appear
138-
in Route patterns, requirements and defaults. Use '%%' as the escaped value for '%'.
139-
* [BC BREAK] Switched behavior of flash messages to expire flash messages on retrieval
140-
using Symfony\Component\HttpFoundation\Session\Flash\FlashBag as opposed to on
150+
* [BC BREAK] `TemplateNameParser::parseFromFilename()` has been moved to a dedicated
151+
parser: `TemplateFilenameParser::parse()`.
152+
* [BC BREAK] `Kernel` parameters are replaced by their value wherever they appear
153+
in `Route` patterns, requirements and defaults. Use '%%' as the escaped value for '%'.
154+
* [BC BREAK] switched behavior of flash messages to expire flash messages on retrieval
155+
using `Symfony\Component\HttpFoundation\Session\Flash\FlashBag` as opposed to on
141156
next pageload regardless of whether they are displayed or not.

0 commit comments

Comments
 (0)
0