[dart:io] Update CHANGELOG for new socket option semantics.

This is a breaking change. https://github.com/dart-lang/sdk/issues/40702

The change originally landed in fddbc53a64
but it was decided to file a breaking change request about this change
as it is observable.

Change-Id: Ie9b045f3abec858486d8efb335eedf2c68e78951
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136583
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
This commit is contained in:
Jonas Termansen 2020-02-21 13:33:31 +00:00
parent 590144a601
commit 13ce2a8de4

View file

@ -34,10 +34,11 @@ Same change is applied to `set`. `preserveHeaderCase` will preserve the
case of `name` instead of converting them to lowercase.
`HttpHeader.forEach()` provides the current case of each header.
* The `Socket` class will now throw a `SocketException` if the socket has been
destroyed or upgraded to a secure socket upon setting or getting socket
options. Previously setting a socket options would be ignored and getting a
socket option would return `null`.
* **Breaking change** [#40702](https://github.com/dart-lang/sdk/issues/40702):
The `Socket` class will now throw a `SocketException` if the socket has been
explicitly destroyed or upgraded to a secure socket upon setting or getting
socket options. Previously setting a socket option would be ignored and
getting a socket option would return `null`.
* **Breaking change** [#40483](https://github.com/dart-lang/sdk/issues/40483):
The `Process` class will now throw a `StateError` if the process is detached