diff --git a/CHANGELOG.md b/CHANGELOG.md index ccc5cd4d..bd640aca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ ## Changelog +### v1.4.6 (2024-03-28) + +* Add function `mean` (or `average`) to compute the mean value of probability + distributions (by [haykam821](https://github.com/haykam821)). For example: + + ``` + > mean(d6) + 7 + > average(1d20 + 5) + 15.5 + ``` +* Add units `nibble` (4 bits) and `U` (rack units, equal to `1.75 inches`) +* Serialised variables are now compatible between 32-bit and 64-bit platforms +* Fix bug where calculating very large roman numerals could crash + the application + ### v1.4.5 (2024-03-13) * Add support for converting numbers to roman numerals (e.g. diff --git a/Cargo.lock b/Cargo.lock index 3d7bfa38..00d4cb35 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -126,7 +126,7 @@ dependencies = [ [[package]] name = "fend" -version = "1.4.5" +version = "1.4.6" dependencies = [ "ctrlc", "fend-core", @@ -142,11 +142,11 @@ dependencies = [ [[package]] name = "fend-core" -version = "1.4.5" +version = "1.4.6" [[package]] name = "fend-wasm" -version = "1.4.5" +version = "1.4.6" dependencies = [ "fend-core", "instant", diff --git a/Cargo.toml b/Cargo.toml index 0f40125a..bc2c7bc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["cli", "core", "wasm"] resolver = "2" [workspace.package] -version = "1.4.5" +version = "1.4.6" description = "Arbitrary-precision unit-aware calculator" edition = "2021" homepage = "https://github.com/printfn/fend" @@ -13,7 +13,7 @@ categories = ["command-line-utilities", "mathematics", "science"] license = "MIT" [workspace.dependencies] -fend-core = { version = "1.4.5", path = "core" } +fend-core = { version = "1.4.6", path = "core" } [profile.release] lto = true