Skip to content

Commit cf717ac

Browse files
mit-mitCommit Queue
authored andcommitted
Update deprecation notice for web libraries
Change-Id: I4f6a9619ecf3aba16b215e401aa0fad7d07bd0ac CoreLibraryReviewExempt: Small tweak to DartDoc only. Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/424741 Reviewed-by: Kevin Moore <[email protected]> Reviewed-by: Srujan Gaddam <[email protected]> Reviewed-by: Sigmund Cherem <[email protected]> Commit-Queue: Michael Thomsen <[email protected]>
1 parent 3b11cd5 commit cf717ac

File tree

10 files changed

+30
-30
lines changed

10 files changed

+30
-30
lines changed

sdk/lib/html/dart2js/html_dart2js.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
/// interact with the browser and the DOM (Document Object Model).
1111
///
1212
/// > [!Note]
13-
/// > New projects should prefer to use
14-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
15-
/// > our [migration guide](https://dart.dev/go/package-web).
13+
/// > This core library is deprecated, and scheduled for removal in late 2025.
14+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
15+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1616
///
1717
/// This library includes DOM element types, CSS styling, local storage,
1818
/// media, speech, events, and more.

sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
/// A client-side key-value store with support for indexes.
1010
///
1111
/// > [!Note]
12-
/// > New projects should prefer to use
13-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
14-
/// > our [migration guide](https://dart.dev/go/package-web).
12+
/// > This core library is deprecated, and scheduled for removal in late 2025.
13+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
14+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1515
///
1616
/// IndexedDB is a web standard API for client-side storage of
1717
/// structured data. By storing data on the client in an IndexedDB,

sdk/lib/svg/dart2js/svg_dart2js.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
/// Two-dimensional vector graphics with support for events and animation.
77
///
88
/// > [!Note]
9-
/// > New projects should prefer to use
10-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
11-
/// > our [migration guide](https://dart.dev/go/package-web).
9+
/// > This core library is deprecated, and scheduled for removal in late 2025.
10+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
11+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1212
///
1313
/// For details about the features and syntax of SVG, a W3C standard,
1414
/// refer to the

sdk/lib/web_audio/dart2js/web_audio_dart2js.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
/// High-fidelity audio programming in the browser.
66
///
77
/// > [!Note]
8-
/// > New projects should prefer to use
9-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
10-
/// > our [migration guide](https://dart.dev/go/package-web).
8+
/// > This core library is deprecated, and scheduled for removal in late 2025.
9+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
10+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1111
///
1212
/// {@category Web (Legacy)}
1313
@Deprecated('Use package:web and dart:js_interop instead.')

sdk/lib/web_gl/dart2js/web_gl_dart2js.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
/// 3D programming in the browser.
66
///
77
/// > [!Note]
8-
/// > New projects should prefer to use
9-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
10-
/// > our [migration guide](https://dart.dev/go/package-web).
8+
/// > This core library is deprecated, and scheduled for removal in late 2025.
9+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
10+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1111
///
1212
/// {@category Web (Legacy)}
1313
@Deprecated('Use package:web and dart:js_interop instead.')

tools/dom/templates/html/dart2js/html_dart2js.darttemplate

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
/// interact with the browser and the DOM (Document Object Model).
1111
///
1212
/// > [!Note]
13-
/// > New projects should prefer to use
14-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
15-
/// > our [migration guide](https://dart.dev/go/package-web).
13+
/// > This core library is deprecated, and scheduled for removal in late 2025.
14+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
15+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1616
///
1717
/// This library includes DOM element types, CSS styling, local storage,
1818
/// media, speech, events, and more.

tools/dom/templates/html/dart2js/indexed_db_dart2js.darttemplate

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
/// A client-side key-value store with support for indexes.
1010
///
1111
/// > [!Note]
12-
/// > New projects should prefer to use
13-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
14-
/// > our [migration guide](https://dart.dev/go/package-web).
12+
/// > This core library is deprecated, and scheduled for removal in late 2025.
13+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
14+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1515
///
1616
/// IndexedDB is a web standard API for client-side storage of
1717
/// structured data. By storing data on the client in an IndexedDB,

tools/dom/templates/html/dart2js/svg_dart2js.darttemplate

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
/// Two-dimensional vector graphics with support for events and animation.
77
///
88
/// > [!Note]
9-
/// > New projects should prefer to use
10-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
11-
/// > our [migration guide](https://dart.dev/go/package-web).
9+
/// > This core library is deprecated, and scheduled for removal in late 2025.
10+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
11+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1212
///
1313
/// For details about the features and syntax of SVG, a W3C standard,
1414
/// refer to the

tools/dom/templates/html/dart2js/web_audio_dart2js.darttemplate

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
/// High-fidelity audio programming in the browser.
66
///
77
/// > [!Note]
8-
/// > New projects should prefer to use
9-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
10-
/// > our [migration guide](https://dart.dev/go/package-web).
8+
/// > This core library is deprecated, and scheduled for removal in late 2025.
9+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
10+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1111
///
1212
/// {@category Web (Legacy)}
1313
@Deprecated('Use package:web and dart:js_interop instead.')

tools/dom/templates/html/dart2js/web_gl_dart2js.darttemplate

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
/// 3D programming in the browser.
66
///
77
/// > [!Note]
8-
/// > New projects should prefer to use
9-
/// > [package:web](https://pub.dev/packages/web). For existing projects, see
10-
/// > our [migration guide](https://dart.dev/go/package-web).
8+
/// > This core library is deprecated, and scheduled for removal in late 2025.
9+
/// > It has been replaced by [package:web](https://pub.dev/packages/web).
10+
/// > The [migration guide](https://dart.dev/go/package-web) has more details.
1111
///
1212
/// {@category Web (Legacy)}
1313
@Deprecated('Use package:web and dart:js_interop instead.')

0 commit comments

Comments
 (0)