Skip to content

Commit 5173fd2

Browse files
sigmundchCommit Bot
authored and
Commit Bot
committed
[ddc]: Deprecate public dartdevc scripts
Change-Id: I1fdb19e21b4d787090d98cd519e002efebac5e4b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/229304 Reviewed-by: Nicholas Shahan <[email protected]>
1 parent b0aebc3 commit 5173fd2

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,16 @@
3333
marked deprecated as previously announced.
3434
Its replacement is the `dart compile js` command.
3535
Should you find any issues, or missing features, in the replacement
36-
command, kindly file [an issue][].
36+
command, kindly file [an issue](https://github.com/dart-lang/sdk/issues/new).
3737

38-
[an issue]: https://github.com/dart-lang/sdk/issues/new
38+
- **Breaking Change** [#46100](https://github.com/dart-lang/sdk/issues/46100):
39+
The standalone `dartdevc` tool has been marked deprecated as previously
40+
announced and will be deleted in a future Dart stable relase. This tool
41+
was intended for use only by build systems like bazel, `build_web_compilers`
42+
and `flutter_tools`. The functionality remains available for those systems,
43+
but it is no longer exposed as a command-line tool in the SDK.
44+
Please share any concerns in the
45+
[breaking change tracking issue](https://github.com/dart-lang/sdk/issues/46100).
3946

4047
- **Breaking Change** [#46100](https://github.com/dart-lang/sdk/issues/46100):
4148
The standalone `dartdoc` tool has been removed as

sdk/bin/dartdevc_sdk

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

9+
echo "Warning: this 'dartdevc' script is deprecated and will be removed. " 1>&2
10+
echo "More details at https://github.com/dart-lang/sdk/issues/46100." 1>&2
11+
912
function follow_links() {
1013
file="$1"
1114
while [ -h "$file" ]; do

sdk/bin/dartdevc_sdk.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: this 'dartdevc' script is deprecated and will be removed. 1>&2
7+
echo More details at https://github.com/dart-lang/sdk/issues/46100. 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

0 commit comments

Comments
 (0)