8000 Merge branch '7.3' into video-validator · symfonyaml/symfony@56f2427 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56f2427

Browse files
authored
Merge branch '7.3' into video-validator
2 parents 605b0a9 + 737316d commit 56f2427

File tree

730 files changed

+17572
-1665
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

730 files changed

+17572
-1665
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
/src/Symfony/Component/Translation/Bridge export-ignore
88
/src/Symfony/Component/Emoji/Resources/data/* linguist-generated=true
99
/src/Symfony/Component/Intl/Resources/data/*/* linguist-generated=true
10+
/src/Symfony/Component/JsonEncoder/Tests/Fixtures/encoder/* linguist-generated=true
11+
/src/Symfony/Component/JsonEncoder/Tests/Fixtures/decoder/* linguist-generated=true
1012
/src/Symfony/**/.github/workflows/close-pull-request.yml linguist-generated=true
1113
/src/Symfony/**/.github/PULL_REQUEST_TEMPLATE.md linguist-generated=true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
| Q | A
22
| ------------- | ---
3-
| Branch? | 7.3 for features / 5.4, 6.4, 7.1, and 7.2 for bug fixes <!-- see below -->
3+
| Branch? | 7.3 for features / 6.4, 7.1, and 7.2 for bug fixes <!-- see below -->
44
| Bug fix? | yes/no
55
| New feature? | yes/no <!-- please update src/**/CHANGELOG.md files -->
66
| Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->

.github/workflows/phpunit-bridge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
php-version: "7.2"
3636

3737
- name: Lint
38-
run: find ./src/Symfony/Bridge/PhpUnit -name '*.php' | grep -v -e /Tests/ -e ForV7 -e ForV8 -e ForV9 -e ConstraintLogicTrait | parallel -j 4 php -l {}
38+
run: find ./src/Symfony/Bridge/PhpUnit -name '*.php' | grep -v -e /Tests/ -e /Attribute/ -e /Extension/ -e /Metadata/ -e ForV7 -e ForV8 -e ForV9 -e ConstraintLogicTrait | parallel -j 4 php -l {}

.github/workflows/unit-tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
mode: low-deps
3434
- php: '8.3'
3535
- php: '8.4'
36+
# brotli and zstd extensions are optional, when not present the commands will be used instead,
37+
# we must test both scenarios
38+
extensions: amqp,apcu,brotli,igbinary,intl,mbstring,memcached,redis,relay,zstd
39+
- php: '8.5'
3640
#mode: experimental
3741
fail-fast: false
3842

@@ -53,6 +57,12 @@ jobs:
5357
extensions: "${{ matrix.extensions || env.extensions }}"
5458
tools: flex
5559

60+
- name: Install optional commands
61+
if: matrix.php == '8.4'
62+
run: |
63+
sudo apt-get update
64+
sudo apt-get install zopfli
65+
5666
- name: Configure environment
5767
run: |
5868
git config --global user.email ""

.php-cs-fixer.dist.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
->notPath('Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php')
5757
// stop removing spaces on the end of the line in strings
5858
->notPath('Symfony/Component/Messenger/Tests/Command/FailedMessagesShowCommandTest.php')
59+
// disable to not apply `native_function_invocation` rule, as we explicitly break it for testability reason, ref https://github.com/symfony/symfony/pull/59195
60+
->notPath('Symfony/Component/Mailer/Transport/NativeTransportFactory.php')
5961
// auto-generated proxies
6062
->notPath('Symfony/Component/Cache/Traits/RelayProxy.php')
6163
->notPath('Symfony/Component/Cache/Traits/Redis5Proxy.php')

CHANGELOG-7.1.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,28 @@ in 7.1 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.1.0...v7.1.1
99

10+
* 7.1.10 (2024-12-31)
11+
12+
* bug #59304 [PropertyInfo] Remove ``@internal`` from `PropertyReadInfo` and `PropertyWriteInfo` (Dario Guarracino)
13+
* bug #59228 [HttpFoundation] Avoid mime type guess with temp files in `BinaryFileResponse` (alexandre-daubois)
14+
* bug #59318 [Finder] Fix using `==` as default operator in `DateComparator` (MatTheCat)
15+
* bug #59321 [HtmlSanitizer] reject URLs containing whitespaces (xabbuh)
16+
* bug #59250 [HttpClient] Fix a typo in NoPrivateNetworkHttpClient (Jontsa)
17+
* bug #59103 [Messenger] ensure exception on rollback does not hide previous exception (nikophil)
18+
* bug #59226 [FrameworkBundle] require the writer to implement getFormats() in the translation:extract (xabbuh)
19+
* bug #59213 [FrameworkBundle] don't require fake notifier transports to be installed as non-dev dependencies (xabbuh)
20+
* bug #59066 Fix resolve enum in string type resolver (DavidBadura)
21+
* bug #59156 [PropertyInfo] Fix interface handling in PhpStanTypeHelper (mtarld)
22+
* bug #59160 [BeanstalkMessenger] Round delay to an integer to avoid deprecation warning (plantas)
23+
* bug #59012 [PropertyInfo] Fix interface handling in `PhpStanTypeHelper` (janedbal)
24+
* bug #59134 [HttpKernel] Denormalize request data using the csv format when using "#[MapQueryString]" or "#[MapRequestPayload]" (except for content data) (ovidiuenache)
25+
* bug #59140 [WebProfilerBundle] fix: white-space in highlighted code (chr-hertel)
26+
* bug #59124 [FrameworkBundle] fix: notifier push channel bus abstract arg (raphael-geffroy)
27+
* bug #59069 [Console] Fix division by 0 error (Rindula)
28+
* bug #59070 [PropertyInfo] evaluate access flags for properties with asymmetric visibility (xabbuh)
29+
* bug #59062 [HttpClient] Always set CURLOPT_CUSTOMREQUEST to the correct HTTP method in CurlHttpClient (KurtThiemann)
30+
* bug #59023 [HttpClient] Fix streaming and redirecting with NoPrivateNetworkHttpClient (nicolas-grekas)
31+
1032
* 7.1.9 (2024-11-27)
1133

