Skip to content

Commit 3f09225

Browse files
authored
Release v0.6.0 (#307)
* 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
1 parent 4313828 commit 3f09225

16 files changed

+41
-19
lines changed

CHANGELOG.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [v0.6.0] - 2021-06-24
11+
### Added
12+
- Use `async-std` instead of `smol` for async tasks. ([#301](https://github.com/paritytech/substrate-archive/commit/f2a4b408123c5e64be04e70a890b1354475d812d))
13+
- Additional tests for missing storage & pagination query. ([#254](https://github.com/paritytech/substrate-archive/commit/36d955d379b1fdfb0ff063dce394d8a4d6430323))
14+
- Storage Chain Support ([#292](https://github.com/paritytech/substrate-archive/commit/70ea92187ed68aee9c9cc8de757b1b86bb7ab408))
15+
- `v0.9.5`, `v0.9.6`, `v0.9.7` wasm tracing runtimes
16+
1017
### Changed
11-
- Use `async-std` instead of `smol` for async tasks. ([#301](https://github.com/paritytech/substrate-archive/pull/301))
18+
- **BREAKING**: PostgreSQL `_background_tasks` table stores data as `jsonb` rather than `bytea`. Upgrading should happen
19+
automatically when running v0.6.0, but you will not be able to revert to any previous version of archive.
20+
([#254](https://github.com/paritytech/substrate-archive/commit/36d955d379b1fdfb0ff063dce394d8a4d6430323))
21+
- When restoring storage, blocks are paginated using the `max_block_load` parameter. This cuts memory usage down
22+
when many blocks are missing from storage. ([#254](https://github.com/paritytech/substrate-archive/commit/36d955d379b1fdfb0ff063dce394d8a4d6430323))
23+
- Update dependencies to match client `0.9.7`.
1224

1325
### Removed
14-
- **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))
15-
- **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))
26+
- **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))
27+
- **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))
28+
- **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))
1629

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

2033
## [v0.5.2] - 2021-06-02
2134
### Added

RELEASE-CHECKLIST.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,20 @@ Here's how to make a new release of `substrate-archive`.
88
2. Update `Cargo.toml` in `substrate-archive` and `substrate-archive-backend` with the new version number.
99
* 2a. Update version in `Cargo.toml` for `polkadot-archive` with new version number.
1010
3. Update the `CHANGELOG` for `substrate-archive` and `polkadot-archive` as specified [here](https://keepachangelog.com/en/1.0.0/).
11-
4. Make a PR against master with these changes
12-
3. Once the PR to master is merged, we have to prepare the release branch.
11+
4. Compile tracing-enabled wasm for westend, kusama, and polkadot for versions that are missing in the `wasm_tracing/`
12+
folder.
13+
- Compilation steps may be found [here](https://github.com/paritytech/substrate-archive/wiki/5.\)-Creating-WASM-runtimes-with-Tracing-Enabled)
14+
5. Make a PR against master with these changes
15+
6. Once the PR to master is merged, we have to prepare the release branch.
1316
* 3a. Update all references to `substrate` and `polkadot` crates to their respective latest releases.
1417
- `diener update --polkadot --tag `${latest_tag}`
1518
- `diener update --substrate --branch `polkadot-${latest_tag}`
1619
* 3b. Run all tests: `TEST_DATABASE_URL="postgres://localhost:5432/archive cargo test --all`.
1720
- These tests will also be run under CI on branch push.
18-
4. Tag the release branch with `git tag vx.y.z` and push the tags with `git push --tags`.
21+
7. Tag the release branch with `git tag vx.y.z` and push the tags with `git push --tags`.
1922
- This will trigger the automated release CI which will build the binaries. It can take a bit for this to finish,
2023
(~1 hour), but once it's done it will create the draft release from the changelog, and upload the artifacts.
21-
5. Review the draft release in the github UI.
22-
6. Get a review of the draft release from the team.
23-
7. Publish the release from github UI.
24-
8. Signal to devops that there is a new release available.
24+
8. Review the draft release in the github UI.
25+
9. Get a review of the draft release from the team.
26+
10. Publish the release from github UI.
27+
11. Signal to devops that there is a new release available.

bin/node-template-archive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "node-template-archive"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
authors = ["Andrew Plaza <[email protected]>"]
55
edition = "2018"
66
description = "Indexes Substrate Data"

bin/polkadot-archive/CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
10+
## [3.0.0] - 2021-06-24
11+
### Changed
12+
- bump polkadot to `v0.9.7`
13+
914
### Removed
10-
- `max_tasks` from toml configuration file. ([#301](https://github.com/paritytech/substrate-archive/pull/301))
11-
- `task_workers` from toml configuration file. ([#301](https://github.com/paritytech/substrate-archive/pull/301))
15+
- remove `db_actor_pool_size` as an option from configuration file. ([#254](https://github.com/paritytech/substrate-archive/commit/36d955d379b1fdfb0ff063dce394d8a4d6430323))
16+
- `max_tasks` from toml configuration file. ([#301](https://github.com/paritytech/substrate-archive/commit/f2a4b408123c5e64be04e70a890b1354475d812d))
17+
- `task_workers` from toml configuration file. ([#301](https://github.com/paritytech/substrate-archive/commit/f2a4b408123c5e64be04e70a890b1354475d812d))
1218

13-
## [0.2.4]
19+
## [0.2.4] - 2021-06-02
1420
### Changed
1521
- bump polkadot to `v0.9.3`
1622

17-
## [0.2.3]
23+
## [0.2.3] - 2021-05-06
1824
### Changed
1925
- Config file is now optional. Can configure polkadot archive entirely through environment variables.
2026
- the environment variables that need to be set are `CHAIN_DATA_DB` and `DATABASE_URL`.

bin/polkadot-archive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "polkadot-archive"
3-
version = "0.2.4"
3+
version = "0.3.0"
44
authors = ["Andrew Plaza <[email protected]>"]
55
edition = "2018"
66
description = "Indexes the Polkadot, Kusama and Westend Networks"

substrate-archive-backend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "substrate-archive-backend"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2018"
66

substrate-archive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "substrate-archive"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
authors = ["Andrew Plaza <[email protected]>"]
55
edition = "2018"
66

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 commit comments

Comments
 (0)