From 8cb7aa1aa21b96b2745e047d00f46ae69ad5b76a Mon Sep 17 00:00:00 2001 From: srdtrk <59252793+srdtrk@users.noreply.github.com> Date: Sat, 22 Jun 2024 15:00:09 +0200 Subject: [PATCH] chore: release chores for v0.2.5 (#97) * chore: release chores for v0.2.5 * docs: fixed CHANGELOG --- CHANGELOG.md | 5 +++++ README.md | 2 +- pkg/types/version.go | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5417a72..91eb59b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,12 @@ ## [Unreleased] +## v0.2.5 (2024-06-22) + - Removed `GetModuleAddress` helper function from the generated test suite [#88](https://github.com/srdtrk/go-codegen/issues/88) +- Fixed diagnostics upload in the generated test suite [#91](https://github.com/srdtrk/go-codegen/issues/91) +- Depracated `--contract-name` flag to `--package-name` and `-p` in `interchaintest add-contract` command [#81](https://github.com/srdtrk/go-codegen/issues/81) +- Fixed the generation of oneOf when a title is set [#92](https://github.com/srdtrk/go-codegen/pull/92) ## v0.2.4 (2024-06-07) diff --git a/README.md b/README.md index cb583ae..38be677 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Package name is also optional, if not specified, it will use the name of the con ### Generate gRPC query client ```sh -go-codegen generate query-client /path/to/contract-api.json --output /path/to/output.go --package-name mypackage +go-codegen generate query-client /path/to/contract-api.json -o /path/to/output.go -p mypackage ``` This will generate the Go code in the specified optional output directory, if not specified, it will generate the code in `query.go` in the current directory. Package name is also optional, if not specified, it will use the name of the contract. The generated code depends on the generated messages, the [wasmd package](https://pkg.go.dev/github.com/CosmWasm/wasmd), and the [grpc package](https://pkg.go.dev/google.golang.org/grpc). You can install them by running `go get github.com/CosmWasm/wasmd@latest` (or `go get github.com/CosmWasm/wasmd@v0.50.0` for a specific version) and `go get google.golang.org/grpc@latest` (or `go get google.golang.org/grpc@v1.63.3` for a specific version). diff --git a/pkg/types/version.go b/pkg/types/version.go index 71be25c..a0c3b0b 100644 --- a/pkg/types/version.go +++ b/pkg/types/version.go @@ -1,4 +1,4 @@ package types // Version is the current version of the package -const Version = "0.2.4" +const Version = "0.2.5"