Skip to content

Commit

Permalink
chore: release v0.24.0 (#2826)
Browse files Browse the repository at this point in the history
chore: release v0.24.0
  • Loading branch information
ilgooz authored Sep 12, 2022
2 parents 64df9ae + 5ad53f5 commit 21c6430
Show file tree
Hide file tree
Showing 346 changed files with 17,421 additions and 7,735 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
changelog.md merge=union
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Primary repo maintainers
* @ilgooz @lubtd @jeronimoalbi @aljo242 @tbruyelle @fadeev

# Docs
*.md @ilgooz @aljo242

# Primary repo maintainers
* @ilgooz @lubtd @jeronimoalbi @aljo242 @tbruyelle
18 changes: 18 additions & 0 deletions .github/workflows/cl-enforcer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Changelog Enforcer
on:
pull_request:
# The specific activity types are listed here to include "labeled" and "unlabeled"
# (which are not included by default for the "pull_request" trigger).
# This is needed to allow skipping enforcement of the changelog in PRs with specific labels,
# as defined in the (optional) "skipLabels" property.
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: 'changelog.md'
missingUpdateErrorMessage: 'Please fill the changelog.md file or add the "Skip-Changelog" label'
versionPattern: ''
29 changes: 29 additions & 0 deletions .github/workflows/go-formatting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Go formatting
on:
push:
branches: [develop]
paths:
- '**.go'

jobs:
go-formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.18'

- name: Run make format
run: make format

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: "chore: go formatting"
commit-message: "chore: go formatting"
body: ""
branch: chore/go-formatting
3 changes: 3 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ tasks:
ports:
- port: 1317
- port: 26657
visibility: public
- port: 26659
visibility: public
- port: 8080
- port: 7575
visibility: public
Expand Down
4 changes: 2 additions & 2 deletions .gitpod/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ where:
* Scaffold modules, messages, types with CRUD operations, IBC packets, and more
* Start a blockchain node in development with live reloading
* Connect to other blockchains with a built-in IBC relayer
* Use automatically generated TypeScript/Vuex clients to interact with your blockchain
* Use the Vue.js web app template with a set of components and Vuex modules
* Use automatically generated TypeScript clients and Vuex stores to interact with your blockchain
* Use the Vue 3 web app template with a set of UI components to build your custom web application

## Install Ignite CLI locally

Expand Down
6 changes: 2 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ linters:
disable-all: true
enable:
- bodyclose
- deadcode
- depguard
- dogsled
# - errcheck
Expand All @@ -22,13 +21,12 @@ linters:
- gosimple
- govet
- ineffassign
- interfacer
# - interfacer
# - maligned
- misspell
- nakedret
- scopelint
- exportloopref
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
Expand Down
25 changes: 19 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Project variables.
PROJECT_NAME = ignite
DATE := $(shell date '+%Y-%m-%dT%H:%M:%S')
FIND_ARGS := -name '*.go' -type f -not -name '*.pb.go'
HEAD = $(shell git rev-parse HEAD)
LD_FLAGS = -X github.com/ignite/cli/ignite/version.Head='$(HEAD)' \
-X github.com/ignite/cli/ignite/version.Date='$(DATE)'
Expand All @@ -22,28 +21,38 @@ build:
@-mkdir -p $(BUILD_FOLDER) 2> /dev/null
@go build $(BUILD_FLAGS) -o $(BUILD_FOLDER) ./...

## mocks: generate mocks
mocks:
@echo Generating mocks
@go install github.com/vektra/mockery/v2
@go generate ./...


## clean: Clean build files. Also runs `go clean` internally.
clean:
@echo Cleaning build cache...
@-rm -rf $(BUILD_FOLDER) 2> /dev/null
@go clean ./...

.PHONY: install build mocks clean

## govet: Run go vet.
govet:
@echo Running go vet...
@go vet ./...

## format: Run gofmt.
## format: Install and run goimports and gofumpt
format:
@echo Formatting...
@find . $(FIND_ARGS) | xargs gofmt -d -s
@find . $(FIND_ARGS) | xargs goimports -w -local github.com/ignite/cli
@go run mvdan.cc/gofumpt -w .
@go run golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli .

## lint: Run Golang CI Lint.
lint:
@echo Running gocilint...
@go install github.com/golangci/golangci-lint/cmd/[email protected]
@golangci-lint run --out-format=tab --issues-exit-code=0
@go run github.com/golangci/golangci-lint/cmd/golangci-lint run --out-format=tab --issues-exit-code=0

.PHONY: govet format lint

## test-unit: Run the unit tests.
test-unit:
Expand All @@ -58,11 +67,15 @@ test-integration: install
## test: Run unit and integration tests.
test: govet test-unit test-integration

.PHONY: test-unit test-integration test

help: Makefile
@echo
@echo " Choose a command run in "$(PROJECT_NAME)", or just run 'make' for install"
@echo
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /'
@echo

.PHONY: help

.DEFAULT_GOAL := install
53 changes: 52 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# Changelog

## [`v0.24.0`](https://github.com/ignite/cli/releases/tag/v0.24.0)

### Features

- Upgraded Cosmos SDK to `v0.46.0` and IBC to `v5` in CLI and scaffolding templates
- Change chain init to check that no gentx are present in the initial genesis
- Add `network rewards release` command
- Add "make mocks" target to Makefile
- Add `--skip-proto` flag to `build`, `init` and `serve` commands to build the chain without building proto files
- Add `node query tx` command to query a transaction in any chain.
- Add `node query bank` command to query an account's bank balance in any chain.
- Add `node tx bank send` command to send funds from one account to another in any chain.
- Implement `network profile` command
- Add `generate ts-client` command to generate a stand-alone modular TypeScript client.

### Changes

- Add changelog merge strategy in .gitattributes to avoid conflicts.
- Refactor `templates/app` to remove `monitoringp` module from the default template
- Updated keyring dependency to match Cosmos SDK
- Speed up the integration tests
- Refactor ignite network and fix genesis generation bug
- Make Go dependency verification optional during build by adding the `--check-dependencies` flag
so Ignite CLI can work in a Go workspace context.
- Temporary SPN address change for nightly
- Rename `simapp.go.plush` simulation file template to `helpers.go.plush`
- Remove campaign creation from the `network chain publish` command
- Optimized JavaScript generator to use a single typescript API generator binary
- Improve documentation and add support for protocol buffers and Go modules syntax
- Add inline documentation for CLI commands
- Change `cmd/account` to skip passphrase prompt when importing from mnemonic
- Add nodejs version in the output of ignite version
- Removed `handler.go` from scaffolded module template
- Migrated to `cosmossdk.io` packages for and `math`
- Vuex stores from the `generate vuex` command use the new TypeScript client
- Upgraded frontend Vue template to v0.3.10

### Fixes

- Improved error handling for crypto wrapper functions
- Fix `pkg/cosmosclient` to call the faucet prior to creating the tx.
- Test and refactor `pkg/comosclient`.
- Change templates to add missing call to `RegisterMsgServer` in the default module's template to match what's specified in the docs
- Fix cosmoscmd appID parameter value to sign a transaction correctly
- Fix `scaffold query` command to use `GetClientQueryContext` instead of `GetClientTxContext`
- Fix flaky integration tests issue that failed with "text file busy"
- Fix default chain ID for publish
- Replace `os.Rename` with `xos.Rename`
- Fix CLI reference generation to add `ignite completion` documentation
- Remove usage of deprecated `io/ioutil` package


## [`v0.23.0`](https://github.com/ignite/cli/releases/tag/v0.23.0)

### Features
Expand Down Expand Up @@ -29,7 +81,6 @@

- Rename `ignite-hq` to `ignite`


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

### Fixes
Expand Down
3 changes: 2 additions & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ package docs
import "embed"

// Docs are Ignite CLI docs.
//go:embed *.md */*.md
//
//go:embed docs
var Docs embed.FS
2 changes: 1 addition & 1 deletion docs/docs/06-bounty.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 7
description: Ignite CLI bounty program incentives and rewards.
---

Expand Down
Loading

0 comments on commit 21c6430

Please sign in to comment.