| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2016-06-23 | 1.8 kB | |
| v1.2.0 source code.tar.gz | 2016-06-23 | 264.2 kB | |
| v1.2.0 source code.zip | 2016-06-23 | 360.1 kB | |
| Totals: 3 Items | 626.0 kB | 0 | |
1.2.0 (2016-6-23)
See these 1.1.x to 1.2.x upgrade instructions to bring your existing apps up to speed.
- Enhancements
- [CodeReloader] The lib/ directory is now code reloaded by default along with web/ in development
- [Channel] Add :phoenix_channel_join instrumentation hook
- [View] Generate private render_template/2 clauses for views to allow overriding render/2 clauses before rendering templates
- [View] Add :path and :pattern options to allow wildcard template inclusion as well as customized template directory locations
- Deprecations
- [Endpoint] Generated subscribe/3 and unsubscribe/2 clauses have been deprecated in favor of subscribe/2 and unsubscribe/1 which uses the caller's pid
- [PubSub] Phoenix.PubSub.subscribe/3 and Phoenix.PubSub.unsubscribe/2 have been deprecated in favor of subscribe/2 and unsubscribe/1 which uses the caller's pid
- [Watcher] Using the :root endpoint configuration for watchers is deprecated. Pass the :cd option at the end of your watcher argument list in config/dev.exs. For example:
``` elixir
watchers: [node: ["node_modules/brunch/bin/brunch", "watch", "--stdin",
cd: Path.expand("../", __DIR__)]]
```
- Bug Fixes
- [Template] Prevent infinite call stack when rendering a non-existent template from
template_not_found - JavaScript client enhancements
- Add Presence object for syncing presence state between client and server
- Use return value of channel onMessage callback for specialized message transformations before dispatching to the channel
- JavaScript client backward incompatible changes
Presence.syncStateandPresence.syncDiffnow return a copy of the state instead of mutating it