_discoveryapis_commons 1.0.7 _discoveryapis_commons: ^1.0.7 copied to clipboard
Library for use by client APIs generated from Discovery Documents.
1.0.7 #
- Require Dart 3.4 or later.
- Support streaming media from
Stream<Uint8List>
.
1.0.6 #
- Require Dart 2.19 or later.
- Allow latest
package:http
.
1.0.5 #
- Drop use of
NullThrownError
.
1.0.4 #
- Eliminate the invalid header warning in the browser.
- Fix issue with range requests from the browser. (#462)
1.0.3 #
- Throw a more helpful error message when a resumable upload fails.
- Require Dart 2.16 or later.
1.0.2 #
- Handle the case where the content of error JSON is a
List
ofMap
instances.
1.0.1 #
- Support Unicode file names in
MultipartMediaUploader
.
1.0.0 #
- Add support for null-safety.
- Require Dart 2.12 or later.
- Renamed static fields on
UploadOptions
andDownloadOptions
. - Removed
mapMap
helper. No longer used. - Removed
Escaper
class. Now expose a singleescapeVariable
top-level function. - Added top-level
dartVersion
getter. Used to generate request headers in client libraries.
0.2.0 #
- Changed
ApiRequestError
(and its subclassDetailedApiRequestError
) from extendingError
to implementingException
.
The change from extending Error
to implementing Exception
should not affect
try {...} on DetailedApiRequestError {
blocks. But anyone catching Error
,
Exception
or testing with is Error
might be affected.
0.1.9 #
- Added a
x-goog-api-client
header for client library identification.
0.1.8+2 #
- Filter out headers we're not allowed to send when operating in a browser.
0.1.8+1 #
- Fix
content-length
bug introduced in0.1.8
. - Support
package:http
>=0.11.1 <0.13.0
.
0.1.8 #
- Support Dart 2.
- Allow response errors with non-integer error codes.
0.1.6+1 #
- Require Dart 2.0.0-dev.64
0.1.6 #
- Fix Dart 2 runtime issue.
0.1.5 #
-
Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.
0.1.4 #
- Make package strong-mode clean.
0.1.3+1 #
- Removed
pkg/crypto
dependency and upgrade Dart dependency to >=1.13.
0.1.3 #
- Fixed two strong mode issues
0.1.2 #
- Make Discovery API client throw new detailed errors.
0.1.1 #
- Expose the Escaper class
0.1.0 #
- Initial version