Skip to content
Permalink
Branch: master
Commits on Oct 9, 2019
Commits on Oct 7, 2019
  1. Merge branch '4.4'

    nicolas-grekas committed Oct 7, 2019
    * 4.4:
      [travis] Fix build-packages script
      Add types to constructors and private/final/internal methods (Batch III)
      [HttpClient] Async HTTPlug client
      [Messenger] Allow to configure the db index on Redis transport
      [HttpClient] bugfix exploding values of headers
      [VarDumper] Made all casters final
      [VarDumper] Added a support for casting Ramsey/Uuid
      Remove useless testCanCheckIfTerminalIsInteractive test case
      [Validator] Add the missing translations for the Thai (\"th\") locale
      [Routing] gracefully handle docref_root ini setting
      [Validator] Fix ValidValidator group cascading usage
  2. Merge branch '4.3' into 4.4

    nicolas-grekas committed Oct 7, 2019
    * 4.3:
      [travis] Fix build-packages script
      [HttpClient] bugfix exploding values of headers
      Remove useless testCanCheckIfTerminalIsInteractive test case
      [Validator] Add the missing translations for the Thai (\"th\") locale
      [Routing] gracefully handle docref_root ini setting
      [Validator] Fix ValidValidator group cascading usage
  3. feature #33743 [HttpClient] Async HTTPlug client (Nyholm)

    nicolas-grekas committed Oct 7, 2019
    This PR was squashed before being merged into the 4.4 branch (closes #33743).
    
    Discussion
    ----------
    
    [HttpClient] Async HTTPlug client
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 4.4
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       | Fix #33710, Fix #32142
    | License       | MIT
    | Doc PR        | symfony/symfony-docs#12389
    
    This PR removes `HttplugClient`'s dependency on `Psr18Client`. It will also add an `HttplugPromise` to make sure we sure we respect the Httplug's `HttpAsyncClient` interface.
    
    It implements `HttpAsyncClient::sendAsyncRequest()` and provides two extensions:
    - `HttplugPromise::cancel()` allows cancelling a promise (and the underlying response)
    - `HttplugClient::wait()` allows to tick the promise pool, with configurable timeouts.
    
    Commits
    -------
    
    4fd593f869 [HttpClient] Async HTTPlug client
  4. bug #33871 [HttpClient] bugfix exploding values of headers (michaljus…

    nicolas-grekas committed Oct 7, 2019
    …iega)
    
    This PR was squashed before being merged into the 4.3 branch (closes #33871).
    
    Discussion
    ----------
    
    [HttpClient] bugfix exploding values of headers
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 4.3 for bug fixes
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Tickets       | -
    | License       | MIT
    | Doc PR        | -
    
    I tried to use CachingHttpClient yesterday and I received an error.
    
    ```
    explode() expects parameter 2 to be string, array given
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpClient\HttpClientTrait.php:200
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpClient\HttpClientTrait.php:131
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpClient\HttpClientTrait.php:45
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpClient\CurlHttpClient.php:105
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpKernel\HttpClientKernel.php:54
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpKernel\HttpCache\SubRequestHandler.php:85
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpKernel\HttpCache\HttpCache.php:477
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpKernel\HttpCache\HttpCache.php:450
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpKernel\HttpCache\HttpCache.php:347
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpKernel\HttpCache\HttpCache.php:222
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpClient\CachingHttpClient.php:96
     C:\PROJEKTY\PHPStorm\symfony\src\Symfony\Component\HttpClient\Tests\CachingHttpClientTest.php:34
    
    ```
    This PR fix this.
    
    Commits
    -------
    
    5cd8895c67 [HttpClient] bugfix exploding values of headers
  5. Merge branch '4.4'

    nicolas-grekas committed Oct 7, 2019
    * 4.4: (27 commits)
      [Validator] add notice in UPGRADE file for new Range constraint option
      [CssSelector] Support *:only-of-type pseudo class selector
      [Intl] Update the ICU data to 65.1 (4.4 branch)
      [Intl] Update the ICU data to 65.1 (4.3 branch)
      Replace deprecated calls in tests
      [Intl] Update the ICU data to 65.1
      Delete 5_Security_issue.md
      [DI] Whitelist error_renderer.renderer tag  in UnusedTagsPass
      [DI] Whitelist validator.auto_mapper in UnusedTagsPass
      Update CHANGELOG.md
      [HttpClient] Fixed #33832 NO_PROXY option ignored in NativeHttpClient::request() method
      [EventDispatcher] A compiler pass for aliased userland events.
      [Cache] give 100ms before starting the expiration countdown
      [Cache] fix logger usage in CacheTrait::doGet()
      [VarDumper] fix dumping uninitialized SplFileInfo
      Added missing translations.
      [Form] Added CountryType option for using alpha3 country codes
      Fixed invalid changelog 4.0.0 for VarDumper
      [Workflow] Fixed BC break on WorkflowInterface
      Fix wrong expression language value
      ...
Commits on Oct 4, 2019
  1. Merge branch '4.3' into 4.4

    nicolas-grekas committed Oct 4, 2019
    * 4.3:
      [Intl] Update the ICU data to 65.1 (4.3 branch)
      Replace deprecated calls in tests
      [Intl] Update the ICU data to 65.1
      Delete 5_Security_issue.md
      [DI] Whitelist validator.auto_mapper in UnusedTagsPass
      [HttpClient] Fixed #33832 NO_PROXY option ignored in NativeHttpClient::request() method
      [Cache] give 100ms before starting the expiration countdown
      [Cache] fix logger usage in CacheTrait::doGet()
      [VarDumper] fix dumping uninitialized SplFileInfo
      Added missing translations.
      Fixed invalid changelog 4.0.0 for VarDumper
      Fixed invalid VarDumper upgrade doc.
      [HttpFoundation] Check if data passed to SessionBagProxy::initialize is an array
      Don't let falsey usernames slip through
You can’t perform that action at this time.