3.0 KiB
3.0 KiB
Unreleased
-
TODO: Make a comment about
Amount::MAX_MONEYincluding breaking serde -
Use MAX_MONEY in serde regression test #3950
0.2.0 - 2024-09-18
- Bump MSRV to 1.63.0 #3100
- Remove re-export of
ParseIntError#3069 - Improve docs #2957
- Fix
Amountdecimals handling #2951 - Remove
Denomination::MilliSatoshi#2870 - Document that the implementation of
DisplayforAmountis unstable #3323 - Add a condition for parsing zero from string when not denominated #3346
- Enforce displaying
Amountwith trailing zeros #2604 - Fix
Amountdecimals handling #2951 - Error instead of panic when
Time::from_second_ceilinput is too large #3052 - Remove re-export of
ParseIntError#3069 - Add
FeeRateaddition and subtraction traits #3381 - Add
BlockHeightandBlockIntervaltypes #2615
Additional test infrastructure:Arbitrary
This release we started adding implementations of
arbitrary::Arbitrary.
Types implemented: Amount, SignedAmount, FeeRate, and Weight.
In the following PRs:
0.1.2 - 2024-07-01
- Remove enable of
allocfeature in theinternalsdependency.
Note, the bug fixed by this release was introduced in
#2655 and
was incorrect because we have an alloc feature that enables
internals/alloc.
v0.1.1 will be yanked for this reason.
0.1.1 - 2024-04-04
- Enable "alloc" feature for
internalsdependency - enables caching of parsed input strings in a couple ofamounterror types.
0.1.0 - Initial Release - 2024-04-03
Initial release of the bitcoin-units crate. These unit types are
integer wrapper types used by the rust-bitcoin ecosystem. Note
please that this release relies heavily on the "alloc" feature.
The main types are:
Amountlocktime::absolute::{Height, Time}locktime::relative::{Height, Time}FeeRateWeight
0.0.0 - Placeholder release
Empty crate to reserve the name on crates.io