Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6f3c967

Browse files
committedSep 19, 2022
Release 8.0.0
1 parent 8fcbeb1 commit 6f3c967

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed
 

‎CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
# 8.0.0 - Sept 18, 2022
2+
3+
This release includes several new features, bug fixes, and breaking changes. Below is the highlight of major changes in
4+
this release
5+
- Works with bitcoin crate 0.29
6+
- Remove the `DescriptorTrait` (286)[https://github.com/rust-bitcoin/rust-miniscript/pull/286]. All the methods are
7+
now available under the Descriptor API without requiring to import the trait.
8+
- Add `no-std` support thanks to (PR)[https://github.com/rust-bitcoin/rust-miniscript/pull/277]
9+
- Added a Taproot descriptor Compiler support. The API now allows compiling policies to taproot descriptors
10+
that optimize privacy as well as spending costs at the same time. See (291)[https://github.com/rust-bitcoin/rust-miniscript/pull/291]
11+
for proof. (Policy::compile_to_descriptor)[https://github.com/rust-bitcoin/rust-miniscript/pull/352] allows directly
12+
to compile a policy to the given descriptor.
13+
- Add PsbtInputExt::update_with_descriptor API. See (PR)[https://github.com/rust-bitcoin/rust-miniscript/pull/339]
14+
- Reworked the TranslatePk APIs. Add a Translator trait to cleanly allow downstream users
15+
without dealing with APIs that accept function pointers. Also provides `translate_assoc_clone` and `translate_assoc_fail`
16+
macros for helping in writing code.
17+
- Updated MiniscriptKey trait to accept associated types for Sha256, Hash256, Ripemd160 and
18+
Hash160. This allows users to write abstract miniscripts hashes as "sha256(H)"
19+
instead of specifying the entire hash in the string.
20+
that updates the psbt with descriptor bip32 paths.
21+
- The project now uses edition 2018
22+
- Re-name (`as_public`)[https://github.com/rust-bitcoin/rust-miniscript/pull/377] APIs -> `to_public`
23+
- Add the `DerivedDescriptorKey` type for specifying DescriptorKeys without wildcards. Several APIs that required derived keys
24+
now use this type instead of `DescriptorPublicKey`
25+
- Significantly improve the timelock code with new rust-bitcoin APIs. (PR)[https://github.com/rust-bitcoin/rust-miniscript/pull/414]
26+
- rust-miniscript minor implementation detail: `PkH` fragment now has `Pk` generic instead of `Pk::Hash`. This only concerns users
27+
that operate with `MiniscriptKey = bitcoin::PublicKey` or users that use custom implementation of `MiniscriptKey`. Users that use
28+
`DescriptorPublicKey` need not be concerned.
29+
To elaborate, "pkh(<20-byte-hex>)" is no longer parsed by the `MiniscriptKey = bitcoin::PublicKey`. This is consistent
30+
with the descriptor spec as defined. Parsing from `bitcoin::Script` for pkh<20-byte-hex> is still supported, but the library
31+
would not analyze them. These raw descriptors are still in spec discussions. Rust-miniscript will support them once they are completely specified.
32+
133
# 7.0.0 - April 20, 2022
234

335
- Fixed miniscript type system bug. This is a security vulnerability and users are strongly encouraged to upgrade.

‎Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "miniscript"
3-
version = "7.0.0"
3+
version = "8.0.0"
44
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>, Sanket Kanjalkar <sanket1729@gmail.com>"]
55
license = "CC0-1.0"
66
homepage = "https://github.com/rust-bitcoin/rust-miniscript/"
77
repository = "https://github.com/rust-bitcoin/rust-miniscript/"
88
description = "Miniscript: a subset of Bitcoin Script designed for analysis"
9-
keywords = [ "crypto", "bitcoin"]
9+
keywords = [ "crypto", "bitcoin", "miniscript", "script" ]
1010
readme = "README.md"
1111
edition = "2018"
1212

0 commit comments

Comments
 (0)
Please sign in to comment.