1234
* bug #59013 [HttpClient] Fix checking for private IPs before connecting (nicolas-grekas)

CHANGELOG-7.2.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,85 @@ in 7.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/v7.2.0...v7.2.1
99

10+
* 7.2.2 (2024-12-31)
11+
12+
* bug #59304 [PropertyInfo] Remove ``@internal`` from `PropertyReadInfo` and `PropertyWriteInfo` (Dario Guarracino)
13+
* bug #59252 [Stopwatch] bug #54854 undefined key error when trying to fetch a mis… (Alex Niedre)
14+
* bug #59278 [SecurityBundle] Do not replace authenticators service by their traceable version (MatTheCat)
15+
* bug #59228 [HttpFoundation] Avoid mime type guess with temp files in `BinaryFileResponse` (alexandre-daubois)
16+
* bug #59318 [Finder] Fix using `==` as default operator in `DateComparator` (MatTheCat)
17+
* bug #59321 [HtmlSanitizer] reject URLs containing whitespaces (xabbuh)
18+
* bug #59310 [Validator] the "max" option can be zero (xabbuh)
19+
* bug #59271 [TypeInfo] Fix PHPDoc resolving of union with mixed (mtarld)
20+
* bug #59269 [Security/Csrf] Trust "Referer" at the same level as "Origin" (nicolas-grekas)
21+
* bug #59250 [HttpClient] Fix a typo in NoPrivateNetworkHttpClient (Jontsa)
22+
* bug #59103 [Messenger] ensure exception on rollback does not hide previous exception (nikophil)
23+
* bug #59226 [FrameworkBundle] require the writer to implement getFormats() in the translation:extract (xabbuh)
24+
* bug #59213 [FrameworkBundle] don't require fake notifier transports to be installed as non-dev dependencies (xabbuh)
25+
* bug #59113 [FrameworkBundle][Translation] fix translation lint compatibility with the `PseudoLocalizationTranslator` (xabbuh)
26+
* bug #59060 [Validator] set the violation path only if the `errorPath` option is set (xabbuh)
27+
* bug #59066 Fix resolve enum in string type resolver (DavidBadura)
28+
* bug #59156 [PropertyInfo] Fix interface handling in PhpStanTypeHelper (mtarld)
29+
* bug #59160 [BeanstalkMessenger] Round delay to an integer to avoid deprecation warning (plantas)
30+
* bug #59012 [PropertyInfo] Fix interface handling in `PhpStanTypeHelper` (janedbal)
31+
* bug #59134 [HttpKernel] Denormalize request data using the csv format when using "#[MapQueryString]" or "#[MapRequestPayload]" (except for content data) (ovidiuenache)
32+
* bug #59140 [WebProfilerBundle] fix: white-space in highlighted code (chr-hertel)
33+
34+
* 7.2.1 (2024-12-11)
35+
36+
* bug #59145 [TypeInfo] Make `Type::nullable` method no-op on every nullable type (mtarld)
37+
* bug #59122 [Notifier] fix desktop channel bus abstract arg (raphael-geffroy)
38+
* bug #59124 [FrameworkBundle] fix: notifier push channel bus abstract arg (raphael-geffroy)
39+
* bug #59069 [Console] Fix division by 0 error (Rindula)
40+
* bug #59086 [FrameworkBundle] Make uri_signer lazy and improve error when kernel.secret is empty (nicolas-grekas)
41+
* bug #59099 [sendgrid-mailer] Fix null check on region (AUDUL)
42+
* bug #59070 [PropertyInfo] evaluate access flags for properties with asymmetric visibility (xabbuh)
43+
* bug #59062 [HttpClient] Always set CURLOPT_CUSTOMREQUEST to the correct HTTP method in CurlHttpClient (KurtThiemann)
44+
* bug #59059 [TwigBridge] generate conflict-free variable names (xabbuh)
45+
46+
* 7.2.0 (2024-11-29)
47+
48+
* bug #59023 [HttpClient] Fix streaming and redirecting with NoPrivateNetworkHttpClient (nicolas-grekas)
49+
* bug #59014 [Form] Allow integer for the `calendar` option of `DateType` (alexandre-daubois)
50+
* bug #59013 [HttpClient] Fix checking for private IPs before connecting (nicolas-grekas)
51+
* bug #58562 [HttpClient] Close gracefull when the server closes the connection abruptly (discordier)
52+
* bug #59007 [Dotenv] read runtime config from composer.json in debug dotenv command (xabbuh)
53+
* bug #58963 [PropertyInfo] Fix write visibility for Asymmetric Visibility and Virtual Properties (xabbuh, pan93412)
54+
* bug #58983 [Translation] [Bridge][Lokalise] Fix empty keys array in PUT, DELETE requests causing Lokalise API error (DominicLuidold)
55+
* bug #58956 [DoctrineBridge] Fix `Connection::createSchemaManager()` for Doctrine DBAL v2 (neodevcode)
56+
* bug #58959 [PropertyInfo] consider write property visibility to decide whether a property is writable (xabbuh)
57+
* bug #58964 [TwigBridge] do not add child nodes to EmptyNode instances (xabbuh)
58+
* bug #58950 [FrameworkBundle] Revert " Deprecate making `cache.app` adapter taggable" (keulinho)
59+
* bug #58952 [Cache] silence warnings issued by Redis Sentinel on connection issues (xabbuh)
60+
* bug #58953 [HttpClient] Fix computing stats for PUSH with Amp (nicolas-grekas)
61+
* bug #58943 [FrameworkBundle] Revert " Don't auto-register form/csrf when the corresponding components are not installed" (nicolas-grekas)
62+
* bug #58937 [FrameworkBundle] Don't auto-register form/csrf when the corresponding components are not installed (nicolas-grekas)
63+
* bug #58859 [AssetMapper] ignore missing directory in `isVendor()` (alexislefebvre)
64+
* bug #58917 [OptionsResolver] Allow Union/Intersection Types in Resolved Closures (zanbaldwin)
65+
* bug #58822 [DependencyInjection] Fix checking for interfaces in ContainerBuilder::getReflectionClass() (donquixote)
66+
* bug #58865 Dynamically fix compatibility with doctrine/data-fixtures v2 (greg0ire)
67+
* bug #58921 [HttpKernel] Ensure `HttpCache::getTraceKey()` does not throw exception (lyrixx)
68+
* bug #58908 [DoctrineBridge] don't call `EntityManager::initializeObject()` with scalar values (xabbuh)
69+
* bug #58938 [Cache] make RelayProxyTrait compatible with relay extension 0.9.0 (xabbuh)
70+
* bug #58924 [HttpClient] Fix empty hosts in option "resolve" (nicolas-grekas)
71+
* bug #58915 [HttpClient] Fix option "resolve" with IPv6 addresses (nicolas-grekas)
72+
* bug #58919 [WebProfilerBundle] Twig deprecations (mazodude)
73+
* bug #58914 [HttpClient] Fix option "bindto" with IPv6 addresses (nicolas-grekas)
74+
* bug #58888 [Mailer][Notifier] Sweego is backing their bridges, thanks to them! (nicolas-grekas)
75+
* bug #58885 [PropertyInfo][Serializer][TypeInfo][Validator] TypeInfo 7.1 compatibility (mtarld)
76+
* bug #58870 [Serializer][Validator] prevent failures around not existing TypeInfo classes (xabbuh)
77+
* bug #58872 [PropertyInfo][Serializer][Validator] TypeInfo 7.2 compatibility (mtarld)
78+
* bug #58875 [HttpClient] Removed body size limit (Carl Julian Sauter)
79+
* bug #58866 [Validator] fix compatibility with PHP < 8.2.4 (xabbuh)
80+
* bug #58862 [Notifier] Fix GoIpTransport (nicolas-grekas)
81+
* bug #58860 [HttpClient] Fix catching some invalid Location headers (nicolas-grekas)
82+
* bug #58834 [FrameworkBundle] ensure `validator.translation_domain` parameter is always set (xabbuh)
83+
* bug #58836 Work around `parse_url()` bug (bis) (nicolas-grekas)
84+
* bug #58818 [Messenger] silence PHP warnings issued by `Redis::connect()` (xabbuh)
85+
* bug #58828 [PhpUnitBridge] fix dumping tests to skip with data providers (xabbuh)
86+
* bug #58842 [Routing] Fix: lost priority when defining hosts in configuration (BeBlood)
87+
* bug #58850 [HttpClient] fix PHP 7.2 compatibility (xabbuh)
88+
1089
* 7.2.0-RC1 (2024-11-13)
1190

1291
* feature #58852 [TypeInfo] Remove ``@experimental`` tag (mtarld)

0 commit comments

Comments
 (0)
0