@@ -5,22 +5,29 @@ Notable changes to this project are documented in this file. The format is based
5
5
## [ Unreleased]
6
6
7
7
Breaking changes (😱!!!):
8
+ - Added support for PureScript 0.14 and dropped support for all previous versions (#122 , #123 )
9
+ - Removed ` (++~) ` and ` (++=) ` operators, as they are meant to mimic the long-removed ` (++) ` in ` prelude ` (#58 )
8
10
9
11
New features:
12
+ - Added ` unto ` (#93 )
13
+ - Added affine traversals (#112 )
10
14
11
15
Bugfixes:
16
+ - Fixed ` collectOf ` in the ` Grate ` module (#63 )
12
17
13
18
Other improvements:
19
+ - Changed default branch to ` main ` from ` master `
20
+ - Updated to comply with Contributors library guidelines by adding new issue and pull request templates, updating documentation, and migrating to Spago for local development and CI (#108 , #121 )
14
21
15
22
## [ v6.3.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v6.3.0 ) - 2020-02-10
16
23
17
24
This release includes a number of small but meaningful improvements to the library:
18
25
19
- - Makes ` indexList ` more efficient and adds an ` Index ` instance for ` List ` (@cscalfani )
20
- - Adds a re-export for ` ATraversal ` and ` ATraversal' ` (@pbrant )
21
- - Adds a new function, ` simple ` , which can be used to restrict the type of an optic to aid type inference (@LiamGoodacre )
22
- - Adds a new ` lensStore ` function which can be used to construct a lens when a type appears under every constructor in a sum type (@LiamGoodacre )
23
- - Adds ` toArrayOf ` and ` toArrayOfOn ` which behave like the existing ` toListOf ` and ` toListOfOn ` optics, but for arrays (@dwhitney )
26
+ - Made ` indexList ` more efficient and added an ` Index ` instance for ` List ` (@cscalfani )
27
+ - Added a re-export for ` ATraversal ` and ` ATraversal' ` (@pbrant )
28
+ - Added a new function, ` simple ` , which can be used to restrict the type of an optic to aid type inference (@LiamGoodacre )
29
+ - Added a new ` lensStore ` function which can be used to construct a lens when a type appears under every constructor in a sum type (@LiamGoodacre )
30
+ - Added ` toArrayOf ` and ` toArrayOfOn ` which behave like the existing ` toListOf ` and ` toListOfOn ` optics, but for arrays (@dwhitney )
24
31
25
32
## [ v6.2.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v6.2.0 ) - 2019-04-08
26
33
@@ -40,7 +47,7 @@ This release includes a number of small but meaningful improvements to the libra
40
47
41
48
## [ v5.0.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v5.0.0 ) - 2018-10-15
42
49
43
- - Make Getters compose and define AGetter/cloneGetter (@LiamGoodacre )
50
+ - Made Getters compose and define AGetter/cloneGetter (@LiamGoodacre )
44
51
45
52
## [ v4.0.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v4.0.0 ) - 2018-05-25
46
53
@@ -52,55 +59,55 @@ This release includes a number of small but meaningful improvements to the libra
52
59
53
60
## [ v3.7.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v3.7.0 ) - 2017-09-13
54
61
55
- - Add ` takeBoth ` (@coot )
62
+ - Added ` takeBoth ` (@coot )
56
63
57
64
## [ v3.6.1] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v3.6.1 ) - 2017-08-31
58
65
59
- - Add explicit ` foldable-traversable ` dependency
66
+ - Added explicit ` foldable-traversable ` dependency
60
67
61
68
## [ v3.6.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v3.6.0 ) - 2017-08-13
62
69
63
- - Add ` Monoid Forget ` instance (@joneshf )
70
+ - Added ` Monoid Forget ` instance (@joneshf )
64
71
65
72
## [ v3.5.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v3.5.0 ) - 2017-08-13
66
73
67
- - Add ` Closed Tagged ` instance (@joneshf )
74
+ - Added ` Closed Tagged ` instance (@joneshf )
68
75
69
76
## [ v3.4.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v3.4.0 ) - 2017-07-31
70
77
71
- - Use ` purescript-record ` (@coot )
78
+ - Now uses ` purescript-record ` (@coot )
72
79
73
80
## [ v3.3.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v3.3.0 ) - 2017-07-27
74
81
75
- - Add ` iforOf ` , ` iforOf_ ` , ` itraversed ` and ` reindexed ` (@Rufflewind )
82
+ - Added ` iforOf ` , ` iforOf_ ` , ` itraversed ` and ` reindexed ` (@Rufflewind )
76
83
77
84
## [ v3.2.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v3.2.0 ) - 2017-04-13
78
85
79
- - Add ` prop ` lenses for record fields.
86
+ - Added ` prop ` lenses for record fields.
80
87
81
88
## [ v3.1.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v3.1.0 ) - 2017-04-12
82
89
83
- - Add ` Grate ` and corresponding functions.
90
+ - Added ` Grate ` and corresponding functions.
84
91
85
92
## [ v3.0.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v3.0.0 ) - 2017-04-02
86
93
87
- - Updates for 0.11.1
94
+ - Updated for 0.11.1
88
95
89
96
## [ v2.5.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v2.5.0 ) - 2017-01-16
90
97
91
- - Add ` unsafeView ` and ` unsafeIndexedFold ` (@boothead )
98
+ - Added ` unsafeView ` and ` unsafeIndexedFold ` (@boothead )
92
99
93
100
## [ v2.4.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v2.4.0 ) - 2017-01-13
94
101
95
- - Add indexed lenses (@Roxxik )
102
+ - Added indexed lenses (@Roxxik )
96
103
97
104
## [ v2.3.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v2.3.0 ) - 2016-12-20
98
105
99
- - Export ` traverseOf_ ` (@Roxxik )
106
+ - Exported ` traverseOf_ ` (@Roxxik )
100
107
101
108
## [ v2.1.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v2.1.0 ) - 2016-10-31
102
109
103
- - Add ` asIndex ` (@puffnfresh )
110
+ - Added ` asIndex ` (@puffnfresh )
104
111
105
112
## [ v2.0.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v2.0.0 ) - 2016-10-22
106
113
@@ -111,44 +118,40 @@ This release includes a number of small but meaningful improvements to the libra
111
118
112
119
## [ v1.0.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v1.0.0 ) - 2016-06-02
113
120
114
- - Updates for 1.0 core libraries.
115
-
116
- ## [ v1.0.0-rc.1] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v1.0.0-rc.1 ) - 2016-05-21
117
-
118
- - Release candidate for the PureScript 0.9 compiler.
121
+ - Updated for 1.0 core libraries and PureScript 0.9
119
122
120
123
## [ v0.5.4] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.5.4 ) - 2016-05-02
121
124
122
- - Update bower.json (@hdgarrood )
125
+ - Updated ` bower.json ` (@hdgarrood )
123
126
124
127
## [ v0.5.3] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.5.3 ) - 2016-04-24
125
128
126
- - Export ` iover ` (@nathanfaubion )
129
+ - Exported ` iover ` (@nathanfaubion )
127
130
128
131
## [ v0.5.2] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.5.2 ) - 2016-04-21
129
132
130
133
- Added ` Wander ` instance to ` Indexed ` (@tslawler )
131
134
132
135
## [ v0.5.1] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.5.1 ) - 2016-04-16
133
136
134
- - Export ` itraverseOf ` and ` element ` (@zrho )
137
+ - Exported ` itraverseOf ` and ` element ` (@zrho )
135
138
136
139
## [ v0.5.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.5.0 ) - 2016-02-27
137
140
138
- - Convert functions to ` Forget ` , including ` to ` (@zrho )
141
+ - Converted functions to ` Forget ` , including ` to ` (@zrho )
139
142
140
143
## [ v0.4.2] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.4.2 ) - 2016-01-28
141
144
142
- - Add ` IndexedTraversal ` and friends (@zrho )
145
+ - Added ` IndexedTraversal ` and friends (@zrho )
143
146
144
147
## [ v0.4.1] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.4.1 ) - 2016-01-24
145
148
146
149
- Fixed behaviour of ` Data.Lens.Fold.minimumOf ` (@scott-christopher )
147
150
148
151
## [ v0.4.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.4.0 ) - 2016-01-12
149
152
150
- - Add ` zoom ` and ` MonadState ` combinators.
151
- - Add ` Re ` profunctor to turn around isos into isos, lenses into reviews, etc.
153
+ - Added ` zoom ` and ` MonadState ` combinators.
154
+ - Added ` Re ` profunctor to turn around isos into isos, lenses into reviews, etc.
152
155
153
156
By @zrho
154
157
@@ -158,7 +161,7 @@ By @zrho
158
161
159
162
## [ v0.3.4] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.3.4 ) - 2015-11-07
160
163
161
- - Reexport ` first ` , ` second ` , ` left ` and ` right ` .
164
+ - Reexported ` first ` , ` second ` , ` left ` and ` right ` .
162
165
163
166
## [ v0.3.3] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.3.3 ) - 2015-11-02
164
167
@@ -173,19 +176,19 @@ By @zrho
173
176
174
177
## [ v0.3.1] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.3.1 ) - 2015-10-29
175
178
176
- - Add ` At ` and ` Index ` (@jonsterling )
179
+ - Added ` At ` and ` Index ` (@jonsterling )
177
180
178
181
## [ v0.3.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.3.0 ) - 2015-09-23
179
182
180
183
- Generalize ` Wander `
181
- - Add standard lenses, traversals and folds
184
+ - Added standard lenses, traversals and folds
182
185
183
186
by @zrho
184
187
185
188
## [ v0.2.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.2.0 ) - 2015-09-13
186
189
187
- - Add functions based on ` purescript-lens ` and ` purescript-optic ` (@zrho )
190
+ - Added functions based on ` purescript-lens ` and ` purescript-optic ` (@zrho )
188
191
189
192
## [ v0.1.0] ( https://github.com/purescript-contrib/purescript-profunctor-lenses/releases/tag/v0.1.0 ) - 2015-09-06
190
193
191
- Initial release
194
+ - Initial release
0 commit comments