forked from sirthias/parboiled2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
104 lines (87 loc) · 4.49 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
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)