Skip to content

Commit 06d9468

Browse files
authored
chore: release v0.24.0 (ignite#2826)
chore: release v0.24.0
2 parents db9a795 + 539861d commit 06d9468

File tree

342 files changed

+17421
-7735
lines changed

Some content is hidden

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

342 files changed

+17421
-7735
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
changelog.md merge=union

.github/CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CODEOWNERS: https://help.github.com/articles/about-codeowners/
22

3+
# Primary repo maintainers
4+
* @ilgooz @lubtd @jeronimoalbi @aljo242 @tbruyelle @fadeev
5+
36
# Docs
47
*.md @ilgooz @aljo242
5-
6-
# Primary repo maintainers
7-
* @ilgooz @lubtd @jeronimoalbi @aljo242 @tbruyelle

.github/workflows/cl-enforcer.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Changelog Enforcer
2+
on:
3+
pull_request:
4+
# The specific activity types are listed here to include "labeled" and "unlabeled"
5+
# (which are not included by default for the "pull_request" trigger).
6+
# This is needed to allow skipping enforcement of the changelog in PRs with specific labels,
7+
# as defined in the (optional) "skipLabels" property.
8+
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
9+
10+
jobs:
11+
changelog:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: dangoslen/changelog-enforcer@v3
15+
with:
16+
changeLogPath: 'changelog.md'
17+
missingUpdateErrorMessage: 'Please fill the changelog.md file or add the "Skip-Changelog" label'
18+
versionPattern: ''
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Go formatting
2+
on:
3+
push:
4+
branches: [develop]
5+
paths:
6+
- '**.go'
7+
8+
jobs:
9+
go-formatting:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
15+
- name: Install Go
16+
uses: actions/setup-go@v3
17+
with:
18+
go-version: '1.18'
19+
20+
- name: Run make format
21+
run: make format
22+
23+
- name: Create Pull Request
24+
uses: peter-evans/create-pull-request@v3
25+
with:
26+
title: "chore: go formatting"
27+
commit-message: "chore: go formatting"
28+
body: ""
29+
branch: chore/go-formatting

.gitpod.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ tasks:
4747
ports:
4848
- port: 1317
4949
- port: 26657
50+
visibility: public
51+
- port: 26659
52+
visibility: public
5053
- port: 8080
5154
- port: 7575
5255
visibility: public

.gitpod/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ where:
3939
* Scaffold modules, messages, types with CRUD operations, IBC packets, and more
4040
* Start a blockchain node in development with live reloading
4141
* Connect to other blockchains with a built-in IBC relayer
42-
* Use automatically generated TypeScript/Vuex clients to interact with your blockchain
43-
* Use the Vue.js web app template with a set of components and Vuex modules
42+
* Use automatically generated TypeScript clients and Vuex stores to interact with your blockchain
43+
* Use the Vue 3 web app template with a set of UI components to build your custom web application
4444

4545
## Install Ignite CLI locally
4646

.golangci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ linters:
99
disable-all: true
1010
enable:
1111
- bodyclose
12-
- deadcode
1312
- depguard
1413
- dogsled
1514
# - errcheck
@@ -22,13 +21,12 @@ linters:
2221
- gosimple
2322
- govet
2423
- ineffassign
25-
- interfacer
24+
# - interfacer
2625
# - maligned
2726
- misspell
2827
- nakedret
29-
- scopelint
28+
- exportloopref
3029
- staticcheck
31-
- structcheck
3230
- stylecheck
3331
- typecheck
3432
- unconvert

Makefile

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Project variables.
44
PROJECT_NAME = ignite
55
DATE := $(shell date '+%Y-%m-%dT%H:%M:%S')
6-
FIND_ARGS := -name '*.go' -type f -not -name '*.pb.go'
76
HEAD = $(shell git rev-parse HEAD)
87
LD_FLAGS = -X github.com/ignite/cli/ignite/version.Head='$(HEAD)' \
98
-X github.com/ignite/cli/ignite/version.Date='$(DATE)'
@@ -22,28 +21,38 @@ build:
2221
@-mkdir -p $(BUILD_FOLDER) 2> /dev/null
2322
@go build $(BUILD_FLAGS) -o $(BUILD_FOLDER) ./...
2423

24+
## mocks: generate mocks
25+
mocks:
26+
@echo Generating mocks
27+
@go install github.com/vektra/mockery/v2
28+
@go generate ./...
29+
30+
2531
## clean: Clean build files. Also runs `go clean` internally.
2632
clean:
2733
@echo Cleaning build cache...
2834
@-rm -rf $(BUILD_FOLDER) 2> /dev/null
2935
@go clean ./...
3036

37+
.PHONY: install build mocks clean
38+
3139
## govet: Run go vet.
3240
govet:
3341
@echo Running go vet...
3442
@go vet ./...
3543

36-
## format: Run gofmt.
44+
## format: Install and run goimports and gofumpt
3745
format:
3846
@echo Formatting...
39-
@find . $(FIND_ARGS) | xargs gofmt -d -s
40-
@find . $(FIND_ARGS) | xargs goimports -w -local github.com/ignite/cli
47+
@go run mvdan.cc/gofumpt -w .
48+
@go run golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli .
4149

4250
## lint: Run Golang CI Lint.
4351
lint:
4452
@echo Running gocilint...
45-
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2
46-
@golangci-lint run --out-format=tab --issues-exit-code=0
53+
@go run github.com/golangci/golangci-lint/cmd/golangci-lint run --out-format=tab --issues-exit-code=0
54+
55+
.PHONY: govet format lint
4756

4857
## test-unit: Run the unit tests.
4958
test-unit:
@@ -58,11 +67,15 @@ test-integration: install
5867
## test: Run unit and integration tests.
5968
test: govet test-unit test-integration
6069

70+
.PHONY: test-unit test-integration test
71+
6172
help: Makefile
6273
@echo
6374
@echo " Choose a command run in "$(PROJECT_NAME)", or just run 'make' for install"
6475
@echo
6576
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /'
6677
@echo
6778

79+
.PHONY: help
80+
6881
.DEFAULT_GOAL := install

changelog.md

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
# Changelog
22

3+
## [`v0.24.0`](https://github.com/ignite/cli/releases/tag/v0.24.0)
4+
5+
### Features
6+
7+
- Upgraded Cosmos SDK to `v0.46.0` and IBC to `v5` in CLI and scaffolding templates
8+
- Change chain init to check that no gentx are present in the initial genesis
9+
- Add `network rewards release` command
10+
- Add "make mocks" target to Makefile
11+
- Add `--skip-proto` flag to `build`, `init` and `serve` commands to build the chain without building proto files
12+
- Add `node query tx` command to query a transaction in any chain.
13+
- Add `node query bank` command to query an account's bank balance in any chain.
14+
- Add `node tx bank send` command to send funds from one account to another in any chain.
15+
- Implement `network profile` command
16+
- Add `generate ts-client` command to generate a stand-alone modular TypeScript client.
17+
18+
### Changes
19+
20+
- Add changelog merge strategy in .gitattributes to avoid conflicts.
21+
- Refactor `templates/app` to remove `monitoringp` module from the default template
22+
- Updated keyring dependency to match Cosmos SDK
23+
- Speed up the integration tests
24+
- Refactor ignite network and fix genesis generation bug
25+
- Make Go dependency verification optional during build by adding the `--check-dependencies` flag
26+
so Ignite CLI can work in a Go workspace context.
27+
- Temporary SPN address change for nightly
28+
- Rename `simapp.go.plush` simulation file template to `helpers.go.plush`
29+
- Remove campaign creation from the `network chain publish` command
30+
- Optimized JavaScript generator to use a single typescript API generator binary
31+
- Improve documentation and add support for protocol buffers and Go modules syntax
32+
- Add inline documentation for CLI commands
33+
- Change `cmd/account` to skip passphrase prompt when importing from mnemonic
34+
- Add nodejs version in the output of ignite version
35+
- Removed `handler.go` from scaffolded module template
36+
- Migrated to `cosmossdk.io` packages for and `math`
37+
- Vuex stores from the `generate vuex` command use the new TypeScript client
38+
- Upgraded frontend Vue template to v0.3.10
39+
40+
### Fixes
41+
42+
- Improved error handling for crypto wrapper functions
43+
- Fix `pkg/cosmosclient` to call the faucet prior to creating the tx.
44+
- Test and refactor `pkg/comosclient`.
45+
- Change templates to add missing call to `RegisterMsgServer` in the default module's template to match what's specified in the docs
46+
- Fix cosmoscmd appID parameter value to sign a transaction correctly
47+
- Fix `scaffold query` command to use `GetClientQueryContext` instead of `GetClientTxContext`
48+
- Fix flaky integration tests issue that failed with "text file busy"
49+
- Fix default chain ID for publish
50+
- Replace `os.Rename` with `xos.Rename`
51+
- Fix CLI reference generation to add `ignite completion` documentation
52+
- Remove usage of deprecated `io/ioutil` package
53+
54+
355
## [`v0.23.0`](https://github.com/ignite/cli/releases/tag/v0.23.0)
456

557
### Features
@@ -29,7 +81,6 @@
2981

3082
- Rename `ignite-hq` to `ignite`
3183

32-
3384
## [`v0.22.1`](https://github.com/ignite/cli/releases/tag/v0.22.1)
3485

3586
### Fixes

docs/docs.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ package docs
33
import "embed"
44

55
// Docs are Ignite CLI docs.
6-
//go:embed *.md */*.md
6+
//
7+
//go:embed docs
78
var Docs embed.FS

0 commit comments

Comments
 (0)