phoenix v1.5.0-dev Release Notes

  • โœจ Enhancements

    • [Channel] Do not block the channel supervisor on join
    • [Controller] Support :disposition option in send_download/3
    • [Endpoint] Allow named params to be used when defining socket paths
    • [Endpoint] Raise if force_ssl has changed from compile time to runtime
    • [PubSub] Migrate to PubSub 2.0 with a more flexible fastlaning mechanism

    ๐Ÿ› Bug Fixes

    ๐Ÿ—„ Deprecations

    • [ChannelTest] use Phoenix.ChannelTest is deprecated in favor of import Phoenix.ChannelTest
    • [ConnTest] use Phoenix.ConnTest is deprecated in favor of import Plug.Conn; import Phoenix.ConnTest
    • [Endpoint] The outdated Phoenix.Endpoint.CowboyAdapter for Cowboy 1 is deprecated. Please make sure {:plug_cowboy, "~> 2.1"} or later is listed in your mix.exs
    • [Endpoint] subscribe and unsubscribe via the endpoint is deprecated, please use Phoenix.PubSub directly instead
    • [Layout] Use <%= @inner_content %> instead of <%= render @view_module, @view_template, assigns %> for rendering the child layout

    phx.new installer

    • Phoenix.PubSub is now started directly in your application supervision tree
    • Phoenix.Ecto.CheckRepoStatus is now added to new applications that use Ecto
    • Automatically use System.get_env("MIX_TEST_PARTITION") in the database name in the test environemnt for built-in CI test partitioning

    JavaScript client