192 Commits

Author SHA1 Message Date
Alexandre Daubois
bc353ea5b1 [HttpClient] Add support for the max_connect_duration option 2026-01-05 14:30:16 +01:00
Dariusz Ruminski
dc7ca8a8cd PHP CS Fixer: enable static_lambda 2025-12-19 09:33:17 +01:00
Nicolas Grekas
4f420c4410 Merge branch '6.4' into 7.3
* 6.4:
  [HttpClient] Fix `ScopingHttpClient` to always pass `base_uri` as `string` instead of parsed `array`
  [PropertyInfo] Fix PseudoType support in PhpDocTypeHelper
  fix: fix property info var tag extractor
  [DependencyInjection] Fix sharing services used only by tagged iterators
  [DependencyInjection] Handle recursive factory reentry for shared services in PhpDumper
  [HttpClient] Fix PHP deprecation when using AmpHttpClient
  [HttpClient] Fix copy as curl for arrays with resources & unreachable host
  [PropertyInfo] Fix inconsistency between isWritable and getWriteInfo
2025-12-10 13:58:21 +01:00
Santiago San Martin
e77930451d [HttpClient] Fix ScopingHttpClient to always pass base_uri as string instead of parsed array 2025-12-10 13:18:19 +01:00
Christian Flothmann
6bb245ec60 Merge branch '6.4' into 7.3
* 6.4:
  register attribute loader arguments in a forward-compatible way
  mark test using a Redis connection as an integration test
  ensure compatibility with Relay extension 0.20.0
  [DependencyInjection] Fix `query_string` env processor for URLs without query string
  [DependencyInjection] Fix state corruption in PhpFileLoader during recursive imports
  [FrameworkBundle] Add missing `useAttributeAsKey` calls
  [DependencyInjection] Fix loose validation in #[Autowire] attribute
  [HttpClient] Fix releasing uploaded stream resources
2025-11-29 12:06:00 +01:00
Nicolas Grekas
6dc935cee8 [HttpClient] Fix releasing uploaded stream resources 2025-11-24 22:24:25 +01:00
Nicolas Grekas
6f2691f2f7 CS fixes 2025-07-10 10:14:14 +02:00
Nicolas Grekas
02a2e8bf58 Merge branch '7.2' into 7.3
* 7.2:
  Fixes XliffFileDumperTest for 6.4
  [HttpClient] Don't send any default content-type when the body is empty
  [VarExporter] Fix lazy objects with hooked properties
  [Translation] check empty notes
  ntfy-notifier: tfix in description
2025-02-13 11:27:54 +01:00
Nicolas Grekas
78981a2ffe Merge branch '6.4' into 7.2
* 6.4:
  Fixes XliffFileDumperTest for 6.4
  [HttpClient] Don't send any default content-type when the body is empty
  [VarExporter] Fix lazy objects with hooked properties
  [Translation] check empty notes
  ntfy-notifier: tfix in description
2025-02-13 11:27:23 +01:00
Nicolas Grekas
3294a433fc [HttpClient] Don't send any default content-type when the body is empty 2025-02-13 10:55:13 +01:00
Dariusz Ruminski
1897eaecde chore: PHP CS Fixer fixes 2024-12-12 07:45:37 +01:00
Nicolas Grekas
3ab57502ef Merge branch '7.1' into 7.2
* 7.1:
  [HttpClient] Fix empty hosts in option "resolve"
2024-11-19 11:32:52 +01:00
Nicolas Grekas
214e292ef3 Merge branch '6.4' into 7.1
* 6.4:
  [HttpClient] Fix empty hosts in option "resolve"
2024-11-19 11:32:45 +01:00
Nicolas Grekas
13b1d5b46a Merge branch '5.4' into 6.4
* 5.4:
  [HttpClient] Fix empty hosts in option "resolve"
2024-11-19 11:32:35 +01:00
Nicolas Grekas
43f2764b22 [HttpClient] Fix empty hosts in option "resolve" 2024-11-19 11:30:14 +01:00
Nicolas Grekas
c64a8fd5ff Merge branch '7.1' into 7.2
* 7.1:
  [HttpClient] Fix option "resolve" with IPv6 addresses
  Fix twig deprecations in web profiler twig files
  [HttpClient] Fix option "bindto" with IPv6 addresses
  fixes #58904
  [Validator] review italian translations
  [Validator] review latvian translations
