Remove implementing Http\Message\RequestFactory from HttplugClient
6.4
Add HarFileResponseFactory testing utility, allow to replay responses from .har files
Add max_retries option to RetryableHttpClient to adjust the retry logic on a per request level
Add PingWehookMessage and PingWebhookMessageHandler
Enable using EventSourceHttpClient::connect() for both GET and POST
6.3
Add option crypto_method to set the minimum TLS version and make it default to v1.2
Add UriTemplateHttpClient to use URI templates as specified in the RFC 6570
Add ServerSentEvent::getArrayData() to get the Server-Sent Event's data decoded as an array when it's a JSON payload
Allow array of urls as base_uri option value in RetryableHttpClient to retry on a new url each time
Add JsonMockResponse, a MockResponse shortcut that automatically encodes the passed body to JSON and sets the content type to application/json by default
Support file uploads by nesting resource streams in option "body"
6.2
Make HttplugClient implement Psr\Http\Message\RequestFactoryInterface, StreamFactoryInterface and UriFactoryInterface
Deprecate implementing Http\Message\RequestFactory, StreamFactory and UriFactory on HttplugClient
Add withOptions() to HttplugClient and Psr18Client
6.1
Allow yielding Exception from MockResponse's $body to mock transport errors
Remove credentials from requests redirected to same host but different port
5.4
Add MockHttpClient::setResponseFactory() method to be able to set response factory after client creating
5.3
Implement HttpClientInterface::withOptions() from symfony/contracts v2.4
Add DecoratorTrait to ease writing simple decorators
#5692: --log-events-text and --log-events-verbose-text require the destination file to exit
[11.0.1] - 2024-02-02
Fixed
#5690: Backward Compatibility break in PHPUnit\Framework\Constraint\Constraint
[11.0.0] - 2024-02-02
Added
#4964: Enable named data sets with the #[TestWith*] attributes
#5225: Allow providing named arguments from a data provider
#5600: Assertions for comparing arrays while ignoring a specified list of keys
#5605: expectUserDeprecationMessage() and expectUserDeprecationMessageMatches() for expecting E_USER_DEPRECATED issues
#5620: Implement group attribute on <directory> and <file> elements (children of <testsuite>) to add all tests found in a directory or file to a specified group
#5629: --exclude-filter CLI option for excluding tests from execution
#5642: --list-test-files CLI option to print the list of test files
Changed
#5213: Make TestCase methods protected that should have been protected all along
#5254: Make TestCase methods final that should have been final all along
#5619: Check and restore error/exception global handlers
The format of the XML document generated using the --list-tests-xml CLI option has been changed
small, medium, and large can no longer be used as group names with the #[Group] attribute
A test can no longer be part of multiple test suites that are configured in the XML configuration file
--check-version now exits with a shell exit code that indicates failure when the version is not the latest version
#5214: TestCase::iniSet() (this method was already soft-deprecated in PHPUnit 10)
#5216: TestCase::setLocale() (this method was already soft-deprecated in PHPUnit 10)
#5240: TestCase::createTestProxy() (this method was already soft-deprecated in PHPUnit 10)
#5241: TestCase::getMockForAbstractClass() (this method was already soft-deprecated in PHPUnit 10)
#5242: TestCase::getMockFromWsdl() (this method was already soft-deprecated in PHPUnit 10)
#5243: TestCase::getMockForTrait() (this method was already soft-deprecated in PHPUnit 10)
#5244: TestCase::getObjectForTrait() (this method was already soft-deprecated in PHPUnit 10)
#5305: MockBuilder::getMockForAbstractClass() (this method was already soft-deprecated in PHPUnit 10)
#5306: MockBuilder::getMockForTrait() (this method was already soft-deprecated in PHPUnit 10)
#5307: MockBuilder::enableProxyingToOriginalMethods(), MockBuilder::disableProxyingToOriginalMethods(), and MockBuilder::setProxyTarget() (these methods were already soft-deprecated in PHPUnit 10)
#5308: MockBuilder::allowMockingUnknownTypes() and MockBuilder::disallowMockingUnknownTypes() (these methods were already soft-deprecated in PHPUnit 10)
#5309: MockBuilder::enableAutoload() and MockBuilder::disableAutoload() (these methods were already soft-deprecated in PHPUnit 10)
#5315: MockBuilder::enableArgumentCloning() and MockBuilder::disableArgumentCloning() (these methods were already soft-deprecated in PHPUnit 10)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the composer-major group with 4 updates: symfony/http-client, symfony/mailgun-mailer, symfony/postmark-mailer and phpunit/phpunit.
Updates
symfony/http-client
from 6.4.3 to 7.0.3Release notes
Sourced from symfony/http-client's releases.
Changelog
Sourced from symfony/http-client's changelog.
... (truncated)
Commits
3d2605c
Merge branch '6.4' into 7.0dc4ee0b
Merge branch '6.4' into 7.0db71498
Merge branch '6.4' into 7.0c3e90d0
Merge branch '6.4' into 7.02c09ff8
Merge branch '6.4' into 7.05c8eddf
Merge branch '6.4' into 7.00fc3d3a
Merge branch '6.4' into 7.0Updates
symfony/mailgun-mailer
from 6.4.3 to 7.0.3Release notes
Sourced from symfony/mailgun-mailer's releases.
Commits
fa7d03e
Merge branch '6.4' into 7.0515af50
Merge branch '6.4' into 7.03c1dea6
Merge branch '6.4' into 7.0054e7c2
Merge branch '6.4' into 7.06509ef5
Merge branch '6.4' into 7.03f76e5c
Merge branch '6.4' into 7.0c044454
Merge branch '6.4' into 7.0390f713
Merge branch '6.4' into 7.0fce7504
[7.0] Bump to PHP 8.2 minimumUpdates
symfony/postmark-mailer
from 6.4.3 to 7.0.3Release notes
Sourced from symfony/postmark-mailer's releases.
Commits
214e21c
Merge branch '6.4' into 7.04de1e19
Merge branch '6.4' into 7.04412fc3
Merge branch '6.4' into 7.09093683
Merge branch '6.4' into 7.0c464a8c
Merge branch '6.4' into 7.0055b361
[Components] Convert to native return typesa52fbda
[7.0] Bump to PHP 8.2 minimumUpdates
phpunit/phpunit
from 10.5.10 to 11.0.2Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
2f281e7
Prepare release6978be2
Merge branch '10.5' into 11.041a919a
Merge branch '10.5' into 11.00593b34
Merge branch '10.5' into 11.00c54260
Merge branch '10.5' into 11.0f6a1f7c
Closes #5690ece3536
Prepare release38a61e7
Update dependenciesc9f35fe
Merge branch '10.5'83443c7
Fix typoDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show