Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ pull_request_rules:
backport:
branches:
- release/v28.x.y
- name: backport patches to v30.x.y branch
conditions:
- base=main
- label=backport/v30.x.y
actions:
backport:
branches:
- release/v30.x.y
- name: backport patches to v29.x.y branch
conditions:
- base=main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ jobs:
release_name: "nightly"
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
ldflags: -s -w -X github.com/ignite/cli/v29/ignite/version.Version=nightly
ldflags: -s -w -X github.com/ignite/cli/v30/ignite/version.Version=nightly
retry: 10
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project_name: ignite
builds:
- main: ./ignite/cmd/ignite
ldflags:
- -s -w -X github.com/ignite/cli/v28/ignite/version.Version={{.Tag}} # bump to v29? check which action is ran on tagging
- -s -w -X github.com/ignite/cli/v30/ignite/version.Version={{.Tag}}
goos:
- linux
- darwin
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ govulncheck:
format:
@echo Formatting...
@go tool mvdan.cc/gofumpt -w .
@go tool golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli/v29 .
@go tool golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli/v30 .
@go tool github.com/tbruyelle/mdgofmt/cmd/mdgofmt -w docs

## lint: Run Golang CI Lint.
Expand Down
13 changes: 11 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@

## Unreleased

## Features
## [`v30.0.0`](https://github.com/ignite/cli/releases/tag/v30.0.0)

### Breaking

