PackageTrack
Sign in Get early access

cupertino_http

A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System.

3.0.2 239K downloads/mo #781 most downloaded on pub.dev dart-lang/http

What this package is like to depend on

Last release 2 months ago

29 May 2026

Ships fairly regularly

a new release about every 2 months

Nearly every release is documented

notes for 32 of 32 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

32 releases · first in 2022

4 releases in the last 12 months

see the full history below

Release timeline

32 releases · Aug 2022 to May 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 32
  1. 3.0.2 29 May 2026
    Release notes
    • Move to dart-lang/http monorepo.
    Open source →
    Release notes
    • Fix a bug where code assets were built on non-code-assets hook invocations.
    Open source →
  2. 3.0.1 28 May 2026
    Release notes
    • Fix a bug where native assets were built on non-Apple platforms.
    • Support the latest semver-major versions of the native assets packages.
    • Fix some code examples.
    • Remove README.md text saying that the package is a Flutter plugin.
    Open source →
  3. 3.0.0 26 May 2026
    Release notes
    • Require Dart SDK 3.7.0.
    • Add support for providing custom message when terminating a connection.
    Open source →
    Release notes
    • BREAKING CHANGE: Remove shouldUseExtendedBackgroundIdleMode from URLSessionConfiguration.
    • Support usage in Dart SDK projects.
    • Fix a bug where close reasons not containing valid UTF-8 would cause an uncatchable exception to be thrown.
    • Exclude unnecessary generated code. Slightly reduces disk space requirements.
    • Add URLSessionTask.taskDelegate setter and URLSessionTask.delegate builder to enable use of task-level delegates.
    • BREAKING: Update minimum supported versions to iOS 15 (released on September 20, 2022) and macOS 12 (released October 25, 2021).
    • Updated the example to not require Flutter.
    • Make close throw if there are pending requests when called.
    Open source →
  4. 2.4.0 19 Nov 2025
    Release notes
    • Switch to package:objective_c 9.1.0 and package:ffigen 20.1.0.
    • Add URL to thrown RequestAbortedException.
    Open source →
  5. 2.3.0 08 Aug 2025
    Release notes
    • Add the ability to abort requests.
    • Make ConnectionException.toString more helpful.
    Open source →
  6. 2.2.0 06 May 2025
    Release notes
    • Cancel requests when the response stream is cancelled.
    • Add a new exception type NSErrorClientException that contains the NSError associated with the failure.
    Open source →
  7. 2.1.1 17 Apr 2025
    Release notes
    • Support package:web_socket 1.0.0.
    Open source →
  8. 2.1.0 13 Mar 2025
    Release notes
    • Remove some unnecessary native code.
    • Upgrade to package:objective_c 7.0.
    • Upgrade to package:ffigen 18.0.
    • Fix a bug where package:cupertino_http did not work with package:firebase_performance enabled.
    Open source →
  9. 2.0.2 16 Jan 2025
    Release notes
    • Upgrade to package:objective_c 4.1.
    • Upgrade to package:ffigen 16.1.
    • Fixes a bug where responses were not processed correctly:
    Open source →
  10. 2.0.1 05 Nov 2024
    Release notes
    • Fix a bug where package:cupertino_http only worked with iOS 17+.
    Open source →
  11. 2.0.0 28 Oct 2024
    Release notes
    • The behavior of CupertinoClient and CupertinoWebSocket has not changed.
    • Breaking: MutableURLRequest.httpBodyStream now takes a NSInputStream instead of a Stream<List<int>>.
    • Breaking: The following enums/classes previous defined by package:cupertino_http are now imported from package:objective_c:
      • NSData
      • NSError
      • NSHTTPCookieAcceptPolicy
      • NSMutableData
      • NSURLRequestCachePolicy
      • NSURLRequestNetworkServiceType
      • NSURLSessionMultipathServiceType
      • NSURLSessionResponseDisposition
      • NSURLSessionTaskState
      • NSURLSessionWebSocketCloseCode
      • NSURLSessionWebSocketMessageType
    • Breaking: URLSession.dataTaskWithCompletionHandler is no longer supported for background sessions.
    Open source →
  12. 1.5.1 12 Jul 2024
    Release notes
    • Allow 1000 as a code argument in CupertinoWebSocket.close.
    • Fix a bug where the Content-Length header would not be set under certain circumstances.
    Open source →
  13. 1.5.0 23 May 2024
    Release notes
    • Fixed a bug in IOClient where the HttpClient's response stream was
      cancelled after the response stream was completed.
    • Added support for aborting requests before they complete.
    • Clarify that some header names may not be sent/received.
    Open source →
    Release notes
    • Add integration to the DevTools Network View.
    • Upgrade to package:ffigen 11.0.0.
    • Bring WebSocket behavior in line with the documentation by throwing WebSocketConnectionClosed rather than StateError when attempting to send data to or close an already closed CupertinoWebSocket.
    • Update minimum supported iOS/macOS versions to be in sync with the minimum (best effort) supported for Flutter: iOS 12, macOS 10.14.
    • Eagerly free resources on CupertinoClient.close().
    Open source →
  14. 1.4.0 22 Mar 2024
    Release notes
    • Experimental support for the package:web_socket WebSocket interface.
    Open source →
  15. 1.3.0 17 Jan 2024
    Release notes
    • Fixed unintended HTML tags in doc comments.
    • Switched BrowserClient to use Fetch API instead of XMLHttpRequest.
    Open source →
    Release notes
    • Use package:http_image_provider in the example application.
    • Support BaseResponseWithUrl.
    Open source →
  16. 1.2.0 19 Dec 2023
    Release notes
    • Add support for setting additional http headers in URLSessionConfiguration.
    Open source →
  17. 1.1.0 19 Sep 2023
    Release notes
    • Add websocket support to cupertino_api.
    • Add streaming upload support, i.e., if CupertinoClient.send() is called with a StreamedRequest then the data will be sent to the server incrementally.
    • Deprecate Data.fromUint8List in favor of Data.fromList, which accepts any List<int>.
    • Disable additional analyses for generated Objective-C bindings to prevent errors from dart analyze.
    • Throw ClientException when the 'Content-Length' header is invalid.
    • Add support for configurable caching through URLSessionConfiguration.cache.
    Open source →
  18. 1.0.1 31 May 2023
    Release notes
    • Remove experimental status from "Readme"
    Open source →
  19. 1.0.0 31 May 2023
    Release notes
    • First non-experimental release; no semantic changes from version 0.1.6.
    Open source →
    Release notes
    • Require Dart 3.0
    • Require Flutter 3.10.0
    Open source →
  20. 0.1.2 09 Mar 2023
    Release notes Open source →
  21. 0.1.0 25 Jan 2023
    Release notes
    • Restructure package:cupertino_http to offer a single import.
    Open source →
  22. 0.0.11 03 Jan 2023
    Release notes
    • Fix a bug where the images in the example would be loaded using dart:io HttpClient.
    • CupertinoClient throws an exception if send is called after close.
    Open source →
  23. 0.0.10 22 Nov 2022
    Release notes Open source →
  24. 0.0.9 11 Nov 2022
    Release notes
    • Add a more complete implementation for URLSessionTask:
      • priority property - hint for host prioritization.
      • currentRequest property - the current request for the task (will be different than originalRequest in the face of redirects).
      • originalRequest property - the original request for the task.
      • error property - an Error object if the request failed.
      • taskDescription property - a developer-set description of the task.
      • countOfBytesExpectedToSend property - the size of the body bytes that will be sent.
      • countOfBytesSent property - the number of body bytes sent in the request.
      • prefersIncrementalDelivery property - whether to deliver the response body in one chunk (if possible) or many.
    • Upgrade to ffigen ^7.2.0 and remove unnecessary casts.
    Open source →
  25. 0.0.8 02 Nov 2022
    Release notes
    • Make timeout and caching policy configurable on a per-request basis.
    Open source →
  26. 0.0.7 19 Sep 2022
    Release notes
    • Upgrade ffi dependency.
    Open source →
  27. 0.0.6 13 Sep 2022
    Release notes
    Open source →
  28. 0.0.5 07 Sep 2022
    Release notes
    Open source →
  29. 0.0.4 31 Aug 2022
    Release notes
    • Add the ability to control caching policy.
    Open source →
  30. 0.0.3 05 Aug 2022
    Release notes
    • Follow the project style in the example app.
    • Use runWithClient in the example app.
    • Add another README example
    Open source →
  31. 0.0.2 04 Aug 2022
    Release notes
    • A single comment adjustment.
    Open source →
  32. 0.0.1 04 Aug 2022
    Release notes
    • Initial development release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive