[3.0 alpha] Remove dart:developer's deprecated MAX_USER_TAGS

Change-Id: I967974b4295548278400c14fcca7540dfa95fb66
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/268340
Reviewed-by: Siva Annamalai <asiva@google.com>
This commit is contained in:
Michael Thomsen 2022-12-12 10:49:58 +00:00
parent b3304af17d
commit ef286f6039
2 changed files with 10 additions and 5 deletions

View file

@ -29,6 +29,16 @@
[`DeferredLibrary`]: https://api.dart.dev/stable/2.18.4/dart-async/DeferredLibrary-class.html
[`deferred as`]: https://dart.dev/guides/language/language-tour#deferred-loading
#### `dart:developer`
- **Breaking change** [#49529][]:
- Removed the deprecated [`MAX_USER_TAGS`][] constant.
Use [`maxUserTags`][] instead.
[#49529]: https://github.com/dart-lang/sdk/issues/49529
[`MAX_USER_TAGS`]: https://api.dart.dev/stable/dart-developer/UserTag/MAX_USER_TAGS-constant.html
[`maxUserTags`]: https://api.dart.dev/beta/2.19.0-255.2.beta/dart-developer/UserTag/maxUserTags-constant.html
## 2.19.0
### Language

View file

@ -10,11 +10,6 @@ abstract class UserTag {
/// The maximum number of UserTag instances that can be created by a program.
static const maxUserTags = 64;
@Deprecated("Use 'maxUserTags' instead. Will be removed in Dart 3.0.")
// TODO(bkonyi): We shouldn't be using SCREAMING_CAPS for constants, so this
// should be removed for Dart 3.0.
static const MAX_USER_TAGS = maxUserTags;
external factory UserTag(String label);
/// Label of [this].