@@ -5,181 +5,208 @@ Notable changes to this project are documented in this file. The format is based
5
5
## [ Unreleased]
6
6
7
7
Breaking changes (😱!!!):
8
- - Non-empty combinators return ` NonEmptyList ` ([ #102 ] ( https://github.com/purescript-contrib/purescript-parsing/pull/102 ) )
8
+ - Improved performance of ` string ` and update ` StringLike ` to have ` stripPrefix ` as a class member instead of ` indexOf ` (#93 )
9
+ - Non-empty combinators now return ` NonEmptyList ` (#102 )
10
+ - Added support for PureScript 0.14 and dropped support for all previous versions (#101 )
9
11
10
12
New features:
13
+ - Derived ` Generic ` instance of Position (#87 )
11
14
12
15
Bugfixes:
13
16
14
17
Other improvements:
18
+ - Updated code to use ` Data.Char.Unicode.hexDigitToInt ` and ` Data.Char.Unicode.isDecDigit ` instead of` Data.Char.Unicode.digitToInt ` and ` Data.Char.Unicode.isDigit ` , as those two functions have been deprecated in the ` unicode ` library (#103 )
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 (#98 )
15
21
16
22
## [ v5.1.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.1.0 ) - 2020-10-08
17
23
18
24
New features:
19
- - Adds a ` region ` function similar to the [ function of the same name in megaparsec] ( https://hackage.haskell.org/package/megaparsec-9.0.0/docs/Text-Megaparsec.html#v:region ) which specifies how to process ` ParseError ` s which occur inside the indicated region (@jamesdbrock in #97 and #96 ).
25
+
26
+ - Added a ` region ` function similar to the [ function of the same name in megaparsec] ( https://hackage.haskell.org/package/megaparsec-9.0.0/docs/Text-Megaparsec.html#v:region ) which specifies how to process ` ParseError ` s which occur inside the indicated region (@jamesdbrock in #97 and #96 ).
20
27
21
28
Bugfixes:
22
- - Fixes the token definitions for the Java language parser (@matoruru in #86 )
29
+
30
+ - Fixed the token definitions for the Java language parser (@matoruru in #86 )
23
31
24
32
## [ v5.0.3] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.0.3 ) - 2019-05-06
25
33
26
34
Other improvements:
27
- - Update escape sequences to match parsing in the latest version of the PureScript compiler (@natefaubion )
28
- - Docs: Add a documentation comment about stack safety (@Dretch )
35
+
36
+ - Updated escape sequences to match parsing in the latest version of the PureScript compiler (@natefaubion )
37
+ - Added a documentation comment about stack safety (@Dretch )
29
38
30
39
## [ v5.0.2] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.0.2 ) - 2018-11-15
31
40
32
41
Bugixes:
33
- - Docs: Update typos in readme and documentation (@justinwoo , @rndnoise )
42
+
43
+ - Docs: Updated typos in readme and documentation (@justinwoo , @rndnoise )
34
44
35
45
## [ v5.0.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.0.1 ) - 2018-06-23
36
46
37
47
Other improvements:
38
- - Adds metadata including contributor guidelines
39
- - Pushes latest release to Pursuit
48
+
49
+ - Added metadata including contributor guidelines and pushed latest release to Pursuit
40
50
41
51
## [ v5.0.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v5.0.0 ) - 2018-06-19
42
52
43
53
Breaking changes:
44
- - Updated for PureScript 0.12
54
+
55
+ - Updated for PureScript 0.12
45
56
46
57
## [ v4.3.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.3.1 ) - 2017-08-08
47
58
48
59
Bugfixes:
49
- - Fixed shadowed name warnings
60
+
61
+ - Fixed shadowed name warnings
50
62
51
63
## [ v4.3.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.3.0 ) - 2017-07-26
52
64
53
65
New features:
54
- - Added ` tryRethrow ` and improved error messages for ` satisfy ` and ` when ` (@natefaubion )
66
+
67
+ - Added ` tryRethrow ` and improved error messages for ` satisfy ` and ` when ` (@natefaubion )
55
68
56
69
## [ v4.2.2] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.2.2 ) - 2017-06-03
57
70
58
71
Bufixes:
59
- - Fix some issues with error messages (@safareli )
72
+
73
+ - Fixed some issues with error messages (@safareli )
60
74
61
75
## [ v4.2.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.2.1 ) - 2017-04-25
62
76
63
77
Bufixes:
64
- - ` mapParserT ` is now exported (@safareli )
78
+
79
+ - ` mapParserT ` is now exported (@safareli )
65
80
66
81
## [ v4.2.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.2.0 ) - 2017-04-24
67
82
68
83
New features:
69
- - Add ` mapParserT ` (@safareli )
84
+
85
+ - Add ` mapParserT ` (@safareli )
70
86
71
87
## [ v4.1.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.1.0 ) - 2017-04-16
72
88
73
89
Other improvements:
74
- - Add ` Semigroup ` and ` Monoid ` instances (@i-am-tom )
90
+
91
+ - Add ` Semigroup ` and ` Monoid ` instances (@i-am-tom )
75
92
76
93
## [ v4.0.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v4.0.0 ) - 2017-04-05
77
94
78
95
Breaking changes:
79
- - Updates for 0.11 compiler
96
+
97
+ - Updates for 0.11 compiler
80
98
81
99
## [ v3.2.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v3.2.1 ) - 2017-02-15
82
100
83
101
Other improvements:
84
- - Avoid Discard constraints (@mlang )
102
+
103
+ - Avoid Discard constraints (@mlang )
85
104
86
105
## [ v3.2.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v3.2.0 ) - 2017-01-16
87
106
88
107
Bugfixes:
89
- - Fix some ` Show ` instances (@mlang )
108
+
109
+ - Fix some ` Show ` instances (@mlang )
90
110
91
111
## [ v3.1.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v3.1.0 ) - 2016-12-19
92
112
93
113
New features:
94
- - Added ` hoistParserT `
95
- - Un-applied the ` Parser ` synonym
114
+
115
+ - Added ` hoistParserT `
116
+ - Un-applied the ` Parser ` synonym
96
117
97
118
## [ v3.0.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v3.0.1 ) - 2016-11-17
98
119
99
120
Bugfixes:
100
- - Fixed shadowed name warning (@tmcgilchrist )
121
+
122
+ - Fixed shadowed name warning (@tmcgilchrist )
101
123
102
124
## [ v2.0.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v2.0.0 ) - 2016-10-27
103
125
104
126
Breaking changes:
105
- - Updates for 0.10 compiler
106
- - Switch to ` transformers ` -based API, add new instances
107
- - Use some more efficient data types
108
- - Add port of ` indents ` Haskell package (@starkstark )
109
- - Switch to BSD 3-clause license to be compatible with ported Haskell code
127
+
128
+ - Updated for PureScript 0.10
129
+ - Switch to ` transformers ` -based API, add new instances
130
+ - Use some more efficient data types
131
+ - Add port of ` indents ` Haskell package (@starkstark )
132
+ - Switched to BSD 3-clause license to be compatible with ported Haskell code
110
133
111
134
## [ v1.0.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v1.0.0 ) - 2016-06-10
112
135
113
136
Breaking changes:
114
- - Updates for the 1.0 core libraries.
137
+
138
+ - Updated for the 1.0 core libraries.
115
139
116
140
## [ v0.8.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.8.1 ) - 2016-05-18
117
141
118
142
Other improvements:
119
- - Added ` Eq ` instance for ` ParseError ` (@triggerNZ )
143
+
144
+ - Added ` Eq ` instance for ` ParseError ` (@triggerNZ )
120
145
121
146
## [ v0.8.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.8.0 ) - 2016-02-21
122
147
123
148
New features:
124
- - Added ` Language ` and ` Token ` modules, ported from Parsec (@cdepillabout )
149
+
150
+ - Added ` Language ` and ` Token ` modules, ported from Parsec (@cdepillabout )
125
151
126
152
## [ v0.7.2] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.7.2 ) - 2016-01-21
127
153
128
154
Bugfixes:
129
- - Fixed warnings raised by psc 0.7.6.1 (@hdgarrood )
155
+
156
+ - Fixed warnings raised by psc 0.7.6.1 (@hdgarrood )
130
157
131
158
## [ v0.7.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.7.1 ) - 2015-10-28
132
159
133
160
Other improvements:
134
- - improve error message (@epost )
161
+
162
+ - Improved error message (@epost )
135
163
136
164
## [ v0.7.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.7.0 ) - 2015-09-18
137
165
138
166
Other improvements:
139
- - Bump ` transformers ` dependency.
167
+
168
+ - Bumped ` transformers ` dependency.
140
169
141
170
## [ v0.6.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.6.1 ) - 2015-08-26
142
171
143
172
This release requires the upcoming 0.7.4.0 release of the PureScript compiler. Previous versions of this library will _ not_ work with ` psc ` versions <= 0.7.3.0.
144
173
145
174
Breaking changes:
146
- - Updated to ` transformers-0.7 ` .
175
+
176
+ - Updated to ` transformers-0.7 ` .
147
177
148
178
## [ v0.5.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.5.1 ) - 2015-08-18
149
179
150
180
Other improvements:
151
- - Updated documentation (@kRITZCREEK )
181
+
182
+ - Updated documentation (@kRITZCREEK )
152
183
153
184
## [ v0.5.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.5.0 ) - 2015-08-13
154
185
155
186
Other improvements:
156
- - Bump dependencies
157
187
158
- ## [ v0.4.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.4.0 ) - 2015-06-30
159
-
160
- This release works with versions 0.7.\* of the PureScript compiler. It will not work with older versions. If you are using an older version, you should require an older, compatible version of this library.
188
+ - Bump dependencies
161
189
162
- ## [ v0.4.0-rc.1 ] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.4.0-rc.1 ) - 2015-06-12
190
+ ## [ v0.4.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.4.0 ) - 2015-06-30
163
191
164
- Initial release for the 0.7 compiler version.
192
+ - Updated for PureScript 0.7. This release works with versions 0.7. \* of the PureScript compiler. It will not work with older versions. If you are using an older version, you should require an older, compatible version of this library .
165
193
166
194
## [ v0.3.1] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.3.1 ) - 2015-03-04
167
195
168
- Add ` token ` , ` match ` and ` when ` (@cryogenian )
196
+ - Added ` token ` , ` match ` and ` when ` (@cryogenian )
169
197
170
198
## [ v0.3.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.3.0 ) - 2015-02-21
171
199
172
- ** This release requires PureScript v0.6.8 or later**
173
- - Updated dependencies
200
+ - Updated dependencies. ** Note: This release requires PureScript v0.6.8 or later**
174
201
175
202
## [ v0.2.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.2.0 ) - 2015-01-10
176
203
177
- - Update dependencies (@garyb )
204
+ - Updated dependencies (@garyb )
178
205
179
206
## [ v0.1.4] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.1.4 ) - 2014-11-18
180
207
181
- Bump for ` Identity ` changes.
208
+ - Bumped for ` Identity ` changes.
182
209
183
210
## [ v0.1.0] ( https://github.com/purescript-contrib/purescript-parsing/releases/tag/v0.1.0 ) - 2014-08-11
184
211
185
- Initial semver release.
212
+ - Initial semver release.
0 commit comments