- Add support for
Content-Type: application/x-amz-json-1.1
in test case.
- Add
Configuration::isDefault
methods.
- Allow mocking of Results classes named "*Result"
- Add support for multiregion via
@region
input parameter. - DynamoDB support.
ResultMockFactory
was updated withcreateFailing()
and support for pagination.AbstractApi::presign()
.Result::wait()
for multiplexing downloads.- Interface
AsyncAws\Core\Input
. AsyncAws\Core\Stream\ResponseBodyResourceStream
andAsyncAws\Core\Stream\ResponseBodyStream
.- Internal
AsyncAws\Core\Response
to encapsulate the HTTP client. - Internal
AsyncAws\Core\RequestContext
. - Internal
AsyncAws\Core\Stream\RewindableStream
.
- The input's
validate()
function was merged with therequest()
function. Configuration::isDefault()
.- Protected property
AbstractApi::$logger
. AsyncAws\Core\StreamableBody
in favor ofAsyncAws\Core\Stream\ResponseBodyStream
.
- Exceptions will contain more information from the HTTP response.
- Moved STS value objects to a dedicated namespace.
- The
AsyncAws\Core\Sts\Input\*
andAsyncAws\Core\Sts\ValueObject*
classes are marked final. - Using
DateTimeImmutable
instead ofDateTimeInterface
. - Protected properties
AbstractApi::$httpClient
,AbstractApi::$configuration
andAbstractApi::$credentialProvider
are now private. AbstractApi::getResponse()
has new signature. New optional second argument?RequestContext $context = null
and the return type isAsyncAws\Core\Response
.- The
CredentialProvider
s andConfiguration
are nowfinal
. - Renamed
AsyncAws\Core\Stream\Stream
toAsyncAws\Core\Stream\RequestStream
. - Renamed
AsyncAws\Core\StreamableBodyInterface
toAsyncAws\Core\Stream\ResultStream
. - The
ResultStream::getChunks()
now returns a iterable of string.
- Bugfix in
WebIdentityProvider
- Test class
AsyncAws\Core\Test\SimpleStreamableBody
- Moved
AsyncAws\Core\Signer\Request
toAsyncAws\Core\Request
. - Added constructor argument to
AsyncAws\Core\Request::__construct()
to support query parameters. - Renamed
AsyncAws\Core\Request::getUrl()
toAsyncAws\Core\Request::getEndpoint()
- Class
AsyncAws\Core\Stream\StreamFactory
is not internal anymore. - Removed
requestBody()
,requestHeaders()
,requestQuery()
andrequestUri()
input classes. They are replaced withrequest()
.
- Public
AbstractApi::request()
was removed. - Protected function
AbstractApi::getEndpoint()
was made private.
- Fix Instance Provider Role fetching
- Added a
ResultMockFactory
to helps creating tests
- Http method is replaced by PUT in REST calls
Configuration
don't mix anymore attributes injected by php array and env variables.
AbstractApi::getConfiguration()
- Make sure
Configuration::create(['foo'=>null])
is using the default value of "foo".
- Requests can now be streamed
- Streamable request accepts iterable alongside string, callable, resource
- Support for getting credentials from Web Identity or OpenID Connect Federation. (
WebIdentityProvider
)
- Rename namespace
Signers
intoSigner
.
- Class
AsuncAws\Core\Credentials\NullProvider
- Methods
AwsClient::cloudFormation()
,AwsClient::lambda()
,AwsClient::sns()
- Protected methods
Result::registerPrefetch()
andResult::unregisterPrefetch()
- Timeout parameter to
InstanceProvider::__construct()
- Removed
AwsClient
and replaced it withAwsClientFactory
- Class
AsyncAws\Core\Signer\Request
is marked as internal - Make sure behavior of calling
Result::resolve()
is consistent
First version