Skip to content

Latest commit

 

History

History
244 lines (207 loc) · 15.7 KB

CHANGELOG.md

File metadata and controls

244 lines (207 loc) · 15.7 KB

2.0.0-preview-8 2018-02-02

AWS SDK for Java v2

  • Features

    • Added Consumer methods to multiple locations where they were previously missing.
    • Added SdkClient base interface that all service clients implement.
    • Added and standardized toString implementations of public data classes.
    • Adding the following services from re:invent 2017:
      • Alexa For Business
      • AWS Migration Hub
      • AWS Cost Explorer
      • AWS Cloud9
      • AWS CloudHSM V2
      • Amazon Comprehend
      • AWS Glue
      • Amazon GuardDuty
      • Amazon Kinesis Video Streams
      • AWS Elemental MediaConvert
      • AWS Elemental MediaLive
      • AWS Elemental MediaPackage
      • AWS Elemental MediaStore
      • AWS Mobile
      • AmazonMQ
      • AWS Price List
      • AWS Resource Groups
      • Amazon SageMaker
      • AWS Serverless Application Repository
      • Amazon Route 53 Auto Naming
      • Amazon Translate
      • Amazon WorkMail
    • Setting Content-Type header for streaming requests. Related to #357
    • upgrade Netty 4.1.17.Final to 4.1.19.Final
  • Bugfixes

    • Fixed issue where error message in S3 exceptions could be "null" if the exception did not have a modeled type.

Amazon CloudWatch

  • Features

    • Added pagination configuration to CloudWatch

Netty NIO Async HTTP Client

  • Bugfixes

    • Fix race condition in the async client causing instability when making multiple concurent requests. Fixes #202

2.0.0-preview-7 2017-12-15

AWS SDK for Java v2

  • Features

    • Added Bytes methods to all streaming operations. These methods will load the service response into memory and return a ResponseBytes object that eases conversion into other types, like strings. eg. String object = s3.getObjectBytes(request).asUtf8String(). #324
    • Added ProfileCredentialsProvider.create("profile-name") helper to ProfileCredentialsProvider to account for common use-case where only profile name is provided. #347
    • Adds convenience type overloads to allow easier to use types on modeled objects. #336
    • Automatically retry streaming downloads to a file if they fail or are interrupted. #324
    • Implementation of a generic HTTP credential provider used to get credentials from an container metadata service. Replica of v1 implementation #328
    • Refactors the exceptions used by the SDK. #301
    • Remove the legacy AmazonWebServiceRequest, AmazonWebServiceResult, and AmazonWebServiceResponse classes. They are replaced with AwsRequest and AwsResponse. #289
    • Updated profile-based region and credential loading to more closely mirror the behavior in the AWS CLI. Notably, profile names in ~/.aws/config must be prefixed with "profile " (except for the default profile) and profile names in ~/.aws/credentials must not be prefixed with "profile ". #296
    • Upgrade maven-compiler-plugin from 3.6.0 to 3.7.0
    • Upgraded dependencies
      • Wiremock (com.github.tomakehurst:wiremock) 1.55 -> 2.12.0
      • Json Path (com.jayway.jsonpath:json-path) 2.2.0 -> 2.4.0
    • upgrade to Jackson 2.9.3
  • Removals

    • Remove easymock as a dependency, mockito should be used for all mocking going forward. #348
    • Removed the following unused dependencies #349:
      • org.eclipse:text
      • info.cukes:cucumber-java
      • info.cukes:cucumber-junit
      • info.cukes:cucumber-guice
      • com.google.inject:guice
      • org.bouncycastle:bcprov-jdk15on
      • com.google.guava:guava
      • io.burt:jmespath-jackson
      • javax.annotation:javax.annotation-api

Amazon S3

  • Bugfixes

    • Fixing exception unmarshalling for S3. #297

Netty NIO Async HTTP Client

  • Bugfixes

    • Fixes Issue #340 where connection acquisition time was calculated incorrectly in the Netty client.

2.0.0-preview-6 2017-12-06

AWS AppSync

  • Features

    • Adding AWS AppSync based on customer request. #318

AWS Lambda

  • Removals

    • Removed high-level utilities. #247

AWS SDK for Java v2

  • Features

    • Add paginators-1.json file for some services #298
    • Added a primitive Waiter class for simplifying poll-until-condition-is-met behavior. #300
    • Adding Consumer to overrideConfiguration on ClientBuilder #291
    • Adding helper to Either that allows construction from two possibly null values #292
    • Adding knownValues static to enum generation #218
    • Adding validation to Region class #261
    • Converted all wiremock tests to run as part of the build. #260
    • Enhanced pagination for synchronous clients#207
    • Implementing Consumer fluent setter pattern on client operations #280
    • Implementing Consumer fluent setters pattern on model builders. #278
    • Making it easier to supply async http configuration. #274
    • Refactoring retry logic out to separate class #177
    • Removing unnecessary javax.mail dependency #312
    • Replacing constructors with static factory methods #284
    • Retry policy refactor #190
    • Update latest models for existing services #299
    • Upgrade dependencies to support future migration to Java 9. #271
    • Upgraded dependencies:
      • javapoet 1.8.0 -> 1.9.0 #311
      • Apache HttpClient 4.5.2 -> 4.5.4 #308
      • Jackson 2.9.1 -> 2.9.2 #310
      • Netty 4.1.13 -> 4.1.17 #309
    • Use java.util.Objects to implement equals, hashCode #294
  • Bugfixes

    • Attempting to fix class-loader exception raised on gitter. #216
    • Call doClose in HttpClientDependencies#close method #268
    • Fixing bundle exports #281
  • Removals

    • Delete old jmespath AST script #266
    • Remove current waiter implementation. #258
    • Removed policy builder. #259
    • Removed progress listeners until they can be updated to V2 standards. #285