2024-11-19 11:04:01 +01:00
Nicolas Grekas
27cf7c7a9c Merge branch '6.4' into 7.1
* 6.4:
  [HttpClient] Fix option "resolve" with IPv6 addresses
  Fix twig deprecations in web profiler twig files
  [HttpClient] Fix option "bindto" with IPv6 addresses
  fixes #58904
  [Validator] review italian translations
  [Validator] review latvian translations
2024-11-19 11:03:47 +01:00
Nicolas Grekas
d843ada1bc Merge branch '5.4' into 6.4
* 5.4:
  [HttpClient] Fix option "resolve" with IPv6 addresses
  Fix twig deprecations in web profiler twig files
  [HttpClient] Fix option "bindto" with IPv6 addresses
  fixes #58904
  [Validator] review latvian translations
2024-11-19 11:03:39 +01:00
Nicolas Grekas
582cf3a4ad [HttpClient] Fix option "resolve" with IPv6 addresses 2024-11-19 11:00:44 +01:00
Nicolas Grekas
7265eac4de Merge branch '7.1' into 7.2
* 7.1:
  fix merge
  fix merge
  Bump Symfony version to 7.1.9
  Work around parse_url() bug (bis)
  Update VERSION for 7.1.8
  Update CHANGELOG for 7.1.8
  Bump Symfony version to 6.4.16
  fix PHP 7.2 compatibility
  silence PHP warnings issued by Redis::connect()
  Update VERSION for 6.4.15
  Update CHANGELOG for 6.4.15
  Bump Symfony version to 5.4.48
  Update VERSION for 5.4.47
  Update CHANGELOG for 5.4.47
  [Routing] Fix: lost priority when defining hosts in configuration
  fix dumping tests to skip with data providers
2024-11-13 17:15:23 +01:00
Nicolas Grekas
5ea4b77086 Merge branch '6.4' into 7.1
* 6.4:
  Work around parse_url() bug (bis)
  Bump Symfony version to 6.4.16
  fix PHP 7.2 compatibility
  silence PHP warnings issued by Redis::connect()
  Update VERSION for 6.4.15
  Update CHANGELOG for 6.4.15
  Bump Symfony version to 5.4.48
  Update VERSION for 5.4.47
  Update CHANGELOG for 5.4.47
  [Routing] Fix: lost priority when defining hosts in configuration
  fix dumping tests to skip with data providers
2024-11-13 16:09:09 +01:00
Nicolas Grekas
3208197485 Merge branch '5.4' into 6.4
* 5.4:
  Work around parse_url() bug (bis)
  fix PHP 7.2 compatibility
  silence PHP warnings issued by Redis::connect()
  Bump Symfony version to 5.4.48
  Update VERSION for 5.4.47
  Update CHANGELOG for 5.4.47
  [Routing] Fix: lost priority when defining hosts in configuration
  fix dumping tests to skip with data providers
2024-11-13 16:06:22 +01:00
Nicolas Grekas
c83c46a2ab Work around parse_url() bug (bis) 2024-11-13 15:36:38 +01:00
Nicolas Grekas
1856faf5d5 [DependencyInjection][Routing][HttpClient] Reject URIs that contain invalid characters 2024-11-06 09:41:34 +01:00
Christian Flothmann
acddba6554 Merge branch '7.1' into 7.2
* 7.1:
  fix merge
  [Intl] Update ICU data from 74.1 to 75.1
  use DeprecatedCallableInfo for Twig callables if possible
  [Filesystem] Add a warning about `chown()` and `chgrp()` on Windows
  [String] Update wcswidth data with Unicode 16
  PhpSubprocess: Add flag PREG_OFFSET_CAPTURE to preg_match to identify the offset
  Work around parse_url() bug
  [Ldap] Clean `ldap_connect()` call in `LdapTestCase`
  [HttpFoundation] Update links for X-Accel-Redirect and fail properly when X-Accel-Mapping is missing
