8000 Merge branch '3.2' · symfony/symfony@3aeac5a · GitHub
[go: up one dir, main page]

Skip to content

Commit 3aeac5a

Browse files
committed
Merge branch '3.2'
* 3.2: bumped Symfony version to 3.2.8 updated VERSION for 3.2.7 updated CHANGELOG for 3.2.7 Fixes #22264 - add support for Chrome headless, see also Seldaek/monolog#966 [Workflow] update documentation URL in readme bumped Symfony version to 2.8.20 updated VERSION for 2.8.19 updated CHANGELOG for 2.8.19 Dont call sprintf() when no placeholders are used
2 parents 958b0ae + f53e81d commit 3aeac5a

File tree

6 files changed

+52
-7
lines changed

6 files changed

+52
-7
lines changed

CHANGELOG-3.2.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,51 @@ in 3.2 minor versions.
77
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
88
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v3.2.0...v3.2.1
99

10+
* 3.2.7 (2017-04-05)
11+
12+
* bug #22285 [HttpKernel] Fix forward compat with Request::setTrustedProxies() (nicolas-grekas)
13+
* bug #22265 Allow Upper Case property names (insekticid)
14+
* bug #22258 [DI] Autowiring and factories are incompatible with each others (nicolas-grekas)
15+
* bug #22254 [DI] Don't use auto-registered services to populate type-candidates (nicolas-grekas)
16+
* bug #22229 [ExpressionLanguage] Provide the expression in syntax errors (k0pernikus, stof)
17+
* bug #22251 [PropertyInfo] Support nullable array or collection (4rthem)
18+
* bug #22240 [DI] Fix fatal error at ContainerBuilder::compile() if config is not installed (chalasr)
19+
* bug #22140 [Form] Improve the exceptions when trying to get the data in a PRE_SET_DATA listener and the data has not already been set (fancyweb)
20+
* bug #22217 [Console] Fix table cell styling (ro0NL)
21+
* bug #22194 [Console] CommandTester: disable color support detection (julienfalque)
22+
* bug #22188 [Console] Revised exception rendering (ro0NL)
23+
* bug #22154 [WebProfilerBundle] Normalize whitespace in exceptions passed in headers (curry684)
24+
* bug #22183 [Process] Fix bug which wiped or mangled env vars (pjcdawkins)
25+
* bug #22142 [Console] Escape exception messages in renderException (chalasr)
26+
* bug #22172 Fix port usage in server:status command (alcaeus)
27+
* bug #22164 [Bridge\Doctrine] Fix change breaking doctrine-bundle test suite (nicolas-grekas)
28+
* bug #22159 [FrameworkBundle] Cache pool clear command requires at least 1 pool (ro0NL)
29+
* bug #22133 [Filesystem] normalize paths before making them relative (xabbuh)
30+
* bug #22138 [HttpFoundation][bugfix] $bags should always be initialized (MacDada)
31+
* bug #21810 #21809 [SecurityBundle] bugfix: if security provider's name contains upper cases then container didn't compile (Antanas Arvasevicius)
32+
* bug #22123 [WebProfilerBundle] Fix for CSS attribute at Profiler Translation Page (e-moe)
33+
* bug #19778 [Security] Fixed roles serialization on token from user object (eko)
34+
* bug #22036 Set Date header in Response constructor already (mpdude)
35+
* bug #22022 [Validator] fix URL validator to detect non supported chars according to RFC 3986 (e-moe)
36+
* bug #21849 [HttpFoundation] Fix missing handling of for/host/proto info from "Forwarded" header (nicolas-grekas)
37+
* bug #21968 Fixed pathinfo calculation for requests starting with a question mark. (syzygymsu)
38+
* bug #22027 Revert "bug #21841 [Console] Do not squash input changes made from console.command event (chalasr)" (chalasr)
39+
* bug #21846 [HttpFoundation] Fix Request::getHost() when having several hosts in X_FORWARDED_HOST (nicolas-grekas)
40+
* bug #21208 [Validator] Add object handling of invalid constraints in Composite (SenseException)
41+
* bug #22044 [Serializer] [XML] Ignore Process Instruction (jordscream)
42+
* bug #22090 [WebProfilerBundle] Fix Content-Security-Policy compatibility in case of a `style-src 'self'` policy (romainneutron)
43+
* bug #22079 [HttpKernel] Fixed bug with purging of HTTPS URLs (ausi)
44+
* bug #22045 [WebProfilerBundle] Handle Content-Security-Policy-Report-Only header correctly (romainneutron)
45+
* bug #21523 #20411 fix Yaml parsing for very long quoted strings (RichardBradley)
46+
* bug #22001 [Doctrine Bridge] fix priority for doctrine event listeners (dmaicher)
47+
* bug #22040 [FrameworkBundle] improve message when workflows are missing (xabbuh)
48+
* bug #22032 [FrameworkBundle] Fix translation dep constraint (chalasr)
49+
* bug #21996 [Cache] Enhance error reporting for FilesystemAdapter (nicolas-grekas)
50+
* bug #21981 [Console] Use proper line endings in BufferedOutput (julienfalque)
51+
* bug #21976 [VarDumper] Add missing isset() checks in some casters (nicolas-grekas)
52+
* bug #21973 [VarDumper] Add missing isset() checks in some casters (nicolas-grekas)
53+
* bug #21957 [Form] Choice type int values (BC Fix) (mcfedr)
54+
1055
* 3.2.6 (2017-03-10)
1156

