Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit eebe8b4

Browse files
author
Dart CI
committed
Version 2.14.0-180.0.dev
Merge commit '79a61fab8fce5f842676c0aff67187aa36a9036b' into 'dev'
2 parents 683571e + 79a61fa commit eebe8b4

File tree

7 files changed

+31
-11
lines changed

7 files changed

+31
-11
lines changed

CHANGELOG.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
was abandoned more than 5 years ago and is not supported by most browsers.
4343
The `dart:web_sql` library has been documented as unsupported and deprecated
4444
for many years as well and but wasn't annotated properly until now.
45+
4546
### Dart VM
4647

4748
* **Breaking Change** [#45071][]: `Dart_NewWeakPersistentHandle`'s and
@@ -55,17 +56,25 @@
5556

5657
#### Dart command line
5758

58-
* **Breaking Change** [#46100][]: The standalone `dart2native` has been marked
59-
deprecated, and now prints a warning message. It's replacement is the `dart
60-
compile exe` and `dart compile aot-snapshot` commands, which offer the same
61-
functionality. The `dart2native` tool will be discontinued (removed from the
62-
Dart SDK) in Dart 2.15.
59+
* **Breaking Change** [#46100][]: The standalone `dart2native` tool has been
60+
marked deprecated, and now prints a warning message. Its replacements are
61+
the `dart compile exe` and `dart compile aot-snapshot` commands, which offer
62+
the same functionality. The `dart2native` tool will be removed from the Dart
63+
SDK in Dart 2.15.
64+
65+
* **Breaking Change**: The standalone `dartfmt` tool has been marked
66+
deprecated, and now prints a warning message. Instead, use `dart format`.
67+
The `dartfmt` tool will be removed from the Dart SDK in Dart 2.15.
68+
69+
Note that `dart format` has [a different set of options and
70+
defaults][dartfmt cli] than `dartfmt`.
6371

64-
https://github.com/dart-lang/sdk/issues/46100
72+
* The `dart create` command has been updated to create projects that use the
73+
new 'recommended' set of lints from `package:lints`. See
74+
https://dart.dev/go/core-lints for more information about these lints.
6575

66-
* The `dart create` command has been updated to create projects that use the new
67-
'recommended' set of lints from `package:lints`. See https://dart.dev/go/core-lints
68-
for more information about these lints.
76+
[#46100]: https://github.com/dart-lang/sdk/issues/46100
77+
[dartfmt cli]: https://github.com/dart-lang/dart_style/wiki/CLI-Changes
6978

7079
* The `dart analyze` command has been extended to support specifying multiple
7180
files or directories to analyze; see also https://github.com/dart-lang/sdk/issues/45352.

sdk/bin/dartfmt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
# Run dart_style/bin/format.dart on the Dart VM. This script assumes the Dart
77
# repo's directory structure.
88

9+
echo "Warning: 'dartfmt' is deprecated. Please use 'dart format'." 1>&2
10+
echo "(See https://github.com/dart-lang/dart_style/wiki/CLI-Changes.)" 1>&2
11+
912
function follow_links() {
1013
file="$1"
1114
while [ -h "$file" ]; do

sdk/bin/dartfmt.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ REM Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
33
REM for details. All rights reserved. Use of this source code is governed by a
44
REM BSD-style license that can be found in the LICENSE file.
55

6+
echo Warning: 'dartfmt' is deprecated. Please use 'dart format'. 1>&2
7+
echo (See https://github.com/dart-lang/dart_style/wiki/CLI-Changes.) 1>&2
8+
69
setlocal
710
rem Handle the case where dart-sdk/bin has been symlinked to.
811
set DIR_NAME_WITH_SLASH=%~dp0

sdk/bin/dartfmt_sdk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
# Run dart_style/bin/format.dart on the Dart VM. This script assumes the Dart
77
# SDK's directory structure.
88

9+
echo "Warning: 'dartfmt' is deprecated. Please use 'dart format'." 1>&2
10+
echo "(See https://github.com/dart-lang/dart_style/wiki/CLI-Changes.)" 1>&2
11+
912
function follow_links() {
1013
file="$1"
1114
while [ -h "$file" ]; do

sdk/bin/dartfmt_sdk.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ REM Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
33
REM for details. All rights reserved. Use of this source code is governed by a
44
REM BSD-style license that can be found in the LICENSE file.
55

6+
echo Warning: 'dartfmt' is deprecated. Please use 'dart format'. 1>&2
7+
echo (See https://github.com/dart-lang/dart_style/wiki/CLI-Changes.) 1>&2
8+
69
setlocal
710
rem Handle the case where dart-sdk/bin has been symlinked to.
811
set DIR_NAME_WITH_SLASH=%~dp0

tests/co19/co19-co19.status

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# for details. All rights reserved. Use of this source code is governed by a
33
# BSD-style license that can be found in the LICENSE file.
44

5-
LanguageFeatures/Constructor-tear-offs: Skip # not implemented
65
LibTest/io/RawDatagramSocket/*: Skip # https://github.com/dart-lang/co19/issues/195
76

87
[ $compiler == dart2analyzer ]

tools/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ CHANNEL dev
2727
MAJOR 2
2828
MINOR 14
2929
PATCH 0
30-
PRERELEASE 179
30+
PRERELEASE 180
3131
PRERELEASE_PATCH 0

0 commit comments

Comments
 (0)