- Ensure
crash_reason
in metadata is always a tuple
- Support Cowboy 2.11
- Do not allow Cowboy 2.11 due to backwards incompatible changes
- Fix warnings on Elixir v1.15+
- Allow for opt-out of conn metadata on exception logs
- Support
:check_interval
in drainer (in addition to:drain_check_interval
)
- Support websocket upgrades
- Require Plug v1.14+ and Elixir v1.10+
- Fix warnings when running on telemetry 1.x
- Allow to configure which errors should be logged
- Support telemetry 0.4.x or 1.x
- Return
:conn
as Logger metadata on translator - Support Ranch 2.0
- Support the
:net
option so developers can work with keyword lists - Remove previously deprecated options
- Properly format linked exits
- Add cowboy_telemetry as a dependency and enable it by default
Plug.Cowboy requires Elixir v1.7 or later.
- The telemetry events added in version v2.2.0 does not work as expected. The whole v2.2.x branch has been retired in favor of v2.3.0.
- Emit telemetry event for Cowboy early errors
- Improve error messages for Cowboy early errors
- Use proper telemetry metadata for exceptions
- Include telemetry support
- Properly support the :options option before removal
- Properly deprecate the :timeout option before removal
- Improve docs and simplify child spec API
- Add
Plug.Cowboy.Drainer
for connection draining
- Unwrap
Plug.Conn.WrapperError
on handler error - Include
crash_reason
as logger metadata
- Respect
:read_length
and:read_timeout
inread_body
with Cowboy 2
Extract Plug.Adapters.Cowboy2
from Plug into Plug.Cowboy