v1.2.0-rc.0
chrismccord
released this
01 May 13:02
·
5085 commits
to main
since this release
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