Skip to content

Commit

Permalink
chore: release v0.18 (#1629)
Browse files Browse the repository at this point in the history
chore: release v0.18
  • Loading branch information
ilgooz authored Sep 28, 2021
2 parents 09f9b4b + ed5cb2e commit b68da3c
Show file tree
Hide file tree
Showing 364 changed files with 17,860 additions and 21,512 deletions.
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/starport-bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ A clear and concise description of what the bug is.
Steps to reproduce the behavior:
1.

**Please provide output of commands**
- `starport version`
- `go version`
- `uname -a`
**Please provide the version output**
- `starport version`:

8 changes: 8 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@


---

Please make sure to check the following for your PR — Starport Team:

- [ ] I comply with the contributing.md.
- [ ] I have updated the _Unreleased_ section in the changelog.md for my changes.
34 changes: 34 additions & 0 deletions .github/workflows/gen-protoc-gen-dart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Generate Protoc Dart Plugin

on:
push:
branches:
- develop

jobs:
dart:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2

- uses: dart-lang/setup-dart@v1

- name: Generate Dart files
run: ./scripts/gen-protoc-gen-dart

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
title: "feat(pkg/protoc-gen-dart): update binary on ${{ matrix.os }}"
commit-message: "feat(pkg/protoc-gen-dart): update binary on ${{ matrix.os }}"
body: ""
branch: feat/gen-pgd-${{ matrix.os }}

- name: Check outputs
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
5 changes: 4 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ checkoutLocation: "starport"
workspaceLocation: "./starport/.gitpod"

tasks:
- name: Open the Readme
command: gp open readme.md

- name: Setup

init: |
##
## install Starport
go install /workspace/starport/...
make -C /workspace/starport install
command: |
##
Expand Down
12 changes: 6 additions & 6 deletions .gitpod/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ In this browser-based development environment, the terminal window is in the low
To create a blockchain and start a node in development:

```
starport app github.com/user/hello
starport scaffold chain github.com/cosmonaut/mars
cd hello
cd mars
starport serve
starport chain serve
```

## Next steps

📺 **[Introduction to Starport](https://www.youtube.com/watch?v=5RqAIE0b8Kw)**: Watch an introductory video to learn about Starport.

🧑‍🏫 **[Tutorials](https://tutorials.cosmos.network)**: Learn by building a simple IBC-enabled module, nameservice, or a decentralized exchange (DEX).
🧑‍🏫 **[Developer Guide](https://docs.starport.network/guide/)**: Learn by building a simple IBC-enabled module, nameservice, or a decentralized exchange (DEX).

📕 **[Starport Documentation](https://docs.starport.network)**: Explore the features of Starport.

Expand All @@ -42,8 +42,8 @@ starport serve
curl https://get.starport.network/starport! | bash
```

The latest `starport` binary is downloaded from the Github repo and installed in `/usr/local/bin`. Learn more about [installing Starport](https://docs.starport.network/intro/install).
The latest `starport` binary is downloaded from the Github repo and installed in `/usr/local/bin`. Learn more about [installing Starport](https://docs.starport.network/guide/install.html).

## Stay in touch

Starport is a free and open source product maintained by [Tendermint](https://tendermint.com). Follow us on [Twitter](https://twitter.com/tendermint_team) and [Medium](https://medium.com/tendermint) to get the latest updates!
Starport is a free and open source product maintained by [Tendermint](https://tendermint.com). Follow us on [Twitter](https://twitter.com/starportHQ) and [Medium](https://medium.com/tendermint) to get the latest updates!
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ COPY --from=builder /go/bin/starport /usr/bin
WORKDIR /apps

# see docs for exposed ports:
# https://docs.starport.network/configure/reference.html#host
# https://docs.starport.network/kb/config.html#host
EXPOSE 26657
EXPOSE 26656
EXPOSE 6060
Expand Down
48 changes: 47 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,54 @@
# Changelog

## Unreleased

### Features:

- Added `starport generate dart` to generate a Dart client from protocol buffer files
- Added `starport scaffold flutter` to scaffold a Flutter mobile app template

## `v0.18.0`

### Breaking Changes:

- Starport v0.18 comes with Cosmos SDK v0.44 that introduced changes that are not compatible with chains that were scaffolded with Starport versions lower than v0.18. After upgrading from Starport v0.17.3 to Starport v0.18, you must update the default blockchain template to use blockchains that were scaffolded with earlier versions. See [Migration](./docs/migration/index.md).

### Features:

- Scaffold commands allow using previously scaffolded types as fields
- Added `--signer` flag to `message`, `list`, `map`, and `single` scaffolding to allow customizing the name of the signer of the message
- Added `--index` flag to `scaffold map` to provide a custom list of indices
- Added `scaffold type` to scaffold a protocol buffer definition of a type
- Automatically check for new Starport versions
- Added `starport tools completions` to generate CLI completions
- Added `starport account` commands to manage accounts (key pairs)
- `starport version` now prints detailed information about OS, Go version, and more
- Modules are scaffolded with genesis validation tests
- Types are scaffolded with tests for `ValidateBasic` methods
- `cosmosclient` has been refactored and can be used as a library for interacting with Cosmos SDK chains
- `starport relayer` uses `starport account`
- Added `--path` flag for all `scaffold`, `generate` and `chain` commands
- Added `--output` flag to the `build` command
- Port of gRPC web can be configured with in `config.yml` with the `host.grpc-web` property
- Added `build.main` field to `config.yml` for apps to specify the path of their chain's main package. This is only required to be set when an app contains multiple main packages.

### Fixes:

- Scaffolding a message no longer prevents scaffolding a map, list, or single that has the same type name when using the `--no-message` flag
- Generate Go code from proto files only from default directories or directories specified in `config.yml`
- Fixed faucet token transfer calculation
- Removed `creator` field for types scaffolded with the `--no-message` flag
- Encode the count value in the store with `BigEndian`

## `v0.17.3`

### Fixes:

- oracle: add a specific BandChain pkg version to avoid Cosmos SDK version conflicts

## `v0.17.2`

### Features
### Features:

- `client.toml` is initialized and used by node's CLI, can be configured through `config.yml` with the `init.client` property
- Support serving Cosmos SDK `v0.43.x` based chains.
Expand Down
4 changes: 3 additions & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ If you started a PR but couldn't finish it for whatever reason, don't give up. I

We appreciate every bit of your work!

## Coding style
## Contributing to documentation

[CLI reference](https://github.com/tendermint/starport/blob/f668bba58c04318f98db8cac0c9e154fa7e7ea34/docs/cli/index.md) is generated automatically with a [GitHub action](https://github.com/tendermint/starport/blob/f668bba58c04318f98db8cac0c9e154fa7e7ea34/.github/workflows/gen-docs-cli.yml). Instead of editing `docs/cli/index.md` directly (which will be overwritten by the GH action), please, make changes to the relevant parts of the source code that describe CLI commands.
10 changes: 3 additions & 7 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ module.exports = {
path: "https://github.com/tendermint/starport",
},
{
title: "Tutorials",
path: "https://tutorials.cosmos.network",
},
{
title: "Cosmos SDK docs",
title: "Cosmos SDK Docs",
path: "https://docs.cosmos.network",
},
],
Expand All @@ -52,7 +48,7 @@ module.exports = {
footer: {
question: {
text:
"Chat with Starport and Cosmos SDK developers in <a href='https://discord.gg/W8trcGV' target='_blank'>Discord</a>.",
"Chat with Starport and Cosmos SDK developers in <a href='https://discord.gg/cosmosnetwork' target='_blank'>Discord</a>.",
},
logo: "/logo.svg",
textLink: {
Expand Down Expand Up @@ -119,7 +115,7 @@ module.exports = {
},
{
title: "Chat",
url: "https://discord.gg/W8trcGV",
url: "https://discord.gg/cosmosnetwork",
},
],
},
Expand Down
35 changes: 25 additions & 10 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Introduction to Starport
# Starport CLI

[Starport](https://github.com/tendermint/starport) offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community. Starport is built on top of [Cosmos SDK](https://docs.cosmos.network), the world’s most popular blockchain framework. Starport accelerates chain development by scaffolding everything you need so you can focus on business logic.
[Starport CLI](https://github.com/tendermint/starport) offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community. Starport is built on top of [Cosmos SDK](https://docs.cosmos.network), the world’s most popular blockchain framework. Starport accelerates chain development by scaffolding everything you need so you can focus on business logic.

## What is Starport?

Starport is an easy-to-use CLI tool for creating sovereign application-specific blockchains. Blockchains created with Starport use Cosmos SDK and Tendermint. Starport and the Cosmos SDK modules are written in the Go programming language. The scaffolded blockchain created with Starport includes a command line interface that lets you manage keys, create validators, and send tokens.
Starport is an easy-to-use CLI tool for creating and maintaining sovereign application-specific blockchains. Blockchains created with Starport use Cosmos SDK and Tendermint. Starport and the Cosmos SDK modules are written in the Go programming language. The scaffolded blockchain that is created with Starport includes a command line interface that lets you manage keys, create validators, and send tokens.

With just a few commands, you can use Starport to:

Expand All @@ -15,14 +15,34 @@ With just a few commands, you can use Starport to:
* 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

## Install Starport

To install the `starport` binary in `/usr/local/bin` run the following command:

```
curl https://get.starport.network/starport! | bash
```

## Projects using Tendermint and Cosmos SDK

Many projects already showcase the Tendermint BFT Consensus Engine and the Cosmos SDK. Explore the [Cosmos Network Ecosystem](https://cosmos.network/ecosystem/apps) to discover a wide variety of apps, blockchains, wallets, and explorers that are built in the Cosmos ecosystem.
Many projects already showcase the Tendermint BFT consensus engine and the Cosmos SDK. Explore the [Cosmos Network Ecosystem](https://cosmos.network/ecosystem/apps) to discover a wide variety of apps, blockchains, wallets, and explorers that are built in the Cosmos ecosystem.

## Projects building with Starport

* [Sifchain: omni-chain solution for DEXes](https://github.com/Sifchain/sifnode)
* [crypto.org chain](https://github.com/crypto-org-chain/chain-main) ([initialized with Starport](https://github.com/crypto-org-chain/chain-main/commit/37b2ecb49a9aae7c581270a4f2dbecfcd8e8a6e9))
* [Cronos](https://github.com/crypto-org-chain/cronos)
* [Plugchain](https://github.com/oracleNetworkProtocol/plugchain)
* [BitCanna](https://github.com/BitCannaGlobal/testnet-bcna-cosmos)
* [Panacea Core](https://github.com/medibloc/panacea-core)
* [Rook](https://github.com/cmwaters/rook)
* [PI Bridge](https://github.com/pchain-org/pi-bridge)
* [Polynetwork](https://github.com/Switcheo/polynetwork-cosmos)
* [Lotus](https://github.com/BabyBlockchains/Lotus)
* [OmniFlix Hub](https://github.com/OmniFlix/omniflixhub)
* [Cudos](https://github.com/CudoVentures/cudos-node)
* [Zenchain](https://github.com/zenchainprotocol/zenchain)
* [Onomy Protocol](https://github.com/onomyprotocol/ochain)
* [Interchain accounts demo](https://github.com/cosmos/interchain-accounts)
* [Lazy Ledger](https://github.com/lazyledger/lazyledger-app)
* [Umee: decentralized universal capital facility](https://github.com/umee-network/umee)
Expand All @@ -31,9 +51,4 @@ Many projects already showcase the Tendermint BFT Consensus Engine and the Cosmo
* [Affondra](https://github.com/EG-easy/affondra)
* [Finding Imposter](https://github.com/chantmk/Finding-imposter)
* [Flares payment network](https://github.com/wangfeiping/flares)

## Summary

- Starport lets you create, develop, and build a blockchain.
- Starport and Cosmos SDK modules are written in Go.
- Create Cosmos SDK modules to implement custom functionality.
* [FirmaChain](https://github.com/firmachain/firmachain)
Loading

0 comments on commit b68da3c

Please sign in to comment.