内容简介:phoenix 1.3.0-rc.2, 1.2.4 和 1.1.9 发布,Web 开发框架
phoenix 1.3.0-rc.2,1.2.4 和 1.1.9 发布了,Phoenix 是函数式编程语言 Elixir 的 Web 开发框架。
1.3.0-rc.2 更新如下:
-
Enhancements
-
[Generator] Add new
phx.new,phx.new.web,phx.new.ectoproject generators with improved application structure and support for umbrella applications -
[Generator] Add new
phx.gen.htmlandphx.gen.jsonresource generators with improved isolation of API boundaries -
[Controller] Add
current_pathandcurrent_urlto generate a connection's path and url -
[Controller] Introduce
action_fallbackto registers a plug to call as a fallback to the controller action -
[Controller] Wrap exceptions at controller to maintain connection state
-
[Channel] Add ability to configure channel event logging with
:log_joinand:log_handle_inoptions -
[Channel] Warn on unhandled
handle_info/2messages -
[Channel] Channels now distinguish from graceful exits and application restarts, allowing clients to enter error mode and reconnected after cold deploys.
-
[Router] Document
matchsupport for matching on any HTTP method with the special:*argument -
[Router] Populate
conn.path_paramswith path parameters for the route -
[ConnTest] Add
redirected_params/1to return the named params matched in the router for the redirected URL -
[Digester] Add
mix phx.digest.cleanto remove old versions of compiled assets -
[phx.new] Add Erlang 20 support in
phx.newinstaller archive -
Big Fixes
-
[Controller] Harden local redirect against arbitrary URL redirection
-
[Controller] Fix issue causing flash session to remain when using
clear_flash/1 -
Deprecations
-
[Generator] All
phoenix.*mix tasks have been deprecated in favor of newphx.*tasks -
JavaScript client enhancements
-
Add ability to pass
encodeanddecodefunctions to socket constructor for custom encoding and decoding of outgoing and incoming messages. -
Detect heartbeat timeouts on client to handle ungraceful connection loss for faster socket error detection
-
Add support for AMD/RequireJS
下载地址
1.3.0-rc.2
1.2.4
1.1.9
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
写给大忙人看的C++
【美】Brian Overland(布莱恩.奥弗兰德) / 卢涛、李颖 / 电子工业出版社 / 2015-8 / 109.00
《写给大忙人看的C++》全面介绍了C++语言知识,既提供了学习C++语言最新功能的捷径,也为快速找到特定问题的答案提供了便利。《写给大忙人看的C++》简明地描述了C++核心语言和标准库中几乎所有的函数、对象和运算符,一目了然地显示了语法、结构和重要函数的信息,内容组织形式便于快速查找信息。《写给大忙人看的C++》精选了实用的例子来深入地讲解概念,还提供了富有挑战性的练习及参考答案,便于读者举一反三......一起来看看 《写给大忙人看的C++》 这本书的介绍吧!