Skip to content

Commit 1a8e0bc

Browse files
authored
Release v0.15 (#248)
* Add 0.15.0 changelog section * Update CHANGELOG.md format * Bump versions * Update CHANGELOG.md * Specify explicit version for client * Remove unused subxt dev dependency * Upgrade deps
1 parent cb4bee5 commit 1a8e0bc

File tree

4 files changed

+132
-106
lines changed

4 files changed

+132
-106
lines changed

CHANGELOG.md

Lines changed: 116 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,116 @@
1-
# Version 0.14.0 (2021-02-05)
2-
* Refactor event type decoding and declaration [#221](https://github.com/paritytech/substrate-subxt/pull/221)
3-
* Add Balances Locks [#197](https://github.com/paritytech/substrate-subxt/pull/197)
4-
* Add event Phase::Initialization [#215](https://github.com/paritytech/substrate-subxt/pull/215)
5-
* Make type explicit [#217](https://github.com/paritytech/substrate-subxt/pull/217)
6-
* Upgrade dependencies, bumps substrate to 2.0.1 [#219](https://github.com/paritytech/substrate-subxt/pull/219)
7-
* Export extra types [#212](https://github.com/paritytech/substrate-subxt/pull/212)
8-
* Enable retrieval of constants from rutnime metadata [#207](https://github.com/paritytech/substrate-subxt/pull/207)
9-
* register type sizes for u64 and u128 [#200](https://github.com/paritytech/substrate-subxt/pull/200)
10-
* Remove some substrate dependencies to improve compile time [#194](https://github.com/paritytech/substrate-subxt/pull/194)
11-
* propagate 'RuntimeError's to 'decode_raw_bytes' caller [#189](https://github.com/paritytech/substrate-subxt/pull/189)
12-
* Derive `Clone` for `PairSigner` [#184](https://github.com/paritytech/substrate-subxt/pull/184)
13-
14-
# Version 0.13.0
15-
* Make the contract call extrinsic work [#165](https://github.com/paritytech/substrate-subxt/pull/165)
16-
* Update to Substrate 2.0.0 [#173](https://github.com/paritytech/substrate-subxt/pull/173)
17-
* Display RawEvent data in hex [#168](https://github.com/paritytech/substrate-subxt/pull/168)
18-
* Add SudoUncheckedWeightCall [#167](https://github.com/paritytech/substrate-subxt/pull/167)
19-
* Add Add SetCodeWithoutChecksCall [#166](https://github.com/paritytech/substrate-subxt/pull/166)
20-
* Improve contracts pallet tests [#163](https://github.com/paritytech/substrate-subxt/pull/163)
21-
* Make Metadata types public [#162](https://github.com/paritytech/substrate-subxt/pull/162)
22-
* Fix option decoding and add basic sanity test [#161](https://github.com/paritytech/substrate-subxt/pull/161)
23-
* Add staking support [#160](https://github.com/paritytech/substrate-subxt/pull/161)
24-
* Decode option event arg [#158](https://github.com/paritytech/substrate-subxt/pull/158)
25-
* Remove unnecessary Sync bound [#172](https://github.com/paritytech/substrate-subxt/pull/172)
26-
27-
# Version 0.12.0
28-
29-
* Only return an error if the extrinsic failed. [#156](https://github.com/paritytech/substrate-subxt/pull/156)
30-
* Update to rc6. [#155](https://github.com/paritytech/substrate-subxt/pull/155)
31-
* Different assert. [#153](https://github.com/paritytech/substrate-subxt/pull/153)
32-
* Add a method to fetch an unhashed key, close #100 [#152](https://github.com/paritytech/substrate-subxt/pull/152)
33-
* Fix port number. [#151](https://github.com/paritytech/substrate-subxt/pull/151)
34-
* Implement the `concat` in `twox_64_concat` [#150](https://github.com/paritytech/substrate-subxt/pull/150)
35-
* Storage map iter [#148](https://github.com/paritytech/substrate-subxt/pull/148)
36-
37-
# Version 0.11.0
38-
39-
* Fix build error, wabt 0.9.2 is yanked [#146](https://github.com/paritytech/substrate-subxt/pull/146)
40-
* Rc5 [#143](https://github.com/paritytech/substrate-subxt/pull/143)
41-
* Refactor: extract functions and types for creating extrinsics [#138](https://github.com/paritytech/substrate-subxt/pull/138)
42-
* event subscription example [#140](https://github.com/paritytech/substrate-subxt/pull/140)
43-
* Document the `Call` derive macro [#137](https://github.com/paritytech/substrate-subxt/pull/137)
44-
* Document the #[module] macro [#135](https://github.com/paritytech/substrate-subxt/pull/135)
45-
* Support authors api. [#134](https://github.com/paritytech/substrate-subxt/pull/134)
46-
47-
# Version 0.10.1 (2020-06-19)
48-
49-
* Release client v0.2.0 [#133](https://github.com/paritytech/substrate-subxt/pull/133)
50-
51-
# Version 0.10.0 (2020-06-19)
52-
53-
* Upgrade to substrate rc4 release [#131](https://github.com/paritytech/substrate-subxt/pull/131)
54-
* Support unsigned extrinsics. [#130](https://github.com/paritytech/substrate-subxt/pull/130)
55-
56-
# Version 0.9.0 (2020-06-25)
57-
58-
* Events sub [#126](https://github.com/paritytech/substrate-subxt/pull/126)
59-
* Improve error handling in proc-macros, handle DispatchError etc. [#123](https://github.com/paritytech/substrate-subxt/pull/123)
60-
* Support embedded full/light node clients. [#91](https://github.com/paritytech/substrate-subxt/pull/91)
61-
* Zero sized types [#121](https://github.com/paritytech/substrate-subxt/pull/121)
62-
* Fix optional store items. [#120](https://github.com/paritytech/substrate-subxt/pull/120)
63-
* Make signing fallable and asynchronous [#119](https://github.com/paritytech/substrate-subxt/pull/119)
64-
65-
# Version 0.8.0 (2020-05-26)
66-
67-
* Update to Substrate release candidate [#116](https://github.com/paritytech/substrate-subxt/pull/116)
68-
* Update to alpha.8 [#114](https://github.com/paritytech/substrate-subxt/pull/114)
69-
* Refactors the api [#113](https://github.com/paritytech/substrate-subxt/pull/113)
70-
71-
# Version 0.7.0 (2020-05-13)
72-
73-
* Split subxt [#102](https://github.com/paritytech/substrate-subxt/pull/102)
74-
* Add support for RPC `state_getReadProof` [#106](https://github.com/paritytech/substrate-subxt/pull/106)
75-
* Update to substrate alpha.7 release [#105](https://github.com/paritytech/substrate-subxt/pull/105)
76-
* Double map and plain storage support, introduce macros [#93](https://github.com/paritytech/substrate-subxt/pull/93)
77-
* Raw payload return SignedPayload struct [#92](https://github.com/paritytech/substrate-subxt/pull/92)
78-
79-
# Version 0.6.0 (2020-04-15)
80-
81-
* Raw extrinsic payloads in Client [#83](https://github.com/paritytech/substrate-subxt/pull/83)
82-
* Custom extras [#89](https://github.com/paritytech/substrate-subxt/pull/89)
83-
* Wrap and export BlockNumber [#87](https://github.com/paritytech/substrate-subxt/pull/87)
84-
* All substrate dependencies upgraded to `alpha.6`
85-
86-
# Version 0.5.0 (2020-03-25)
87-
88-
* First release
89-
* All substrate dependencies upgraded to `alpha.5`
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
## [0.15.0] - 2021-03-15
10+
11+
### Added
12+
- implement variant of subscription that returns finalized storage changes - [#237](https://github.com/paritytech/substrate-subxt/pull/237)
13+
- implement session handling for unsubscribe in subxt-client - [#242](https://github.com/paritytech/substrate-subxt/pull/242)
14+
15+
### Changed
16+
- update jsonrpsee [#251](https://github.com/paritytech/substrate-subxt/pull/251)
17+
- return none if subscription returns early [#250](https://github.com/paritytech/substrate-subxt/pull/250)
18+
- export ModuleError and RuntimeError for downstream usage - [#246](https://github.com/paritytech/substrate-subxt/pull/246)
19+
- rpc client methods should be public for downstream usage - [#240](https://github.com/paritytech/substrate-subxt/pull/240)
20+
- re-export WasmExecutionMethod for downstream usage - [#239](https://github.com/paritytech/substrate-subxt/pull/239)
21+
- integration with jsonrpsee v2 - [#214](https://github.com/paritytech/substrate-subxt/pull/214)
22+
- expose wasm execution method on subxt client config - [#230](https://github.com/paritytech/substrate-subxt/pull/230)
23+
- Add hooks to register event types for decoding - [#227](https://github.com/paritytech/substrate-subxt/pull/227)
24+
- Substrate 3.0 - [#232](https://github.com/paritytech/substrate-subxt/pull/232)
25+
26+
## [0.14.0] - 2021-02-05
27+
28+
- Refactor event type decoding and declaration [#221](https://github.com/paritytech/substrate-subxt/pull/221)
29+
- Add Balances Locks [#197](https://github.com/paritytech/substrate-subxt/pull/197)
30+
- Add event Phase::Initialization [#215](https://github.com/paritytech/substrate-subxt/pull/215)
31+
- Make type explicit [#217](https://github.com/paritytech/substrate-subxt/pull/217)
32+
- Upgrade dependencies, bumps substrate to 2.0.1 [#219](https://github.com/paritytech/substrate-subxt/pull/219)
33+
- Export extra types [#212](https://github.com/paritytech/substrate-subxt/pull/212)
34+
- Enable retrieval of constants from rutnime metadata [#207](https://github.com/paritytech/substrate-subxt/pull/207)
35+
- register type sizes for u64 and u128 [#200](https://github.com/paritytech/substrate-subxt/pull/200)
36+
- Remove some substrate dependencies to improve compile time [#194](https://github.com/paritytech/substrate-subxt/pull/194)
37+
- propagate 'RuntimeError's to 'decode_raw_bytes' caller [#189](https://github.com/paritytech/substrate-subxt/pull/189)
38+
- Derive `Clone` for `PairSigner` [#184](https://github.com/paritytech/substrate-subxt/pull/184)
39+
40+
## [0.13.0]
41+
42+
- Make the contract call extrinsic work [#165](https://github.com/paritytech/substrate-subxt/pull/165)
43+
- Update to Substrate 2.0.0 [#173](https://github.com/paritytech/substrate-subxt/pull/173)
44+
- Display RawEvent data in hex [#168](https://github.com/paritytech/substrate-subxt/pull/168)
45+
- Add SudoUncheckedWeightCall [#167](https://github.com/paritytech/substrate-subxt/pull/167)
46+
- Add Add SetCodeWithoutChecksCall [#166](https://github.com/paritytech/substrate-subxt/pull/166)
47+
- Improve contracts pallet tests [#163](https://github.com/paritytech/substrate-subxt/pull/163)
48+
- Make Metadata types public [#162](https://github.com/paritytech/substrate-subxt/pull/162)
49+
- Fix option decoding and add basic sanity test [#161](https://github.com/paritytech/substrate-subxt/pull/161)
50+
- Add staking support [#160](https://github.com/paritytech/substrate-subxt/pull/161)
51+
- Decode option event arg [#158](https://github.com/paritytech/substrate-subxt/pull/158)
52+
- Remove unnecessary Sync bound [#172](https://github.com/paritytech/substrate-subxt/pull/172)
53+
54+
## [0.12.0]
55+
56+
- Only return an error if the extrinsic failed. [#156](https://github.com/paritytech/substrate-subxt/pull/156)
57+
- Update to rc6. [#155](https://github.com/paritytech/substrate-subxt/pull/155)
58+
- Different assert. [#153](https://github.com/paritytech/substrate-subxt/pull/153)
59+
- Add a method to fetch an unhashed key, close #100 [#152](https://github.com/paritytech/substrate-subxt/pull/152)
60+
- Fix port number. [#151](https://github.com/paritytech/substrate-subxt/pull/151)
61+
- Implement the `concat` in `twox_64_concat` [#150](https://github.com/paritytech/substrate-subxt/pull/150)
62+
- Storage map iter [#148](https://github.com/paritytech/substrate-subxt/pull/148)
63+
64+
## [0.11.0]
65+
66+
- Fix build error, wabt 0.9.2 is yanked [#146](https://github.com/paritytech/substrate-subxt/pull/146)
67+
- Rc5 [#143](https://github.com/paritytech/substrate-subxt/pull/143)
68+
- Refactor: extract functions and types for creating extrinsics [#138](https://github.com/paritytech/substrate-subxt/pull/138)
69+
- event subscription example [#140](https://github.com/paritytech/substrate-subxt/pull/140)
70+
- Document the `Call` derive macro [#137](https://github.com/paritytech/substrate-subxt/pull/137)
71+
- Document the #[module] macro [#135](https://github.com/paritytech/substrate-subxt/pull/135)
72+
- Support authors api. [#134](https://github.com/paritytech/substrate-subxt/pull/134)
73+
74+
## [0.10.1] - 2020-06-19
75+
76+
- Release client v0.2.0 [#133](https://github.com/paritytech/substrate-subxt/pull/133)
77+
78+
## [0.10.0] - 2020-06-19
79+
80+
- Upgrade to substrate rc4 release [#131](https://github.com/paritytech/substrate-subxt/pull/131)
81+
- Support unsigned extrinsics. [#130](https://github.com/paritytech/substrate-subxt/pull/130)
82+
83+
## [0.9.0] - 2020-06-25
84+
85+
- Events sub [#126](https://github.com/paritytech/substrate-subxt/pull/126)
86+
- Improve error handling in proc-macros, handle DispatchError etc. [#123](https://github.com/paritytech/substrate-subxt/pull/123)
87+
- Support embedded full/light node clients. [#91](https://github.com/paritytech/substrate-subxt/pull/91)
88+
- Zero sized types [#121](https://github.com/paritytech/substrate-subxt/pull/121)
89+
- Fix optional store items. [#120](https://github.com/paritytech/substrate-subxt/pull/120)
90+
- Make signing fallable and asynchronous [#119](https://github.com/paritytech/substrate-subxt/pull/119)
91+
92+
## [0.8.0] - 2020-05-26
93+
94+
- Update to Substrate release candidate [#116](https://github.com/paritytech/substrate-subxt/pull/116)
95+
- Update to alpha.8 [#114](https://github.com/paritytech/substrate-subxt/pull/114)
96+
- Refactors the api [#113](https://github.com/paritytech/substrate-subxt/pull/113)
97+
98+
## [0.7.0] - 2020-05-13
99+
100+
- Split subxt [#102](https://github.com/paritytech/substrate-subxt/pull/102)
101+
- Add support for RPC `state_getReadProof` [#106](https://github.com/paritytech/substrate-subxt/pull/106)
102+
- Update to substrate alpha.7 release [#105](https://github.com/paritytech/substrate-subxt/pull/105)
103+
- Double map and plain storage support, introduce macros [#93](https://github.com/paritytech/substrate-subxt/pull/93)
104+
- Raw payload return SignedPayload struct [#92](https://github.com/paritytech/substrate-subxt/pull/92)
105+
106+
## [0.6.0] - 2020-04-15
107+
108+
- Raw extrinsic payloads in Client [#83](https://github.com/paritytech/substrate-subxt/pull/83)
109+
- Custom extras [#89](https://github.com/paritytech/substrate-subxt/pull/89)
110+
- Wrap and export BlockNumber [#87](https://github.com/paritytech/substrate-subxt/pull/87)
111+
- All substrate dependencies upgraded to `alpha.6`
112+
113+
## [0.5.0] - 2020-03-25
114+
115+
- First release
116+
- All substrate dependencies upgraded to `alpha.5`

Cargo.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = [".", "client", "proc-macro"]
33

44
[package]
55
name = "substrate-subxt"
6-
version = "0.14.0"
6+
version = "0.15.0"
77
authors = ["Parity Technologies <admin@parity.io>"]
88
edition = "2018"
99

@@ -21,17 +21,17 @@ default = []
2121
client = ["substrate-subxt-client"]
2222

2323
[dependencies]
24-
log = "0.4.13"
25-
thiserror = "1.0.23"
26-
futures = "0.3.10"
24+
log = "0.4.14"
25+
thiserror = "1.0.24"
26+
futures = "0.3.13"
2727
jsonrpsee-types = "=0.2.0-alpha.3"
2828
jsonrpsee-ws-client = "=0.2.0-alpha.3"
2929
jsonrpsee-http-client = "=0.2.0-alpha.3"
3030
num-traits = { version = "0.2.14", default-features = false }
31-
serde = { version = "1.0.119", features = ["derive"] }
32-
serde_json = "1.0.61"
33-
url = "2.2.0"
34-
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive", "full"] }
31+
serde = { version = "1.0.124", features = ["derive"] }
32+
serde_json = "1.0.64"
33+
url = "2.2.1"
34+
codec = { package = "parity-scale-codec", version = "2.0.1", default-features = false, features = ["derive", "full"] }
3535
# temporarily pinning funty via codec -> bitvec until https://github.com/myrrlyn/funty/issues/3
3636
# and https://github.com/bitvecto-rs/bitvec/issues/105 are resolved
3737
funty = "=1.1.0"
@@ -42,23 +42,23 @@ frame-support = "3.0.0"
4242
sp-runtime = "3.0.0"
4343
sp-version = "3.0.0"
4444
pallet-indices = "3.0.0"
45-
hex = "0.4.2"
45+
hex = "0.4.3"
4646
sp-std = "3.0.0"
4747
application-crypto = { version = "3.0.0", package = "sp-application-crypto" }
4848
pallet-staking = "3.0.0"
4949

5050
sp-rpc = { version = "3.0.0", package = "sp-rpc" }
5151
sp-core = { version = "3.0.0", package = "sp-core" }
52-
substrate-subxt-client = { path = "client", optional = true }
53-
substrate-subxt-proc-macro = { version = "0.14.0", path = "proc-macro" }
52+
substrate-subxt-client = { version = "0.7.0", path = "client", optional = true }
53+
substrate-subxt-proc-macro = { version = "0.15.0", path = "proc-macro" }
5454

5555
[dev-dependencies]
56-
async-std = { version = "1.8.0", features = ["attributes"] }
57-
env_logger = "0.8.2"
56+
async-std = { version = "1.9.0", features = ["attributes"] }
57+
env_logger = "0.8.3"
5858
frame-system = "3.0.0"
5959
pallet-balances = "3.0.0"
6060
sp-keyring = "3.0.0"
6161
tempdir = "0.3.7"
6262
wabt = "0.10.0"
6363
which = "4.0.2"
64-
assert_matches = "1.4.0"
64+
assert_matches = "1.5.0"

client/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "substrate-subxt-client"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
authors = ["David Craven <david@craven.ch>", "Parity Technologies <admin@parity.io>"]
55
edition = "2018"
66

@@ -31,5 +31,4 @@ sc-service = { version = "0.9.0", default-features = false, features = ["wasmtim
3131
[dev-dependencies]
3232
async-std = { version = "1.8.0", features = ["attributes"] }
3333
env_logger = "0.8.2"
34-
substrate-subxt = { path = "..", features = ["client"] }
3534
tempdir = "0.3.7"

proc-macro/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-subxt-proc-macro"
3-
version = "0.14.0"
3+
version = "0.15.0"
44
authors = ["David Craven <david@craven.ch>", "Parity Technologies <admin@parity.io>"]
55
edition = "2018"
66
autotests = false

0 commit comments

Comments
 (0)