| OLD | NEW |
| 1 # 1.0.1 |
| 2 |
| 3 * Use a more compact internal representation for `FileSpan`. |
| 4 |
| 1 # 1.0.0 | 5 # 1.0.0 |
| 2 | 6 |
| 3 This package was extracted from the | 7 This package was extracted from the |
| 4 [`source_maps`](http://pub.dartlang.org/packages/source_maps) package, but the | 8 [`source_maps`](http://pub.dartlang.org/packages/source_maps) package, but the |
| 5 API has many differences. Among them: | 9 API has many differences. Among them: |
| 6 | 10 |
| 7 * `Span` has been renamed to `SourceSpan` and `Location` has been renamed to | 11 * `Span` has been renamed to `SourceSpan` and `Location` has been renamed to |
| 8 `SourceLocation` to clarify their purpose and maintain consistency with the | 12 `SourceLocation` to clarify their purpose and maintain consistency with the |
| 9 package name. Likewise, `SpanException` is now `SourceSpanException` and | 13 package name. Likewise, `SpanException` is now `SourceSpanException` and |
| 10 `SpanFormatException` is not `SourceSpanFormatException`. | 14 `SpanFormatException` is not `SourceSpanFormatException`. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 `SourceSpan.message` and `SourceFile.message`, respectively. Rather than | 28 `SourceSpan.message` and `SourceFile.message`, respectively. Rather than |
| 25 taking both a `useColor` and a `color` parameter, they now take a single | 29 taking both a `useColor` and a `color` parameter, they now take a single |
| 26 `color` parameter that controls both whether and which color is used. | 30 `color` parameter that controls both whether and which color is used. |
| 27 | 31 |
| 28 * `Span.isIdentifier` has been removed. This property doesn't make sense outside | 32 * `Span.isIdentifier` has been removed. This property doesn't make sense outside |
| 29 of a source map context. | 33 of a source map context. |
| 30 | 34 |
| 31 * `SourceFileSegment` has been removed. This class wasn't widely used and was | 35 * `SourceFileSegment` has been removed. This class wasn't widely used and was |
| 32 inconsistent in its choice of which parameters were considered relative and | 36 inconsistent in its choice of which parameters were considered relative and |
| 33 which absolute. | 37 which absolute. |
| OLD | NEW |