[3.0 alpha] Add onError removal to changelog.

Followup to https://dart-review.googlesource.com/c/sdk/+/259042

Change-Id: I9f21a58fe7baf9e0dc0a9b8b13900c72a07e0805
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275001
Reviewed-by: Lasse Nielsen <lrn@google.com>
This commit is contained in:
Michael Thomsen 2022-12-12 11:51:35 +00:00
parent 767049139a
commit 2a0bcaf155

View file

@ -5,6 +5,8 @@
#### `dart:core`
- **Breaking change** [#49529][]:
- Removed the deprecated `onError` argument on [`int.parse`][], [`double.parse`][],
and [`num.parse`][]. Use the [`tryParse`][] method instead.
- Removed the deprecated [`NoSuchMethodError`][] default constructor.
Use the [`NoSuchMethodError.withInvocation`][] named constructor instead.
- Removed the deprecated [`proxy`][] and [`Provisional`][] annotations.
@ -15,6 +17,10 @@
Use [`Deprecated.message`][] instead.
[#49529]: https://github.com/dart-lang/sdk/issues/49529
[`int.parse`]: https://api.dart.dev/stable/2.18.4/dart-core/int/parse.html
[`double.parse`]: https://api.dart.dev/stable/2.18.4/dart-core/double/parse.html
[`num.parse`]: https://api.dart.dev/stable/2.18.4/dart-core/num/parse.html
[`tryParse`]: https://api.dart.dev/stable/2.18.4/dart-core/num/tryParse.html
[`Deprecated.expires`]: https://api.dart.dev/stable/2.18.4/dart-core/Deprecated/expires.html
[`Deprecated.message`]: https://api.dart.dev/stable/2.18.4/dart-core/Deprecated/message.html
[`NoSuchMethodError`]: https://api.dart.dev/stable/2.18.4/dart-core/NoSuchMethodError/NoSuchMethodError.html