You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,15 @@
9
9
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
10
10
11
11
-`Channels` has been upgraded to version 0.16.0, for information on how to upgrade visit https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v0.16.0
12
+
-`Quantity` objects are no longer hashable. This is because of the pitfalls of hashing `float` values.
12
13
13
14
## New Features
14
15
15
16
- Add `abs()` support for quantities.
16
17
- Add quantity class `Frequency` for frequency values.
17
18
- Quantities can now be multiplied with `Percentage` types.
18
-
-`FormulaEngine` arithmetics now supports scalar multiplication with floats and addition with Quantities
19
+
-`FormulaEngine` arithmetics now supports scalar multiplication with floats and addition with Quantities.
20
+
- Add a `isclose()` method on quantities to compare them to other values of the same type. Because `Quantity` types are just wrappers around `float`s, direct comparison might not always be desirable.
0 commit comments