Fix library entries for 2.18 and 2.19

Correct ordering
Fixed header level

Change-Id: I117ff01793c36e389ecf8ff101f2f82ff0ef5bc4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/256801
Commit-Queue: Kevin Moore <kevmoo@google.com>
Auto-Submit: Kevin Moore <kevmoo@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
This commit is contained in:
Kevin Moore 2022-08-30 19:16:28 +00:00 committed by Commit Bot
parent 9f7c26fe03
commit e11c172432

View file

@ -43,11 +43,32 @@
`kExtensionErrorMin` in [`ServiceExtensionResponse`][] have been removed. They
have been replaced by `invalidParams`, `extensionError`, `extensionErrorMax`,
and `extensionErrorMin`.
- Deprecated `UserTag.MAX_USER_TAGS` in favor of `UserTag.maxUserTags`.
[#34233]: https://github.com/dart-lang/sdk/issues/34233
[`ServiceExtensionResponse`]: https://api.dart.dev/stable/2.17.6/dart-developer/ServiceExtensionResponse-class.html#constants
- Deprecated `UserTag.MAX_USER_TAGS` in favor of `UserTag.maxUserTags`.
#### `dart:html`
- Add constructor and `slice` to `SharedArrayBuffer`.
- Deprecated `registerElement` and `registerElement2` in `Document` and
`HtmlDocument`. These APIs were based on the deprecated Web Components v0.5
specification and are not supported by browsers today. These APIs are expected
to be deleted in a future release. See the related breaking change
request [#49536](https://github.com/dart-lang/sdk/issues/49536).
#### `dart:io`
- **Breaking Change** [#49305](https://github.com/dart-lang/sdk/issues/49305):
Disallow negative or hexadecimal content-length headers.
- **Breaking change** [#49647][]: `File.create` now takes new optional
`exclusive` `bool` parameter, and when it is `true` the operation
will fail if target file already exists.
#### `dart:isolate`
- Add `Isolate.run` to run a function in a new isolate.
#### `dart:mirrors`
@ -59,23 +80,6 @@
[`MirrorsUsed`]: https://api.dart.dev/stable/dart-mirrors/MirrorsUsed-class.html
[`Comment`]: https://api.dart.dev/stable/dart-mirrors/Comment-class.html
#### `dart:html`
- Deprecated `registerElement` and `registerElement2` in `Document` and
`HtmlDocument`. These APIs were based on the deprecated Web Components v0.5
specification and are not supported by browsers today. These APIs are expected
to be deleted in a future release. See the related breaking change
request [#49536](https://github.com/dart-lang/sdk/issues/49536).
### `dart:io`
- **Breaking change** [#49647][]: `File.create` now takes new optional
`exclusive` `bool` parameter, and when it is `true` the operation
will fail if target file already exists.
#### `dart:isolate`
- Add `Isolate.run` to run a function in a new isolate.
### Tools
#### Analyzer
@ -130,17 +134,6 @@ Updated the Linter to `1.27.0`, which includes changes that
- **Breaking change** [49473](https://github.com/dart-lang/sdk/issues/49473):
dart2js no longer supports HTTP URIs as inputs.
### Core libraries
#### `dart:io`
- **Breaking Change** [#49305](https://github.com/dart-lang/sdk/issues/49305):
Disallow negative or hexadecimal content-length headers.
#### `dart:html`
- Add constructor and `slice` to `SharedArrayBuffer`.
## 2.18.0
### Language
@ -212,10 +205,15 @@ them, you must set the lower bound on the SDK constraint for your package to
- The `Stream.fromIterable` stream can now be listened to more than once.
### `dart:collection`
#### `dart:collection`
- Deprecates `BidirectionalIterator`.
#### `dart:core`
- Allow omitting the `unencodedPath` positional argument to `Uri.http` and
`Uri.https` to default to an empty path.
#### `dart:html`
- Add `connectionState` attribute and `connectionstatechange` listener to
@ -226,7 +224,6 @@ them, you must set the lower bound on the SDK constraint for your package to
- **Breaking Change** [#49045](https://github.com/dart-lang/sdk/issues/49045):
The `uri` property of `RedirectException` in `dart:io` has been changed to
be nullable. Programs must be updated to handle the `null` case.
- **Breaking Change** [#34218](https://github.com/dart-lang/sdk/issues/34218):
Constants in `dart:io`'s networking APIs following the `SCREAMING_CAPS`
convention have been removed (they were previously deprecated). Please use
@ -280,11 +277,6 @@ them, you must set the lower bound on the SDK constraint for your package to
- Added `dartify` and a number of minor helper functions.
#### `dart:core`
- Allow omitting the `unencodedPath` positional argument to `Uri.http` and
`Uri.https` to default to an empty path.
### Dart VM
Implementation of `async`/`async*`/`sync*` is revamped in Dart VM,
@ -635,7 +627,6 @@ them, you must set the lower bound on the SDK constraint for your package to
is unchanged for now, but users who intend to use the native
`Element.scrollIntoViewIfNeeded` should use the new `scrollIntoViewIfNeeded`
definition instead.
- Change `Performance.mark` and `Performance.measure` to accept their different
overloads. `mark` can now accept a `markOptions` map, and `measure` can now
accept a `startMark` and `endMark`, or a `measureOptions` map. Both methods
@ -676,16 +667,13 @@ them, you must set the lower bound on the SDK constraint for your package to
Constants in `dart:io` following the `SCREAMING_CAPS` convention have been
removed (they were previously deprecated). Please use the corresponding
`lowerCamelCase` constants instead.
- Add a optional `keyLog` parameter to `SecureSocket.connect` and
`SecureSocket.startConnect`.
- Deprecate `SecureSocket.renegotiate` and `RawSecureSocket.renegotiate`,
which were no-ops.
- **Breaking Change** [#48513](https://github.com/dart-lang/sdk/issues/48513):
Add a new `allowLegacyUnsafeRenegotiation` poperty to `SecurityContext`,
which allows TLS renegotiation for client secure sockets.
- Add a optional `keyLog` parameter to `SecureSocket.connect` and
`SecureSocket.startConnect`.
- Deprecate `SecureSocket.renegotiate` and `RawSecureSocket.renegotiate`,
which were no-ops.
### Tools