2024-09-15 08:54:24 +02:00
Christian Flothmann
2898645a75 Merge branch '6.4' into 7.1
* 6.4:
  fix merge
  [Intl] Update ICU data from 74.1 to 75.1
  use DeprecatedCallableInfo for Twig callables if possible
  [Filesystem] Add a warning about `chown()` and `chgrp()` on Windows
  [String] Update wcswidth data with Unicode 16
  PhpSubprocess: Add flag PREG_OFFSET_CAPTURE to preg_match to identify the offset
  Work around parse_url() bug
  [Ldap] Clean `ldap_connect()` call in `LdapTestCase`
  [HttpFoundation] Update links for X-Accel-Redirect and fail properly when X-Accel-Mapping is missing
2024-09-15 08:48:17 +02:00
Christian Flothmann
23dcaa39c6 Merge branch '5.4' into 6.4
* 5.4:
  [Intl] Update ICU data from 74.1 to 75.1
  use DeprecatedCallableInfo for Twig callables if possible
  [Filesystem] Add a warning about `chown()` and `chgrp()` on Windows
  [String] Update wcswidth data with Unicode 16
  Work around parse_url() bug
  [Ldap] Clean `ldap_connect()` call in `LdapTestCase`
  [HttpFoundation] Update links for X-Accel-Redirect and fail properly when X-Accel-Mapping is missing
2024-09-15 08:35:36 +02:00
Nicolas Grekas
f09ba83aa7 Work around parse_url() bug 2024-09-11 08:50:28 +02:00
Nicolas Grekas
6b7681bd5f Merge branch '7.1' into 7.2
* 7.1:
  [DoctrineBridge] Fix the `LockStoreSchemaListener`
  add German translations for the Week constraint messages
  sync Week constraint messages translations
  [Validator] Add `D` regex modifier in relevant validators
  [Validator] Add French translation for the `Week` constraint
  skip transient Redis integration tests on AppVeyor
  reject malformed URLs with a meaningful exception
  [Mime] Add tests on constraints
  fix denormalizing mixed collection values
2024-08-13 12:29:46 +02:00
Nicolas Grekas
9525d24562 Merge branch '6.4' into 7.1
* 6.4:
  [DoctrineBridge] Fix the `LockStoreSchemaListener`
  add German translations for the Week constraint messages
  sync Week constraint messages translations
  [Validator] Add `D` regex modifier in relevant validators
  [Validator] Add French translation for the `Week` constraint
  skip transient Redis integration tests on AppVeyor
  reject malformed URLs with a meaningful exception
  [Mime] Add tests on constraints
2024-08-13 12:29:23 +02:00
Nicolas Grekas
5302eaeb24 Merge branch '5.4' into 6.4
* 5.4:
  add German translations for the Week constraint messages
  sync Week constraint messages translations
  [Validator] Add `D` regex modifier in relevant validators
  [Validator] Add French translation for the `Week` constraint
  reject malformed URLs with a meaningful exception
  [Mime] Add tests on constraints
