- Require
stdlib
>= 0.44 - Properly include
ssl
in the application tree - Fix IPv6 formatting when converting to string
- Support specifying the listening interface
- Stop listening on IPv6 by default, instead preferring a builder function to enable it
- Some tweaks to the shape of the
glisten/socket/options
module values - Moved the
IpAddress
type to theglisten/socket/options
module
- Move
transport.listen
method out of calling process into separate process managed by supervisor - Fix flaky test due to ordering
- Update connection info functions for getting IP and port (both client and server)
- Partially revert the
serve
/serve_ssl
change noted below. These functions are now available atstart_server
andstart_ssl_server
since they add some boilerplate for accessing the underlying supervisor. - Update the mechanism for accessing the client IP and port. Previously, this
was provided as a 4-tuple on the connection. However, this value could be an
IPv6, or an IPv4-mapped IPv6 value. Also, to avoid the overhead of doing this
every time, a
get_client_info
function has been added to get this information on demand.
- Set
buffer
on socket based onrecvbuf
per erlang documentation - Use
logging
library instead of custom logger - Add some (unused) telemetry events
- Add flag for
http2
support to handler formist
- Update
serve
/serve_ssl
methods to returnServer
record. This allows for accessing an OS-assigned port if 0 is provided. It will also help enable graceful shutdown later - Fix some function deprecation warnings in the standard library
- Pass
Connection
as argument inon_init
- This actually mirrors the
mist
WebSocket API and was clearly just an oversight on my part
- This actually mirrors the
- Remove default
linger
option on sockets - Move a bunch of stuff into
internal
- Refactor the
transport
module (and associated types)
- Updated for Gleam ~v1.0 and
gleam_stdlib
>= 0.35
- Updated for Gleam v0.33.0.
- The
options.to_map
function has been renamed tooptions.to_dict
. - Return
Subject
from pool supervisor
- Pass state value to
on_close
handler - Add support for IPv6 to socket options
- Refactor API to mirror
mist
structure - Enable support for user-defined messages in addition to internal
- Upgrade
gleam_otp
to v0.7
- Upgrade
gleam_stdlib
,gleam_erlang
- Fix incorrect SSL client IP accessor method
- Run
gleam fix
for v0.30 - Add field to handler state with client IP
- Replace
unsafe_coerce
in message selector with saferselecting_recordN
methods
- Upgrade
gleam_stdlib
,gleam_erlang
- Update syntax for Gleam v0.27
- Revert inadvertent change to add
ALPN
support
- Fix extra wrapping of
{ok, _}
in SSL FFI
- Fix typo in SSL
negoiated_protocol
method
- Return correct
Result
fromshutdown
- Expand socket error values
- Return correct
Result
fromclose