- Use
Jasoninstead ofPoison.
- Update dependencies.
- Use Phoenix.Controller.put_view to address the view that's shown since render/4 is being deprecated in 1.4 (#44)
- Added fallback when
data: nilto prevent errors (#39) (#40).
- Introduced an extra argument to the containers that creates a unique ID. The unique ID is used to create specific cell elements. The cell elements function can be used by passing a function instead of content that contains a map with a
elementfunction (#35) (#36).
- Reworked the approach to render the containers. It now uses an adapter that you have to configure. The adapter is used to output the actual HTML. For now, the adapter provided is the CellJS adapter (#30)
- The CellJS adapter no longer accepts a
closing_tagattribute as added in the previous release. The CellJS adapter no automatically closes self closing tags (#31)
- Use Phoenix.content_tag instead of Phoenix.tag by default and add option to
remove the closing tag by adding
closing_tag: falseto the options (#27) - The attribute name is now used to set the
data-cellattribute and can be overridden to allow prefixing (#28)
- Added a cell render method to ExCell.Controller to directly render cells as a view (#23)
- Removed unused Base alias in
lib/ex_cell/base.ex(#22)
- Updated
README.mdwith more elaborate examples and install instructions (#19) - Removed the need for a
MockCellAdapterin tests (#18) - Restructured the code to allow documentation (#18)
- The option to provide a
MockCellAdapterin the configuration (#18)
- Cell module didn't use a fallback adapter for the
__using__macro (#16) - Added back the
View.relative_pathmethod (#15)
- Fixed a bug where the Mix configuration wasn't allowing empty configurations (#13)
- Adapters can are now in a
config.ex(#10)
- Removed the need to specify an adapter for views and controllers (#10)
- ExCell.Controller is imported instead of using the
__using__macro (#10)
- It's no longer possible to specify the adapter through the
__using__Macro (#10)