From 91ed0e7fbdb528a13af5715cb8f3ba1f16af5c22 Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Sat, 3 Nov 2018 15:32:38 +0000 Subject: [PATCH 1/2] move README changelog stuff into CHANGELOG.md --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ README.md | 42 +----------------------------------------- 2 files changed, 30 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcea8aa5..ddfa4efe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,3 +33,32 @@ * Update to secp256k1 0.11.0 * Many, many documentation and test improvements. +# 0.13.1 + +* Add `Display` trait to uints, `FromStr` trait to `Network` enum +* Add witness inv types to inv enum, constants for Bitcoin regtest network, `is_coin_base` accessor for tx inputs +* Expose `merkleroot(Vec)` + +# 0.13 + +* Move witnesses inside the `TxIn` structure +* Add `Transaction::get_weight()` +* Update bip143 `sighash_all` API to be more ergonomic + +# 0.12 + +* The in-memory blockchain was moved into a dedicated project rust-bitcoin-chain. +* Removed old script interpreter +* A new optional feature "bitcoinconsensus" lets this library use Bitcoin Core's native +script verifier, wrappend into Rust by the rust-bitcoinconsenus project. +See `Transaction::verify` and `Script::verify` methods. +* Replaced Base58 traits with `encode_slice`, `check_encode_slice`, from and `from_check` functions in the base58 module. +* Un-reversed the Debug output for Sha256dHash +* Add bech32 support +* Support segwit address types + +### 0.11 + +* Remove `num` dependency at Matt's request; agree this is obnoxious to require all +downstream users to also have a `num` dependency just so they can use `Uint256::from_u64`. + diff --git a/README.md b/README.md index 87aa1a13..e8a485a9 100644 --- a/README.md +++ b/README.md @@ -60,45 +60,5 @@ support only a single blockchain. ## Release Notes -I will try to document all breaking changes here so that people upgrading will know -what they need to change. - -### 0.11 - -Remove `num` dependency at Matt's request; agree this is obnoxious to require all -downstream users to also have a `num` dependency just so they can use `Uint256::from_u64`. - -### 0.12 - -* The in-memory blockchain was moved into a dedicated project rust-bitcoin-chain. - -* Removed old script interpreter - -* A new optional feature "bitcoinconsensus" lets this library use Bitcoin Core's native -script verifier, wrappend into Rust by the rust-bitcoinconsenus project. -See `Transaction::verify` and `Script::verify` methods. - -* Replaced Base58 traits with `encode_slice`, `check_encode_slice`, from and `from_check` functions in the base58 module. - -* Un-reversed the Debug output for Sha256dHash - -* Add bech32 support - -* Support segwit address types - -### 0.13 - -* Move witnesses inside the `TxIn` structure - -* Add `Transaction::get_weight()` - -* Update bip143 `sighash_all` API to be more ergonomic - -#### 0.13.1 - -* Add `Display` trait to uints, `FromStr` trait to `Network` enum - -* Add witness inv types to inv enum, constants for Bitcoin regtest network, `is_coin_base` accessor for tx inputs - -* Expose `merkleroot(Vec)` +See CHANGELOG.md From 1a3d3a3eef47682b63ff77a3bd0c6953a40a7605 Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Sat, 3 Nov 2018 15:41:29 +0000 Subject: [PATCH 2/2] bump version to 0.15 --- CHANGELOG.md | 14 ++++++++++++++ Cargo.toml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddfa4efe..8676d26d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,18 @@ +# 0.15.0 - 2018-11-03 + +* [Significant API overhaul](https://github.com/rust-bitcoin/rust-bitcoin/pull/156): + * Remove `nu_select` macro and low-level networking support + * Move `network::consensus_params` to `consensus::params` + * Move many other things into `consensus::params` + * Move `BitcoinHash` from `network::serialize` to `util::hash`; remove impl for `Vec` + * Rename/restructure error types + * Rename `Consensus{De,En}coder` to `consensus::{De,En}coder` + * Replace `Raw{De,En}coder` with blanket impls of `consensus::{De,En}coder` on `io::Read` and `io::Write` + * make `serialize` and `serialize_hex` infallible +* Make 0-input transaction de/serialization [always use segwit](https://github.com/rust-bitcoin/rust-bitcoin/pull/153) +* Implement `FromStr` and `Display` for many more types + # 0.14.2 - 2018-09-11 * Add serde support for `Address` diff --git a/Cargo.toml b/Cargo.toml index f2ae6931..5f21a102 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bitcoin" -version = "0.14.2" +version = "0.15.0" authors = ["Andrew Poelstra "] license = "CC0-1.0" homepage = "https://github.com/rust-bitcoin/rust-bitcoin/"