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

Unified Diff: CHANGELOG.md

Issue 2765093002: Update dartfmt to 1.0.0 (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8cd98887fcd1fd7ba47868901e887512d4f5668b..7a3c7ecf0c441efdd124396e0d40d141c8d3ca63 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@
* Added `{Stdin,Stdout}.supportsAnsiEscapes`.
### Dart VM
+
* Calls to `print()` and `Stdout.write*()` now correctly print unicode
characters to the console on Windows. Calls to `Stdout.add*()` behave as
before.
@@ -30,15 +31,15 @@
* `dartanalyzer` now follows the same rules as the analysis server to find
an analysis options file, stopping when an analysis options file is found:
* Search up the directory hierarchy looking for an analysis options file.
- * If analyzing a project referencing the [Flutter](https://flutter.io/)
+ * If analyzing a project referencing the [Flutter](https://flutter.io/)
package, then use the
[default Flutter analysis options](https://github.com/flutter/flutter/blob/master/packages/flutter/lib/analysis_options_user.yaml)
found in `package:flutter`.
- * If in a Bazel workspace, then use the analysis options in
+ * If in a Bazel workspace, then use the analysis options in
`package:dart.analysis_options/default.yaml` if it exists.
* Use the default analysis options rules.
* In addition, specific to `dartanalyzer`:
- * an analysis options file can be specified on the command line via
+ * an analysis options file can be specified on the command line via
`--options` and that file will be used instead of searching for an
analysis options file.
* any analysis option specified on the command line
@@ -70,11 +71,17 @@
* Properly unlock SDK and path dependencies if they have a new version
that's also valid according to the user's pubspec.
+* dartfmt
+ * Make the precedence of cascades more visible.
+ * Fix a couple of places where spurious newlines were inserted.
+ * Correctly report unchanged formatting when reading from stdin.
+ * Other small formatting tweaks.
+
## 1.22.0
### Language
- * Breaking change:
+ * Breaking change:
['Generalized tear-offs'](https://github.com/gbracha/generalizedTearOffs/blob/master/proposal.md)
are no longer supported, and will cause errors. We updated the language spec
and added warnings in 1.21, and are now taking the last step to fully
@@ -82,7 +89,7 @@
are almost no known uses of them in the wild.
* The `assert()` statement has been expanded to support an optional second
- `message` argument
+ `message` argument
(SDK issue [27342](https://github.com/dart-lang/sdk/issues/27342)).
The message is displayed if the assert fails. It can be any object, and it
« no previous file with comments | « no previous file | DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698