diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 7d38efeb..b9a6854e 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -21,10 +21,15 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - ref: ${{ github.event.inputs.release_tag }} + ref: ${{ github.ref }} - run: git fetch --force --tags + - name: Generate Release note + run: | + TAG_NAME="${GITHUB_REF#refs/tags/}" + python scripts/release-note.py $TAG_NAME + - name: Build & publish release run: | make release diff --git a/CHANGELOG.md b/CHANGELOG.md index c78f6d59..60e93319 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Improvements ### Bug Fixes +* (ostracon) [\#333](https://github.com/Finschia/finschia/pull/334) bump up ostracon from v1.1.2 to v1.1.3 (backport #334) ### Breaking Changes @@ -49,5 +50,223 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Docs +## [v2.0.1] - 2023-11-07 + +### Improvements +* (improvements) [\#230](https://github.com/Finschia/finschia/pull/230) fix Makefile for format and execute make format #230 +* (chore) [\#300](https://github.com/Finschia/finschia/pull/300) remove x/token and x/collection apis in swagger (backport #299) + +### Bug Fixes +* (finschia-sdk) [\#298](https://github.com/Finschia/finschia/pull/298) bump up finschia-sdk from v0.48.0 to v0.48.1 (backport #297) + +### Build, CI +* (ci) [\#290](https://github.com/Finschia/finschia/pull/290) remove autopr ci +* (ci) [\#291](https://github.com/Finschia/finschia/pull/291) fix goreleaser ci error and replace release-build + +## [v2.0.0] - 2023-10-19 + +### Features +* (finschia-sdk) Bump github.com/Finschia/finschia-sdk from v0.47.0 to v0.48.0 + * (feat) [\#243](https://github.com/Finschia/finschia/pull/243) Bump github.com/Finschia/finschia-sdk from v0.47.0 to v0.47.1-rc1 + * (feat) [\#255](https://github.com/Finschia/finschia/pull/255) Bump up finschia-sdk from v0.48.0-rc1 to da331c01fa + * (feat) [\#262](https://github.com/Finschia/finschia/pull/262) Bump up finschia-sdk from v0.48.0-rc2 to `0a27aef22921` and bump up ostracon from `449aa3148b12` to `fc29846c918d` + * (finschia-sdk) [\#264](https://github.com/Finschia/finschia/pull/264) Bump up finschia-sdk from `0a27aef22921` to `022614f80a0d` + * (finschia-sdk, ostracon, wasmd) [\#286](https://github.com/Finschia/finschia/pull/286) bump up fisnchia-sdk to v0.48.0 and Ostracon to v1.1.2 and wasmd to v0.2.0 +* (ostracon) Bump up Ostracon from v1.1.0 to v1.1.2 + * (feat) [\#262](https://github.com/Finschia/finschia/pull/262) Bump up finschia-sdk from v0.48.0-rc2 to `0a27aef22921` and bump up ostracon from `449aa3148b12` to `fc29846c918d` + * (finschia-sdk, ostracon, wasmd) [\#286](https://github.com/Finschia/finschia/pull/286) bump up fisnchia-sdk to v0.48.0 and Ostracon to v1.1.2 and wasmd to v0.2.0 +* (wasmd) bump up wasmd from v0.1.3 to v0.2.0 + * (wasm) [\#258](https://github.com/Finschia/finschia/pull/258) Bump up wasmd from dedcd9ec to 053c7e43 + * (finschia-sdk, ostracon, wasmd) [\#286](https://github.com/Finschia/finschia/pull/286) bump up fisnchia-sdk to v0.48.0 and Ostracon to v1.1.2 and wasmd to v0.2.0 +* (ibc) [\#246](https://github.com/Finschia/finschia/pull/246) Update ibc-go to v4 +* (build) [\#248](https://github.com/Finschia/finschia/pull/248) Rename namespace to v2 +* (app) [\#250](https://github.com/Finschia/finschia/pull/250) Set upgrade handler for v2-Daisy + +### Improvements +* (build) [\#221](https://github.com/Finschia/finschia/pull/221) compile static binary as release assets and docker image +* (swagger) [\#223](https://github.com/Finschia/finschia/pull/223) add integrated swagger for finschia + +### Bug Fixes +* (build) [\#236](https://github.com/Finschia/finschia/pull/236) fix compile error when the build_tags is multiple. +* (wasm) [\#249](https://github.com/Finschia/finschia/pull/249) revert removing wasm configs +* (build) [\#277](https://github.com/Finschia/finschia/pull/277) change to the default build method that uses a shared library + +### Breaking Changes +* (ostracon) [\#240](https://github.com/Finschia/finschia/pull/240) remove `libsodium` vrf library + +### Build, CI +* (ci) [\#185](https://github.com/Finschia/finschia/pull/185) update `tag.yml` github action +* (ci) [\#189](https://github.com/Finschia/finschia/pull/189) add dependabot github action +* (ci) [\#213](https://github.com/Finschia/finschia/pull/213) add mergify ci +* (ci) [\#233](https://github.com/Finschia/finschia/pull/233) add smart contract CI test +* (build) [\#237](https://github.com/Finschia/finschia/pull/237) rearrange Dockerfile and Makefile commands +* (build) [\#241](https://github.com/Finschia/finschia/pull/241) Update golang version to 1.20 +* (build) [\#259](https://github.com/Finschia/finschia/pull/259) change default build to be compiled as static binary +* (build) [\#284](https://github.com/Finschia/finschia/pull/284) use curl instead of wget on MacOS + +### Docs +* (docs) [\#281](https://github.com/Finschia/finschia/pull/281) Update guide for static build on CentOS + + +## [v1.0.0] - 2023-04-24 + +### Features +* (build) [\#126](https://github.com/Finschia/finschia/pull/126) Automatically generates release note and binaries +* (x/wasmd) [\#129](https://github.com/Finschia/finschia/pull/129) chore: apply detached x/wasmd +* (build) [\#130](https://github.com/Finschia/finschia/pull/130) Add a release build for the linux/arm64, darwin/amd64, and darwin/arm64 platform +* (finschia-sdk) [\#137](https://github.com/Finschia/finschia/pull/137) Bump finschia-sdk to 6c84a4cffa +* (x/collection,token) [\#138](https://github.com/Finschia/finschia/pull/138) Add x/token and x/collection +* (ibc-go) [\#140](https://github.com/Finschia/finschia/pull/140) apply ibc-go +* (x/wasmplus) [\#141](https://github.com/Finschia/finschia/pull/141) change wasm module to wrapped `x/wasmplus` +* (finschia-sdk) [\#144](https://github.com/Finschia/finschia/pull/144) bump finschia-sdk v0.47.0-alpha1 (11966d1234155ebef20b64f2ae7a905beffdb33f) +* (build) [\#150](https://github.com/Finschia/finschia/pull/150) Modify the Makefile to build release bundles +* (build) [\#153](https://github.com/Finschia/finschia/pull/153) rename cli name to `fnsad` +* (finschia-sdk) [\#154](https://github.com/Finschia/finschia/pull/154) Bump finschia-sdk from v0.47.0-alpha1.0.20230214070148-11966d123415 to v0.47.0-rc1 + +### Improvements +* (x/wasmd) [\#147](https://github.com/Finschia/finschia/pull/147) update wasmd version +* (x/wasmd) [\#158](https://github.com/Finschia/finschia/pull/158) bump up wasmd version to v0.1.0 +* (finschia-sdk) [\#159](https://github.com/Finschia/finschia/pull/159) Bump finschia-sdk from v0.47.0-rc1 to v0.47.0-rc2 +* (wasmd) [\#171](https://github.com/Finschia/finschia/pull/171) bump up wasmd from v0.1.2-0.20230403061848-514953c0b244 to v0.1.2 + +### Bug Fixes +* (finschia-sdk) [\#162](https://github.com/Finschia/finschia/pull/162) Bump finschia-sdk from v0.47.0-rc2 to v0.47.0-rc3 +* (finschia-sdk) [\#167](https://github.com/Finschia/finschia/pull/167) Bump finschia-sdk from v0.47.0-rc3 to v0.47.0-rc4 +* (finschia-sdk) [\#178](https://github.com/Finschia/finschia/pull/178) Bump github.com/Finschia/finschia-sdk from v0.47.0-rc6 to v0.47.0-rc7 +* (finschia-sdk) [\#168](https://github.com/Finschia/finschia/pull/168) Bump finschia-sdk from v0.47.0-rc4 to v0.47.0-rc4.0.20230410115856-b8421116b3f2 +* (finschia-sdk) [\#172](https://github.com/Finschia/finschia/pull/172) Bump finschia-sdk from v0.47.0-rc4.0.20230410115856-b8421116b3f2 to v0.47.0-rc5 +* (finschia-sdk) [\#174](https://github.com/Finschia/finschia/pull/174) bump up finschia-sdk from v0.47.0-rc5 to v0.47.0-rc5.0.20230414034539-489c442416cd + +### Breaking Changes +* (api) [\#123](https://github.com/Finschia/finschia/pull/123) remove legacy REST API routes +* (ibc-go)[\#164](https://github.com/Finschia/finschia/pull/164) bump up ibc-go v3.3.2 for change ibc light client of Ostracon to Tendermint + +### Build, CI +* (ci) [\#145](https://github.com/Finschia/finschia/pull/145) add github action to push docker image to docker.io +* (build) [\#157](https://github.com/Finschia/finschia/pull/157) add build args +* (ci)[\#163](https://github.com/Finschia/finschia/pull/163) fix `release-build` ci error occurred when adding assets after tagging +* (finschia-sdk,ostracon,wasmd,ibc-go) [\#176](https://github.com/Finschia/finschia/pull/176) Rename and bump up dependencies +* (ci) [\#180](https://github.com/Finschia/finschia/pull/180) add a CI to build darwin version when add tag + +### Docs +* (doc) [\#156](https://github.com/Finschia/finschia/pull/156) modify broken link or typo doc file and add issue and pr template +* (doc)[\#165](https://github.com/Finschia/finschia/pull/165) update license notice and code_of_conduct +* (license) [\#170](https://github.com/Finschia/finschia/pull/170) fix license copyright holder and typo + + +## [v0.7.0] - 2022-11-29 + +### Features +* [\#108](https://github.com/Finschia/finschia/pull/108) Bump github.com/line/lbm-sdk from e19f863a8 to a389b6330 +* [\#110](https://github.com/Finschia/finschia/pull/110) apply GovMint on x/foundation +* [\#111](https://github.com/Finschia/finschia/pull/111) Bump github.com/line/lbm-sdk from 66988a235 to 0.46.0-rc9 +* (build) [\#113](https://github.com/Finschia/finschia/pull/113) enable to use libsodium version ostracon + +### Improvements + +### Bug Fixes +* (global) [\#103](https://github.com/Finschia/finschia/pull/103) replace deprecated functions of ioutil package +* (app) [\#107](https://github.com/Finschia/finschia/pull/107) change module order in `init genesis` +* (ci) [\#115](https://github.com/Finschia/finschia/pull/115) fix test flow to install libsodium +* (build) [\#118](https://github.com/Finschia/finschia/pull/118) fix docker build in Mac M1 device + +### Improvements +* (app) [\#114](https://github.com/Finschia/finschia/pull/114) change the default compile setting to support ledger + + +## [v0.6.0] - 2022-10-05 + +### Bug Fixes +* (app) [\#96](https://github.com/Finschia/finschia/pull/96) fix the bug not setting `iavl-cache-size` value of the `app.toml` +* (baseapp) [\#97](https://github.com/Finschia/finschia/pull/97) fix max gas validation bug of lbm-sdk + +### Breaking Changes +* (app) [\#87](https://github.com/Finschia/finschia/pull/87) remove unused modules from app +* (finschia-sdk) [\#95](https://github.com/Finschia/finschia/pull/95) apply the changes of lbm-sdk v0.46.0-rc8 + +### Build, CI +* (ci) [\#80](https://github.com/Finschia/finschia/pull/80) remove stale github action +* (ci) [\#83](https://github.com/Finschia/finschia/pull/83) enable tests on CI +* (build) [\#89](https://github.com/Finschia/finschia/pull/89) upgrade golang to 1.18 + + +## [v0.5.0] - 2022-09-08 + +### Features +* (x/collection) [\#72](https://github.com/Finschia/finschia/pull/72) add x/collection +* (x/wasm) [\#79](https://github.com/Finschia/finschia/pull/79) chore: add iterator feature for wasm module + +### Improvements +* (ci) [\#76](https://github.com/Finschia/finschia/pull/76) fix Dockerfile.static to build lbm instead of building wasmvm in the Dockerfile + +### Bug Fixes +* (command) [\#81](https://github.com/Finschia/finschia/pull/81) add wrong address to genesis file in add-genesis-account command +* (x/collection) [\#86](https://github.com/Finschia/finschia/pull/86) add omitted cli commands on x/collection and fix Query/Balance +* (x/collection) [\#90](https://github.com/Finschia/finschia/pull/90) fix bugs in x/collection MsgModify + + +## [v0.4.0] - 2022-06-13 + +### Features +* (cosmos-sdk) [\#56](https://github.com/Finschia/finschia/pull/56) bump up cosmos-sdk v0.45.1 +* (x/foundation) [\#62](https://github.com/Finschia/finschia/pull/62) add `x/foundation` module of lbm-sdk + +### Improvements + +### Bug Fixes +* (app) [\#60](https://github.com/Finschia/finschia/pull/60) register authz module store key + + +## [v0.3.0] - 2022-03-31 + +### Bug Fixes +* (build) [\#47](https://github.com/Finschia/finschia/pull/47) fix Docker build error + +### Features +* (x/wasm) [\#41](https://github.com/Finschia/finschia/pull/41) upgrade x/wasm (merged original 0.19.0) +* (x/upgrade) [\#42](https://github.com/Finschia/finschia/pull/42) add token module and bump cosmos-sdk v0.42.11 + + +## [v0.2.0] - 2022-02-04 + +### Features +* (x/upgrade) [\#33](https://github.com/Finschia/finschia/pull/33) To smoothen the update to the latest stable release, the SDK includes version map for managing migrations between SDK versions. +* (x/consortium) [\#34](https://github.com/Finschia/finschia/pull/34) add feegrant, consortium and stakingplus module +* (x/bank) [\#36](https://github.com/Finschia/finschia/pull/36) apply a feature that preventing sending coins to inactive contract (related to [finschia-sdk #400](https://github.com/Finschia/finschia-sdk/pull/400)) + +### Improvements +* (slashing) [\#31] (https://github.com/Finschia/finschia/pull/31) Apply VoterSetCounter + +## [v0.1.0] - 2021-11-01 + +### Features +* (app) Revise bech32 prefix cosmos to link and tlink + +### Improvements +* (sdk) Use fastcache for inter block cache and iavl cache +* (sdk) Enable signature verification cache +* (ostracon) Apply asynchronous receiving reactor +* (sdk) [\#21](https://github.com/Finschia/finschia/pull/21) Use lbm-sdk v0.43.0 + +### Bug Fixes + +### Breaking Changes +* (sdk) (auth) [\#16](https://github.com/Finschia/lfb/pull/16) Introduce sig block height for the new replay protection +* (ostracon/sdk) [\#26](https://github.com/Finschia/lfb/pull/26) Use vrf-based consensus, address string treatment +* (global) [\#10](https://github.com/Finschia/finschia/pull/10) Re-brand lfb to lbm + +### Build, CI +* (build) [\#25](https://github.com/Finschia/finschia/pull/25) Fix localnet-start + -[Unreleased]: https://github.com/Finschia/finschia/compare/v2.0.2...HEAD +[Unreleased]: https://github.com/Finschia/finschia/compare/v2.0.2-rc1...HEAD +[v2.0.1]: https://github.com/Finschia/finschia/releases/tag/v2.0.1 +[v2.0.0]: https://github.com/Finschia/finschia/releases/tag/v2.0.0 +[v1.0.0]: https://github.com/Finschia/finschia/releases/tag/v1.0.0 +[v0.7.0]: https://github.com/Finschia/finschia/releases/tag/v0.7.0 +[v0.6.0]: https://github.com/Finschia/finschia/releases/tag/v0.6.0 +[v0.5.0]: https://github.com/Finschia/finschia/releases/tag/v0.5.0 +[v0.4.0]: https://github.com/Finschia/finschia/releases/tag/v0.4.0 +[v0.3.0]: https://github.com/Finschia/finschia/releases/tag/v0.3.0 +[v0.2.0]: https://github.com/Finschia/finschia/releases/tag/v0.2.0 +[v0.1.0]: https://github.com/Finschia/finschia/releases/tag/v0.1.0 diff --git a/RELEASE_CHANGELOG.md b/RELEASE_CHANGELOG.md deleted file mode 100644 index 5ee8aac1..00000000 --- a/RELEASE_CHANGELOG.md +++ /dev/null @@ -1,288 +0,0 @@ - - -# Changelog - -## [v2.0.2] - 2024-03-05 - -This version base on [finschia-sdk v0.48.1](https://github.com/Finschia/finschia-sdk/releases/tag/v0.48.1), [Ostracon v1.1.3](https://github.com/Finschia/ostracon/tree/v1.1.3), [finschia/wasmd v0.2.0](https://github.com/Finschia/wasmd/releases/tag/v0.2.0) and [finschia/ibc-go v4.3.1](https://github.com/Finschia/ibc-go/releases/tag/v4.3.1). - -### Bug Fixes -* (ostracon) [\#333](https://github.com/Finschia/finschia/pull/334) bump up ostracon from v1.1.2 to v1.1.3 (backport #334) - -## [v2.0.1] - 2023-11-07 - -This version base on [finschia-sdk v0.48.1](https://github.com/Finschia/finschia-sdk/releases/tag/v0.48.1), [Ostracon v1.1.2](https://github.com/Finschia/ostracon/tree/v1.1.2), [finschia/wasmd v0.2.0](https://github.com/Finschia/wasmd/releases/tag/v0.2.0) and [finschia/ibc-go v4.3.1](https://github.com/Finschia/ibc-go/releases/tag/v4.3.1). - -### Improvements -* (improvements) [\#230](https://github.com/Finschia/finschia/pull/230) fix Makefile for format and execute make format #230 -* (chore) [\#300](https://github.com/Finschia/finschia/pull/300) remove x/token and x/collection apis in swagger (backport #299) - -### Bug Fixes -* (finschia-sdk) [\#298](https://github.com/Finschia/finschia/pull/298) bump up finschia-sdk from v0.48.0 to v0.48.1 (backport #297) - -### Build, CI -* (ci) [\#290](https://github.com/Finschia/finschia/pull/290) remove autopr ci -* (ci) [\#291](https://github.com/Finschia/finschia/pull/291) fix goreleaser ci error and replace release-build - - -## [v2.0.0] - 2023-10-19 - -This version base on [finschia-sdk v0.48.0](https://github.com/Finschia/finschia-sdk/releases/tag/v0.48.0), [Ostracon v1.1.2](https://github.com/Finschia/ostracon/tree/v1.1.2), [finschia/wasmd v0.2.0](https://github.com/Finschia/wasmd/releases/tag/v0.2.0) and [finschia/ibc-go v4.3.1](https://github.com/Finschia/ibc-go/releases/tag/v4.3.1). - -### Features -* (finschia-sdk) Bump github.com/Finschia/finschia-sdk from v0.47.0 to v0.48.0 - * (feat) [\#243](https://github.com/Finschia/finschia/pull/243) Bump github.com/Finschia/finschia-sdk from v0.47.0 to v0.47.1-rc1 - * (feat) [\#255](https://github.com/Finschia/finschia/pull/255) Bump up finschia-sdk from v0.48.0-rc1 to da331c01fa - * (feat) [\#262](https://github.com/Finschia/finschia/pull/262) Bump up finschia-sdk from v0.48.0-rc2 to `0a27aef22921` and bump up ostracon from `449aa3148b12` to `fc29846c918d` - * (finschia-sdk) [\#264](https://github.com/Finschia/finschia/pull/264) Bump up finschia-sdk from `0a27aef22921` to `022614f80a0d` - * (finschia-sdk, ostracon, wasmd) [\#286](https://github.com/Finschia/finschia/pull/286) bump up fisnchia-sdk to v0.48.0 and Ostracon to v1.1.2 and wasmd to v0.2.0 -* (ostracon) Bump up Ostracon from v1.1.0 to v1.1.2 - * (feat) [\#262](https://github.com/Finschia/finschia/pull/262) Bump up finschia-sdk from v0.48.0-rc2 to `0a27aef22921` and bump up ostracon from `449aa3148b12` to `fc29846c918d` - * (finschia-sdk, ostracon, wasmd) [\#286](https://github.com/Finschia/finschia/pull/286) bump up fisnchia-sdk to v0.48.0 and Ostracon to v1.1.2 and wasmd to v0.2.0 -* (wasmd) bump up wasmd from v0.1.3 to v0.2.0 - * (wasm) [\#258](https://github.com/Finschia/finschia/pull/258) Bump up wasmd from dedcd9ec to 053c7e43 - * (finschia-sdk, ostracon, wasmd) [\#286](https://github.com/Finschia/finschia/pull/286) bump up fisnchia-sdk to v0.48.0 and Ostracon to v1.1.2 and wasmd to v0.2.0 -* (ibc) [\#246](https://github.com/Finschia/finschia/pull/246) Update ibc-go to v4 -* (build) [\#248](https://github.com/Finschia/finschia/pull/248) Rename namespace to v2 -* (app) [\#250](https://github.com/Finschia/finschia/pull/250) Set upgrade handler for v2-Daisy - -### Improvements -* (build) [\#221](https://github.com/Finschia/finschia/pull/221) compile static binary as release assets and docker image -* (swagger) [\#223](https://github.com/Finschia/finschia/pull/223) add integrated swagger for finschia - -### Bug Fixes -* (build) [\#236](https://github.com/Finschia/finschia/pull/236) fix compile error when the build_tags is multiple. -* (wasm) [\#249](https://github.com/Finschia/finschia/pull/249) revert removing wasm configs -* (build) [\#277](https://github.com/Finschia/finschia/pull/277) change to the default build method that uses a shared library - -### Breaking Changes -* (ostracon) [\#240](https://github.com/Finschia/finschia/pull/240) remove `libsodium` vrf library - -### Build, CI -* (ci) [\#185](https://github.com/Finschia/finschia/pull/185) update `tag.yml` github action -* (ci) [\#189](https://github.com/Finschia/finschia/pull/189) add dependabot github action -* (ci) [\#213](https://github.com/Finschia/finschia/pull/213) add mergify ci -* (ci) [\#233](https://github.com/Finschia/finschia/pull/233) add smart contract CI test -* (build) [\#237](https://github.com/Finschia/finschia/pull/237) rearrange Dockerfile and Makefile commands -* (build) [\#241](https://github.com/Finschia/finschia/pull/241) Update golang version to 1.20 -* (build) [\#259](https://github.com/Finschia/finschia/pull/259) change default build to be compiled as static binary -* (build) [\#284](https://github.com/Finschia/finschia/pull/284) use curl instead of wget on MacOS - -### Docs -* (docs) [\#281](https://github.com/Finschia/finschia/pull/281) Update guide for static build on CentOS - - -## [v1.0.0] - 2023-04-24 - -This version base on [finschia-sdk v0.47.0](https://github.com/Finschia/finschia-sdk/releases/tag/v0.47.0), [Ostracon v1.1.0](https://github.com/Finschia/ostracon/tree/v1.1.0), [finschia/wasmd v0.1.3](https://github.com/Finschia/wasmd/releases/tag/v0.1.3) and [finschia/ibc-go v3.3.3](https://github.com/Finschia/ibc-go/releases/tag/v3.3.3). - -### Features -* (build) [\#126](https://github.com/Finschia/finschia/pull/126) Automatically generates release note and binaries -* (x/wasmd) [\#129](https://github.com/Finschia/finschia/pull/129) chore: apply detached x/wasmd -* (build) [\#130](https://github.com/Finschia/finschia/pull/130) Add a release build for the linux/arm64, darwin/amd64, and darwin/arm64 platform -* (finschia-sdk) [\#137](https://github.com/Finschia/finschia/pull/137) Bump finschia-sdk to 6c84a4cffa -* (x/collection,token) [\#138](https://github.com/Finschia/finschia/pull/138) Add x/token and x/collection -* (ibc-go) [\#140](https://github.com/Finschia/finschia/pull/140) apply ibc-go -* (x/wasmplus) [\#141](https://github.com/Finschia/finschia/pull/141) change wasm module to wrapped `x/wasmplus` -* (finschia-sdk) [\#144](https://github.com/Finschia/finschia/pull/144) bump finschia-sdk v0.47.0-alpha1 (11966d1234155ebef20b64f2ae7a905beffdb33f) -* (build) [\#150](https://github.com/Finschia/finschia/pull/150) Modify the Makefile to build release bundles -* (build) [\#153](https://github.com/Finschia/finschia/pull/153) rename cli name to `fnsad` -* (finschia-sdk) [\#154](https://github.com/Finschia/finschia/pull/154) Bump finschia-sdk from v0.47.0-alpha1.0.20230214070148-11966d123415 to v0.47.0-rc1 - -### Improvements -* (x/wasmd) [\#147](https://github.com/Finschia/finschia/pull/147) update wasmd version -* (x/wasmd) [\#158](https://github.com/Finschia/finschia/pull/158) bump up wasmd version to v0.1.0 -* (finschia-sdk) [\#159](https://github.com/Finschia/finschia/pull/159) Bump finschia-sdk from v0.47.0-rc1 to v0.47.0-rc2 -* (wasmd) [\#171](https://github.com/Finschia/finschia/pull/171) bump up wasmd from v0.1.2-0.20230403061848-514953c0b244 to v0.1.2 - -### Bug Fixes -* (finschia-sdk) [\#162](https://github.com/Finschia/finschia/pull/162) Bump finschia-sdk from v0.47.0-rc2 to v0.47.0-rc3 -* (finschia-sdk) [\#167](https://github.com/Finschia/finschia/pull/167) Bump finschia-sdk from v0.47.0-rc3 to v0.47.0-rc4 -* (finschia-sdk) [\#178](https://github.com/Finschia/finschia/pull/178) Bump github.com/Finschia/finschia-sdk from v0.47.0-rc6 to v0.47.0-rc7 -* (finschia-sdk) [\#168](https://github.com/Finschia/finschia/pull/168) Bump finschia-sdk from v0.47.0-rc4 to v0.47.0-rc4.0.20230410115856-b8421116b3f2 -* (finschia-sdk) [\#172](https://github.com/Finschia/finschia/pull/172) Bump finschia-sdk from v0.47.0-rc4.0.20230410115856-b8421116b3f2 to v0.47.0-rc5 -* (finschia-sdk) [\#174](https://github.com/Finschia/finschia/pull/174) bump up finschia-sdk from v0.47.0-rc5 to v0.47.0-rc5.0.20230414034539-489c442416cd - -### Breaking Changes -* (api) [\#123](https://github.com/Finschia/finschia/pull/123) remove legacy REST API routes -* (ibc-go)[\#164](https://github.com/Finschia/finschia/pull/164) bump up ibc-go v3.3.2 for change ibc light client of Ostracon to Tendermint - -### Build, CI -* (ci) [\#145](https://github.com/Finschia/finschia/pull/145) add github action to push docker image to docker.io -* (build) [\#157](https://github.com/Finschia/finschia/pull/157) add build args -* (ci)[\#163](https://github.com/Finschia/finschia/pull/163) fix `release-build` ci error occurred when adding assets after tagging -* (finschia-sdk,ostracon,wasmd,ibc-go) [\#176](https://github.com/Finschia/finschia/pull/176) Rename and bump up dependencies -* (ci) [\#180](https://github.com/Finschia/finschia/pull/180) add a CI to build darwin version when add tag - -### Docs -* (doc) [\#156](https://github.com/Finschia/finschia/pull/156) modify broken link or typo doc file and add issue and pr template -* (doc)[\#165](https://github.com/Finschia/finschia/pull/165) update license notice and code_of_conduct -* (license) [\#170](https://github.com/Finschia/finschia/pull/170) fix license copyright holder and typo - - -## [v0.7.0] - 2022-11-29 - -This version base on [finschia-sdk v0.46.0](https://github.com/Finschia/finschia-sdk/releases/tag/v0.46.0). - -### Features -* [\#108](https://github.com/Finschia/finschia/pull/108) Bump github.com/line/lbm-sdk from e19f863a8 to a389b6330 -* [\#110](https://github.com/Finschia/finschia/pull/110) apply GovMint on x/foundation -* [\#111](https://github.com/Finschia/finschia/pull/111) Bump github.com/line/lbm-sdk from 66988a235 to 0.46.0-rc9 -* (build) [\#113](https://github.com/Finschia/finschia/pull/113) enable to use libsodium version ostracon - -### Improvements - -### Bug Fixes -* (global) [\#103](https://github.com/Finschia/finschia/pull/103) replace deprecated functions of ioutil package -* (app) [\#107](https://github.com/Finschia/finschia/pull/107) change module order in `init genesis` -* (ci) [\#115](https://github.com/Finschia/finschia/pull/115) fix test flow to install libsodium -* (build) [\#118](https://github.com/Finschia/finschia/pull/118) fix docker build in Mac M1 device - -### Improvements -* (app) [\#114](https://github.com/Finschia/finschia/pull/114) change the default compile setting to support ledger - - -## [v0.6.0] - -This version based on [finschia-sdk v0.46.0-rc8](https://github.com/Finschia/finschia-sdk/releases/tag/v0.46.0-rc8) - -### Bug Fixes -* (app) [\#96](https://github.com/Finschia/finschia/pull/96) fix the bug not setting `iavl-cache-size` value of the `app.toml` -* (baseapp) [\#97](https://github.com/Finschia/finschia/pull/97) fix max gas validation bug of lbm-sdk - -### Breaking Changes -* (app) [\#87](https://github.com/Finschia/finschia/pull/87) remove unused modules from app -* (finschia-sdk) [\#95](https://github.com/Finschia/finschia/pull/95) apply the changes of lbm-sdk v0.46.0-rc8 - -### Build, CI -* (ci) [\#80](https://github.com/Finschia/finschia/pull/80) remove stale github action -* (ci) [\#83](https://github.com/Finschia/finschia/pull/83) enable tests on CI -* (build) [\#89](https://github.com/Finschia/finschia/pull/89) upgrade golang to 1.18 - - -## [v0.5.0] - -This version based on [finschia-sdk v0.46.0-rc6](https://github.com/Finschia/finschia-sdk/releases/tag/v0.46.0-rc6) - -### Features -* (x/collection) [\#72](https://github.com/Finschia/finschia/pull/72) add x/collection -* (x/wasm) [\#79](https://github.com/Finschia/finschia/pull/79) chore: add iterator feature for wasm module - -### Improvements -* (ci) [\#76](https://github.com/Finschia/finschia/pull/76) fix Dockerfile.static to build lbm instead of building wasmvm in the Dockerfile - -### Bug Fixes -* (command) [\#81](https://github.com/Finschia/finschia/pull/81) add wrong address to genesis file in add-genesis-account command -* (x/collection) [\#86](https://github.com/Finschia/finschia/pull/86) add omitted cli commands on x/collection and fix Query/Balance -* (x/collection) [\#90](https://github.com/Finschia/finschia/pull/90) fix bugs in x/collection MsgModify - - -## [v0.4.0] - -This version based on finschia-sdk v0.46.0-rc2 - -### Features -* (cosmos-sdk) [\#56](https://github.com/Finschia/finschia/pull/56) bump up cosmos-sdk v0.45.1 -* (x/foundation) [\#62](https://github.com/Finschia/finschia/pull/62) add `x/foundation` module of lbm-sdk - -### Improvements - -### Bug Fixes -* (app) [\#60](https://github.com/Finschia/finschia/pull/60) register authz module store key - - -## [v0.3.0] - -### Bug Fixes -* (build) [\#47](https://github.com/Finschia/finschia/pull/47) fix Docker build error - -### Features -* (x/wasm) [\#41](https://github.com/Finschia/finschia/pull/41) upgrade x/wasm (merged original 0.19.0) -* (x/upgrade) [\#42](https://github.com/Finschia/finschia/pull/42) add token module and bump cosmos-sdk v0.42.11 - - -## [v0.2.0] - -### Features -* (x/upgrade) [\#33](https://github.com/Finschia/finschia/pull/33) To smoothen the update to the latest stable release, the SDK includes version map for managing migrations between SDK versions. -* (x/consortium) [\#34](https://github.com/Finschia/finschia/pull/34) add feegrant, consortium and stakingplus module -* (x/bank) [\#36](https://github.com/Finschia/finschia/pull/36) apply a feature that preventing sending coins to inactive contract (related to [finschia-sdk #400](https://github.com/Finschia/finschia-sdk/pull/400)) - -### Improvements -* (slashing) [\#31] (https://github.com/Finschia/finschia/pull/31) Apply VoterSetCounter - -## [v0.1.0] - -### Features -* (app) Revise bech32 prefix cosmos to link and tlink - -### Improvements -* (sdk) Use fastcache for inter block cache and iavl cache -* (sdk) Enable signature verification cache -* (ostracon) Apply asynchronous receiving reactor -* (sdk) [\#21](https://github.com/Finschia/finschia/pull/21) Use lbm-sdk v0.43.0 - -### Bug Fixes - -### Breaking Changes -* (sdk) (auth) [\#16](https://github.com/Finschia/lfb/pull/16) Introduce sig block height for the new replay protection -* (ostracon/sdk) [\#26](https://github.com/Finschia/lfb/pull/26) Use vrf-based consensus, address string treatment -* (global) [\#10](https://github.com/Finschia/finschia/pull/10) Re-brand lfb to lbm - -### Build, CI -* (build) [\#25](https://github.com/Finschia/finschia/pull/25) Fix localnet-start - -## [gaia v4.0.4] - 2021-03-15 -Initial lbm is based on the tendermint v0.34.9+, cosmos-sdk v0.42.0+, gaia v4.0.4 - -* (tendermint) [v0.34.9](https://github.com/tendermint/tendermint/releases/tag/v0.34.9). -* (cosmos-sdk) [v0.42.0](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.42.0). -* (gaia) [v4.0.4](https://github.com/cosmos/gaia/releases/tag/v4.0.4). - -Please refer [CHANGELOG_OF_GAIA_v4.0.4](https://github.com/cosmos/gaia/blob/v4.0.4/CHANGELOG.md) - - - -[v2.0.1]: https://github.com/Finschia/finschia/releases/tag/v2.0.1 -[v2.0.0]: https://github.com/Finschia/finschia/releases/tag/v2.0.0 -[v1.0.0]: https://github.com/Finschia/finschia/releases/tag/v1.0.0 -[v0.7.0]: https://github.com/Finschia/finschia/releases/tag/v0.7.0 -[v0.6.0]: https://github.com/Finschia/finschia/releases/tag/v0.6.0 -[v0.5.0]: https://github.com/Finschia/finschia/releases/tag/v0.5.0 -[v0.4.0]: https://github.com/Finschia/finschia/releases/tag/v0.4.0 -[v0.3.0]: https://github.com/Finschia/finschia/releases/tag/v0.3.0 -[v0.2.0]: https://github.com/Finschia/finschia/releases/tag/v0.2.0 -[v0.1.0]: https://github.com/Finschia/finschia/releases/tag/v0.1.0 -[gaia v4.0.4]: https://github.com/cosmos/gaia/releases/tag/v4.0.4 diff --git a/RELEASE_DESCR.md b/RELEASE_DESCR.md new file mode 100644 index 00000000..f6830f8f --- /dev/null +++ b/RELEASE_DESCR.md @@ -0,0 +1,42 @@ + + +# DESCRIPTION OF RELEASE + +## [v2.0.2] - 2024-03-05 + +## Highlights +* fix compatibility issues with `IBC relayer` + +## [v2.0.1] - 2023-11-07 + +## Highlights +* fix compatible with ledger in MacOS 0.13+ + +## [v2.0.0] - 2023-10-19 + +## [v1.0.0] - 2023-04-24 +This version base on [finschia-sdk v0.47.0](https://github.com/Finschia/finschia-sdk/releases/tag/v0.47.0), [Ostracon v1.1.0](https://github.com/Finschia/ostracon/tree/v1.1.0), [finschia/wasmd v0.1.3](https://github.com/Finschia/wasmd/releases/tag/v0.1.3) and [finschia/ibc-go v3.3.3](https://github.com/Finschia/ibc-go/releases/tag/v3.3.3). + +## [v0.7.0] - 2022-11-29 +This version base on [finschia-sdk v0.46.0](https://github.com/Finschia/finschia-sdk/releases/tag/v0.46.0). + +## [v0.6.0] - 2022-10-05 +This version based on [finschia-sdk v0.46.0-rc8](https://github.com/Finschia/finschia-sdk/releases/tag/v0.46.0-rc8) + +## [v0.5.0] - 2022-09-08 +This version based on [finschia-sdk v0.46.0-rc6](https://github.com/Finschia/finschia-sdk/releases/tag/v0.46.0-rc6) + +## [v0.4.0] - 2022-06-13 +This version based on finschia-sdk v0.46.0-rc2 + +## [v0.3.0] - 2022-03-31 + +## [v0.2.0] - 2022-02-04 + +## [v0.1.0] - 2021-11-01 +This is the first release of the Finschia blockchain. It is based on [gaia v4.0.4](https://github.com/cosmos/gaia/releases/tag/v4.0.4). diff --git a/RELEASE_NOTE.md b/RELEASE_NOTE.md deleted file mode 100644 index 12a3bc58..00000000 --- a/RELEASE_NOTE.md +++ /dev/null @@ -1,34 +0,0 @@ -# Finschia v2.0.1 Release Note - -## Changelog -Check out the [changelog](https://github.com/Finschia/finschia/blob/v2.0.2/RELEASE_CHANGELOG.md) for a list of relevant changes or [compare all changes](https://github.com/Finschia/finschia/compare/v2.0.1...v2.0.2) from last release - -## Highlights -* fix compatibility issues with `IBC relayer` - -## Base sub modules -* Ostracon: [v1.1.3](https://github.com/Finschia/ostracon/tree/v1.1.3) -* Finschia-sdk: [v0.48.1](https://github.com/Finschia/finschia-sdk/tree/v0.48.1) -* Finschia/wasmd: [v0.2.0](https://github.com/Finschia/wasmd/tree/v0.2.0) -* Finschia/ibc-go: [v4.3.1](https://github.com/Finschia/ibc-go/tree/v4.3.1) - - -## Build from source -You must use Golang v1.20.x if building from source -```shell -git clone https://github.com/Finschia/finschia -cd finschia && git checkout v2.0.2 -make install -``` - -## Run with Docker -If you want to run fnsad in a Docker container, you can use the Docker images. -* docker image: `finschia/finschianode:2.0.2` -```shell -docker run finschia/finschianode:2.0.2 fnsad version -# 2.0.2 -``` - -## Download binaries - -Binaries for linux and darwin are available below. diff --git a/scripts/release-note.py b/scripts/release-note.py new file mode 100644 index 00000000..2178f286 --- /dev/null +++ b/scripts/release-note.py @@ -0,0 +1,129 @@ +import re +import sys +import subprocess + + +def get_prev_gittag(target_tag: str) -> str: + result = subprocess.run( + ["git", "tag"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True + ) + if result.returncode == 0: + tags = result.stdout.strip().split("\n") + loc = tags.index(target_tag) - 1 + if loc < 0: + return None + + if "rc" in target_tag: + prev_tag = tags[loc] + else: + while True: + prev_tag = tags[loc] if len(tags) > 1 else "" + if "rc" not in prev_tag: + break + loc -= 1 + return prev_tag + else: + raise subprocess.CalledProcessError( + result.returncode, result.args, result.stderr + ) + + +def extract_package_version(document: str, package_name: str): + pattern = rf"{re.escape(package_name)} (v[^\s]+)" + match = re.search(pattern, document) + if match: + return match.group(1) + else: + raise ValueError(f"Package {package_name} not found in the document.") + + +def extract_go_version(document: str): + pattern = r"go ([^\s]+)" + match = re.search(pattern, document) + if match: + return match.group(1) + else: + return None + + +def extract_release_contents(target: str, cur_tag: str, prev_tag: str) -> str: + if "rc" in cur_tag: + return "" + + with open(target, "r") as f: + document = f.read() + start_marker = f"## [{cur_tag}]" + start_pos = document.find(start_marker) + len(start_marker) + len(" - YYYY-MM-DD") + if start_pos != -1: + if prev_tag is None: + end_pos = document.find("") + if end_pos == -1: + match = re.search(r"## \[v\d+\.\d+\.\d+] - \d{4}-\d{2}-\d{2}", document[start_pos:]) + if match is None: + end_pos = -1 + else: + end_pos = start_pos + match.start() - 1 + else: + end_marker = f"## [{prev_tag}]" + end_pos = document.find(end_marker) + if end_pos == -1: + match = re.search(r"## \[v\d+\.\d+\.\d+] - \d{4}-\d{2}-\d{2}", document[start_pos:]) + end_pos = start_pos + match.start() - 1 + else: + raise ValueError("Content not found between the specified markers.") + return document[start_pos:end_pos].strip() + + +with open("go.mod", "r") as file: + gomod = file.read() + +args = sys.argv[1:] +if len(args) != 1: + raise ValueError("Invalid number of arguments. Please provide the release version.") + +# Generate release note +TAG = args[0] +PREV_TAG = get_prev_gittag(TAG) +GO_VERSION = extract_go_version(gomod) +OSTRACON_VERSION = extract_package_version(gomod, "github.com/Finschia/ostracon") +FNSASDK_VERSION = extract_package_version(gomod, "github.com/Finschia/finschia-sdk") +WASMD_VERSION = extract_package_version(gomod, "github.com/Finschia/wasmd") +IBC_VERSION = extract_package_version(gomod, "github.com/cosmos/ibc-go/v4") + +release_note = f"""# Finschia {TAG} Release Note + +{extract_release_contents("RELEASE_DESCR.md", TAG, PREV_TAG)} + +## What's Changed +Check out all the changes [here](https://github.com/Finschia/finschia/compare/{PREV_TAG or ""}...{TAG}) + +{extract_release_contents("CHANGELOG.md", TAG, PREV_TAG)} + +## Base sub modules +* Ostracon: [{OSTRACON_VERSION}](https://github.com/Finschia/ostracon/tree/{OSTRACON_VERSION}) +* Finschia-sdk: [{FNSASDK_VERSION}](https://github.com/Finschia/finschia-sdk/tree/{FNSASDK_VERSION}) +* Finschia/wasmd: [{WASMD_VERSION}](https://github.com/Finschia/wasmd/tree/{WASMD_VERSION}) +* Finschia/ibc-go: [{IBC_VERSION}](https://github.com/Finschia/ibc-go/tree/{IBC_VERSION}) + +## Build from source +You must use Go {GO_VERSION} if building from source +```shell +git clone https://github.com/Finschia/finschia +cd finschia && git checkout {TAG} +make install +``` + +## Run with Docker +If you want to run fnsad in a Docker container, you can use the Docker images. +* docker image: `finschia/finschianode:{TAG[1:]}` +```shell +docker run finschia/finschianode:{TAG[1:]} fnsad version +# {TAG[1:]} +``` + +## Download binaries + +Binaries for linux and darwin are available below.\n""" + +with open("RELEASE_NOTE.md", "w") as file: + file.write(release_note)