plug v1.13.0 Release Notes

Release Date: 2022-02-02 // about 2 years ago
  • โœจ Enhancements

    • [Plug.Builder] Do not add compile-time deps to literal options in function plugs
    • [Plug.Parsers.MULTIPART] Allow custom conversion of multipart to parameters
    • [Plug.Router] Allow suffix matches in the router (such as /feeds/:name.atom)
    • [Plug.Session] Allow a list of :rotating_options for rotating session cookies
    • [Plug.Static] Allow a list of :encodings to be given for handling static assets
    • [Plug.Test] Raise an error when providing path not starting with "/"

    ๐Ÿ› Bug fixes

    • [Plug.Upload] Normalize paths coming from environment variables

    ๐Ÿ—„ Deprecations

    • [Plug.Router] Mixing prefix matches with globs is deprecated
    • [Plug.Parsers.MULTIPART] Deprecate :include_unnamed_parts_at