Skip to content

Commit b80ab85

Browse files
authored
Release v1.20.0 (#722)
1 parent efc3802 commit b80ab85

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

NEWS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Unitful.jl changelog
22

3+
## v1.20.0 (2024-05-17)
4+
5+
* ![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)).
6+
* ![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)).
7+
* ![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),
8+
norm(y))` ([#719](https://github.com/PainterQubits/Unitful.jl/pull/719)).
9+
310
## v1.19.1 (2024-05-13)
411

512
* ![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)).

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Unitful"
22
uuid = "1986cc42-f94f-5a68-af5c-568840ba703d"
3-
version = "1.19.1"
3+
version = "1.20.0"
44

55
[deps]
66
ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9"

0 commit comments

Comments
 (0)