Skip to content

Commit

Permalink
chore: release 0.2.0 (#210)
Browse files Browse the repository at this point in the history
* chore: update to version 0.2.0

* chore: changelog

* fix: correct tf link (#211)

* chore: use git-cliff  to generate CHANGELOG

* chore: pop telemetry description

---------

Co-authored-by: Alejandro Martinez Andres <[email protected]>
  • Loading branch information
AlexD10S and al3mart authored Jun 17, 2024
1 parent 443e90b commit 36ac44d
Show file tree
Hide file tree
Showing 8 changed files with 280 additions and 12 deletions.
176 changes: 176 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

<!-- generated by git-cliff -->
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -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 = """
<!-- generated by git-cliff -->
"""
# remove the leading and trailing s
trim = true
# postprocessors
postprocessors = [
# { pattern = '<REPO>', 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}](<REPO>/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 = "<!-- 0 -->🚀 Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Fixes" },
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->🧪 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 = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ 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
8 changes: 4 additions & 4 deletions crates/pop-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion crates/pop-contracts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion crates/pop-parachains/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion crates/pop-telemetry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/pop-telemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 36ac44d

Please sign in to comment.