This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
The security was completely reworked to increase the flexibility how
the server deals with authorization and authentication.
The SecurityScheme module was removed and replaced by a new Security module.
It exposes a new Security<A, E, R> type that captures the security handling
and the OpenAPI specification. It also exposes a set of combinators that allow
to combine Security specs and enhance them with arbitrary effectful computations.
The client was modified to support the new security API. The second security argument
of endpoint methods was replaced by a general (request: ClientRequest) => ClientRequest
mapping. Client exposes two new helper functions Client.setBasic and Client.setBearer.
The security was completely reworked to increase the flexibility how
the server deals with authorization and authentication.
The SecurityScheme module was removed and replaced by a new Security module.
It exposes a new Security<A, E, R> type that captures the security handling
and the OpenAPI specification. It also exposes a set of combinators that allow
to combine Security specs and enhance them with arbitrary effectful computations.
The client was modified to support the new security API. The second security argument
of endpoint methods was replaced by a general (request: ClientRequest) => ClientRequest
mapping. Client exposes two new helper functions Client.setBasic and Client.setBearer.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
effect-http@0.60.0
Minor Changes
#497
37db9ad
Thanks @sukovanej! - New security API.The security was completely reworked to increase the flexibility how the server deals with authorization and authentication.
The
SecurityScheme
module was removed and replaced by a newSecurity
module. It exposes a newSecurity<A, E, R>
type that captures the security handling and the OpenAPI specification. It also exposes a set of combinators that allow to combineSecurity
specs and enhance them with arbitrary effectful computations.Before
After
The client was modified to support the new security API. The second security argument of endpoint methods was replaced by a general
(request: ClientRequest) => ClientRequest
mapping.Client
exposes two new helper functionsClient.setBasic
andClient.setBearer
.Before
After
Please refer to the main readme for more information on the new security API.
Patch Changes
#495
c765639
Thanks @sukovanej! - Update effect.#499
7d65607
Thanks @sukovanej! - Fixvoid
client response.effect-http-node@0.8.0
Minor Changes
#497
37db9ad
Thanks @sukovanej! - New security API.The security was completely reworked to increase the flexibility how the server deals with authorization and authentication.
The
SecurityScheme
module was removed and replaced by a newSecurity
module. It exposes a newSecurity<A, E, R>
type that captures the security handling and the OpenAPI specification. It also exposes a set of combinators that allow to combineSecurity
specs and enhance them with arbitrary effectful computations.Before
After
The client was modified to support the new security API. The second security argument of endpoint methods was replaced by a general
(request: ClientRequest) => ClientRequest
mapping.Client
exposes two new helper functionsClient.setBasic
andClient.setBearer
.Before
After
Please refer to the main readme for more information on the new security API.
Patch Changes
#495
c765639
Thanks @sukovanej! - Update effect.Updated dependencies [
c765639
,37db9ad
,7d65607
]: