Skip to content

Commit 202f56a

Browse files
committed
Merge branch 'master' of https://github.com/aws/aws-sdk-java-v2 into finks/endpoint-discovery
2 parents a380a2f + e17887c commit 202f56a

File tree

496 files changed

+62781
-3096
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

496 files changed

+62781
-3096
lines changed

.changes/2.1.1.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"date": "2018-11-27",
3+
"version": "2.1.1",
4+
"entries": [
5+
{
6+
"category": "AWS SDK for Java v2",
7+
"type": "bugfix",
8+
"description": "Preserve computedChecksum in `ChecksumValidatingInputStream` so that it doesn't throw error if it validates more than once. See [#873](https://github.com/aws/aws-sdk-java-v2/issues/873)"
9+
},
10+
{
11+
"category": "AWS SDK for Java V2",
12+
"type": "bugfix",
13+
"description": "Fixes Issue [#864](https://github.com/aws/aws-sdk-java-v2/issues/864) by checking for embedded JSON objects while unmarshalling bytes."
14+
},
15+
{
16+
"category": "AWS SDK for Java v2",
17+
"type": "bugfix",
18+
"description": "Fix async pagination javadocs to use the correct method name `SdkPublisher#subscribe`."
19+
},
20+
{
21+
"category": "AWS SDK for Java v2",
22+
"type": "bugfix",
23+
"description": "Fixed an issue where close() and abort() weren't being honored for streaming responses in all cases."
24+
},
25+
{
26+
"category": "AWS SDK for Java v2",
27+
"type": "feature",
28+
"description": "Updated to the latest service models."
29+
},
30+
{
31+
"category": "AWS SDK for Java v2",
32+
"type": "feature",
33+
"description": "Updated to the latest service models."
34+
},
35+
{
36+
"category": "AWS Organizations",
37+
"type": "bugfix",
38+
"description": "Add `organizations` to `aws-sdk-java` module."
39+
}
40+
]
41+
}

.changes/2.1.2.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"date": "2018-11-28",
3+
"version": "2.1.2",
4+
"entries": [
5+
{
6+
"category": "core",
7+
"type": "feature",
8+
"description": "Jackson 2.9.6 -> 2.9.7"
9+
},
10+
{
11+
"category": "AWS SDK for Java v2",
12+
"type": "feature",
13+
"description": "Updated to the latest service models."
14+
}
15+
]
16+
}

.changes/2.1.3.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"date": "2018-11-29",
3+
"version": "2.1.3",
4+
"entries": [
5+
{
6+
"category": "AWS SDK for Java v2",
7+
"type": "feature",
8+
"description": "Updated to the latest service models."
9+
}
10+
]
11+
}

.changes/2.1.4.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"date": "2018-12-07",
3+
"version": "2.1.4",
4+
"entries": [
5+
{
6+
"category": "AWS CodeDeploy",
7+
"type": "feature",
8+
"description": "Supporting AWS CodeDeploy"
9+
},
10+
{
11+
"category": "AWS SDK for Java v2",
12+
"type": "bugfix",
13+
"description": "Fixes nullpointerexception when server responds with null values in map."
14+
},
15+
{
16+
"category": "Amazon S3",
17+
"type": "bugfix",
18+
"description": "Turns off trailing checksums when using SSE-C or SSE-KMS"
19+
},
20+
{
21+
"category": "core",
22+
"type": "feature",
23+
"description": "Netty 4.1.32.Final"
24+
},
25+
{
26+
"category": "Netty NIO Async HTTP Client",
27+
"type": "bugfix",
28+
"description": "Close created `ChannelPool`s in `close()` method."
29+
},
30+
{
31+
"category": "AWS SDK for Java v2",
32+
"type": "feature",
33+
"description": "Add `modifyException` API to `ExecutionInterceptor`."
34+
},
35+
{
36+
"category": "Amazon S3",
37+
"type": "bugfix",
38+
"description": "Update S3 headObject/headBucket operations to throw NoSuchKey/NoSuchException when S3 is returning 404. See [#123](https://github.com/aws/aws-sdk-java-v2/issues/123), [#544](https://github.com/aws/aws-sdk-java-v2/issues/544)"
39+
},
40+
{
41+
"category": "AWS SDK for Java v2",
42+
"type": "feature",
43+
"description": "Update spot bugs version to 3.1.9"
44+
},
45+
{
46+
"category": "Netty NIO Async HTTP Client",
47+
"type": "bugfix",
48+
"description": "Fix the issue where streaming requests with `Expect: 100-continue` header sometimes are hanging because 100Continue response message is not being read automatically. See [#459](https://github.com/aws/aws-sdk-java-v2/issues/459)"
49+
},
50+
{
51+
"category": "AWS SDK for Java v2",
52+
"type": "bugfix",
53+
"description": "Use the class loader that loaded the SDK to load the HTTP implementations. See [#56](https://github.com/aws/aws-sdk-java-v2/issues/56)"
54+
},
55+
{
56+
"category": "AWS SDK for Java v2",
57+
"type": "bugfix",
58+
"description": "Fix infinite stream of results bug in auto paginator APIs when the next token is an empty string"
59+
},
60+
{
61+
"category": "AWS SDK for Java v2",
62+
"type": "feature",
63+
"description": "Updated to the latest service models."
64+
},
65+
{
66+
"category": "AWS SDK for Java v2",
67+
"type": "feature",
68+
"description": "Add application/gzip mime type"
69+
}
70+
]
71+
}

