Skip to content

Commit 0b09757

Browse files
author
Benjamin Hodgson
committed
update changelog for 3.0
1 parent 45a5203 commit 0b09757

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
Changelog
22
=========
33

4+
3.0.0
5+
-----
6+
7+
### Removed
8+
9+
* Removed support for .NET 4 and .NET Core 3.1. Pidgin is now a .NET 5 library.
10+
11+
### Added
12+
13+
* Published the (previously internal) `TokenStream` API. You can now write parsers which consume custom input streams.
14+
* Support for resumable parsing, through the `ResumableTokenStream` class.
15+
* An **experimental** API for writing your own parsers by subclassing `Parser`.
16+
17+
### Changed
18+
19+
* `Parser.Real` is now a property and not a method.
20+
* A new design for computing source positions. `posCalculator` now returns a `SourcePosDelta` struct representing the amount of text covered by a token, rather than updating the current source position in place.
21+
* Performance improvements in the code which computes source positions.
22+
* The `Parse` methods in `ParseExtensions` now take an `IConfiguration` object as an optional parameter (instead of a `posCalculator` func).
23+
* If you were using `posCalculator`, you can instead subclass `DefaultConfiguration` and override the `PosCalculator` property.
24+
* Performance improvements across the board thanks to a new `Span`-based implementation.
25+
* Performance improvements in `SkipWhitespaces`.
26+
* A new CI build system based on GitHub Actions.
27+
428
2.5.0
529
-----
630

0 commit comments

Comments
 (0)