Phoenix 1.1.0 发布,更新内容如下:

  • 提升
    • [Router] Enable defining routes for custom http methods with a new match macro
    • [CodeReloader] The socket transports now trigger the code reloader when enabled for external clients that only connect to channels without trigger a recompile through the normal page request.
    • [phoenix.digest] The phoenix.digest task now digests asset urls in stylesheets automatically
    • [Channel] Add Phoenix.Channel.reply/3 to reply asynchronously to a channel push
    • [Channel] code_change/3 is now supported to upgrade channel servers
    • [Endpoint] check_origin now supports wildcard hosts, iecheck_origin: ["/ var wc_add_to_cart_params = {"ajax_url":"\/ajax","i18n_view_cart":"\u67e5\u770b\u8d2d\u7269\u8f66","cart_url":"https:\/\/\/my-cart\/","is_cart":"","cart_redirect_after_add":"no"};