phoenix 1.3.0-rc.2, 1.2.4 和 1.1.9 发布,Web 开发框架

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

内容简介: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.newphx.new.webphx.new.ecto project generators with improved application structure and support for umbrella applications

    • [Generator] Add new phx.gen.html and  phx.gen.json resource generators with improved isolation of API boundaries

    • [Controller] Add current_path and  current_url to generate a connection's path and url

    • [Controller] Introduce action_fallback to 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_join and  :log_handle_in options

    • [Channel] Warn on unhandled handle_info/2 messages

    • [Channel] Channels now distinguish from graceful exits and application restarts, allowing clients to enter error mode and reconnected after cold deploys.

    • [Router] Document match support for matching on any HTTP method with the special  :* argument

    • [Router] Populate conn.path_params with path parameters for the route

    • [ConnTest] Add redirected_params/1 to return the named params matched in the router for the redirected URL

    • [Digester] Add mix phx.digest.clean to remove old versions of compiled assets

    • [phx.new] Add Erlang 20 support in phx.new installer 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 new  phx.* tasks

  • JavaScript client enhancements

    • Add ability to pass encode and  decode functions 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


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

查看所有标签

猜你喜欢:

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

细节决定交互设计的成败

细节决定交互设计的成败

张亮 / 2009-3 / 49.00元

《细节决定交互设计的成败》是一本非常实用的有关软件界面的交互设计和可用性设计方面知识的书籍,通过采用一问一答的形式,你将会有针对性地学习到一些能够很快应用在自己软件开发工作中的细节知识和诀窍。例如,如何减轻用户的等待感,如何预防和减少用户的使用错误等。另外,你会发现阅读《细节决定交互设计的成败》时会非常轻松和愉悦;这是由于《细节决定交互设计的成败》写作上的两个特点:第一,采用较多日常生活中的例子来......一起来看看 《细节决定交互设计的成败》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器