8000 Merge branch '7.0' into 7.1 · symfony/symfony@85e0742 · GitHub
[go: up one dir, main page]

Skip to content

Commit 85e0742

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: fix tests Bump Symfony version to 7.0.4 Revert "Bump Symfony version to 7.0.4" [HttpKernel] Fix including welcome page multiple times Bump Symfony version to 7.0.4 Update VERSION for 7.0.3 Update CHANGELOG for 7.0.3 Bump Symfony version to 6.4.4 Update VERSION for 6.4.3 Update CHANGELOG for 6.4.3
2 parents add24fa + 30fa94e commit 85e0742

File tree

6 files changed

+208
-155
lines changed

6 files changed

+208
-155
lines changed

CHANGELOG-7.0.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,65 @@ in 7.0 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/v7.0.0...v7.0.1
99

10+
* 7.0.3 (2024-01-31)
11+
12+
* bug #52913 [Routing] Fixed priority getting lost when setting localized prefix (pritasil)
13+
* bug #53681 [DoctrineBridge]  Fix detection of Xml/Yaml driver in DoctrineExtension (GromNaN)
14+
* bug #53183 [Messenger] PhpSerializer: TypeError should throw `MessageDecodingFailedException` (B-Galati)
15+
* bug #52131 [HttpKernel] Fix `RequestPayloadValueResolver` handling error with no ExpectedTypes (Jeroeny)
16+
* bug #51559 [DependencyInjection] `#[Autowire]` attribute should have precedence over bindings (HypeMC)
17+
* bug #53678 [Mime] Fix serializing uninitialized `RawMessage::$message` to null (nicolas-grekas)
18+
* bug #53634 [Notifer][Smsapi] Set messageId of SentMessage (tomasz-kusy)
19+
* bug #53501 [DependencyInjection] support lazy evaluated exception messages with Xdebug 3 (xabbuh)
20+
* bug #53672 [FrameworkBundle] `ConfigBuilderCacheWarmer` should be non-optional (nicolas-grekas)
21+
* bug #52994 [MonologBridge] Fix context data and display extra data (louismariegaborit)
22+
* bug #53671 [HttpClient] Fix pausing responses before they start when using curl (nicolas-grekas)
23+
* bug #53594 [Notifier] Updated the NTFY notifier to run without a user parameter (lostfocus)
24+
* bug #53620 [Validator] Fix option filenameMaxLength to the File constraint (Image) (mindaugasvcs)
25+
* bug #53624 [Translation] Fix constant domain resolution in PhpAstExtractor (VincentLanglet)
26+
* bug #53663 [TwigBridge] separate child and parent context in NotificationEmail on writes (xabbuh)
27+
* bug #53667 [Mailer] [Mailgun] Fix sender header encoding (spajxo)
28+
* bug #53631 [DependencyInjection] Fix loading all env vars from secrets when only a subset is needed (nicolas-grekas)
29+
* bug #53656 [Form] Use self-closing `<input />` syntax again, reverting #47715 (mpdude)
30+
* bug #53653 [Mailer] [Scaleway] Fix attachment handling (madbob)
31+
* bug #53157 [Mailer] Throw `TransportException` when unable to read from socket (xdanik)
32+
* bug #53361 [Serializer] Take unnamed variadic parameters into account when denormalizing (thijsBreker)
33+
* bug #53530 [Serializer] Rewrite `AbstractObjectNormalizer::createChildContext()` to use the provided `cache_key` from original context when creating child contexts (amne)
34+
* bug #53506 [HttpClient] Fix error chunk creation in passthru (rmikalkenas)
35+
* bug #53260 [AssetMapper] Handle assets with non-ascii characters in dev server (fbourigault)
36+
* bug #53357 [Translation] Fix `TranslationNodeVisitor` with constant domain (VincentLanglet)
37+
* bug #53525 [Messenger] [AMQP] Throw exception on `nack` callback (kvrushifa)
38+
* bug #53432 [HttpFoundation] Request without content-type or content-length header should result in null values, not empty strings (priyadi)
39+
* bug #53593 [Cache] Fix possible infinite loop in `CachePoolPass` (HypeMC)
40+
* bug #53588 [Translation] fix multi-byte code area to convert (xabbuh)
41+
* bug #53572 [FrameworkBundle] grab a service from the container only if it exists (xabbuh)
42+
* bug #53565 [Mime] Fix undefined array key 0 when empty sender (0x346e3730)
43+
* bug #53516 [Console] Allow '0' as a $shortcut in InputOption.php (lawsonjl-ornl)
44+
* bug #53576 [Console] Only execute additional checks for color support if the output (theofidry)
45+
* bug #53582 [TwigBundle] Fix configuration when "paths" is null (smnandre)
46+
* bug #53575 [Mailer] register the MailPaceTransportFactory (xabbuh)
47+
* bug #53581 [String] fix aircraft inflection (renanbr)
48+
* bug #53509 [Security] Fix `AuthenticationUtils::getLastUsername()` returning null (alexandre-daubois)
49+
* bug #53529 [Ldap] Use `{user_identifier}` over deprecated `{username}` in factories (tcitworld)
50+
* bug #53567 [String] Correct inflection of axis (Vladislav Iurciuc)
51+
* bug #53537 [VarDumper] Fix missing colors initialization in `CliDumper` (nicolas-grekas)
52+
* bug #53521 [VarDumper] Fixes `Typed property Symfony\Component\VarDumper\Dumper\CliDumper::$colors must not be accessed before initialization` (crynobone)
53+
* bug #53481 [Process] Fix executable finder when the command starts with a dash (kayw-geek)
54+
* bug #53006 [ErrorHandler] Don't format binary strings (aleho)
55+
* bug #53453 [Translation] add support for nikic/php-parser 5.0 (xabbuh)
56+
* bug #53434 [ErrorHandler] fix rendering exception pages without the HttpKernel component (xabbuh)
57+
* bug #53441 [Messenger] Amazon SQS Delay has a max of 15 minutes (alamirault)
58+
* bug #53414 [Serializer] `GetSetMethodNormalizer`: fix BC break with `#[Ignore]` attribute (nikophil)
59+
* bug #53383 [Validator] re-allow an empty list of fields (xabbuh)
60+
* bug #53418 [FrameworkBundle][Notifier] Fix service registration (MessageBird + TurboSms) (smnandre)
61+
* bug #53381 [Form] Fix assigning data in `PostSetDataEvent` and `PostSubmitEvent` (fancyweb)
62+
* bug #53350 [Validator] fix the exception being thrown (xabbuh)
63+
* bug #52930 [Messenger] Fix Redis messenger scheme comparison (freswa)
64+
* bug #52874 [Scheduler] Separate id and description in message providers (valtzu)
65+
* bug #53341 [FrameworkBundle] append instead of replacing potentially non-existent named-arguments (xabbuh)
66+
* bug #53320 [Cache][DependencyInjection][Lock][Mailer][Messenger][Notifier][Translation] Url decode username and passwords from `parse_url()` results (alexandre-daubois)
67+
* bug #53108 [Serializer] Fix using deserialization path 5.4 (HypeMC)
68+
1069
* 7.0.2 (2023-12-30)
1170

