Skip to content

Commit

Permalink
Release v0.6.0 (#307)
Browse files Browse the repository at this point in the history
* add v0.9.5 tracing wasm runtimes

* add v0.9.6 and bump version to 0.6 and 0.3

* surruond bytea in code tags

* fix release checklist

* fix changelog

* wasm runties 0.9.7

* 0.9.6 -> 0.9.7

* polkadot v0.9.6 -> v0.9.7
  • Loading branch information
insipx committed Jun 25, 2021
1 parent 4313828 commit 3f09225
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 19 deletions.
21 changes: 17 additions & 4 deletions CHANGELOG.md
Expand Up @@ -7,15 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v0.6.0] - 2021-06-24
### Added
- Use `async-std` instead of `smol` for async tasks. ([#301](https://github.com/paritytech/substrate-archive/commit/f2a4b408123c5e64be04e70a890b1354475d812d))
- Additional tests for missing storage & pagination query. ([#254](https://github.com/paritytech/substrate-archive/commit/36d955d379b1fdfb0ff063dce394d8a4d6430323))
- Storage Chain Support ([#292](https://github.com/paritytech/substrate-archive/commit/70ea92187ed68aee9c9cc8de757b1b86bb7ab408))
- `v0.9.5`, `v0.9.6`, `v0.9.7` wasm tracing runtimes

### Changed
- Use `async-std` instead of `smol` for async tasks. ([#301](https://github.com/paritytech/substrate-archive/pull/301))
- **BREAKING**: PostgreSQL `_background_tasks` table stores data as `jsonb` rather than `bytea`. Upgrading should happen
automatically when running v0.6.0, but you will not be able to revert to any previous version of archive.
([#254](https://github.com/paritytech/substrate-archive/commit/36d955d379b1fdfb0ff063dce394d8a4d6430323))
- When restoring storage, blocks are paginated using the `max_block_load` parameter. This cuts memory usage down
when many blocks are missing from storage. ([#254](https://github.com/paritytech/substrate-archive/commit/36d955d379b1fdfb0ff063dce394d8a4d6430323))
- Update dependencies to match client `0.9.7`.

### Removed
- **BREAKING** `max_tasks` from builder. Max tasks will always be the number of CPUS on the system. ([#301](https://github.com/paritytech/substrate-archive/pull/301))
- **BREAKING** `task_workers` from builder. Task workers will always be number of CPUS on the system.([#301](https://github.com/paritytech/substrate-archive/pull/301))
- **BREAKING** `db_actor_pool_size` is no longer configurable on the builder. Actor pool no longer exists. ([#254](https://github.com/paritytech/substrate-archive/commit/36d955d379b1fdfb0ff063dce394d8a4d6430323))
- **BREAKING** `max_tasks` from builder. Max tasks will always be the number of CPUS on the system. ([#301](https://github.com/paritytech/substrate-archive/commit/f2a4b408123c5e64be04e70a890b1354475d812d))
- **BREAKING** `task_workers` from builder. Task workers will always be number of CPUS on the system. ([#301](https://github.com/paritytech/substrate-archive/commit/f2a4b408123c5e64be04e70a890b1354475d812d))

### Fixed
- archive no longer hangs on Ctrl-C. ([#301](https://github.com/paritytech/substrate-archive/pull/301))
- archive no longer hangs on Ctrl-C. ([#301](https://github.com/paritytech/substrate-archive/commit/f2a4b408123c5e64be04e70a890b1354475d812d))

## [v0.5.2] - 2021-06-02
### Added
Expand Down
17 changes: 10 additions & 7 deletions RELEASE-CHECKLIST.md
Expand Up @@ -8,17 +8,20 @@ Here's how to make a new release of `substrate-archive`.
2. Update `Cargo.toml` in `substrate-archive` and `substrate-archive-backend` with the new version number.
* 2a. Update version in `Cargo.toml` for `polkadot-archive` with new version number.
3. Update the `CHANGELOG` for `substrate-archive` and `polkadot-archive` as specified [here](https://keepachangelog.com/en/1.0.0/).
4. Make a PR against master with these changes
3. Once the PR to master is merged, we have to prepare the release branch.
4. Compile tracing-enabled wasm for westend, kusama, and polkadot for versions that are missing in the `wasm_tracing/`
folder.
- Compilation steps may be found [here](https://github.com/paritytech/substrate-archive/wiki/5.\)-Creating-WASM-runtimes-with-Tracing-Enabled)
5. Make a PR against master with these changes
6. Once the PR to master is merged, we have to prepare the release branch.
* 3a. Update all references to `substrate` and `polkadot` crates to their respective latest releases.
- `diener update --polkadot --tag `${latest_tag}`
- `diener update --substrate --branch `polkadot-${latest_tag}`
* 3b. Run all tests: `TEST_DATABASE_URL="postgres://localhost:5432/archive cargo test --all`.
- These tests will also be run under CI on branch push.
4. Tag the release branch with `git tag vx.y.z` and push the tags with `git push --tags`.
7. Tag the release branch with `git tag vx.y.z` and push the tags with `git push --tags`.
- This will trigger the automated release CI which will build the binaries. It can take a bit for this to finish,
(~1 hour), but once it's done it will create the draft release from the changelog, and upload the artifacts.
5. Review the draft release in the github UI.
6. Get a review of the draft release from the team.
7. Publish the release from github UI.
8. Signal to devops that there is a new release available.
8. Review the draft release in the github UI.
9. Get a review of the draft release from the team.
10. Publish the release from github UI.
11. Signal to devops that there is a new release available.
2 changes: 1 addition & 1 deletion bin/node-template-archive/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "node-template-archive"
version = "0.2.1"
version = "0.3.0"
authors = ["Andrew Plaza <aplaza@liquidthink.net>"]
edition = "2018"
description = "Indexes Substrate Data"
Expand Down
14 changes: 10 additions & 4 deletions bin/polkadot-archive/CHANGELOG.md
Expand Up @@ -6,15 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [3.0.0] - 2021-06-24
### Changed
- bump polkadot to `v0.9.7`

### Removed
- `max_tasks` from toml configuration file. ([#301](https://github.com/paritytech/substrate-archive/pull/301))
- `task_workers` from toml configuration file. ([#301](https://github.com/paritytech/substrate-archive/pull/301))
- remove `db_actor_pool_size` as an option from configuration file. ([#254](https://github.com/paritytech/substrate-archive/commit/36d955d379b1fdfb0ff063dce394d8a4d6430323))
- `max_tasks` from toml configuration file. ([#301](https://github.com/paritytech/substrate-archive/commit/f2a4b408123c5e64be04e70a890b1354475d812d))
- `task_workers` from toml configuration file. ([#301](https://github.com/paritytech/substrate-archive/commit/f2a4b408123c5e64be04e70a890b1354475d812d))

## [0.2.4]
## [0.2.4] - 2021-06-02
### Changed
- bump polkadot to `v0.9.3`

## [0.2.3]
## [0.2.3] - 2021-05-06
### Changed
- Config file is now optional. Can configure polkadot archive entirely through environment variables.
- the environment variables that need to be set are `CHAIN_DATA_DB` and `DATABASE_URL`.
Expand Down
2 changes: 1 addition & 1 deletion bin/polkadot-archive/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "polkadot-archive"
version = "0.2.4"
version = "0.3.0"
authors = ["Andrew Plaza <aplaza@liquidthink.net>"]
edition = "2018"
description = "Indexes the Polkadot, Kusama and Westend Networks"
Expand Down
2 changes: 1 addition & 1 deletion substrate-archive-backend/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "substrate-archive-backend"
version = "0.5.2"
version = "0.6.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion substrate-archive/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "substrate-archive"
version = "0.5.2"
version = "0.6.0"
authors = ["Andrew Plaza <andrew.plaza@parity.io>"]
edition = "2018"

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 3f09225

Please sign in to comment.