| OLD | NEW |
| 1 # 1.2.2 |
| 2 |
| 3 * Allow fields in `SourceSpanBase`, `SourceLocationBase`, `SourceSpanException`, |
| 4 `SourceSpanFormatException`, and `SourceSpanWithContext` to be overridden in |
| 5 strong mode. |
| 6 |
| 1 # 1.2.1 | 7 # 1.2.1 |
| 2 | 8 |
| 3 * Fix the declared type of `FileSpan.start` and `FileSpan.end`. In 1.2.0 these | 9 * Fix the declared type of `FileSpan.start` and `FileSpan.end`. In 1.2.0 these |
| 4 were mistakenly changed from `FileLocation` to `SourceLocation`. | 10 were mistakenly changed from `FileLocation` to `SourceLocation`. |
| 5 | 11 |
| 6 # 1.2.0 | 12 # 1.2.0 |
| 7 | 13 |
| 8 * **Deprecated:** Extending `SourceLocation` directly is deprecated. Instead, | 14 * **Deprecated:** Extending `SourceLocation` directly is deprecated. Instead, |
| 9 extend the new `SourceLocationBase` class or mix in the new | 15 extend the new `SourceLocationBase` class or mix in the new |
| 10 `SourceLocationMixin` mixin. | 16 `SourceLocationMixin` mixin. |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 `SourceSpan.message` and `SourceFile.message`, respectively. Rather than | 94 `SourceSpan.message` and `SourceFile.message`, respectively. Rather than |
| 89 taking both a `useColor` and a `color` parameter, they now take a single | 95 taking both a `useColor` and a `color` parameter, they now take a single |
| 90 `color` parameter that controls both whether and which color is used. | 96 `color` parameter that controls both whether and which color is used. |
| 91 | 97 |
| 92 * `Span.isIdentifier` has been removed. This property doesn't make sense outside | 98 * `Span.isIdentifier` has been removed. This property doesn't make sense outside |
| 93 of a source map context. | 99 of a source map context. |
| 94 | 100 |
| 95 * `SourceFileSegment` has been removed. This class wasn't widely used and was | 101 * `SourceFileSegment` has been removed. This class wasn't widely used and was |
| 96 inconsistent in its choice of which parameters were considered relative and | 102 inconsistent in its choice of which parameters were considered relative and |
| 97 which absolute. | 103 which absolute. |
| OLD | NEW |