.changes/2.2.0.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"date": "2018-12-14",
3+
"version": "2.2.0",
4+
"entries": [
5+
{
6+
"category": "URLConnection HTTP Client",
7+
"type": "feature",
8+
"description": "Adding a hook to enable custom creation of the initial `HttpURLConnection`. This enables customers to control how a connection is established for a given `URL` including handling any required proxy configuration etc."
9+
},
10+
{
11+
"category": "Amazon S3",
12+
"type": "bugfix",
13+
"description": "Modify type of S3Object#size member from integer to long. This is a breaking change for customers who are using the size() method currently"
14+
},
15+
{
16+
"category": "Netty NIO HTTP Client",
17+
"type": "bugfix",
18+
"description": "Fix a bug where it's possible for an HTTP2 channel pool to be closed while some channels are still being released causing them to be left open and leaked."
19+
},
20+
{
21+
"category": "AWS SDK for Java v2",
22+
"type": "feature",
23+
"description": "Adds the operation name of the calling API to the ExecutionContext class. This exposes a way to get the API name from within an ExecutionInterceptor."
24+
},
25+
{
26+
"category": "AWS SDK for Java v2",
27+
"type": "feature",
28+
"description": "Updated to the latest service models."
29+
},
30+
{
31+
"category": "Amazon S3",
32+
"type": "bugfix",
33+
"description": "S3 putObject API using UrlConnectionHttpClient goes into infinite loop. See https://github.com/aws/aws-sdk-java-v2/pull/942 for more details."
34+
}
35+
]
36+
}

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- [ ] I have added tests to cover my changes
3232
- [ ] All new and existing tests passed
3333
- [ ] A short description of the change has been added to the **CHANGELOG**
34+
- [ ] My change is to implement 1.11 parity feature and I have updated [LaunchChangelog](../docs/LaunchChangelog.md)
3435

