|
1 | | -# Unreleased |
2 | | - |
3 | | -- TODO: Make a comment about `Amount::MAX_MONEY` including breaking serde |
4 | | - |
5 | | -- Use MAX_MONEY in serde regression test [#3950](https://github.com/rust-bitcoin/rust-bitcoin/pull/3950) |
| 1 | +# 1.0.0 - 2025-02-24 |
| 2 | + |
| 3 | +BOOM! A long time in the making but here goes, our first 1.0 crate release. |
| 4 | + |
| 5 | +This changelog is a rolling description of everything that will eventually end up in `v1.0`. |
| 6 | + |
| 7 | +* Introduce limit to `Amount` |
| 8 | + * Prepare to enforce `MAX_MONEY` invariant [#4164](https://github.com/rust-bitcoin/rust-bitcoin/pull/4164) |
| 9 | + * Enforce `MAX_MONEY` invariant in amount types [#4157](https://github.com/rust-bitcoin/rust-bitcoin/pull/4157) |
| 10 | +* New `NumOpResult` type |
| 11 | + * Introduce monadic `NumOpResult` type [#4007](https://github.com/rust-bitcoin/rust-bitcoin/pull/4007) |
| 12 | + * Add impls for `NumOpResult` div and mul [#4337](https://github.com/rust-bitcoin/rust-bitcoin/pull/4337) |
| 13 | + * Use `NumOpResult` instead of `Option` [#4428](https://github.com/rust-bitcoin/rust-bitcoin/pull/4428) |
| 14 | + * Return `NumOpResult` when implementing `Div` [#4312](https://github.com/rust-bitcoin/rust-bitcoin/pull/4312) |
| 15 | +* Heavily modify `fee_rate` module: |
| 16 | + * Make `FeeRate` use MvB internally [#4534](https://github.com/rust-bitcoin/rust-bitcoin/pull/4534) |
| 17 | + * Add `FeeRate` addition and subtraction traits [#3381](https://github.com/rust-bitcoin/rust-bitcoin/pull/3381) |
| 18 | + * Remove `Display`/`FromStr` for `FeeRate` [#4512](https://github.com/rust-bitcoin/rust-bitcoin/pull/4512) |
| 19 | + * Implement `serde` modules for `FeeRate` [#3666](https://github.com/rust-bitcoin/rust-bitcoin/pull/3666) |
| 20 | +* Fix and improve `locktime` modules |
| 21 | + * Modify locktime `serde` implementations [#4511](https://github.com/rust-bitcoin/rust-bitcoin/pull/4511) |
| 22 | + * Improve lock times - fix off-by-one bug [#4468](https://github.com/rust-bitcoin/rust-bitcoin/pull/4468) |
| 23 | + * Do lock time renames [#4462](https://github.com/rust-bitcoin/rust-bitcoin/pull/4462) |
| 24 | +* Make block-related types have private inner fields [#4508](https://github.com/rust-bitcoin/rust-bitcoin/pull/4508) |
| 25 | +* `Timestamp`/`BlockTime` |
| 26 | + * Add `Timestamp` newtype [#4092](https://github.com/rust-bitcoin/rust-bitcoin/pull/4092) |
| 27 | + * Rename then new `Timestamp` type to `BlockTime` [#4219](https://github.com/rust-bitcoin/rust-bitcoin/pull/4219) |
| 28 | +* Add µBTC as a recognized str form of a `MicroBitcoin` `Denomination` [#3943](https://github.com/rust-bitcoin/rust-bitcoin/pull/3943) |
| 29 | +* Remove `InputString` from the public API [#3905](https://github.com/rust-bitcoin/rust-bitcoin/pull/3905) |
| 30 | +* Hide the remaining public macros [#3867](https://github.com/rust-bitcoin/rust-bitcoin/pull/3867) |
| 31 | +* Change method return type for `to_unsigned()` [#3769](https://github.com/rust-bitcoin/rust-bitcoin/pull/3769) |
| 32 | +* Change paramater type used for whole bitcoin [#3744](https://github.com/rust-bitcoin/rust-bitcoin/pull/3744) |
| 33 | +* Add `Weight::to_kwu_ceil` [#3740](https://github.com/rust-bitcoin/rust-bitcoin/pull/3740) |
| 34 | +* Replace `String` with `InputString` [#3559](https://github.com/rust-bitcoin/rust-bitcoin/pull/3559) |
| 35 | + |
| 36 | +## Changes relate to error types |
| 37 | + |
| 38 | +* Close the hex parse errors [#3673](https://github.com/rust-bitcoin/rust-bitcoin/pull/3673) |
| 39 | + |
| 40 | +## Improved support for `Arbitrary` |
| 41 | + |
| 42 | +* Implement `Arbitrary` for `units` types [#3777](https://github.com/rust-bitcoin/rust-bitcoin/pull/3777) |
| 43 | +* Add `Arbitrary` to `Weight` [#3257](https://github.com/rust-bitcoin/rust-bitcoin/pull/3257) |
6 | 44 |
|
7 | 45 | # 0.2.0 - 2024-09-18 |
8 | 46 |
|
|
0 commit comments