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

栏目: 编程语言 · 发布时间: 7年前

内容简介:Phoenix 1.4.0 首个 RC 版本已发布,新版本将支持 Cowboy 2 ,并引入具体改进内容如下:

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 开发框架

源码下载:


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

查看所有标签

猜你喜欢:

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

概率

概率

[俄]施利亚耶夫 / 周概容 / 高等教育出版社 / 2008-1 / 48.00元

《概率(第2卷)(修订和补充第3版)》是俄国著名数学家A.H.施利亚耶夫的力作。施利亚耶夫是现代概率论奠基人、前苏联科学院院士、著名数学家A.H.柯尔莫戈洛夫的学生,在概率统计界和金融数学界影响极大。《概率(第2卷)(修订和补充第3版)》作为莫斯科大学最为出色的概率教材之一。分为一、二两卷,并配有习题集。第二卷《概率(第2卷)(修订和补充第3版)》是离散时间随机过程(随机序列)的内容。重点讲述(强......一起来看看 《概率》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具