3536
## License
3637
<!--- The SDK is released under the Apache 2.0 license (http://aws.amazon.com/apache2.0/), so any code you submit will be released under that license -->

CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,86 @@
1+
# __2.2.0__ __2018-12-14__
2+
## __AWS SDK for Java v2__
3+
- ### Features
4+
- Adds the operation name of the calling API to the ExecutionContext class. This exposes a way to get the API name from within an ExecutionInterceptor.
5+
- Updated to the latest service models.
6+
7+
## __Amazon S3__
8+
- ### Bugfixes
9+
- Modify type of S3Object#size member from integer to long. This is a breaking change for customers who are using the size() method currently
10+
- S3 putObject API using UrlConnectionHttpClient goes into infinite loop. See https://github.com/aws/aws-sdk-java-v2/pull/942 for more details.
11+
12+
## __Netty NIO HTTP Client__
13+
- ### Bugfixes
14+
- Fix a bug where it's possible for an HTTP2 channel pool to be closed while some channels are still being released causing them to be left open and leaked.
15+
16+
## __URLConnection HTTP Client__
17+
- ### Features
18+
- Adding a hook to enable custom creation of the initial `HttpURLConnection`. This enables customers to control how a connection is established for a given `URL` including handling any required proxy configuration etc.
19+
20+
# __2.1.4__ __2018-12-07__
21+
## __AWS CodeDeploy__
22+
- ### Features
23+
- Supporting AWS CodeDeploy
24+
25+
## __AWS SDK for Java v2__
26+
- ### Features
27+
- Add `modifyException` API to `ExecutionInterceptor`.
28+
- Add application/gzip mime type
29+
- Update spot bugs version to 3.1.9
30+
- Updated to the latest service models.
31+
32+
- ### Bugfixes
33+
- Fix infinite stream of results bug in auto paginator APIs when the next token is an empty string
34+
- Fixes nullpointerexception when server responds with null values in map.
35+
- Use the class loader that loaded the SDK to load the HTTP implementations. See [#56](https://github.com/aws/aws-sdk-java-v2/issues/56)
36+
37+
## __Amazon S3__
38+
- ### Bugfixes
39+
- Turns off trailing checksums when using SSE-C or SSE-KMS
40+
- Update S3 headObject/headBucket operations to throw NoSuchKey/NoSuchException when S3 is returning 404. See [#123](https://github.com/aws/aws-sdk-java-v2/issues/123), [#544](https://github.com/aws/aws-sdk-java-v2/issues/544)
41+
42+
## __Netty NIO Async HTTP Client__
43+
- ### Bugfixes
44+
- Close created `ChannelPool`s in `close()` method.
45+
- Fix the issue where streaming requests with `Expect: 100-continue` header sometimes are hanging because 100Continue response message is not being read automatically. See [#459](https://github.com/aws/aws-sdk-java-v2/issues/459)
46+
47+
## __core__
48+
- ### Features
49+
- Netty 4.1.32.Final
50+
51+
# __2.1.3__ __2018-11-29__
52+
## __AWS SDK for Java v2__
53+
- ### Features
54+
- Updated to the latest service models.
55+
56+
# __2.1.2__ __2018-11-28__
57+
## __AWS SDK for Java v2__
58+
- ### Features
59+
- Updated to the latest service models.
60+
61+
## __core__
62+
- ### Features
63+
- Jackson 2.9.6 -> 2.9.7
64+
65+
# __2.1.1__ __2018-11-27__
66+
## __AWS Organizations__
67+
- ### Bugfixes
68+
- Add `organizations` to `aws-sdk-java` module.
69+
70+
## __AWS SDK for Java V2__
71+
- ### Bugfixes
72+
- Fixes Issue [#864](https://github.com/aws/aws-sdk-java-v2/issues/864) by checking for embedded JSON objects while unmarshalling bytes.
73+
74+
## __AWS SDK for Java v2__
75+
- ### Features
76+
- Updated to the latest service models.
77+
- Updated to the latest service models.
78+
79+
- ### Bugfixes
80+
- Fix async pagination javadocs to use the correct method name `SdkPublisher#subscribe`.
81+
- Fixed an issue where close() and abort() weren't being honored for streaming responses in all cases.
82+
- Preserve computedChecksum in `ChecksumValidatingInputStream` so that it doesn't throw error if it validates more than once. See [#873](https://github.com/aws/aws-sdk-java-v2/issues/873)
83+
184
# __2.1.0__ __2018-11-19__
285
## __AWS SDK for Java v2__
386
- ### Features

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ artifact source.
1111

1212
* [SDK Homepage][sdk-website]
1313
* [1.11 to 2.0 Changelog](docs/LaunchChangelog.md)
14+
* [Sample Code](#sample-code)
1415
* [API Docs][docs-api]
1516
* [Developer Guide][docs-guide] ([source][docs-guide-source])
1617
* [Issues][sdk-issues]
@@ -43,7 +44,7 @@ You can import the whole SDK into your project (includes all services) as follow
4344
<dependency>
4445
<groupId>software.amazon.awssdk</groupId>
4546
<artifactId>aws-sdk-java</artifactId>
46-
<version>2.1.0</version>
47+
<version>2.2.0</version>
4748
</dependency>
4849
```
4950

@@ -55,12 +56,12 @@ Alternatively you can add dependencies for the specific services you use only:
5556
<dependency>
5657
<groupId>software.amazon.awssdk</groupId>
5758
<artifactId>ec2</artifactId>
58-
<version>2.1.0</version>
59+
<version>2.2.0</version>
5960
</dependency>
6061
<dependency>
6162
<groupId>software.amazon.awssdk</groupId>
6263
<artifactId>s3</artifactId>
63-
<version>2.1.0</version>
64+
<version>2.2.0</version>
6465
</dependency>
6566
```
6667

@@ -74,7 +75,7 @@ To automatically manage module versions (currently all modules have the same ver
7475
<dependency>
7576
<groupId>software.amazon.awssdk</groupId>
7677
<artifactId>bom</artifactId>
77-
<version>2.1.0</version>
78+
<version>2.2.0</version>
7879
<type>pom</type>
7980
<scope>import</scope>
8081
</dependency>
@@ -111,13 +112,18 @@ See the [Set up the AWS SDK for Java][docs-setup] section of the developer guide
111112

112113
## Building From Source
113114

114-
Once you check out the code from GitHub, you can build it using Maven. To disable the GPG-signing
115-
in the build, use:
115+
Once you check out the code from GitHub, you can build it using Maven.
116116

117117
```sh
118-
mvn clean install -Dgpg.skip=true
118+
mvn clean install
119119
```
120120

121+
## Sample Code
122+
You can find sample code for v2 in the following places:
123+
124+
* [aws-doc-sdk-examples] repo.
125+
* Integration tests in this repo. They are located in the `it` directory under each service module, eg: [s3-integration-tests]
126+
121127
## Giving Feedback
122128
We need your help in making this SDK great. Please participate in the community and contribute to this effort by submitting issues, participating in discussion forums and submitting pull requests through the following channels.
123129

@@ -145,3 +151,5 @@ We need your help in making this SDK great. Please participate in the community
145151
[support-center]: https://console.aws.amazon.com/support/
146152
[console]: https://console.aws.amazon.com
147153
[bom]: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22software.amazon.awssdk%22%20AND%20a%3A%22bom%22
154+
[aws-doc-sdk-examples]: https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/javav2
155+
[s3-integration-tests]: https://github.com/aws/aws-sdk-java-v2/tree/master/services/s3/src/it/java/software/amazon/awssdk/services/s3

0 commit comments

Comments
 (0)