- [#4984](https://github.com/ignite/cli/pull/4984) Ignite CLI is now the developer tooling for [gno.land](https://gno.land) smart contracts.
- The Cosmos SDK tooling moves under the `ignite cosmos` namespace: `ignite cosmos scaffold`, `ignite cosmos chain`, `ignite cosmos generate`, `ignite cosmos account`, `ignite cosmos testnet`, and `ignite cosmos doctor`. Top-level `chain`, `generate`, and `testnet` commands become hidden deprecated stubs.
- The top-level `scaffold` and `account` commands now target gno.land (realms, packages, and the gno keybase).
- The Go module path changes from `github.com/ignite/cli/v29` to `github.com/ignite/cli/v30`. Update the module require and imports in projects that use Ignite as a library or build Ignite plugins.

### Features

- [#4984](https://github.com/ignite/cli/pull/4984) Add [Gno](https://gno.land) support.
- [#4984](https://github.com/ignite/cli/pull/4984) Add [Gno](https://gno.land) support: scaffold realms and packages, an embedded gno.land dev chain with live reload, accounts backed by the gno keybase, realm calls and queries, package deployment, gno test running, and typed TypeScript client generation.

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

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/04-clients/01-go-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ import (
"log"

// Importing the general purpose Cosmos blockchain client
"github.com/ignite/cli/v29/ignite/pkg/cosmosclient"
"github.com/ignite/cli/v30/ignite/pkg/cosmosclient"

// Importing the types package of your blog blockchain
"blog/x/blog/types"
Expand Down
51 changes: 51 additions & 0 deletions docs/docs/06-migration/v30.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
sidebar_position: 988
title: v30.0.0
description: For chains and plugins that were built with IGNITE® CLI versions lower than v30.0.0 changes are required to use IGNITE® CLI v30.0.0
---

## Upgrade to v30.0.0

v30.0.0 makes Ignite CLI the developer tooling for [gno.land](https://gno.land) smart contracts. The changes that matter for existing users:

## Cosmos SDK commands move to `ignite cosmos`

The top-level `scaffold`, `chain`, `account`, and `generate` commands now target gno.land. The Cosmos SDK tooling for sovereign blockchains lives under `ignite cosmos`:

```diff
-ignite scaffold chain mychain
+ignite cosmos scaffold chain mychain
```

```diff
-ignite chain serve
+ignite cosmos chain serve
```

The same applies to `generate`, `account`, `testnet`, and `doctor`. Top-level `chain`, `generate`, and `testnet` print a deprecation error pointing at the `ignite cosmos` equivalent.

Scaffolded chains are unaffected: they are plain Cosmos SDK modules and keep working with the Cosmos SDK toolchain.

## Go module path changes to v30

The Go module path changes from `github.com/ignite/cli/v29` to `github.com/ignite/cli/v30`. In your `go.mod`:

```diff
-require github.com/ignite/cli/v29 v29.10.1
+require github.com/ignite/cli/v30 v30.0.0
```

Update the imports in your code:

```diff
-import "github.com/ignite/cli/v29/ignite/pkg/cosmosclient"
+import "github.com/ignite/cli/v30/ignite/pkg/cosmosclient"
```

Then refresh the dependencies:

```bash
go mod tidy
```

Ignite plugins follow the same rule: update the module require and every `github.com/ignite/cli/v29/...` import in the plugin source to `v30`, then rebuild the plugin binary.
6 changes: 3 additions & 3 deletions docs/docs/07-packages/chaincmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/chaincmd
The `chaincmd` package builds `step.Option` command definitions for Cosmos SDK daemon binaries (`simd`, `gaiad`, and others). It does not execute commands directly.

For full API details, see the
[`chaincmd` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/chaincmd).
[`chaincmd` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/chaincmd).

## When to use

Expand All @@ -33,8 +33,8 @@ package main
import (
"fmt"

"github.com/ignite/cli/v29/ignite/pkg/chaincmd"
"github.com/ignite/cli/v29/ignite/pkg/cmdrunner/step"
"github.com/ignite/cli/v30/ignite/pkg/chaincmd"
"github.com/ignite/cli/v30/ignite/pkg/cmdrunner/step"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/07-packages/chaincmdrunner.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/chaincmdrunner
The `chaincmdrunner` package wraps chain binary commands into typed, higher-level operations (accounts, genesis setup, tx queries, node control).

For full API details, see the
[`chaincmdrunner` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/chaincmd/runner).
[`chaincmdrunner` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/chaincmd/runner).

## When to use

Expand All @@ -36,5 +36,5 @@ For full API details, see the
## Basic import

```go
import chaincmdrunner "github.com/ignite/cli/v29/ignite/pkg/chaincmd/runner"
import chaincmdrunner "github.com/ignite/cli/v30/ignite/pkg/chaincmd/runner"
```
4 changes: 2 additions & 2 deletions docs/docs/07-packages/chainregistry.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/chainregistry
The `chainregistry` package defines strongly-typed Go structs for Cosmos chain-registry data (`chain.json` and `assetlist.json`).

For full API details, see the
[`chainregistry` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/chainregistry).
[`chainregistry` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/chainregistry).

## When to use

Expand Down Expand Up @@ -39,5 +39,5 @@ For full API details, see the
## Basic import

```go
import "github.com/ignite/cli/v29/ignite/pkg/chainregistry"
import "github.com/ignite/cli/v30/ignite/pkg/chainregistry"
```
4 changes: 2 additions & 2 deletions docs/docs/07-packages/cosmosaccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/cosmosaccount
The `cosmosaccount` package manages Cosmos keyring accounts (create/import/export/list/delete) with configurable backend and Bech32 settings.

For full API details, see the
[`cosmosaccount` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/cosmosaccount).
[`cosmosaccount` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/cosmosaccount).

## When to use

Expand Down Expand Up @@ -39,5 +39,5 @@ For full API details, see the
## Basic import

```go
import "github.com/ignite/cli/v29/ignite/pkg/cosmosaccount"
import "github.com/ignite/cli/v30/ignite/pkg/cosmosaccount"
```
4 changes: 2 additions & 2 deletions docs/docs/07-packages/cosmosanalysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/cosmosanalysis
The `cosmosanalysis` package provides static analysis helpers for Cosmos SDK-based projects, especially for app structure and interface/embed discovery.

For full API details, see the
[`cosmosanalysis` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/cosmosanalysis).
[`cosmosanalysis` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/cosmosanalysis).

## When to use

Expand All @@ -36,5 +36,5 @@ For full API details, see the
## Basic import

```go
import "github.com/ignite/cli/v29/ignite/pkg/cosmosanalysis"
import "github.com/ignite/cli/v30/ignite/pkg/cosmosanalysis"
```
6 changes: 3 additions & 3 deletions docs/docs/07-packages/cosmosbuf.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/cosmosbuf
The `cosmosbuf` package wraps Buf workflows (`generate`, `export`, `format`, `migrate`, `dep update`) used by Ignite's protobuf pipelines.

For full API details, see the
[`cosmosbuf` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/cosmosbuf).
[`cosmosbuf` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/cosmosbuf).

## When to use

Expand All @@ -36,8 +36,8 @@ import (
"os"
"path/filepath"

"github.com/ignite/cli/v29/ignite/pkg/cache"
"github.com/ignite/cli/v29/ignite/pkg/cosmosbuf"
"github.com/ignite/cli/v30/ignite/pkg/cache"
"github.com/ignite/cli/v30/ignite/pkg/cosmosbuf"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/07-packages/cosmosclient.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/cosmosclient
The `cosmosclient` package provides a high-level client for querying Cosmos SDK chains and building/signing/broadcasting transactions.

For full API details, see the
[`cosmosclient` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/cosmosclient).
[`cosmosclient` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/cosmosclient).

## When to use

Expand Down Expand Up @@ -39,5 +39,5 @@ For full API details, see the
## Basic import

```go
import "github.com/ignite/cli/v29/ignite/pkg/cosmosclient"
import "github.com/ignite/cli/v30/ignite/pkg/cosmosclient"
```
4 changes: 2 additions & 2 deletions docs/docs/07-packages/cosmosfaucet.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/cosmosfaucet
The `cosmosfaucet` package provides a local faucet service and client helpers to fund Cosmos accounts during development and tests.

For full API details, see the
[`cosmosfaucet` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/cosmosfaucet).
[`cosmosfaucet` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/cosmosfaucet).

## When to use

Expand All @@ -36,5 +36,5 @@ For full API details, see the
## Basic import

```go
import "github.com/ignite/cli/v29/ignite/pkg/cosmosfaucet"
import "github.com/ignite/cli/v30/ignite/pkg/cosmosfaucet"
```
6 changes: 3 additions & 3 deletions docs/docs/07-packages/cosmosgen.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/cosmosgen
The `cosmosgen` package orchestrates multi-target code generation from protobuf sources, including Go code, TS clients, composables, and OpenAPI output.

For full API details, see the
[`cosmosgen` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/cosmosgen).
[`cosmosgen` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/cosmosgen).

## When to use

Expand All @@ -36,8 +36,8 @@ import (
"os"
"path/filepath"

"github.com/ignite/cli/v29/ignite/pkg/cache"
"github.com/ignite/cli/v29/ignite/pkg/cosmosgen"
"github.com/ignite/cli/v30/ignite/pkg/cache"
"github.com/ignite/cli/v30/ignite/pkg/cosmosgen"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/07-packages/cosmostxcollector.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ import (
"context"
"log"

"github.com/ignite/cli/v29/ignite/pkg/clictx"
"github.com/ignite/cli/v29/ignite/pkg/cosmosclient"
"github.com/ignite/cli/v29/ignite/pkg/cosmostxcollector"
"github.com/ignite/cli/v29/ignite/pkg/cosmostxcollector/adapter/postgres"
"github.com/ignite/cli/v30/ignite/pkg/clictx"
"github.com/ignite/cli/v30/ignite/pkg/cosmosclient"
"github.com/ignite/cli/v30/ignite/pkg/cosmostxcollector"
"github.com/ignite/cli/v30/ignite/pkg/cosmostxcollector/adapter/postgres"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/07-packages/cosmosver.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: /packages/cosmosver
The `cosmosver` package parses, compares, and detects Cosmos SDK versions used by a chain project.

For full API details, see the
[`cosmosver` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v29/ignite/pkg/cosmosver).
[`cosmosver` Go package documentation](https://pkg.go.dev/github.com/ignite/cli/v30/ignite/pkg/cosmosver).

## When to use

Expand Down Expand Up @@ -37,5 +37,5 @@ For full API details, see the
## Basic import

```go
import "github.com/ignite/cli/v29/ignite/pkg/cosmosver"
import "github.com/ignite/cli/v30/ignite/pkg/cosmosver"
```
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ignite/cli/v29
module github.com/ignite/cli/v30

go 1.26.7

Expand Down
6 changes: 3 additions & 3 deletions ignite/cmd/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"

"github.com/ignite/cli/v29/ignite/pkg/cliui/bubbleconfirm"
"github.com/ignite/cli/v29/ignite/pkg/cliui/entrywriter"
"github.com/ignite/cli/v29/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v30/ignite/pkg/cliui/bubbleconfirm"
"github.com/ignite/cli/v30/ignite/pkg/cliui/entrywriter"
"github.com/ignite/cli/v30/ignite/pkg/cosmosaccount"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions ignite/cmd/account_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/v29/ignite/pkg/cliui"
"github.com/ignite/cli/v29/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v29/ignite/pkg/errors"
"github.com/ignite/cli/v30/ignite/pkg/cliui"
"github.com/ignite/cli/v30/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v30/ignite/pkg/errors"
)

func NewAccountCreate() *cobra.Command {
Expand Down
4 changes: 2 additions & 2 deletions ignite/cmd/account_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/v29/ignite/pkg/cliui"
"github.com/ignite/cli/v29/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v30/ignite/pkg/cliui"
"github.com/ignite/cli/v30/ignite/pkg/cosmosaccount"
)

func NewAccountDelete() *cobra.Command {
Expand Down
6 changes: 3 additions & 3 deletions ignite/cmd/account_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

"github.com/spf13/cobra"

"github.com/ignite/cli/v29/ignite/pkg/cliui"
"github.com/ignite/cli/v29/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v29/ignite/pkg/errors"
"github.com/ignite/cli/v30/ignite/pkg/cliui"
"github.com/ignite/cli/v30/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v30/ignite/pkg/errors"
)

func NewAccountExport() *cobra.Command {
Expand Down
8 changes: 4 additions & 4 deletions ignite/cmd/account_import.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"github.com/cosmos/go-bip39"
"github.com/spf13/cobra"

"github.com/ignite/cli/v29/ignite/pkg/cliui"
"github.com/ignite/cli/v29/ignite/pkg/cliui/bubbleconfirm"
"github.com/ignite/cli/v29/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v29/ignite/pkg/errors"
"github.com/ignite/cli/v30/ignite/pkg/cliui"
"github.com/ignite/cli/v30/ignite/pkg/cliui/bubbleconfirm"
"github.com/ignite/cli/v30/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v30/ignite/pkg/errors"
)

const flagSecret = "secret"
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/account_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/v29/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v30/ignite/pkg/cosmosaccount"
)

func NewAccountList() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/account_show.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/v29/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v30/ignite/pkg/cosmosaccount"
)

func NewAccountShow() *cobra.Command {
Expand Down
Loading
Loading