Phoenix 1.4.0-rc.0 发布,Elixir Web 开发框架

栏目: 软件资讯 · 发布时间: 6年前

内容简介:Phoenix 1.4.0 首个 RC 版本已发布,新版本将支持 Cowboy 2 ,并引入 Phoenix.Socket.Transport 。 具体改进内容如下: [ChannelTest] Respect user's configured ExUnit :assert_receive_timeout for macro ass...

Phoenix 1.4.0 首个 RC 版本已发布,新版本将支持 Cowboy 2 ,并引入 Phoenix.Socket.Transport

具体改进内容如下:

  • [ChannelTest] Respect user's configured ExUnit :assert_receive_timeout for macro assertions

  • [Controller] Support partial file downloads with :offset and :length options to send_download/3

  • [Controller] Add additional security headers to put_secure_browser_headers (x-content-type-optionsx-download-options, and x-permitted-cross-domain-policies)

  • [Controller] Add put_router_url/2 to override the default URL generation pulled from endpoint configuration

  • [Endpoint] Add Cowboy2Adapter for HTTP2 support with cowboy2

  • [Endpoint] The socket/3 macro now accepts direct configuration about websockets and longpoll

  • [Endpoint] Support MFA function in :check_origin config for custom origin checking

  • [Endpoint] Add new :phoenix_error_render instrumentation callback

  • [Logger] Add whitelist support to filter_parameters logger configuration, via new :keep tuple format

  • [Phoenix] Add Phoenix.json_library/0 and replace Poison with Jason for JSON encoding in new projects

  • [Router] Display list of available routes on debugger 404 error page

  • [Router] Raise on duplicate plugs in pipe_through scopes

  • [Presence] Add Presence.get_by_key to fetch presences for specific user

  • [Socket] Add new phoenix_socket_connect instrumentation

  • [Logger] Log calls to user socket connect

更多细节可查阅发行说明

Phoenix 是一个函数式编程语言 Elixir 的 Web 开发框架。

Phoenix 1.4.0-rc.0 发布,Elixir Web 开发框架

源码下载:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

活着就为改变世界

活着就为改变世界

[美] 杰弗里·扬、威廉·西蒙 / 蒋永军 / 中信出版社 / 2010-6 / 39.00元

内容简介 苹果公司CEO史蒂夫•乔布斯这个一直活在自己想象的世界里的创业奇才,经历过各种挫折与失落,但他那无所畏惧、敢于承担的个性让他一直努力实践着自己的价值观,总能为他的离奇想法找到解决问题的办法。 本书两位作者通过深入访谈和资料调查,揭秘了许多乔布斯个人的创业经历和家庭变故,为大家塑造了一个活生生的“乔布斯式”的鲜活人物,描述了一个个充满传奇色彩的商业奇迹,真实地再现了乔布斯几十年......一起来看看 《活着就为改变世界》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

MD5 加密
MD5 加密

MD5 加密工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试