OLD | NEW |
| 1 # 1.1.0 |
| 2 |
| 3 * Added `SourceSpanWithContext`: a span that also includes the full line of text |
| 4 that contains the span. |
| 5 |
1 # 1.0.3 | 6 # 1.0.3 |
2 | 7 |
3 * Cleanup equality operator to accept any Object rather than just a | 8 * Cleanup equality operator to accept any Object rather than just a |
4 `SourceLocation`. | 9 `SourceLocation`. |
5 | 10 |
6 # 1.0.2 | 11 # 1.0.2 |
7 | 12 |
8 * Avoid unintentionally allocating extra objects for internal `FileSpan` | 13 * Avoid unintentionally allocating extra objects for internal `FileSpan` |
9 operations. | 14 operations. |
10 | 15 |
(...skipping 29 matching lines...) Expand all Loading... |
40 `SourceSpan.message` and `SourceFile.message`, respectively. Rather than | 45 `SourceSpan.message` and `SourceFile.message`, respectively. Rather than |
41 taking both a `useColor` and a `color` parameter, they now take a single | 46 taking both a `useColor` and a `color` parameter, they now take a single |
42 `color` parameter that controls both whether and which color is used. | 47 `color` parameter that controls both whether and which color is used. |
43 | 48 |
44 * `Span.isIdentifier` has been removed. This property doesn't make sense outside | 49 * `Span.isIdentifier` has been removed. This property doesn't make sense outside |
45 of a source map context. | 50 of a source map context. |
46 | 51 |
47 * `SourceFileSegment` has been removed. This class wasn't widely used and was | 52 * `SourceFileSegment` has been removed. This class wasn't widely used and was |
48 inconsistent in its choice of which parameters were considered relative and | 53 inconsistent in its choice of which parameters were considered relative and |
49 which absolute. | 54 which absolute. |
OLD | NEW |