- Remove type from
IteratorInstanceMembers
to support old language version. Technically this is a breaking, andIteratorResult
falls back todynamic
now, but it isn't exposed via public API and wrapper still works the same.
- Change
Iterator
to static interop. Workaround for sdk#53532.
- Downgraded
js
dependency to^0.6.5
(#2).
- Public stable release.
- Bumped
js
dependency to^0.6.7
.
- BREAKING: Renamed
RequestInit
toFetchOptions
. This is done to make emphasis, thatfetch
andRequest
have different (default) behaviors. - Added
Request
. - Added
RequestDuplex
. This adds support for request streaming in supported browsers. - Added
ReadableStreamSource
. This allows you to create customReadableStream
s, that is required for request streaming. - Added
ReadableStreamDefaultController
. - Added
ReadableStreamSource
class that helps you to create custom source forReadableStream
s. It can be created from Dart'sStream
. - Added
RequestCache
. - Added
RequestDestination
. - Added missing options to
RequestMode
and added docs. - Added
FetchOptions
andRequestOptions
with corresponding docs from MDN. - Compatibility layer:
- BREAKING: Renamed
createRequestInit
tocreateFetchOptions
- Added
createRequestOptions
. - Added
createReadableStream
. - Added
createReadableStreamSourceFromStream
.
- BREAKING: Renamed
- Fixed dev dependencies versions, to allow running on Dart 2.19.
- Fixes for
js.Iterator
with Arrays. (Resolves issue withHeaders
).
-
BREAKING: Renamed extensions from
<Class>Extension
to<Class>InstanceMembers
. -
Added
fetch_api.compatibility_layer
library to support Dart 2.19.- Added
createHeadersFromMap
- Added
createHeadersFromArray
- Added
createRequestInit
- Added
createAbortSignalTimeout
- Added
-
AbortSignal
- Added
timeout
constructor-like method. - Added
abort
constructor-like method. - Added
aborted
property. - Added
reason
property. - Added
throwIfAborted
method.
- Added
-
AbortController
- Added docs.
-
fetch()
added docs. -
Response
- Fixed internal definition for
_formData
method. - Added docs.
- Fixed internal definition for
-
Headers
- Added docs.
-
Iterator
andIteratorResult
- Added docs.
-
ReadableStreamDefaultReader
andReadableStreamDefaultReaderChunk
- Added docs.
- Downgraded
js
dependency to^0.6.5
.
- Initial version.