- Add websocket support to
cupertino_api. - Add streaming upload support, i.e., if
CupertinoClient.send()is called with aStreamedRequestthen the data will be sent to the server incrementally. - Deprecate
Data.fromUint8Listin favor ofData.fromList, which accepts anyList<int>. - Disable additional analyses for generated Objective-C bindings to prevent
errors from
dart analyze. - Throw
ClientExceptionwhen the'Content-Length'header is invalid. - Add support for configurable caching through
URLSessionConfiguration.cache.
- Remove experimental status from "Readme"
- Require Dart 3.0
- Require Flutter 3.10.0
- Require Dart 2.19
- Fix a reference count race with forwarded delegates.
- Add a
URLSession.sessionDescriptionfield.
- Restructure
package:cupertino_httpto offer a singleimport.
- Fix a bug where the images in the example would be loaded using
dart:ioHttpClient. CupertinoClientthrows an exception ifsendis called afterclose.
- Add a more complete implementation for
URLSessionTask:priorityproperty - hint for host prioritization.currentRequestproperty - the current request for the task (will be different thanoriginalRequestin the face of redirects).originalRequestproperty - the original request for the task.errorproperty - anErrorobject if the request failed.taskDescriptionproperty - a developer-set description of the task.countOfBytesExpectedToSendproperty - the size of the body bytes that will be sent.countOfBytesSentproperty - the number of body bytes sent in the request.prefersIncrementalDeliveryproperty - whether to deliver the response body in one chunk (if possible) or many.
- Upgrade to ffigen ^7.2.0 and remove unnecessary casts.
- Make timeout and caching policy configurable on a per-request basis.
- Upgrade
ffidependency.
- Make the number of simultaneous connections allowed to the same host configurable.
- Fixes cupertino_http: Failure calling Dart_PostCObject_DL.
- Add the ability to set network service type.
- Add the ability to control multipath TCP connections.
- Set
StreamedResponse.reasonPhraseandStreamedResponse.request. Fixes cupertino_http: BaseResponse.request is null.
- Add the ability to control caching policy.
- Follow the project style in the example app.
- Use
runWithClientin the example app. - Add another README example
- A single comment adjustment.
- Initial development release.