Amazon CloudFront

  • Removals

    • Removed high-level cloudfront utilities. #242

Amazon DynamoDB

  • Features

    • Adding some helpers for being able to create DyanmoDB AttributeValues. #276
  • Bugfixes

    • Fixed TableUtils that broke with enum change. #235

Amazon EC2

  • Removals

    • Removed high-level utilities. #244

Amazon EMR

  • Removals

    • Removed high-level utilities. #245

Amazon Glacier

  • Removals

    • Removed high-level utilities. #246

Amazon Polly

  • Removals

    • Removed polly presigners until they can be updated for V2. #287

Amazon S3

  • Features

    • Adding utility that creates temporary bucket name using user-name #234

Amazon SES

  • Removals

    • Removed high-level utilities. #248

Amazon SNS

  • Removals

    • Removed high-level utilities. #255

Amazon SQS

  • Bugfixes

    • Porting SQS test to make use of async and hopefully resolve the bug #240
  • Removals

    • Removed high-level utilities and the interceptor that rewrites the endpoint based on the SQS queue. #238

Amazon SimpleDB

  • Removals

    • Removed high-level utilities and unused response metadata handler. #249

Netty NIO Async HTTP Client

  • Features

    • Adding socket resolver helper that will load the appropriate SocketChannel #293
  • Bugfixes

    • Netty spurious timeout error fix #283
    • Temporarily disable epoll #254

2.0.0-preview-5 2017-10-17

AWS SDK for Java v2

  • Features

    • Asynchronous request handler for strings AsyncRequestProvider.fromString("hello world!!!") PR #183
    • General HTTP core clean-up PR #178
    • Get value from request POJO using member model names String bucketName = s3PutObjectResponse.getValueForField("Bucket", String.class); PR #144
    • Model enums on service POJOs PR #195
    • Move core classes to their own package software.amazon.awssdk.core PR #194
  • Bugfixes

    • Resolve potential security issue handling DTD entities PR #198
    • Serialization/deserialization of complex model objects PR #128 / Issue #121

Amazon S3

  • Features

    • Handle 100-continue header for PUT object PR #169

Netty NIO Async HTTP Client

  • Bugfixes

    • Better handling of event-loop selection for AWS Lambda container PR #208
    • Data corruption fix in streaming responses and stability fixes PR #173

2.0.0-preview-4 2017-09-19

AWS SDK for Java v2

  • Features

    • Added convenience methods for both sync and async streaming operations for file based uploads/downloads.
    • Added some convenience implementation of AsyncResponseHandler to emit to a byte array or String.
    • Immutable objects can now be modified easily with a newly introduced copy method that applies a transformation on the builder for the object and returns a new immutable object.
    • Major refactor of RequestHandler interfaces. Newly introduced ExecutionInterceptors have a cleaner, more consistent API and are much more powerful.
    • S3's CreateBucket no longer requires the location constraint to be specified, it will be inferred from the client region if not present.
    • The File and OutputStream implementations of StreamingResponseHandler now return the POJO response in onComplete.
  • Bugfixes

    • Fixed a bug in default credential provider chain where it would erroneously abort at the ProfileCredentialsProvider. See Issue #135
    • Many improvments and fixes to the Netty NIO based transport.
    • Several fixes around S3's endpoint resolution, particularly with advanced options like path style addressing and accelerate mode. See Issue #130
    • Several fixes around serialization and deserialization of immutable objects. See Issue #122
    • Type parameters are now correctly included for StreamingResponseHandler on the client interface.
  • Removals

    • Dependency on JodaTime has been dropped in favor of Java 8's APIS.
    • DynamoDBMapper and DynamoDB Document API have been removed.
    • Metrics subsystem has been removed.

2.0.0-preview-2 2017-07-21

AWS SDK for Java v2

  • Features

    • New pluggable HTTP implementation built on top of Java's HttpUrlConnection. Good choice for simple applications with low throughput requirements. Better cold start latency than the default Apache implementation.
    • Simple convenience methods have been added for operations that require no input parameters.
    • Substantial improvments to start up time and cold start latencies
    • The Netty NIO HTTP client now uses a shared event loop group for better resource management. More options for customizing the event loop group are now available.
    • Using java.time instead of the legacy java.util.Date in generated model classes.
    • Various improvements to the immutability of model POJOs. ByteBuffers are now copied and collections are returned as unmodifiable.

2.0.0-preview-1 2017-06-28

AWS SDK for Java v2

  • Features

    • Initial release of the AWS SDK for Java v2. See our blog post for information about this new major veresion. This release is considered a developer preview and is not intended for production use cases.