-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).Cross-cutting, high-level issues (for tracking many other implementation issues, ...).enhancement-breaking-changeAn enhancement which is breaking.An enhancement which is breaking.
Description
The following Dart core library APIs, which are all currently deprecated, are now being fully removed.
This is the continuation of previous discontinuation work tracked in #34233
Phase II, scheduled for Dart 3.0
The following APIs are planned to be removed in 3.0, as some breakage is to be expected.
API changes which we believe are minimally breaking
dart:core
-
onErrorargument toint.parse,double.parse,num.parse:
CL: https://dart-review.googlesource.com/c/sdk/+/259042 -
proxyconstant:
CL: https://dart-review.googlesource.com/c/sdk/+/258004 -
Provisionalclass and associated constant:
CL: https://dart-review.googlesource.com/c/sdk/+/258004 -
Listconstructor (useList.Filled):
CL: https://dart-review.googlesource.com/c/sdk/+/258920 -
BidirectionalIteratorclass:
CL: https://dart-review.googlesource.com/c/sdk/+/276741 -
Deprecated.expiresgetter onDeprecated. UseDeprecated.messageinstead. - Errors:
-
AbstractClassInstantiationErrorclass (no longer relevant indart:corelibraries.dart:mirrorsmay still throw it and now has it's own definition of it):
CL: https://dart-review.googlesource.com/c/sdk/+/274383 -
CastErrorclass (useTypeError):
https://dart-review.googlesource.com/c/sdk/+/259041 -
FallThroughErrorclass (Unused since Dart 2.0):
https://dart-review.googlesource.com/c/sdk/+/261860,
CL: https://dart-review.googlesource.com/c/sdk/+/259041 -
NoSuchMethodErrordefault constructor (use the named constructorNoSuchMethod.withInvocation):
CL: https://dart-review.googlesource.com/c/sdk/+/271082 -
CyclicInitializationError(will never be thrown from code with sound null safety):
https://dart-review.git.corp.google.com/c/sdk/+/275120 -
NullThrownError(will never be thrown from code with sound null safety):
https://dart-review.googlesource.com/c/sdk/+/275840
-
dart:async
-
DeferredLibraryclass (use thedeferred asimport syntax):
CL: https://dart-review.git.corp.google.com/c/sdk/+/268460
dart:developer
-
MAX_USER_TAGSinUserTag:
CL: https://dart-review.git.corp.google.com/c/sdk/+/268340
dart:mirrors
None.
dart:html
-
document.registerElement®isterElement2:
[dart:html] Breaking change: delete registerElement* APIs in dart:html #49536,
CL 📝: https://dart-review.git.corp.google.com/c/sdk/+/268461
API changes which may be more breaking
These are postponed, and not planned for inclusion in Dart 3.
### dart:core
[ ]IntegerDivisionByZeroExceptionexception (useUnsupportedError):
RemoveIntegerDivisionByZeroException#30743[ ] Errors:
### dart:async
[ ]runZonedarg ononError:
CL: https://dart-review.googlesource.com/c/sdk/+/248002
JonasWanke, praxder, knaeckeKami, II11II, tenhobi and 9 more
Metadata
Metadata
Assignees
Labels
area-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).Cross-cutting, high-level issues (for tracking many other implementation issues, ...).enhancement-breaking-changeAn enhancement which is breaking.An enhancement which is breaking.