Skip to content

Releases: vigoo/zio-http-rust

v0.0.15

31 Oct 11:45
17db6ff
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.14...v0.0.15

0.0.14

05 Oct 16:40
7bf5989
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.13...v0.0.14

0.0.13

03 Oct 12:19
3bcca70
Compare
Choose a tag to compare

Added Debug instance to the generated error types

0.0.12

06 Sep 17:17
ffda971
Compare
Choose a tag to compare

What's Changed

  • Configurable allow_insecure by @vigoo in #5

Full Changelog: v0.0.11...v0.0.12

0.0.11

05 Sep 15:32
2e8e33d
Compare
Choose a tag to compare

What's Changed

  • Make sure simple enum cases are serialized the same as in zio-schema,… by @vigoo in #4

Full Changelog: v0.0.10...v0.0.11

0.0.10

04 Sep 08:07
5fd007e
Compare
Choose a tag to compare

What's Changed

  • Fix capturing both side of fallback in endpoint outputs by @vigoo in #3

Full Changelog: v0.0.9...v0.0.10

0.0.9

03 Sep 09:27
9143c57
Compare
Choose a tag to compare

What's Changed

  • into body for stream by @senia-psm in #1
  • Make sure simple enum cases are serialized the same as in zio-schema by @vigoo in #2

New Contributors

Full Changelog: v0.0.8...v0.0.9

0.0.8

02 Sep 09:47
30490fb
Compare
Choose a tag to compare

Fixes handling requests with Unit response type:

           200 => {
                let body = ();
                Ok(body)
            }

Fixes handling of optional transformed codecs

    async fn get_components(
        &self, 
        project_id: Option<&str>, 
        component_name: Option<&str>, 
        authorization: &str
    ) -> Result<Vec<crate::model::Component>, ComponentError> {

Returns a byte stream for outStream[Byte] responses:

    async fn download_cli(
        &self, 
        account_id: &str, 
        version: Option<&str>
    ) -> Result<Box<dyn futures_core::Stream<Item = reqwest::Result<bytes::Bytes>> + Send + Sync + Unpin>, DownloadCliError>;

Accepts a byte stream for inStream[Byte] when the body is not multipart:

    async fn put_component(
        &self, 
        component_id: &str, 
        component: Box<dyn futures_core::Stream<Item = reqwest::Result<bytes::Bytes>> + Send + Sync + Unpin>, 
        authorization: &str
    ) -> Result<crate::model::Component, ComponentError>;

Accepts anything convertible to Body for inStream[Byte] when the request body is multipart:

    async fn post_component(
        &self, 
        field0: crate::model::ComponentQuery, 
        component: impl Into<reqwest::Body> + Send, authorization: &str
    ) -> Result<crate::model::Component, ComponentError>;

0.0.7

01 Sep 16:37
5af8004
Compare
Choose a tag to compare

Unifying equivalent error types within a set of endpoints

0.0.6

28 Aug 15:23
Compare
Choose a tag to compare

Full Changelog: v0.0.5...v0.0.6