Description
The following Dart core library APIs, which are all currently deprecated, are now being fully removed.
This issue tracks APIs to be discontinued prior to Dart 3.0. Issue #49529 tracks further APIs that will be discontinued in Dart 3.0.
Phase one (pre 3.0)
The following APIs are being removed prior to 3.0, as they are no longer functional and thus their removal is expected to have minimal effect.
dart:convert
-
DEFAULT_BUFFER_SIZE
(use**TBD**
):
CL: https://dart-review.googlesource.com/c/sdk/+/247741
dart:mirrors
The following are removed in Dart 2.19; they were experimental / only used internally in Dart2js (#32507):
-
MirrorsUsed
class -
Comment
class
CL : https://dart-review.googlesource.com/c/sdk/+/248003
dart:io
The following are removed in Dart 2.18:
- SCREAMING CASE constants from core IO: Discontinue the deprecated screaming snake case constants from dart:io #34218
- Additional constants related to io's http: Discontinue the deprecated screaming snake case constants from http #49140
CLs: https://dart-review.googlesource.com/c/sdk/+/235701, https://dart-review.googlesource.com/c/sdk/+/246962
dart:developer
The following are removed in Dart 2.19:
-
kInvalidParams
,kExtensionError
,kExtensionErrorMax
, andkExtensionErrorMin
inServiceExtensionResponse
(useinvalidParams
,extensionError
,extensionErrorMax
, andextensionErrorMin
)
CL: https://dart-review.googlesource.com/c/sdk/+/251767
The following will be deprecated in Dart 2.19, and then removed in Dart 3.0:
MAX_USER_TAGS
inUserTag
Phase II, Dart 3.0
See list in #49529