2024-08-13 12:27:09 +02:00
Christian Flothmann
6ad5e27962 reject malformed URLs with a meaningful exception 2024-08-13 07:18:07 +02:00
Alexander M. Turek
f53dab37bd Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Christian Flothmann
2484cac9b0 use constructor property promotion 2024-06-01 10:26:03 +02:00
Nicolas Grekas
dc4ee0b23e Merge branch '6.4' into 7.0
* 6.4:
  Fix implicitly-required parameters
  minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench)
  Fix bad merge
  List CS fix in .git-blame-ignore-revs
  Fix implicitly-required parameters
  List CS fix in .git-blame-ignore-revs
  Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
  [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2024-01-23 16:02:46 +01:00
Nicolas Grekas
5b7fa7e29f Merge branch '5.4' into 6.3
* 5.4:
  Fix implicitly-required parameters
  List CS fix in .git-blame-ignore-revs
  Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
  [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2024-01-23 15:35:58 +01:00
Nicolas Grekas
57779974f9 Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00
Wouter de Jong
e34f942963 [Components] Convert to native return types 2023-07-05 15:06:06 +02:00
Nicolas Grekas
d4c0b28ae7 Merge branch '6.2' into 6.3
* 6.2:
  [Validator] Add missing validator translations in Polish language
  [HttpClient] Fix encoding some characters in query strings
  [SecurityBundle] Remove last usages of tag `security.remember_me_aware`
  [VarDumper] Dumping DateTime throws error if getTimezone is false
  Only update autoload_runtime.php when it changed
  [Intl] Update the ICU data to 73.2
  [HttpClient] Force int conversion for floated multiplier for GenericRetryStrategy
  [FrameworkBundle] Ignore missing directories in about command
  Revert "[Messenger] Respect `isRetryable` decision of the retry strategy when deciding if failed message should be re-delivered"
  [Validator][Translator] Fix xlf files for en & fr translations. Bug introduced by #50590
  Add missing EN and FR translations for newest constraints
2023-06-21 14:08:28 +02:00
Nicolas Grekas
dc9945e677 Merge branch '5.4' into 6.2
* 5.4:
  [Validator] Add missing validator translations in Polish language
  [HttpClient] Fix encoding some characters in query strings
  [FrameworkBundle] Ignore missing directories in about command
  Revert "[Messenger] Respect `isRetryable` decision of the retry strategy when deciding if failed message should be re-delivered"
2023-06-21 14:07:00 +02:00
Daniel Kozák
a5cade7569 [HttpClient] Fix encoding some characters in query strings 2023-06-21 11:48:54 +02:00
Nicolas Grekas
abbbbf728a [HttpClient] Add option crypto_method to set the minimum TLS version and make it default to v1.2 2023-05-10 11:44:30 +02:00
Nicolas Grekas
357acdae13 [HttpClient] Support file uploads by nesting resource streams in option "body" 2023-04-20 15:15:49 +02:00
Nicolas Grekas
3c38f89b6e Merge branch '6.2' into 6.3
* 6.2:
  [HttpClient] fix proxied redirects in curl client
  Fix serializer normalize attribute context
  Bump Symfony version to 6.2.10
  Update VERSION for 6.2.9
  Update CHANGELOG for 6.2.9
  [Intl] Update the ICU data to 73.1
  [Console] Restoring the ability to output unicode text to the Win10 console
  [Mailer] Add brifge documentation
2023-04-14 18:25:38 +02:00
Nicolas Grekas
7a3fda8929 Merge branch '5.4' into 6.2
* 5.4:
  [HttpClient] fix proxied redirects in curl client
  [Intl] Update the ICU data to 73.1
  [Console] Restoring the ability to output unicode text to the Win10 console
  [Mailer] Add brifge documentation
2023-04-14 18:23:31 +02:00
Matthias Neid
279f53aa85 [HttpClient] fix proxied redirects in curl client 2023-04-14 12:15:01 +02:00
Nicolas Grekas
21e3d7de6e Merge branch '6.2' into 6.3
* 6.2:
  re-allow phpdocumentor/type-resolver 1.7
  skip test using attributes on PHP 7
  [HttpClient] Encode and decode curly brackets {}
  fix: GetSetMethodNormalizer::supportss should not check ignored methods
  Stop stopwatch events in case of exception
  add translations for the filename max length validator option
  [Validator] Update BIC validator IBAN mappings
  [String] Correct inflection of 'codes' and 'names'
2023-03-20 17:06:12 +01:00
Nicolas Grekas
7c3172ef01 Merge branch '5.4' into 6.2
* 5.4:
  re-allow phpdocumentor/type-resolver 1.7
  skip test using attributes on PHP 7
  [HttpClient] Encode and decode curly brackets {}
  fix: GetSetMethodNormalizer::supportss should not check ignored methods
  Stop stopwatch events in case of exception
  add translations for the filename max length validator option
  [Validator] Update BIC validator IBAN mappings
  [String] Correct inflection of 'codes' and 'names'
2023-03-20 17:06:02 +01:00
Peter Bowyer
a2db7efc21 [HttpClient] Encode and decode curly brackets {} 2023-03-18 12:48:39 +01:00
Nicolas Grekas
a11792dd9c Merge branch '6.2' into 6.3
* 6.2:
  [HttpClient] Encode "," in query strings
2023-03-06 22:09:14 +01:00