1271
* bug #53282 [RateLimiter] Fix RateLimit->getRetryAfter() return value when consuming 0 or last tokens (wouterj, ERuban)

src/Symfony/Component/DependencyInjection/Tests/Dumper/YamlDumperTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,11 @@ public function testDumpHandlesEnumeration()
163163
$container->compile();
164164
$dumper = new YamlDumper($container);
165165

166-
$this->assertEquals(file_get_contents(self::$fixturesPath.'/yaml/services_with_enumeration.yml'), $dumper->dump());
166+
if (str_starts_with(Yaml::dump(FooUnitEnum::BAR), '!php/enum')) {
167+
$this->assertEquals(file_get_contents(self::$fixturesPath.'/yaml/services_with_enumeration_enum_tag.yml'), $dumper->dump());
168+
} else {
169+
$this->assertEquals(file_get_contents(self::$fixturesPath.'/yaml/services_with_enumeration.yml'), $dumper->dump());
170+
}
167171
}
168172

169173
/**
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
parameters:
2+
unit_enum: !php/enum Symfony\Component\DependencyInjection\Tests\Fixtures\FooUnitEnum::BAR
3+
enum_array: [!php/enum Symfony\Component\DependencyInjection\Tests\Fixtures\FooUnitEnum::BAR, !php/enum Symfony\Component\DependencyInjection\Tests\Fixtures\FooUnitEnum::FOO]
4+
5+
services:
6+
service_container:
7+
class: Symfony\Component\DependencyInjection\ContainerInterface
8+
public: true
9+
synthetic: true
10+
Symfony\Component\DependencyInjection\Tests\Fixtures\FooClassWithEnumAttribute:
11+
class: Symfony\Component\DependencyInjection\Tests\Fixtures\FooClassWithEnumAttribute
12+
public: true
13+
arguments: [!php/const 'Symfony\Component\DependencyInjection\Tests\Fixtures\FooUnitEnum::BAR']

src/Symfony/Component/HttpKernel/EventListener/RouterListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private function createWelcomeResponse(): Response
159159
$docVersion = substr(Kernel::VERSION, 0, 3);
160160

161161
ob_start();
162-
include_once \dirname(__DIR__).'/Resources/welcome.html.php';
162+
include \dirname(__DIR__).'/Resources/welcome.html.php';
163163

164164
return new Response(ob_get_clean(), Response::HTTP_NOT_FOUND);
165165
}

0 commit comments

Comments
 (0)
0