- Improve dependency constraints.
- Fixes pubspec.yaml for Dart 3.x.
- Refactoring, better documentation, and some additional APIs in BrowserHttpClient.
- Removes lots of unnecessary stuff.
- This has some breaking changes, but it's unlikely that anyone is using the removed stuff. The package continues to follow the Dart SDK "dart:io" API.
- Fixes various small issues.
- Fixes Platform.operatingSystemVersion (issue #9).
- Fixes various issues.
- Fixes issue #17.
- Fixes issues in Node.JS.
- Finishes migration to null safety.
- Eliminated unnecessary dependencies.
- Improves documentation.
- Improves BrowserHttpClientException messages.
- Deprecates libraries prefer_sdk/io.dart and prefer_universal/io.dart. Developers should import just io.dart.
- The first null-safe version.
- Makes changes in BrowserHttpClient / BrowserHttpClientRequest API:
- The property for enabling credentials mode is now
browserCredentialsMode
. The default isfalse
. - The property for setting response type is now
browserResponseType
("arraybuffer", "text", etc.). By default, if HTTP request header "Accept" contains only text MIMEs ("text/plain", etc.), this package uses responseType "text". - HTTP client now has
onBrowserHttpClientRequestClose
for using your own logic for settingbrowserResponseType
.
- The property for enabling credentials mode is now
- Removes IO adapter API.
- Fixes issue #11 (InternetAddress parameter).
- Fixes issue #12 (CORS credentials mode). Eliminates legacy, complicated behavior. Developers should choose either omit or include. Improves error messages and documentation related to it.
- Replaces MD5/SHA1 implementations used by some of the source code copied from dart:io. It now uses package:crypto instead of implementations copied from dart:io.
- Implements recent changes in 'dart:io' (Dart SDK 2.8).
- HttpDriver is replaced by 'dart:io' HttpOverrides.
- FileSystemDriver is replaced by 'dart:io' IOOverrides.
- Various other driver APIs are renamed or removed.
- BrowserLikeHttpClientRequest is now BrowserHttpClientRequest.
- BrowserHttpClientRequest implementation is improved.
- Fixed documentation and small fixes related to
nodejs_io
.
- Raised minimum SDK to 2.6 and upgraded dependencies.
- Changed how CORS credentials mode is enabled. It was previously enabled with a header, but now we introduced subclasses for HttpClient and HttpClientRequest. This is a breaking change, but we decided not to bump the major version number.
- Improved analysis and test settings.
- Added 'prefer_sdk/io.dart' and 'prefer_universal/io.dart' libraries for dealing with conditional export issues.
- Library 'package:universal_io/io.dart' now exports SDK version by default.
- Replaced IP address parsing with the new Uri.parseIPv4Address / Uri.parseIPv6Address.
- Fixed missing HTTP status codes.
- Fixed problems introduced by Dart SDK 2.5.0-dev-2.0.
- Fixed pubspec.yaml and documented Dart SDK 2.5 breaking changes.
- Updated classes to Dart 2.5. See Dart SDK documentation about the changes.
- Various APIs now return
Uint8List
instead ofList<int>
. Examples:File
,Socket
,HttpClientResponse
. - Various other breaking changes such as
Cookie
constructor.
- Various APIs now return
- Fixed the following error thrown by the Dart build system in some cases: "Unsupported conditional import of dart:io found in universal_io|lib/io.dart".
- Small fixes.
- Fixed various bugs.
- Improved the test suite.
- Improved driver base classes and the test suite.
- Major refactoring of IODriver API.
- Fixed small bugs.
- Fixed various bugs.
- Re-organized source code.
- Eliminated dependencies by doing IP parsing in this package.
- Improved the test suite for drivers.