diff --git a/NEWS.md b/NEWS.md index 78dc491f..36804ad1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,12 @@ # Unitful.jl changelog +## v1.20.0 (2024-05-17) + +* ![Feature:](https://img.shields.io/badge/-feature-green) `isapprox` with arrays of quantities now supports the `nans` keyword argument ([#719](https://github.com/PainterQubits/Unitful.jl/pull/719)). +* ![Bugfix:](https://img.shields.io/badge/-bugfix-purple) `isapprox` with arrays of quantities now calculates the default `rtol` correctly, i.e., `rtol` defaults to zero if a positive `atol` is specified, like in the scalar or unitless case ([#719](https://github.com/PainterQubits/Unitful.jl/pull/719)). +* ![Bugfix:](https://img.shields.io/badge/-bugfix-purple) `isapprox` with arrays of quantities now checks whether `norm(x-y) ≤ max(atol, rtol*max(norm(x), norm(y)))`, like in the scalar or unitless case, instead of `norm(x-y) ≤ atol + rtol*max(norm(x), + norm(y))` ([#719](https://github.com/PainterQubits/Unitful.jl/pull/719)). + ## v1.19.1 (2024-05-13) * ![Bugfix:](https://img.shields.io/badge/-bugfix-purple) Broadcasting `upreferred`, `ustrip`, or a unit (when used as a conversion function) over ranges now works correctly again ([#711](https://github.com/PainterQubits/Unitful.jl/pull/711), [#715](https://github.com/PainterQubits/Unitful.jl/pull/715)). diff --git a/Project.toml b/Project.toml index cf6eb329..a6a75534 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Unitful" uuid = "1986cc42-f94f-5a68-af5c-568840ba703d" -version = "1.19.1" +version = "1.20.0" [deps] ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9"