Skip to content

Commit b70c160

Browse files
committed
Update changelog
1 parent 6799454 commit b70c160

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

HISTORY.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
## 0.12.0
22

3-
- Removed the constructors `VarName(vn, optic)` (this wasn't deprecated, but was dangerous as it would silently discard the existing optic in `vn`), and `VarName(vn, ::Tuple)` (which was deprecated).
4-
- In the inner constructor of a VarName, its optic is now normalised to ensure that the associativity of ComposedFunction is always the same, and that compositions with identity are removed. This helps to prevent subtle bugs where VarNames with semantically equal optics are not considered equal.
3+
### VarName constructors
4+
5+
Removed the constructors `VarName(vn, optic)` (this wasn't deprecated, but was dangerous as it would silently discard the existing optic in `vn`), and `VarName(vn, ::Tuple)` (which was deprecated).
6+
7+
### Optic normalisation
8+
9+
In the inner constructor of a VarName, its optic is now normalised to ensure that the associativity of ComposedFunction is always the same, and that compositions with identity are removed.
10+
This helps to prevent subtle bugs where VarNames with semantically equal optics are not considered equal.
11+
12+
## 0.11.0
13+
14+
Added the `prefix(vn::VarName, vn_prefix::VarName)` and `unprefix(vn::VarName, vn_prefix::VarName)` functions.

0 commit comments

Comments
 (0)