Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Side by Side Diff: CHANGELOG.md

Issue 2056933002: Add breaking changes and release 1.0.0. (Closed) Base URL: git@github.com:dart-lang/string_scanner@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | lib/src/line_scanner.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## 1.0.0
2
3 * **Breaking change**: `StringScanner.error()`'s `length` argument now defaults
4 to `0` rather than `1` when no match data is available.
5
6 * **Breaking change**: `StringScanner.lastMatch` and related methods are now
7 reset when the scanner's position changes without producing a new match.
8
9 **Note**: While the changes in `1.0.0` are user-visible, they're unlikely to
10 actually break any code in practice. Unless you know that your package is
11 incompatible with 0.1.x, consider using 0.1.5 as your lower bound rather
12 than 1.0.0. For example, `string_scanner: ">=0.1.5 <2.0.0"`.
13
1 ## 0.1.5 14 ## 0.1.5
2 15
3 * Add `new SpanScanner.within()`, which scans within a existing `FileSpan`. 16 * Add `new SpanScanner.within()`, which scans within a existing `FileSpan`.
4 17
5 * Add `StringScanner.scanChar()` and `StringScanner.expectChar()`. 18 * Add `StringScanner.scanChar()` and `StringScanner.expectChar()`.
6 19
7 ## 0.1.4+1 20 ## 0.1.4+1
8 21
9 * Remove the dependency on `path`, since we don't actually import it. 22 * Remove the dependency on `path`, since we don't actually import it.
10 23
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 access to information about the errors that were thrown and can provide 84 access to information about the errors that were thrown and can provide
72 terminal-colored messages. 85 terminal-colored messages.
73 86
74 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line 87 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line
75 and column information of the text being scanned. 88 and column information of the text being scanned.
76 89
77 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as 90 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as
78 [source map][] `Span` objects. 91 [source map][] `Span` objects.
79 92
80 [source_map]: http://pub.dartlang.org/packages/source_maps 93 [source_map]: http://pub.dartlang.org/packages/source_maps
OLDNEW
« no previous file with comments | « no previous file | lib/src/line_scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698