
Linuxeden 开源社区 --
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
- [Generator] Add new
- 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
- [Generator] All
- 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
- Add ability to pass
下载地址
1.3.0-rc.2
1.2.4
1.1.9
转自 http://ift.tt/2pPgRam
The post phoenix 1.3.0-rc.2, 1.2.4 和 1.1.9 发布,Web 开发框架 appeared first on Linuxeden开源社区.
http://ift.tt/2rahYp8
没有评论:
发表评论