-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/v0.40.1 #8366
Release/v0.40.1 #8366
Changes from all commits
86c644b
f999126
d90c498
595641c
8c0ffb4
42d394c
2b9987e
874f199
a514131
56bf14b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Build & Push SDK Proto Builder | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- "contrib/devtools/dockerfile" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Prepare | ||
id: prep | ||
run: | | ||
DOCKER_IMAGE=tendermintdev/sdk-proto-gen | ||
VERSION=noop | ||
if [[ $GITHUB_REF == refs/tags/* ]]; then | ||
VERSION=${GITHUB_REF#refs/tags/} | ||
elif [[ $GITHUB_REF == refs/heads/* ]]; then | ||
VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g') | ||
if [ "${{ github.event.repository.default_branch }}" = "$VERSION" ]; then | ||
VERSION=latest | ||
fi | ||
fi | ||
TAGS="${DOCKER_IMAGE}:${VERSION}" | ||
echo ::set-output name=tags::${TAGS} | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUBTM_USERNAME }} | ||
password: ${{ secrets.DOCKERHUBTM_TOKEN }} | ||
|
||
- name: Publish to Docker Hub | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./docker-build-sdk-proto | ||
file: ./docker-build-sdk-proto/Dockerfile | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.prep.outputs.tags }} |
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -34,6 +34,21 @@ Ref: https://keepachangelog.com/en/1.0.0/ | |||
|
||||
# Changelog | ||||
|
||||
## [Unreleased] | ||||
|
||||
Comment on lines
+37
to
+38
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I think we can remove these 2 lines on this branch (keep it on master), so that tags/release branches have nice changelogs. |
||||
|
||||
## [v0.40.1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.40.1) - 2021-01-19 | ||||
|
||||
### Bug Fixes | ||||
|
||||
* [\#8085](https://github.com/cosmos/cosmos-sdk/pull/8058) fix zero time checks | ||||
* [\#8280](https://github.com/cosmos/cosmos-sdk/pull/8280) fix GET /upgrade/current query | ||||
* (x/auth) [\#8287](https://github.com/cosmos/cosmos-sdk/pull/8287) Fix `tx sign --signature-only` to return correct sequence value in signature. | ||||
* (x/ibc) [\#8341](https://github.com/cosmos/cosmos-sdk/pull/8341) Fix query latest consensus state. | ||||
* (types/errors) [\#8355][https://github.com/cosmos/cosmos-sdk/pull/8355] Fix errorWrap `Is` method. | ||||
* (proto) [\#8350][https://github.com/cosmos/cosmos-sdk/pull/8350], [\#8361][https://github.com/cosmos/cosmos-sdk/pull/8361] Update gogo proto deps with v1.3.2 security fixes | ||||
|
||||
|
||||
## [v0.40.0](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.40.0) - 2021-01-08 | ||||
|
||||
v0.40.0, known as the Stargate release of the Cosmos SDK, is one of the largest releases | ||||
|
@@ -192,7 +207,7 @@ sure you are aware of any relevant breaking changes. | |||
* (x/slashing) [\#6212](https://github.com/cosmos/cosmos-sdk/pull/6212) Remove `Get*` prefixes from key construction functions | ||||
* (server) [\#6079](https://github.com/cosmos/cosmos-sdk/pull/6079) Remove `UpgradeOldPrivValFile` (deprecated in Tendermint Core v0.28). | ||||
* [\#5719](https://github.com/cosmos/cosmos-sdk/pull/5719) Bump Go requirement to 1.14+ | ||||
|
||||
|
||||
### State Machine Breaking | ||||
|
||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: v1beta1 | ||
|
||
build: | ||
roots: | ||
- proto | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM bufbuild/buf:latest as BUILDER | ||
|
||
FROM golang:alpine | ||
|
||
ENV GOLANG_PROTOBUF_VERSION=1.3.5 \ | ||
GOGO_PROTOBUF_VERSION=1.3.2 \ | ||
GRPC_GATEWAY_VERSION=1.14.7 | ||
|
||
|
||
RUN GO111MODULE=on go get \ | ||
github.com/golang/protobuf/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION} \ | ||
github.com/gogo/protobuf/protoc-gen-gogo@v${GOGO_PROTOBUF_VERSION} \ | ||
github.com/gogo/protobuf/protoc-gen-gogofast@v${GOGO_PROTOBUF_VERSION} \ | ||
github.com/gogo/protobuf/protoc-gen-gogofaster@v${GOGO_PROTOBUF_VERSION} \ | ||
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION} \ | ||
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION} \ | ||
github.com/regen-network/cosmos-proto/protoc-gen-gocosmos@latest | ||
|
||
RUN GO111MODULE=on go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc | ||
|
||
COPY --from=BUILDER /usr/local/bin /usr/local/bin |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have a question about the three following PRs, which seem like bug fixes to me, and should go in 0.40.1:
For the 2 latter, @alessio do you think they should go into the patch release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#8359 needs to be backported. The relayer won't work without it. I forgot to add a changelog entry, I guess I can open a new pr to master with the entry and then that should be cherry picked as well? Change log updated in #8371