1257
* bug #21930 [Cache] Cached files rely on umask (4rthem)

src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function onKernelResponse(FilterResponseEvent $event)
4141
return;
4242
}
4343

44-
if (!preg_match('{\b(?:Chrome/\d+(?:\.\d+)*|Firefox/(?:4[3-9]|[5-9]\d|\d{3,})(?:\.\d)*)\b}', $event->getRequest()->headers->get('User-Agent'))) {
44+
if (!preg_match('{\b(?:Chrome/\d+(?:\.\d+)*|HeadlessChrome|Firefox/(?:4[3-9]|[5-9]\d|\d{3,})(?:\.\d)*)\b}', $event->getRequest()->headers->get('User-Agent'))) {
4545
$this->sendHeaders = false;
4646
$this->headers = array();
4747

src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ protected function getContainerBuilder()
177177
}
178178

179179
if (!$this->getApplication()->getKernel()->isDebug()) {
180-
throw new \LogicException(sprintf('Debug information about the container is only available in debug mode.'));
180+
throw new \LogicException('Debug information about the container is only available in debug mode.');
181181
}
182182

183183
if (!is_file($cachedFile = $this->getContainer()->getParameter('debug.container.dump'))) {
184-
throw new \LogicException(sprintf('Debug information about the container could not be found. Please clear the cache and try again.'));
184+
throw new \LogicException('Debug information about the container could not be found. Please clear the cache and try again.');
185185
}
186186

187187
$container = new ContainerBuilder();

src/Symfony/Component/DependencyInjection/Definition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public function setMethodCalls(array $calls = array())
277277
public function addMethodCall($method, array $arguments = array())
278278
{
279279
if (empty($method)) {
280-
throw new InvalidArgumentException(sprintf('Method name cannot be empty.'));
280+
throw new InvalidArgumentException('Method name cannot be empty.');
281281
}
282282
$this->calls[] = array($method, $arguments);
283283

src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private function addService($id, $definition)
9898
}
9999

100100
if ($definition->isSynthetic()) {
101-
$code .= sprintf(" synthetic: true\n");
101+
$code .= " synthetic: true\n";
102102
}
103103

104104
if ($definition->isDeprecated()) {
@@ -118,7 +118,7 @@ private function addService($id, $definition)
118118
}
119119

120120
if ($definition->isLazy()) {
121-
$code .= sprintf(" lazy: true\n");
121+
$code .= " lazy: true\n";
122122
}
123123

124124
if ($definition->getArguments()) {

src/Symfony/Component/Workflow/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Workflow Component
44
Resources
55
---------
66

7-
* [Documentation](https://symfony.com/doc/master/components/workflow.html)
7+
* [Documentation](https://symfony.com/doc/current/components/workflow.html)
88
* [Contributing](https://symfony.com/doc/current/contributing/index.html)
99
* [Report issues](https://github.com/symfony/symfony/issues) and
1010
[send Pull Requests](https://github.com/symfony/symfony/pulls)

0 commit comments

Comments
 (0)
0