Skip to content

[breaking change] Discontinue deprecated core library APIs, part I #34233

Closed
@natebosch

Description

@natebosch

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

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):

CL : https://dart-review.googlesource.com/c/sdk/+/248003

dart:io

The following are removed in Dart 2.18:

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, and kExtensionErrorMin in ServiceExtensionResponse (use invalidParams, extensionError, extensionErrorMax, and extensionErrorMin)

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:

Phase II, Dart 3.0

See list in #49529

Metadata

Metadata

Assignees

Labels

area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.enhancement-breaking-changeAn enhancement which is breaking.type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions