dart-sdk/sdk/lib/developer
Parker Lougheed eb5c77e7c2 [sdk] Mark dart:developer APIs with since information
Without the since information added, packages can use these APIs despite their SDK constraints potentially allowing SDK versions without them. For example, in package:leak_tracker recently: https://github.com/dart-lang/leak_tracker/issues/201.

I only added Since information to APIs added since Dart 2.12 since that's the lowest relevant SDK constraint with sound null safety.

TEST=ci

Cq-Include-Trybots: luci.dart.try:flutter-analyze-try
CoreLibraryReviewExempt: This CL does not change any APIs or their implementation, only adding relevant Since documentation to support correct triggering of the sdk_version_since diagnostic.
Change-Id: I27613ebf745f084a3056b8ffd2542221d939a838
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346200
Commit-Queue: Derek Xu <derekx@google.com>
Reviewed-by: Derek Xu <derekx@google.com>
Auto-Submit: Parker Lougheed <parlough@gmail.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2024-01-22 14:58:12 +00:00
..
developer.dart [sdk] Mark dart:developer APIs with since information 2024-01-22 14:58:12 +00:00
developer_sources.gni [infra] Translate _sources.gypi files to _sources.gni files 2017-08-14 21:54:36 -07:00
extension.dart [sdk] Mark dart:developer APIs with since information 2024-01-22 14:58:12 +00:00
profiler.dart [ dart:developer ] Apply class modifiers to dart:developer classes 2023-03-22 15:34:59 +00:00
service.dart [sdk] Mark dart:developer APIs with since information 2024-01-22 14:58:12 +00:00
timeline.dart SDK: take advantage of field promotion. 2023-08-07 14:20:41 +00:00