Skip to content

Commit

Permalink
chore: release v0.19.0 (#1944)
Browse files Browse the repository at this point in the history
chore: release v0.19.0
  • Loading branch information
ilgooz authored Dec 17, 2021
2 parents 3bb9210 + ad74924 commit df46287
Show file tree
Hide file tree
Showing 313 changed files with 12,180 additions and 3,612 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
*.md @barriebyron

# Primary repo maintainers
* @fadeev @ilgooz @lubtd @Pantani
* @fadeev @ilgooz @lubtd @Pantani @ivanovpetr
57 changes: 52 additions & 5 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,70 @@
name: Test

name: Integration
on:
pull_request:
push:
paths-ignore:
- '**.md'
branches:
- master
- develop

jobs:
integration:
pre-test:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- name: Finding files and store to output
id: set-matrix
run: echo "::set-output name=matrix::$({ cd integration && find . -type d -maxdepth 1 -print; } | tail -n +2 | cut -c 3- | jq -R . | jq -cs .)"

integration:
name: test ${{ matrix.test-path }}
runs-on: ubuntu-latest
needs: pre-test
if: fromJSON(needs.pre-test.outputs.matrix)[0] != null
continue-on-error: false
strategy:
fail-fast: true
matrix:
test-path: ${{fromJson(needs.pre-test.outputs.matrix)}}
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
**/*
!**/*.md
- uses: actions/cache@v2
if: env.GIT_DIFF
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v2
if: env.GIT_DIFF
with:
go-version: 1.16
- name: Install Starport
if: env.GIT_DIFF
run: go install ./...

- name: Run Integration Tests
run: ./scripts/test-integration
if: env.GIT_DIFF
run: go test -v -timeout 35m ./integration/${{ matrix.test-path }}

status:
runs-on: ubuntu-latest
needs: integration
if: always()
steps:
- name: Update result status
run: |
if [ "${{ needs.integration.result }}" = "failure" ]; then
exit 1
else
exit 0
fi
13 changes: 8 additions & 5 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Test
on:
pull_request:
push:
paths-ignore:
- '**.md'
branches:
- master
- develop
Expand All @@ -11,21 +13,22 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Set up Go
uses: actions/setup-go@v2
if: env.GIT_DIFF
with:
go-version: 1.16
- uses: golangci/golangci-lint-action@master
if: env.GIT_DIFF
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.37
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Test
on:
pull_request:
push:
paths-ignore:
- '**.md'
branches:
- master
- develop
Expand All @@ -11,7 +13,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
**/*
!**/*.md
- uses: actions/setup-go@v2
if: env.GIT_DIFF
with:
go-version: 1.16
- run: ./scripts/test-unit
- run: ./scripts/test-unit
if: env.GIT_DIFF

Binary file removed assets/starport.jpg
Binary file not shown.
Binary file added assets/starport.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,20 @@

### Features:

- `starport scaffold` commands support `ints`, `uints`, `strings`, `coin`, `coins` as field types (#1579)
- Simulation testing with `simapp` has been added to the default template (#1731)
- Added `starport generate dart` to generate a Dart client from protocol buffer files
- Added `starport scaffold flutter` to scaffold a Flutter mobile app template
- Parameters can be specified with a new `--params` flag when scaffolding modules (#1716)
- Simulations can be run with `starport chain simulate`
- `cointype` for accounts can be set in the `config.yml` (#1663)

### Fixes:

- Allow using a `creator` field when scaffolding a model with a `--no-message` flag (#1730)
- Improved error handling when generating code (#1907)
- Ensure account has funds after faucet transfer when using `cosmosclient` (#1846)
- Move from `io/ioutil` to `io` and `os` package (refactoring) (#1746)

## `v0.18.0`

Expand Down
12 changes: 9 additions & 3 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Thank you for your contribution!

* Before you open an issue, do a web search, and check for [existing open and closed GitHub Issues](https://github.com/tendermint/starport/issues) to see if your question has already been asked and answered. If you find a relevant topic, you can comment on that issue.
* To provide feedback or ask a question, create a [GitHub issue](https://github.com/tendermint/starport/issues/new/choose). Be sure to provide the relevant information, case study, or informative links as suggested by the Pull Request template.
* We recommend using GitHub issues for issues and feedback. However, you can ask quick questions on the [#🔨cosmos-sdk-starport](https://discord.com/channels/669268347736686612/737461683588431924) channel in Discord.
* We recommend using GitHub issues for issues and feedback. However, you can ask quick questions on the **#🛠️ build-chains** channel in the official [Starport Discord](https://discord.gg/starport).

## Opening pull requests

Expand All @@ -36,12 +36,18 @@ A reviewer likes to see a linear commit history while reviewing. If you tend to

Don't worry about adding too many commits. The commits are squashed into a single commit while merging. Your PR title is used as the commit message.

## Contributing to documentation

When you open a PR for the Starport codebase, you must also update the relevant documentation. For changes to:

- [Developer Guide](https://docs.starport.network/guide/) tutorials, update content in the `/docs/guide` folder.
- [Knowledge Base](https://docs.starport.network/kb/), update content in the `/docs/kb` folder.
- [Starport CLI reference](https://github.com/tendermint/starport/blob/f668bba58c04318f98db8cac0c9e154fa7e7ea34/docs/cli/index.md), navigate to the `./starport/cmd` package and update the documentation of the related command from its `cobra.Command` struct. The CLI docs are automatically generated, so do not make changes to `docs/cli/index.md`.

### Ask for help

If you started a PR but couldn't finish it for whatever reason, don't give up. Instead, just ask for help. Someone else can take over and assume the ownership.

We appreciate every bit of your work!

## 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.
23 changes: 11 additions & 12 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ module.exports = {
],
],
themeConfig: {
logo: {
src: "/logo.png",
},
algolia: {
id: "BH4D9OD16A",
key: "d6908a9436133e03e9b0131bad808775",
Expand Down Expand Up @@ -48,37 +51,33 @@ module.exports = {
footer: {
question: {
text:
"Chat with Starport and Cosmos SDK developers in <a href='https://discord.gg/cosmosnetwork' target='_blank'>Discord</a>.",
"Chat with Starport and Cosmos SDK developers in <a href='https://discord.gg/starport' target='_blank'>Discord</a>.",
},
logo: "/logo.svg",
textLink: {
text: "cosmos.network/starport",
url: "https://cosmos.network/starport",
text: "starport.com",
url: "https://starport.com/",
},
services: [
{
service: "medium",
url: "https://blog.cosmos.network/",
url: "https://medium.com/tendermint",
},
{
service: "twitter",
url: "https://twitter.com/cosmos",
url: "https://twitter.com/starportHQ",
},
{
service: "linkedin",
url: "https://www.linkedin.com/company/tendermint/",
},
{
service: "reddit",
url: "https://reddit.com/r/cosmosnetwork",
},
{
service: "discord",
url: "https://discord.gg/vcExX9T",
url: "https://discord.gg/starport",
},
{
service: "youtube",
url: "https://www.youtube.com/c/CosmosProject",
url: "https://www.youtube.com/channel/UCXMndYLK7OuvjvElSeSWJ1Q",
},
],

Expand Down Expand Up @@ -115,7 +114,7 @@ module.exports = {
},
{
title: "Chat",
url: "https://discord.gg/cosmosnetwork",
url: "https://discord.gg/starport",
},
],
},
Expand Down
Binary file added docs/.vuepress/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit df46287

Please sign in to comment.