Releases: medz/ht
Releases · medz/ht
v0.3.1
- Fixed the broken
Requestconstructor implementation shipped in0.3.0,
restoring Fetch-style construction for native,dart:io, and js runtimes. - Fixed wrapped-request rebuilds so
Request(existing, RequestInit(body: ...))
replaces the body without incorrectly depending on cloning the consumed
upstream request body. - Added regression coverage for native,
dart:io, and jsRequest
constructor/body override semantics.
v0.3.0
- BREAKING: Align
RequestandResponsewith Fetch/Web semantics viaRequestInit,ResponseInit, andRequestInput. - BREAKING: Replace
BodyMixinwith a first-classBodytype.Request.bodyandResponse.bodynow exposeBody?. - BREAKING:
Headers,Blob,Request,Response, andURLSearchParamsnow resolve through platform-specific native/io/js implementations. - BREAKING: Remove older copy-first request/response convenience APIs that no longer matched Fetch/Web semantics.
- Add runtime-backed host adapters for
Request,Response,Headers, andBlobacross js anddart:io. - Add native
FormDataparsing forapplication/x-www-form-urlencodedandmultipart/form-data. - Add native
FormData.encodeMultipart()returningEncodedFormDatawith stream, content type, content length, and header application helpers. - Add stream tee and web stream bridge internals to support cloning and host interop without eager body materialization.
- Expand browser and
dart:iotest coverage for host-backed fetch behavior and multipart parsing edge cases.
v0.2.0
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.