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

Unified Diff: packages/source_span/CHANGELOG.md

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/source_span/.analysis_options ('k') | packages/source_span/lib/source_span.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/source_span/CHANGELOG.md
diff --git a/packages/source_span/CHANGELOG.md b/packages/source_span/CHANGELOG.md
index ce71980680e085640424a2e91f277379fef184cd..68eafaaef6b99ca1964c6016423a94857d8dfcc7 100644
--- a/packages/source_span/CHANGELOG.md
+++ b/packages/source_span/CHANGELOG.md
@@ -1,3 +1,40 @@
+# 1.4.0
+
+* The `new SourceFile()` constructor is deprecated. This constructed a source
+ file from a string's runes, rather than its code units, which runs counter to
+ the way Dart handles strings otherwise. The `new StringFile.fromString()`
+ constructor (see below) should be used instead.
+
+* The `new SourceFile.fromString()` constructor was added. This works like `new
+ SourceFile()`, except it uses code units rather than runes.
+
+* The current behavior when characters larger than `0xFFFF` are passed to `new
+ SourceFile.decoded()` is now considered deprecated.
+
+# 1.3.1
+
+* Properly highlight spans for lines that include tabs with
+ `SourceSpan.highlight()` and `SourceSpan.message()`.
+
+# 1.3.0
+
+* Add `SourceSpan.highlight()`, which returns just the highlighted text that
+ would be included in `SourceSpan.message()`.
+
+# 1.2.4
+
+* Fix a new strong mode error.
+
+# 1.2.3
+
+* Fix a bug where a point span at the end of a file without a trailing newline
+ would be printed incorrectly.
+
+# 1.2.2
+
+* Allow `SourceSpanException.message`, `SourceSpanFormatException.source`, and
+ `SourceSpanWithContext.context` to be overridden in strong mode.
+
# 1.2.1
* Fix the declared type of `FileSpan.start` and `FileSpan.end`. In 1.2.0 these
« no previous file with comments | « packages/source_span/.analysis_options ('k') | packages/source_span/lib/source_span.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698