Skip to content

Commit c670478

Browse files
authored
Merge f159723 into a76c459
2 parents a76c459 + f159723 commit c670478

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

CHANGELOG.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
### Core libraries
88

9-
* **Breaking change:** As part of (Issue [36900][]), the following methods and
9+
* **Breaking change** [#36900](https://github.com/dart-lang/sdk/issues/36900):
10+
The following methods and
1011
properties across various core libraries, which used to declare a return type
1112
of `List<int>`, were updated to declare a return type of `Uint8List`:
1213

@@ -46,8 +47,7 @@
4647
* `Uint32List.sublist()``Uint32List`
4748
* `Uint64List.sublist()``Uint64List`
4849

49-
[36900]: https://github.com/dart-lang/sdk/issues/36900
50-
50+
5151
#### `dart:core`
5252

5353
* Update `Uri` class to support [RFC6874](https://tools.ietf.org/html/rfc6874):
@@ -60,8 +60,9 @@
6060

6161
#### `dart:io`
6262

63-
* **Breaking Change:** The `Cookie` class's constructor's `name` and `value`
64-
optional positional parameters are now mandatory (Issue [37192][]). The
63+
* **Breaking change** [#37192](https://github.com/dart-lang/sdk/issues/37192):
64+
The `Cookie` class's constructor's `name` and `value`
65+
optional positional parameters are now mandatory. The
6566
signature changes from:
6667

6768
Cookie([String name, String value])
@@ -77,13 +78,12 @@
7778
Since code could not previously correctly omit the parameters, this is not
7879
really a breaking change.
7980

80-
* **Breaking Change:** The `Cookie` class's `name` and `value` setters now
81+
* **Breaking change** [#37192](https://github.com/dart-lang/sdk/issues/37192):
82+
The `Cookie` class's `name` and `value` setters now
8183
validates that the strings are made from the allowed character set and are not
82-
null (Issue [37192][]). The constructor already made these checks and this
84+
null. The constructor already made these checks and this
8385
fixes the loophole where the setters didn't also validate.
8486

85-
[37192]: https://github.com/dart-lang/sdk/issues/37192
86-
8787
### Dart VM
8888

8989
### Tools
@@ -130,28 +130,29 @@ communication of `Uint8List` data.
130130
[33327]: https://github.com/dart-lang/sdk/issues/33327
131131
[35804]: https://github.com/dart-lang/sdk/issues/35804
132132

133-
* The `HttpClientResponse` interface has been extended with the addition of a
133+
* **Breaking change** [#36971](https://github.com/dart-lang/sdk/issues/36971):
134+
The `HttpClientResponse` interface has been extended with the addition of a
134135
new `compressionState` getter, which specifies whether the body of a
135136
response was compressed when it was received and whether it has been
136-
automatically uncompressed via `HttpClient.autoUncompress` (Issue [36971][]).
137+
automatically uncompressed via `HttpClient.autoUncompress`.
137138

138139
As part of this change, a corresponding new enum was added to `dart:io`:
139140
`HttpClientResponseCompressionState`.
140141

141-
[36971]: https://github.com/dart-lang/sdk/issues/36971
142-
143-
* **Breaking change**: For those implementing the `HttpClientResponse`
144-
interface, this is a breaking change, as implementing classes will need to
145-
implement the new getter.
142+
For those implementing the `HttpClientResponse`
143+
interface, this is a breaking change, as implementing classes will need to
144+
implement the new getter.
146145

147146
#### `dart:async`
148147

149-
* **Breaking change:** The `await for` allowed `null` as a stream due to a bug
148+
* **Breaking change** [#36382](https://github.com/dart-lang/sdk/issues/36382):
149+
The `await for` allowed `null` as a stream due to a bug
150150
in `StreamIterator` class. This bug has now been fixed.
151151

152152
#### `dart:core`
153153

154-
* **Breaking change:** The `RegExp` interface has been extended with two new
154+
* **Breaking change** [#36171](https://github.com/dart-lang/sdk/issues/36171):
155+
The `RegExp` interface has been extended with two new
155156
constructor named parameters:
156157

157158
* `unicode:` (`bool`, default: `false`), for Unicode patterns
@@ -174,8 +175,9 @@ communication of `Uint8List` data.
174175

175176
### Language
176177

177-
* **Breaking change:** Covariance of type variables used in super-interfaces
178-
is now enforced (issue [35097][]). For example, the following code was
178+
* **Breaking change** [#35097](https://github.com/dart-lang/sdk/issues/35097):
179+
Covariance of type variables used in super-interfaces
180+
is now enforced. For example, the following code was
179181
previously accepted and will now be rejected:
180182

181183
```dart
@@ -186,8 +188,6 @@ class B<X> extends A<void Function(X)> {};
186188
* The identifier `async` can now be used in asynchronous and generator
187189
functions.
188190

189-
[35097]: https://github.com/dart-lang/sdk/issues/35097
190-
191191
### Dart for the Web
192192

193193
#### Dart Dev Compiler (DDC)

0 commit comments

Comments
 (0)