From 316a1d1ac8959d795a4e76b44d8e5556b6dd3f48 Mon Sep 17 00:00:00 2001 From: Jason Del Ponte Date: Fri, 12 Mar 2021 14:29:23 -0800 Subject: [PATCH] Add smithy-go's v1.2.0 release (#278) Adds change notes for smithy-go v1.2.0 go module release, and codegen update. ``` # Release 2021-03-12 v1.2.0 ### Smithy Go module * Fix support for parsing shortened year format in HTTP Date header. * Fix GitHub APIDiff action workflow to get gorelease tool correctly. * Fix codegen artifact unit test for Go 1.16 ### Codegen * Fix generating paginator nil parameter handling before usage. * Fix Serialize unboxed members decorated as required. * Add ability to define resolvers at both client construction and operation invocation. * Support for extending paginators with custom runtime trait ``` --- .travis.yml | 10 +++++++--- CHANGELOG.md | 12 ++++++++++++ .../amazon/smithy/go/codegen/SmithyGoDependency.java | 2 +- 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.travis.yml b/.travis.yml index 6e75f301d..b02e9903d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ sudo: true dist: bionic install: - - eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.15.x bash)" + - eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.16.x bash)" - echo `go env` - echo `which go` @@ -12,17 +12,21 @@ script: cd codegen && ./gradlew clean build -Plog-tests matrix: include: - language: java - go: 1.15.x + go: 1.16.x jdk: openjdk8 - language: java - go: 1.15.x + go: 1.16.x jdk: openjdk11 - language: go go: 1.15.x script: go test -v ./... + - language: go + go: 1.16.x + script: go test -v ./... + allow_failures: - language: go go: tip diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..8a35893d1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# Release 2021-03-12 v1.2.0 + +### Smithy Go module +* Fix support for parsing shortened year format in HTTP Date header. +* Fix GitHub APIDiff action workflow to get gorelease tool correctly. +* Fix codegen artifact unit test for Go 1.16 + +### Codegen +* Fix generating paginator nil parameter handling before usage. +* Fix Serialize unboxed members decorated as required. +* Add ability to define resolvers at both client construction and operation invocation. +* Support for extending paginators with custom runtime trait diff --git a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java index a9a00424e..ddbb60dff 100644 --- a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java +++ b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java @@ -118,7 +118,7 @@ private static GoDependency relativePackage( private static final class Versions { private static final String GO_STDLIB = "1.15"; private static final String GO_CMP = "v0.5.4"; - private static final String SMITHY_GO = "v1.1.0"; + private static final String SMITHY_GO = "v1.2.0"; private static final String GO_JMESPATH = "v0.4.0"; } }