diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..f5142cd4 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,176 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [unreleased] + +## [0.2.0] - 2024-06-17 + +### ๐Ÿš€ Features + +- *(new)* Add next steps (#178) +- Check if build exists before deploying contract with pop up (#177) +- Add the "pop up contracts-node" command (#185) +- Add ability to run a script once network is initialized (#180) +- *(new)* Ux improvements (#191) +- Add OpenZeppelin template (#197) + +### ๐Ÿ› Fixes + +- Invalid .expect when parsing args with intro of pop install command (#187) +- Container ux (#186) +- Readme link to the documentation (#193) +- Correct tf link (#211) + +### ๐Ÿšœ Refactor + +- Use the new link for OZ templates after repo name changed (#200) + +### ๐Ÿ“š Documentation + +- Add missing documentation comments for `pop_contracts` and `pop_parachain` crates (#181) + +### ๐ŸŽจ Styling + +- Replace outdates links + +### โš™๏ธ Miscellaneous Tasks + +- V1.10.0 +- Revert workspace dependencies +- Remove unused files +- Update links (#205) +- Update to version 0.2.0 +- Changelog + +## [0.1.0] - 2024-05-15 + +### ๐Ÿš€ Features + +- Guide user for parachain creation (#98) +- *(up parachain)* Improve build ux (#123) +- *(help)* Possible values (#133) +- *(cli)* Integrate assets parachain template. (#132) +- *(cli)* Integrate contracts and evm parachain template. (#137) +- Pop install (#149) +- Add telemetry support (#136) +- *(telemetry)* Support DO_NOT_TRACK and CI env variables to disable telemetry (#162) + +### ๐Ÿ› Fixes + +- Readme link (#125) +- Retrieve templates of provider (#139) +- Update para id (#152) +- Error parsing polkadot version from github API (#142) +- Validate endowment input (#141) +- Licenses (#168) + +### ๐Ÿ“š Documentation + +- Improve descriptions (#156) +- Update docs link (#159) +- *(telemetry)* Readme explaining what and why we collect (#157) + +### ๐Ÿงช Testing + +- Ensure errors propagated (#143) +- Relocate integration tests (#144) +- Add more unit tests (#161) +- Mock api calls and test functionality calling an API (#164) + +### โš™๏ธ Miscellaneous Tasks + +- Use features when testing (#146) +- Update para id (#151) +- Remove telemetry for ci runs (#160) +- Add code coverage (#158) +- Licenses (#165) +- Add dependency and license checks (#170) + +### Build + +- *(deps)* Use git2 vendored-openssl feature (#153) +- *(deps)* Bump zombienet-sdk (#155) +- *(deps)* Update dependencies (#169) + +## [0.1.0-alpha.1] - 2024-04-29 + +### ๐Ÿš€ Features + +- `pop up parachain` (#12) +- Basic contracts functionality (#17) +- Add command aliases (#19) +- Add cargo contract e2e tests for Pop CLI (#22) +- Pop up contract (#27) +- Pop build parachain (#30) +- Pop build contract: add build output (#44) +- *(new-parachain)* Add network config +- *(new-parachain)* Increase validators (#55) +- Structure for call command +- Call a smart contract +- Execute call flag +- *(pop-cli)* Pallets folder for new ones +- *(up-parachain)* Improve ux +- Init git repo (#65) +- *(up-parachain)* Enable optional verbose output (#79) +- *(new parachain)* Show polkadot version (#89) + +### ๐Ÿ› Fixes + +- Update dependencies (#48) +- Remove smart contract template +- *(up-parachain)* Improve command handling +- *(up-parachain)* Binary download +- *(deps)* Remove deprecated dependency (#77) +- Cargo test takes too long to test (#90) +- Fetch latest polkadot releases (#108) +- Clone when user use ssh (#113) + +### ๐Ÿšœ Refactor + +- Renaming, removing unused features and styling (#33) +- Improve ux (#40) +- Remove pallet template from templ files +- *(up-parachain)* Improve sourcing ux +- Separate cli frontend with backend logic (#107) + +### ๐Ÿ“š Documentation + +- Update README.md (#24) +- *(readme)* Update title (#41) +- Update readme (#45) +- Document the call command +- Improve documentation + +### ๐Ÿงช Testing + +- Add unit test for `pop test contract` (#70) +- Add unit test for `pop build parachain` (#81) +- Pop build contract (#83) +- Add unit test for `pop new pallet` (#84) +- Pop up parachain (#86) +- Some unit tests for call contracts and up contracts (#112) + +### โš™๏ธ Miscellaneous Tasks + +- Update manifest (#11) +- Fmt +- Fmt +- Add build/test checks (#20) +- Add rust-toolchain.toml (#73) +- Add codeowners (#80) +- Add `cargo fmt` check (#85) +- Use `thiserror` within crates (#111) +- Add license (#82) + +### Build + +- *(up-parachain)* Add dockerfile +- *(deps)* Bump h2 from 0.3.24 to 0.3.26 (#101) +- *(deps)* Bump rustls from 0.21.10 to 0.21.11 (#114) + +### Release + +- Create a release for pop-cli (#119) + + diff --git a/Cargo.lock b/Cargo.lock index 4625dca5..f323e024 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5270,7 +5270,7 @@ dependencies = [ [[package]] name = "pop-cli" -version = "0.1.0" +version = "0.2.0" dependencies = [ "anyhow", "assert_cmd", @@ -5300,7 +5300,7 @@ dependencies = [ [[package]] name = "pop-contracts" -version = "0.1.0" +version = "0.2.0" dependencies = [ "anyhow", "contract-build", @@ -5325,7 +5325,7 @@ dependencies = [ [[package]] name = "pop-parachains" -version = "0.1.0" +version = "0.2.0" dependencies = [ "anyhow", "askama", @@ -5353,7 +5353,7 @@ dependencies = [ [[package]] name = "pop-telemetry" -version = "0.1.0" +version = "0.2.0" dependencies = [ "dirs", "env_logger", diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 00000000..8d9bece9 --- /dev/null +++ b/cliff.toml @@ -0,0 +1,89 @@ +# git-cliff ~ default configuration file +# https://git-cliff.org/docs/configuration +# +# Lines starting with "#" are comments. +# Configuration options are organized into tables and keys. +# See documentation for more information on available options. + +[changelog] +# changelog header +header = """ +# Changelog\n +All notable changes to this project will be documented in this file.\n +""" +# template for the changelog body +# https://keats.github.io/tera/docs/#introduction +body = """ +{% if version %}\ + ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} +{% else %}\ + ## [unreleased] +{% endif %}\ +{% for group, commits in commits | group_by(attribute="group") %} + ### {{ group | striptags | trim | upper_first }} + {% for commit in commits %} + - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\ + {% if commit.breaking %}[**breaking**] {% endif %}\ + {{ commit.message | upper_first }}\ + {% endfor %} +{% endfor %}\n +""" +# template for the changelog footer +footer = """ + +""" +# remove the leading and trailing s +trim = true +# postprocessors +postprocessors = [ + # { pattern = '', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL +] + +[git] +# parse the commits based on https://www.conventionalcommits.org +conventional_commits = true +# filter out the commits that are not conventional +filter_unconventional = true +# process each line of a commit as an individual commit +split_commits = false +# regex for preprocessing the commit messages +commit_preprocessors = [ + # Replace issue numbers + #{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](/issues/${2}))"}, + # Check spelling of the commit with https://github.com/crate-ci/typos + # If the spelling is incorrect, it will be automatically fixed. + #{ pattern = '.*', replace_command = 'typos --write-changes -' }, +] +# regex for parsing and grouping commits +commit_parsers = [ + { message = "^feat", group = "๐Ÿš€ Features" }, + { message = "^fix", group = "๐Ÿ› Fixes" }, + { message = "^doc", group = "๐Ÿ“š Documentation" }, + { message = "^perf", group = "โšก Performance" }, + { message = "^refactor", group = "๐Ÿšœ Refactor" }, + { message = "^style", group = "๐ŸŽจ Styling" }, + { message = "^test", group = "๐Ÿงช Testing" }, + { message = "^chore\\(release\\): prepare for", skip = true }, + { message = "^chore\\(deps.*\\)", skip = true }, + { message = "^chore\\(pr\\)", skip = true }, + { message = "^chore\\(pull\\)", skip = true }, + { message = "^chore|^ci", group = "โš™๏ธ Miscellaneous Tasks" }, + { body = ".*security", group = "๐Ÿ›ก๏ธ Security" }, + { message = "^revert", group = "โ—€๏ธ Revert" }, +] +# protect breaking changes from being skipped due to matching a skipping commit_parser +protect_breaking_commits = false +# filter out the commits that are not matched by commit parsers +filter_commits = false +# regex for matching git tags +# tag_pattern = "v[0-9].*" +# regex for skipping tags +# skip_tags = "" +# regex for ignoring tags +# ignore_tags = "" +# sort the tags topologically +topo_order = false +# sort the commits inside sections by oldest/newest order +sort_commits = "oldest" +# limit the number of commits included in the changelog. +# limit_commits = 42 diff --git a/crates/pop-cli/Cargo.toml b/crates/pop-cli/Cargo.toml index af384925..e83f0633 100644 --- a/crates/pop-cli/Cargo.toml +++ b/crates/pop-cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pop-cli" description = "An all-in-one tool for Polkadot development." -version = "0.1.0" +version = "0.2.0" edition.workspace = true documentation.workspace = true license.workspace = true @@ -32,17 +32,17 @@ strum.workspace = true strum_macros.workspace = true # contracts -pop-contracts = { path = "../pop-contracts", version = "0.1.0", optional = true } +pop-contracts = { path = "../pop-contracts", version = "0.2.0", optional = true } sp-core = { workspace = true, optional = true } sp-weights = { workspace = true, optional = true } # parachains -pop-parachains = { path = "../pop-parachains", version = "0.1.0", optional = true } +pop-parachains = { path = "../pop-parachains", version = "0.2.0", optional = true } dirs = { workspace = true, optional = true } git2.workspace = true # telemetry -pop-telemetry = { path = "../pop-telemetry", version = "0.1.0", optional = true } +pop-telemetry = { path = "../pop-telemetry", version = "0.2.0", optional = true } [dev-dependencies] assert_cmd.workspace = true diff --git a/crates/pop-contracts/Cargo.toml b/crates/pop-contracts/Cargo.toml index 137444c6..5503740b 100644 --- a/crates/pop-contracts/Cargo.toml +++ b/crates/pop-contracts/Cargo.toml @@ -1,8 +1,9 @@ [package] name = "pop-contracts" description = "Library for generating, building, deploying, and calling ink! smart contracts." -version = "0.1.0" +version = "0.2.0" license = "Apache-2.0" +documentation = "https://docs.rs/pop-contracts/latest/pop_contracts" edition.workspace = true readme = "README.md" repository.workspace = true diff --git a/crates/pop-parachains/Cargo.toml b/crates/pop-parachains/Cargo.toml index 42dde5db..f00605b5 100644 --- a/crates/pop-parachains/Cargo.toml +++ b/crates/pop-parachains/Cargo.toml @@ -1,8 +1,9 @@ [package] name = "pop-parachains" description = "Library for generating, building and running parachains." -version = "0.1.0" +version = "0.2.0" license = "Apache-2.0" +documentation = "https://docs.rs/pop-parachains/latest/pop_parachains" edition.workspace = true readme = "README.md" repository.workspace = true diff --git a/crates/pop-telemetry/Cargo.toml b/crates/pop-telemetry/Cargo.toml index 859c8b80..afc5bb2d 100644 --- a/crates/pop-telemetry/Cargo.toml +++ b/crates/pop-telemetry/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "pop-telemetry" -version = "0.1.0" +description = "Library for collecting anonymous Usage Metrics Collection with Umami." +version = "0.2.0" readme = "README.md" edition.workspace = true license.workspace = true diff --git a/crates/pop-telemetry/README.md b/crates/pop-telemetry/README.md index 69b78b35..89405525 100644 --- a/crates/pop-telemetry/README.md +++ b/crates/pop-telemetry/README.md @@ -72,6 +72,6 @@ If you have any questions or concerns regarding our telemetry practices, please hesitate to contact us: - Contact form: [r0gue.io/contact](https://r0gue.io/contact) -- Telegram: [@Pop_Network](https://t.me/Pop_Network) +- Telegram: [Pop_Network](https://t.me/onpopio) Thank you for your support and understanding.