diff --git a/CHANGELOG.md b/CHANGELOG.md index 78ac3b9c..9a9bf8b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 3.0.0-wip +## 3.0.0 This is a large change. Under the hood, the formatter was almost completely rewritten, with the codebase now containing both the old and new diff --git a/lib/src/cli/formatter_options.dart b/lib/src/cli/formatter_options.dart index aee83713..c6403156 100644 --- a/lib/src/cli/formatter_options.dart +++ b/lib/src/cli/formatter_options.dart @@ -12,7 +12,7 @@ import 'show.dart'; import 'summary.dart'; // Note: The following line of code is modified by tool/grind.dart. -const dartStyleVersion = '2.3.7'; +const dartStyleVersion = '3.0.0'; /// Global options that affect how the formatter produces and uses its outputs. final class FormatterOptions { diff --git a/pubspec.yaml b/pubspec.yaml index 4d477e82..66b969a4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_style # Note: See tool/grind.dart for how to bump the version. -version: 3.0.0-wip +version: 3.0.0 description: >- Opinionated, automatic Dart source code formatter. Provides an API and a CLI tool. diff --git a/tool/grind.dart b/tool/grind.dart index 31109614..e4da5b8d 100644 --- a/tool/grind.dart +++ b/tool/grind.dart @@ -23,7 +23,7 @@ Future validate() async { Analyzer.analyze('bin/format.dart', fatalWarnings: true); // Format it. - Dart.run('bin/format.dart', arguments: ['-w', '.']); + Dart.run('bin/format.dart', arguments: ['.']); } /// Gets ready to publish a new version of the package.