Skip to content

Commit

Permalink
Release v2.0.0-preview.4 (2018-05-25) (#182)
Browse files Browse the repository at this point in the history
Services
---
* Synced the V2 SDK with latests AWS service API definitions.

SDK Bugs
---
* `private/protocol/xml/xmlutil`: Fix XML unmarshaler not correctly unmarshaling list of timestamp values ([#166](#166))
	* Fixes a bug in the XML unmarshaler that would incorrectly try to unmarshal "time.Time" parameters that did not have the struct tag type on them.
	* Related to [aws/aws-sdk-go#1894](aws/aws-sdk-go#1894)
* `service/s3`: Fix typos for migrated S3 specific config options ([#173](#173))
	* Updates the S3 specific config error messages to the correct fields.
* `aws/endpoints`: Fix SDK endpoint signing name resolution ([#181](#181))
	* Fixes how the SDK derives service signing names. If the signing name is not modeled in the endpoints package the service will fallback to the signing name modeled in the service model.
	* Fix [#163](#163)
	* Fix [#153](#153)
	* Related to [aws/aws-sdk-go#1854](aws/aws-sdk-go#1854)
* `service/s3`: remove SelectContent until EventStream supported ([#175](#175])
	* S3's SelectContent API is not functional in the SDK yet, and was not supposed to be generated until EventStream support is available.
	* Related to [aws/aws-sdk-go#1941](aws/aws-sdk-go#1941)

SDK Enhancements
---
* `service/s3/s3manager/s3manageriface`: Add WithIterator to mock interface ([#156](#156))
	* Updates the `DownloaderAPI` and `UploaderAPI` mocking interfaces to have parity with the concrete types.
	* Fixes [#155](#155)
  • Loading branch information
jasdel authored May 26, 2018
1 parent 1f29219 commit ff1a530
Show file tree
Hide file tree
Showing 210 changed files with 49,934 additions and 7,143 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
Release v2.0.0-preview.4 (2018-05-25)
===

### Services
* Synced the V2 SDK with latests AWS service API definitions.

### SDK Bugs
* `private/protocol/xml/xmlutil`: Fix XML unmarshaler not correctly unmarshaling list of timestamp values ([#166](https://github.com/aws/aws-sdk-go-v2/pull/166))
* Fixes a bug in the XML unmarshaler that would incorrectly try to unmarshal "time.Time" parameters that did not have the struct tag type on them.
* Related to [aws/aws-sdk-go#1894](https://github.com/aws/aws-sdk-go/pull/1894)
* `service/s3`: Fix typos for migrated S3 specific config options ([#173](https://github.com/aws/aws-sdk-go-v2/pull/173))
* Updates the S3 specific config error messages to the correct fields.
* `aws/endpoints`: Fix SDK endpoint signing name resolution ([#181](https://github.com/aws/aws-sdk-go-v2/pull/181))
* Fixes how the SDK derives service signing names. If the signing name is not modeled in the endpoints package the service will fallback to the signing name modeled in the service model.
* Fix [#163](https://github.com/aws/aws-sdk-go-v2/pull/163)
* Fix [#153](https://github.com/aws/aws-sdk-go-v2/pull/153)
* Related to [aws/aws-sdk-go#1854](https://github.com/aws/aws-sdk-go/pull/1854)
* `service/s3`: remove SelectContent until EventStream supported ([#175](https://github.com/aws/aws-sdk-go-v2/pull/175])
* S3's SelectContent API is not functional in the SDK yet, and was not supposed to be generated until EventStream support is available.
* Related to [aws/aws-sdk-go#1941](https://github.com/aws/aws-sdk-go/pull/1941)

### SDK Enhancements
* `service/s3/s3manager/s3manageriface`: Add WithIterator to mock interface ([#156](https://github.com/aws/aws-sdk-go-v2/pull/156))
* Updates the `DownloaderAPI` and `UploaderAPI` mocking interfaces to have parity with the concrete types.
* Fixes [#155](https://github.com/aws/aws-sdk-go-v2/issues/155)


Release v2.0.0-preview.3 (2018-03-08)
===

Expand Down
54 changes: 53 additions & 1 deletion aws/endpoints/defaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aws/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"

// SDKVersion is the version of this SDK
const SDKVersion = "2.0.0-preview.3"
const SDKVersion = "2.0.0-preview.4"
6 changes: 6 additions & 0 deletions internal/awstesting/cmd/op_crawler/create_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ import (
"github.com/aws/aws-sdk-go-v2/service/iam"
"github.com/aws/aws-sdk-go-v2/service/inspector"
"github.com/aws/aws-sdk-go-v2/service/iot"
"github.com/aws/aws-sdk-go-v2/service/iot1clickdevicesservice"
"github.com/aws/aws-sdk-go-v2/service/iot1clickprojects"
"github.com/aws/aws-sdk-go-v2/service/iotanalytics"
"github.com/aws/aws-sdk-go-v2/service/iotdataplane"
"github.com/aws/aws-sdk-go-v2/service/iotjobsdataplane"
"github.com/aws/aws-sdk-go-v2/service/kinesis"
Expand Down Expand Up @@ -221,6 +224,9 @@ func createServices(cfg aws.Config) []service {
{name: "iam", value: reflect.ValueOf(iam.New(cfg))},
{name: "inspector", value: reflect.ValueOf(inspector.New(cfg))},
{name: "iot", value: reflect.ValueOf(iot.New(cfg))},
{name: "iot1clickdevicesservice", value: reflect.ValueOf(iot1clickdevicesservice.New(cfg))},
{name: "iot1clickprojects", value: reflect.ValueOf(iot1clickprojects.New(cfg))},
{name: "iotanalytics", value: reflect.ValueOf(iotanalytics.New(cfg))},
{name: "iotdataplane", value: reflect.ValueOf(iotdataplane.New(cfg))},
{name: "iotjobsdataplane", value: reflect.ValueOf(iotjobsdataplane.New(cfg))},
{name: "kinesis", value: reflect.ValueOf(kinesis.New(cfg))},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestMain(m *testing.M) {
func setup() {
svc = s3.New(integration.Config())
bucketName = aws.String(
fmt.Sprintf("aws-sdk-go-integration-%d-%s", time.Now().Unix(), integration.UniqueID()))
fmt.Sprintf("aws-sdk-go-integration-%s", integration.UniqueID()))

for i := 0; i < 10; i++ {
_, err := svc.CreateBucketRequest(&s3.CreateBucketInput{Bucket: bucketName}).Send()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"regexp"
"strings"
"testing"
"time"

"github.com/aws/aws-sdk-go-v2/aws"
request "github.com/aws/aws-sdk-go-v2/aws"
Expand Down Expand Up @@ -52,7 +51,7 @@ func setup() error {

// Create a bucket for testing
bucketName = aws.String(
fmt.Sprintf("aws-sdk-go-integration-%d-%s", time.Now().Unix(), integration.UniqueID()))
fmt.Sprintf("aws-sdk-go-integration-%s", integration.UniqueID()))

_, err := svc.CreateBucketRequest(&s3.CreateBucketInput{Bucket: bucketName}).Send()
if err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func init() {
}

cfg := integration.Config()
cfg.EndpointResolver = aws.ResolveEndpointWithURL(*resp.Container.Endpoint)
cfg.EndpointResolver = aws.ResolveWithEndpointURL(*resp.Container.Endpoint)
gucumber.World["client"] = mediastoredata.New(cfg)
})
}
Loading

0 comments on commit ff1a530

Please sign in to comment.