Releases: serviejs/popsicle
Releases · serviejs/popsicle
Specify Default HTTP/1 Port
Fixed
- Fixed creation of
Host
header in HTTP/1 transport by specifying thedefaultPort
to have it be omitted from computed header (e.g.example.com:80
is nowexample.com
).
Improve TLS connection re-use
Fixed
- Fix getting an existing TLS connection with an ALPN protocol negotiated
Fallback on HTTP/1 Without ALPN
Fixed
- Fallback on HTTP/1 when there's no ALPN in the response
Rename `send` to `forward` for internal transports
Changed
- Internally in
dist/transports/*
I was usingsend
, but this is confusing with the newsend
public API - useforward
instead
Expose `send` function
Added
- Export
send
function as pre-definedtransport()
ServieJS and HTTP2
Changed
- Huge refactor to support
servie
natively, decouples transport from request/response interfaces - Support for HTTP2 built-in to node.js http client
Connection Reuse
Added
- HTTP1 and HTTP2 connection reuse
HTTP2 Only
Changed
- Update the previous HTTP2 flag to an enum to support
HTTP2_ONLY
(attempts a HTTP2 connection overhttp:
and fails when it can't parse, or only asks forh2
over TLS instead of falling back ontohttp/1.1
)
HTTP2
Added
- Supports HTTP2 negotiation over TLS using ALPN protocols (this means transparent HTTP2 requests!)
Legacy Republish
Fixed
- Previous
10.0.0
publish appears to be corrupted on NPM, publishing over the top to correct