Phoenix 1.0.3 发布,此版本更新内容如下:
功能增强
[Controller] Transform FunctionClauseError's from controller actions into ActionClauseError, and send 400 response
[Router] Allow plugs to be passed to
pipe_through
[Channel] WebSocket transport now sends server heartbeats and shutdowns if client heartbeats stop. Fixes timeout issues when clients keep connection open, but hang with suspended js runtimes
JavaScript 客户端废弃特性
Passing params to socket.connect() has been deprecated in favor of the
:params
option of the Socket constructor
Phoenix 是函数式编程语言 Elixir 的 Web 开发框架。要求 Elixir v1.0.2+