-
Notifications
You must be signed in to change notification settings - Fork 86
/
CHANGELOG
194 lines (151 loc) · 6.8 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
Version 2.5.1 (2023-10-09)
--------------------------
- Upgraded to Scala 3.3.1, 2.13.12 and 2.12.18
- Upgraded to ScalaJS 1.14.0
- Upgraded to Scala native 0.4.15
- Added `Automatic-Module-Name` to MANIFEST.INF (#498, thank you, @mlischetti!)
Version 2.5.0 (2023-05-24)
--------------------------
- Upgraded to Scala 3.3.0, 2.13.10 and 2.12.17
- Upgraded to ScalaJS 1.13.1
- Upgraded to Scala native 0.4.12
- Changed `CharPredicate` to not extend `Char => Boolean` anymore (#417)
- Reduced allocations by increased reuse of ValueStack (#416)
- Fixed DynamicRuleDispatch to work with Scala 3 (#426)
Version 2.4.1 (2022-11-02)
--------------------------
- Re-enabled cross-building for scala native 0.4.7
- Upgraded to Scala 3.2.1, 2.13.10 and 2.12.17
- Fixed zeroOrMore unnecessary builder instantiation (#319, thank you, @yanns!)
Version 2.4.0 (2022-02-24)
--------------------------
- Upgraded to ScalaJS 1.9.0
- Added cross-building for Scala 3
- (Temporarily?) dropped cross-building for scala-native
Version 2.3.0 (2021-04-26)
--------------------------
- Upgraded to ScalaJS 1.5.1
- Added cross-building for scala-native 0.4.0
Version 2.2.1 (2020-09-21)
--------------------------
- Upgraded to ScalaJS 1.2.0
Version 2.2.0 (2020-03-02)
--------------------------
- Upgraded to ScalaJS 1.0.0
- Dropped support for Scala 2.11
- Dropped support for scala-native (for now)
Version 2.1.8 (2019-07-24)
--------------------------
- Fixed compiler warnings on Scala 2.13
Version 2.1.7 (2019-06-21)
--------------------------
- Fixed Base64Parsing for blocks and extra characters (thank you, @rossabaker!)
- Upgraded to scala.js 0.6.28
- Build for Scala 2.13.0 and scala-native 0.3.9
Version 2.1.6 (2019-05-03)
--------------------------
- Upgraded to scala.js 0.6.27
- Upgraded to SBT 1.2.8
- Build for scala-native 0.3.9
- Build for Scala 2.13.0-RC1
Version 2.1.5 (2018-09-14)
--------------------------
- Fixed `valueMap` not matching longest key first (#136)
- Added `valueMap` with `ignoreCase`
- Upgraded to Scala.js 0.6.24
- Build for Scala 2.13.0-M4
Version 2.1.4 (2017-01-24)
--------------------------
- Fixed `andNot` implementation (#167)
- Fixed Scala.js build for Scala 2.12.
- Upgrade to Scala.js 0.6.14
Version 2.1.3 (2016-04-26)
--------------------------
- Added support for Scala.js (thx to Victor Hiairrassary for the patch!)
Version 2.1.2 (2016-02-29)
--------------------------
- Upgraded to shapeless 2.3.0
Version 2.1.1 (2016-02-01)
--------------------------
- Upgraded to Scala 2.11.7 and shapeless 2.2.5
- Fixed `StringIndexOutOfBoundsException` in `ParserInput` (#138)
- Removed left-over `printStackTrace` (#157)
- Enable repetition range definition via val (#153)
- Added OSGi manifests via sbt-osgi plugin
Version 2.1.0 (2015-02-18)
--------------------------
- Upgraded to Scala 2.11.5 and shapeless 2.1.0
- Fixed `Invalid rule definition error` for rule parameter-less methods with type params (#95)
- Fixed result type of certain reduction rules not computed correctly (#100)
- Fixed broken `ByteArrayBasedParserInput::sliceCharArray`
- Added `~!~` operator for "concatenate-with-cut" semantics (#102)
- Added `atomic` rule marker (#112)
- Added `quiet` rule marker
- Added `fail` helper (#125)
- Added `ErrorFormatter` for more flexible parse error rendering
- Added postfix aliases for `optional`, `oneOrMore` and `zeroOrMore` (#111)
- Added `Parser::errorTraceCollectionLimit` (#102)
- Added variance markers to rule type aliases
- Added (unfinished) ScalaParser example based on the one from @lihaoyi
- Added `CsvParser` example (#99)
- Many improvements to default error reporting and formatting logic
- Enabled setting end index in array-based ParserInput implementations
Version 2.0.1 (2014-09-05)
--------------------------
- Fixed ScalaReflectionException under Scala 2.11 when scala-reflect is not on the classpath (#81)
- Increased operator argument limit from 9 to 22 (#85)
- Added `named` rule modifier and `namedRule` helper for explicit naming of inner rules (#50)
- Moved JSON benchmark into dedicated sub-project
Version 2.0.0 (2014-06-16)
--------------------------
- Fixed stack overflow caused by scala issue 8657 (#78)
Version 2.0.0-RC2 (2014-06-03)
------------------------------
- Fixed #72 by introducing `CharPredicate.RangeBasedPredicate`, renamed `CharPredicate.CharMask` to `CharPredicate.MaskBased`
- Fixed #74 by moving parser macro implementations out of Parser companion object
- Removed `charAndValue` and `stringAndValue` implicits due to bad value/risk ratio
- Added test showcasing implicit whitespace matching
- Extended `CharUtils` with more high-performance helpers
Version 2.0.0-RC1 (2014-04-22)
------------------------------
- Added `noneOf` helper (#63)
- Added support for `runSubParser`
- Added `MISMATCH0` rule
- Refactored `DynamicRuleDispatch` for performance and access to `ruleNames` Seq
- Extended `StringBuilding` trait with some more helpers, renamed `append`/`prepend` to `appendSB`/`prependSB`
- Removed `ByteArrayBasedParserInput::charset` member (#59)
- Fixed problems resulting from not-fully-qualified type references (#57, #60)
- Changed scope of `scala-reflect` dependency from `compile` to `provided` (#62)
Version 2.0-M2 (2014-02-07)
---------------------------
- Renamed `CharPredicate.HexAlpha` to `HexDigit`
- Renamed `EMPTY` to `MATCH` and `NOTHING` to `MISMATCH`
- Changed `MISMATCH` type from `Rule0` to `Rule[I, O]`
- Fixed "Invalid rule definition" error with certain actions (#41)
- Fixed "Invalid rule definition" when calling free rule methods (#43)
- Fixed "Identifiers not decoded in error messages' (#44)
- Fixed `ArrayBasedPredicate` not recognizing char at index 0
- Fixed error reporting incorrectly positioning unexpected newline errors
- Added `Parser::charAt(offset)`, `Parser::charAtRC(offset)` and `Parser::lastChar: Char`
- Added `org.parboiled2.util.Base64` codec from pb1
- Added `StringBuilding` and `Base64Parsing` helper traits
- Added `drop` action
- Added `ValueStack::show`
- Added `DynamicRuleDispatch` facility
- Added support for variable `.times` bases (ints and ranges)
- Added support for more `.run` bases (Apply, TypeApply in addition to Select)
- Added support for `Map[String, T]` rules
- Added support for `char -> value` and `string -> value` rules
- Added `ParserInput::sliceCharArray`
- Extended `~>` action function parameter maximum from 5 to 9 (#45)
- Extended `run` action with support for rule expansion
- Extended `run` action with support for value stack consumption (#39)
- Refactored and optimized rule rendering (#47)
- Implemented string literal auto expansion (#46)
- Improved/flexibilized parse error formatting infrastructure
- Improved compilation errors (@implicitNotFound on `TailSwitch`)
- Improved CharPredicate implementation
- Other smaller improvement and polishings
Version 2.0-M1 (2013-12-19)
---------------------------
first public release (of the 2.x series)