Packages

Controller-style abstraction for building multi-action live views on top of Phoenix.LiveView

Current section

Files

Jump to
Raw

CHANGELOG.md

# Changelog
## 0.3.0
This release pushes LiveController from being a simple action & event router into a more complete
solution for representing most of usual live view logic in a consistent way, including handling
parameter patching and process messages.
### Enhancements
- Introduce *message handlers* for handling process messages in a fashion consistent with action and
event handlers
- Refactor *action mounts* into *action handlers* responsible both for mounting actions and handling
parameter patching
- Rewrite some of the docs to facilitate changes in Phoenix 1.5 and LiveView 0.12
### Backwards incompatible changes
- Replace "action mounts" naming with "action handlers" including rename of `c:action_mount/3`
callback to `c:action_handler/3`, `c:before_action_mount/3` callback to
`c:before_action_handler/3` and `@action_mount true` annotation to `@action_handler true`; action
handlers still work exactly the same as before for controllers that don't do parameter patching
## 0.2.0 (2020-04-16)
### Enhancements
- Raise errors with useful messages and examples
- Move mounting and event handling logic out of `__using__` macro
## 0.1.0 (2020-04-14)
Initial version.