1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Phoenix 1.1.0 发布,Elixir 的 Web 开发框架 下载

本帖由 漂亮的石头2015-12-17 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,356
    赞:
    47
    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, ie check_origin: ["//*.example.com"]


      • [Endpoint] check_origin treats invalid origin hosts as missing for misbehaving clients


      • [Endpoint] Add Phoenix.Endpoint.server?/2 to check if webserver has been configured to start


      • [ConnTest] Add assert_error_sent to assert an error was wrapped and sent with a given status

    • 向后不兼容变更


      • [View] The @inner assign has been removed in favor of explicit rendering with render/3 and the new @view_module and view_template assigns, for example: <%= @inner %> is replaced by <%= render @view_module, @view_template, assigns %>

    下载页面:1.1.0

    Phoenix 是函数式编程语言 Elixir 的 Web 开发框架。要求 Elixir v1.0.2+
    Phoenix 1.1.0 发布,Elixir 的 Web 开发框架下载地址
     
正在加载...