Skip to content

Commit 591fc3a

Browse files
committed
Merge branch '2.3' into 2.7
* 2.3: add @event annotation for AuthenticationEvents bumped Symfony version to 2.3.41 updated VERSION for 2.3.40 update CONTRIBUTORS for 2.3.40 updated CHANGELOG for 2.3.40 bug symfony#17460 [DI] fix ambiguous services schema
2 parents 6f86b0e + af4ca4f commit 591fc3a

File tree

3 files changed

+52
-5
lines changed

3 files changed

+52
-5
lines changed

CHANGELOG-2.3.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,35 @@ in 2.3 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/v2.3.0...v2.3.1
99

10+
* 2.3.40 (2016-04-29)
11+
12+
* bug #18246 [DependencyInjection] fix ambiguous services schema (backbone87)
13+
* bug #18603 [PropertyAccess] ->getValue() should be read-only (nicolas-grekas)
14+
* bug #18280 [Routing] add query param if value is different from default (Tobion)
15+
* bug #18515 [Filesystem] Better error handling in remove() (nicolas-grekas)
16+
* bug #18449 [PropertyAccess] Fix regression (nicolas-grekas)
17+
* bug #18467 [DependencyInjection] Resolve aliases before removing abstract services + add tests (nicolas-grekas)
18+
* bug #18460 [DomCrawler] Fix select option with empty value (Matt Wells)
19+
* bug #18425 [Security] Fixed SwitchUserListener when exiting an impersonation with AnonymousToken (lyrixx)
20+
* bug #18317 [Form] fix "prototype" not required when parent form is not required (HeahDude)
21+
* bug #18439 [Logging] Add support for Firefox (43+) in ChromePhpHandler (arjenm)
22+
* bug #18385 Detect CLI color support for Windows 10 build 10586 (mlocati)
23+
* bug #18426 [EventDispatcher] Try first if the event is Stopped (lyrixx)
24+
* bug #18265 Optimize ReplaceAliasByActualDefinitionPass (ajb-in)
25+
* bug #18358 [Form] NumberToLocalizedStringTransformer should return floats when possible (nicolas-grekas)
26+
* bug #17926 [DependencyInjection] Enable alias for service_container (hason)
27+
* bug #18336 [Debug] Fix handling of php7 throwables (nicolas-grekas)
28+
* bug #18312 [ClassLoader] Fix storing not-found classes in APC cache (nicolas-grekas)
29+
* bug #18255 [HttpFoundation] Fix support of custom mime types with parameters (Ener-Getick)
30+
* bug #18259 [PropertyAccess] Backport fixes from 2.7 (nicolas-grekas)
31+
* bug #18224 [PropertyAccess] Remove most ref mismatches to improve perf (nicolas-grekas)
32+
* bug #18210 [PropertyAccess] Throw an UnexpectedTypeException when the type do not match (dunglas, nicolas-grekas)
33+
* bug #18216 [Intl] Fix invalid numeric literal on PHP 7 (nicolas-grekas)
34+
* bug #18147 [Validator] EmailValidator cannot extract hostname if email contains multiple @ symbols (natechicago)
35+
* bug #18175 [Translation] Add support for fuzzy tags in PoFileLoader (nud)
36+
* bug #18179 [Form] Fix NumberToLocalizedStringTransformer::reverseTransform with big integers (ovrflo, nicolas-grekas)
37+
* bug #18164 [HttpKernel] set s-maxage only if all responses are cacheable (xabbuh)
38+
1039
* 2.3.39 (2016-03-13)
1140

1241
* bug #18080 [HttpFoundation] Set the Content-Range header if the requested Range is unsatisfied (jakzal)

src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,28 @@
2424
]]></xsd:documentation>
2525
</xsd:annotation>
2626
<xsd:sequence>
27-
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
28-
<xsd:element name="imports" type="imports" minOccurs="0" maxOccurs="1" />
29-
<xsd:element name="parameters" type="parameters" minOccurs="0" maxOccurs="1" />
30-
<xsd:element name="services" type="services" minOccurs="0" maxOccurs="1" />
31-
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
27+
<xsd:group ref="foreign" />
28+
<xsd:sequence minOccurs="0">
29+
<xsd:element name="imports" type="imports" />
30+
<xsd:group ref="foreign" />
31+
</xsd:sequence>
32+
<xsd:sequence minOccurs="0">
33+
<xsd:element name="parameters" type="parameters" />
34+
<xsd:group ref="foreign" />
35+
</xsd:sequence>
36+
<xsd:sequence minOccurs="0">
37+
<xsd:element name="services" type="services" />
38+
<xsd:group ref="foreign" />
39+
</xsd:sequence>
3240
</xsd:sequence>
3341
</xsd:complexType>
3442

43+
<xsd:group name="foreign">
44+
<xsd:sequence>
45+
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
46+
</xsd:sequence>
47+
</xsd:group>
48+
3549
<xsd:complexType name="services">
3650
<xsd:annotation>
3751
<xsd:documentation><![CDATA[

src/Symfony/Component/Security/Core/AuthenticationEvents.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ final class AuthenticationEvents
2020
* The event listener method receives a
2121
* Symfony\Component\Security\Core\Event\AuthenticationEvent instance.
2222
*
23+
* @Event
24+
*
2325
* @var string
2426
*/
2527
const AUTHENTICATION_SUCCESS = 'security.authentication.success';
@@ -32,6 +34,8 @@ final class AuthenticationEvents
3234
* Symfony\Component\Security\Core\Event\AuthenticationFailureEvent
3335
* instance.
3436
*
37+
* @Event
38+
*
3539
* @var string
3640
*/
3741
const AUTHENTICATION_FAILURE = 'security.authentication.failure';

0 commit comments

Comments
 (0)