Skip to content

Commit 89fdb22

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [MonologBridge] Fix support for monolog 3.0 fix tests Bump Symfony version to 6.3.8 Update VERSION for 6.3.7 Update CHANGELOG for 6.3.7 [Validator] Added Chinese(zh_CN) translations
2 parents 547485e + 6c62a62 commit 89fdb22

File tree

4 files changed

+53
-2
lines changed

4 files changed

+53
-2
lines changed

CHANGELOG-6.3.md

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

10+
* 6.3.7 (2023-10-29)
11+
12+
* bug #52329 [HttpClient] Psr18Client: parse HTTP Reason Phrase for Response (Hanmac)
13+
* bug #52332 [Yaml] Fix deprecated passing null to trim() (javaDeveloperKid)
14+
* bug #52343 [Intl] Update the ICU data to 74.1 (jderusse)
15+
* bug #52347 [Form] Fix merging form data and files (ter) (Jan Pintr)
16+
* bug #52307 [Scheduler] Save checkpoint in a finally block (FrancoisPog)
17+
* bug #52308 [SecurityBundle] Fix missing login-link element in xsd schema (fancyweb)
18+
* bug #51992 [Serializer] Fix using `DateIntervalNormalizer` with union types (Jeroeny)
19+
* bug #52276 DB table locks on messenger_messages with many failures (bn-jdcook)
20+
* bug #52232 [Messenger] declare constructor argument as optional for backwards compatibility (xabbuh)
21+
* bug #52283 [Serializer] Handle default context when denormalizing timestamps in DateTimeNormalizer (mtarld)
22+
* bug #52268 [Mailer][Notifier] Update Sendinblue / Brevo API host (Stephanie)
23+
* bug #52255 [Form] Skip merging params & files if there are no files in the first place (dmaicher, priyadi)
24+
1025
* 6.3.6 (2023-10-21)
1126

1227
* bug #52201 [HttpKernel] Resolve EBADP error on flock with LOCK_SH with NFS (driskell)

src/Symfony/Bridge/Monolog/Command/ServerLogCommand.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313

1414
use Monolog\Formatter\FormatterInterface;
1515
use Monolog\Handler\HandlerInterface;
16+
use Monolog\Level;
1617
use Monolog\Logger;
18+
use Monolog\LogRecord;
1719
use Symfony\Bridge\Monolog\Formatter\ConsoleFormatter;
1820
use Symfony\Bridge\Monolog\Handler\ConsoleHandler;
1921
use Symfony\Component\Console\Attribute\AsCommand;
@@ -156,6 +158,16 @@ private function displayLog(OutputInterface $output, int $clientId, array $recor
156158
$logBlock = sprintf('<bg=%s> </>', self::BG_COLOR[$clientId % 8]);
157159
$output->write($logBlock);
158160

161+
if (Logger::API >= 3) {
162+
$record = new LogRecord(
163+
$record['datetime'],
164+
$record['channel'],
165+
Level::fromValue($record['level']),
166+
$record['message'],
167+
$record['context']->getContext(),
168+
);
169+
}
170+
159171
$this->handler->handle($record);
160172
}
161173
}

src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ private function createAvailableMessagesQueryBuilder(): QueryBuilder
353353
$now,
354354
], [
355355
Types::STRING,
356-
Types::DATETIME_MUTABLE,
357-
Types::DATETIME_MUTABLE,
356+
Types::DATETIME_IMMUTABLE,
357+
Types::DATETIME_IMMUTABLE,
358358
]);
359359
}
360360

src/Symfony/Component/Validator/Resources/translations/validators.zh_CN.xlf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,30 @@
402402
<source>The value of the netmask should be between {{ min }} and {{ max }}.</source>
403403
<target>网络掩码的值应当在 {{ min }} 和 {{ max }} 之间。</target>
404404
</trans-unit>
405+
<trans-unit id="104">
406+
<source>The filename is too long. It should have {{ filename_max_length }} character or less.|The filename is too long. It should have {{ filename_max_length }} characters or less.</source>
407+
<target>该文件名过长,最长不应超过{{ filename_max_length }} 个字符。</target>
408+
</trans-unit>
409+
<trans-unit id="105">
410+
<source>The password strength is too low. Please use a stronger password.</source>
411+
<target>该密码强度太低。请使用更复杂的密码。</target>
412+
</trans-unit>
413+
<trans-unit id="106">
414+
<source>This value contains characters that are not allowed by the current restriction-level.</source>
415+
<target>该值包含了当前限制级别不允许的字符。</target>
416+
</trans-unit>
417+
<trans-unit id="107">
418+
<source>Using invisible characters is not allowed.</source>
419+
<target>不允许使用隐藏字符。</target>
420+
</trans-unit>
421+
<trans-unit id="108">
422+
<source>Mixing numbers from different scripts is not allowed.</source>
423+
<target>不可混合使用不同语系的数字。</target>
424+
</trans-unit>
425+
<trans-unit id="109">
426+
<source>Using hidden overlay characters is not allowed.</source>
427+
<target>不允许使用隐藏的覆盖字符。</target>
428+
</trans-unit>
405429
</body>
406430
</file>
407431
</xliff>

0 commit comments

Comments
 (0)