All Versions
19
Latest Version
Avg Release Cycle
61 days
Latest Release
81 days ago

Changelog History
Page 1

  • v1.12.1 Changes

    August 01, 2021

    ๐Ÿ› Bug fixes

    • [Plug] Make sure module plugs are compile time dependencies if init mode is compile-time
  • v1.12.0 Changes

    July 22, 2021

    โœจ Enhancements

    • [Plug] Accept mime v2.0
    • [Plug] Accept telemetry v1.0
    • [Plug.Conn] Improve performance of UTF-8 validation
    • [Plug.Conn.Adapter] Add API for creating a connection
    • [Plug.Static] Allow MFA in :from
  • v1.11.1 Changes

    March 08, 2021

    โœจ Enhancements

    • [Plug.Upload] Allow transfer of ownership in Plug.Upload

    ๐Ÿ› Bug fixes

    • [Plug.Debugger] Drop CSP Header when showing error via Plug.Debugger
    • [Plug.Test] Populate query_params from Plug.Test.conn/3
  • v1.11.0 Changes

    October 29, 2020

    โœจ Enhancements

    • [Plug.RewriteOn] Add a new public to handle x-forwarded headers
    • [Plug.Router] Add macro for head requests

    ๐Ÿ› Bug fixes

    • [Plug.CSRFProtection] Do not crash if request body params are not available
    • [Plug.Conn.Query] Conform www-url-encoded parsing to whatwg spec

    ๐Ÿ—„ Deprecations

    • [Plug.Parsers.MULTIPART] Deprecate passing MFA to MULTIPART in favor of a more composable approach
  • v1.10.4 Changes

    August 07, 2020

    ๐Ÿ› Bug fixes

    • [Plug.Conn] Automatically set secure when deleting cookies to fix compatibility with SameSite
  • v1.10.3 Changes

    June 10, 2020

    โœจ Enhancements

    • [Plug.SSL] Allow host exclusion to be checked dynamically

    ๐Ÿ› Bug fixes

    • [Plug.Router] Fix router telemetry event to follow Telemetry specification. This corrects the telemetry event added on v1.10.1.
  • v1.10.2 Changes

    June 06, 2020

    ๐Ÿ› Bug fixes

    • [Plug] Make :telemetry a required dependency
    • [Plug.Test] Populate :query_string when params are passed in

    โœจ Enhancements

    • [Plug] Add Plug.run/3 for running multiple Plugs at runtime
    • [Plug] Add Plug.forward/4 for forwarding between Plugs
  • v1.10.1 Changes

    May 15, 2020

    โœจ Enhancements

    • [Plug.Conn] Add option to disable uft-8 validation on query strings
    • [Plug.Conn] Support :same_site option when writing cookies
    • [Plug.Router] Add router dispatch events to plug router like phoenix router
    • [Plug.SSL] Support :x_forwarded_host and :x_forwarded_port on :rewrite_on

    ๐Ÿ› Bug fixes

    • [Plug.Test] Ensure parameters are converted to string keys
  • v1.10.0 Changes

    March 24, 2020

    โœจ Enhancements

    • [Plug.BasicAuth] Add Plug.BasicAuth
    • [Plug.Conn] Add built-in support for signed and encrypted cookies
    • [Plug.Exception] Allow to use atoms as statuses in the plug_status field for exceptions

    ๐Ÿ› Bug fixes

    • [Plug.Router] Handle malformed URI as bad requests
  • v1.9.0 Changes

    February 07, 2020

    ๐Ÿ› Bug fixes

    • [Plug.Conn.Cookies] Make decode split on ; only, remove $-prefix condition
    • [Plug.CSRFProtection] Generate url safe CSRF masks
    • [Plug.Parsers] Treat invalid content-types as parsing errors unless :pass is given
    • [Plug.Parsers] Ensure parameters are merged when falling back to :pass clause
    • [Plug.Parsers] Use HTTP status code 414 when query string is too long
    • [Plug.SSL] Rewrite port when rewriting a request coming to a standard port

    โœจ Enhancements

    • [Plug] Make Plug fully compatible with new Elixir child specs
    • [Plug.Exception] Add actions to exceptions that implement Plug.Exception and render actions in Plug.Debugger error page
    • [Plug.Parsers] Add option to skip utf8 validation
    • [Plug.Parsers] Make multipart support MFA for :length limit
    • [Plug.Static] Accept MFA for :header option

    Notes

    • When implementing the Plug.Exception protocol, if the new actions function is not implemented, a warning will printed during compilation.