ht 0.2.0
ht: ^0.2.0 copied to clipboard
Fetch-style HTTP types and protocol abstractions for Dart.
0.2.0 #
- BREAKING: Reworked
Blobto ablock-backed implementation and removed synchronousBlob.copyBytes(). - Added direct
Blob<->block.Blockcompatibility (Blobnow implementsBlock). - BREAKING:
Blob.slicenow follows Web Blob semantics (negative indexes are resolved from the end). - BREAKING:
FormData.encodeMultipart()now returns a stream-firstMultipartBody, andMultipartBody.bytesis now async methodbytes(). - Added stream-first
MultipartBodywithstream,contentLength,contentType, and asyncbytes(). - Added
BodyInitsupport forpackage:blockBlockvalues inRequestandResponse.
0.1.0 #
- Rebuilt the package as a fetch-first HTTP type layer.
- Added core protocol types:
HttpMethod,HttpStatus,HttpVersion,MimeType. - Added fetch primitives:
Request,Response,Headers,URLSearchParams,Blob,File,FormData. - Added CI workflow and runnable
example/main.dart. - Upgraded SDK and dependencies to current stable constraints.
- Expanded tests to stabilize API behavior and edge-case contracts.
0.0.0 #
- Initial release.