-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCHANGELOG
57 lines (44 loc) · 1.73 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
1.0.0
+ Lens.recur_root for recursive lenses that also focus on the to item
~ Fix missing typespec on Lens.into
0.9.0
~ Elixir requirement set to 1.5
+ Lens now exports formatter settings to make deflens(p) behave like def(p)
0.8.0
+ Add Lens.put as Lens-first alternative to Kernel.put_in
+ Add Lens.filter/1 for defining aliases for filters with deflens
0.7.0
+ Add Lens.either as fallback for empty lens and upsert behaviour
0.6.0
- Remove get as it was easy to create bugs with it
+ Add Lens.one! to both fetch a single element and assert that there is only one
+ Add Lens.context for fetching {context, part} pairs
0.5.0
~ Lens.satisfy is deprecated
~ Lens.filter does what satisfy used to do. Use Lens.all |> Lens.filter to emulate the old behavior
+ Lens.reject as a counterpart to Lens.filter
+ Lens.key?/Lens.keys? that ignore missing keys
0.4.0
~ Make the values returned from `recur` follow the part -> whole pattern
+ Lens.map_keys and Lens.map_values for working with maps
0.3.1
~ Fix warnings on Elixir 1.4.0
0.3.0
+ Lens.const for defining lenses that always focus on the same value
+ Lens.into for lenses that can collect into a specific Collectable on update
0.2.0
+ deflensp for easily defining private lenses
+ Lens.back for focusing after the end of a list
+ Lens.front for focusing before the beginning of a list
+ Lens.behind for focusing after an element in a list
+ Lens.before for focusing before an element in a list
+ Lens.multiple for combining many lenses
+ Lens.indices for focusing on many indices at once
0.1.1
~ Fixed typespec for Lens.at
0.1.0
+ Ability to use Lens with Access/get_in/update_in/get_and_update_in
~ Swap the order of arguments so that the Lens.t is the first argument in Lens
functions
0.0.1
~ Initial release