Skip to content

Nyquest 0.2.0

Choose a tag to compare

@bdbaibdbai released this 22 Jun 10:57
· 39 commits to main since this release

This release comes with full stream download support for all supported backends, plus the interface change to prepare for stream upload implementation which is now blocked by upstream (see #14).

Changelog

nyquest-interface

  • Breaking: async response trait now requires futures_io::AsyncRead.
  • Breaking: BuildClientResult has been removed.
  • Breaking: Body::Stream is now documented. The associated data have also been changed.
  • Breaking: PartBody::Stream is now documented. The associated data have also been changed.
  • Breaking: BoxedStream has been duplicated under async and blocking. It now contains a Sized variant and a Unsized variant.
  • Breaking: ignore_certificate_errors has been added to ClientOptions.

nyquest-backend-curl

  • Breaking: requires nyquest-interface 0.2.0.
  • Implemented stream download.
  • Refactored to use Easy2 APIs to reduce memory allocation for each request.

nyquest-backend-nsurlsession

  • Breaking: requires nyquest-interface 0.2.0.
  • Implemented stream download.
  • Respects follow_redirects client option.

nyquest-backend-winrt

  • Breaking: requires nyquest-interface 0.2.0.
  • Implemented stream download.

nyquest-preset

  • Breaking: requires nyquest-backend-curl 0.2.0.
  • Breaking: requires nyquest-backend-nsurlsession 0.2.0.
  • Breaking: requires nyquest-backend-winrt 0.2.0.

nyquest

  • Breaking: requires nyquest-interface 0.2.0.
  • Breaking: When no backend is registered, nyquest now panics instead of returning an error.
  • Added utilities for HTTP headers. Thanks @eatradish
  • Added utilities for HTTP status codes.

Released Packages

  • nyquest 0.2.0
  • nyquest-interface 0.2.0
  • nyquest-preset 0.2.0
  • nyquest-backend-winrt 0.2.0
  • nyquest-backend-curl 0.2.0
  • nyquest-backend-nsurlsession 0.2.0