Gun 2.5 fixes a number of security vulnerabilities. It also has a few new options.
Gun 2.5 updates Cowlib to 2.19.0. Both applications must be updated as they both contain security fixes.
Gun 2.5 requires Erlang/OTP 24.0 or greater.
compat Websocket compression mode has been added. In this mode, Gun uses default compression and does not send parameters to accommodate servers that do not support them.
max_headers is now documented.
Support my work on Cowboy, Ranch, Gun and Erlang.mk via GitHub Sponsors. The funds cover domain names and development tools.