diff --git a/CHANGELOG.md b/CHANGELOG.md index bd640aca..5b2ed9fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ ## Changelog +### v1.4.7 (2024-05-04) + +* Add Japanese units `shaku`, `tsubo` and `tatami` +* Significantly improve performance when calculating powers with + decimal numbers, e.g. `e^27.2` +* Revamp fend's web UI: it is now built with React and runs calculations + in a background thread. This fixes the timeout issues that used to affect + long-running calculations. +* Fix a bug where variable serialisation could cause numbers to be negated. This + only affected fend-wasm and fend-web but could lead to incorrect results + when using variables across multiple calculations. +* Add some custom TypeScript definitions to fend-wasm. + ### v1.4.6 (2024-03-28) * Add function `mean` (or `average`) to compute the mean value of probability diff --git a/Cargo.lock b/Cargo.lock index 091e2e75..9535c1f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -126,7 +126,7 @@ dependencies = [ [[package]] name = "fend" -version = "1.4.6" +version = "1.4.7" dependencies = [ "ctrlc", "fend-core", @@ -142,11 +142,11 @@ dependencies = [ [[package]] name = "fend-core" -version = "1.4.6" +version = "1.4.7" [[package]] name = "fend-wasm" -version = "1.4.6" +version = "1.4.7" dependencies = [ "fend-core", "instant", diff --git a/Cargo.toml b/Cargo.toml index bc2c7bc6..5cecc42f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["cli", "core", "wasm"] resolver = "2" [workspace.package] -version = "1.4.6" +version = "1.4.7" 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.6", path = "core" } +fend-core = { version = "1.4.7", path = "core" } [profile.release] lto = true diff --git a/web/package-lock.json b/web/package-lock.json index 3dd7e99e..848e0fcb 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "fend-web", "version": "0.0.0", + "license": "MIT", "dependencies": { "fend-wasm": "file:../wasm/pkg-fend-web", "react": "^18.3.1", diff --git a/web/package.json b/web/package.json index 8fb3bff1..b607d12c 100644 --- a/web/package.json +++ b/web/package.json @@ -2,6 +2,7 @@ "name": "fend-web", "private": true, "version": "0.0.0", + "description": "Arbitrary-precision unit-aware calculator", "type": "module", "scripts": { "dev": "vite", @@ -25,5 +26,15 @@ "prettier": "^3.2.5", "typescript": "^5.4.5", "vite": "^5.2.11" - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/printfn/fend.git" + }, + "author": "printfn", + "license": "MIT", + "bugs": { + "url": "https://github.com/printfn/fend/issues" + }, + "homepage": "https://github.com/printfn/fend#readme" }