v1.2.0-rc.0
版本发布时间: 2016-05-01 21:02:05
phoenixframework/phoenix最新发布版本:v1.5.3(2020-06-26 19:06:09)
See these 1.1.x
to 1.2.0
upgrade instructions to bring your existing apps up to speed.
- Enhancements
- [CodeReloader] The
lib/
directory is now code reloaded by default along withweb/
in development - [Channel] Add
subscribe/2
andunsubscribe/2
to handle external topic subscriptions for a socket - [View] Generate private
render_template/2
clauses for views to allow overridingrender/2
clauses before rendering templates - [Channel] Add
:phoenix_channel_join
instrumentation hook
- [CodeReloader] The
- JavaScript client enhancements
- Add Presence object for syncing presence state between client and server
- Deprecations
- [Endpoint] Generated
subscribe/3
andunsubscribe/2
clauses have been deprecated in favor ofsubscribe/2
andunsubscribe/1
which uses the caller's pid - [PubSub]
Phoenix.PubSub.subscribe/3
andPhoenix.PubSub.unsubscribe/2
have been deprecated in favor ofsubscribe/2
andunsubscribe/1
which uses the caller's pid
- [Endpoint] Generated