Cells v4.0.0.beta5 Release Notes

    • ๐Ÿฑ Assets bundled in engine cells now work.
    • ๐Ÿฑ Directory change: Assets like .css, .coffee and .js, no longer have their own assets/ directory but live inside the views directory of a cell. It turned out that two directories views/ and assets/ was too noisy for most users. If you think you have a valid point for re-introducing it, email me, it is not hard to implement.
    • ๐Ÿฑ When bundling your cell's assets into the asset pipeline, you have to specify the full name of your cell. The names will be constantized.

      config.cells.with_assets = ["song/cell", "user_cell"] #=> Song::Cell, UserCell
      
    • ๐Ÿš… ViewModel is now completely decoupled from Rails and doesn't inherit from AbstractController anymore.

    • API change: The controller dependency is now a second-class citizen being passed into the cell via options.

      Cell.new(model, {controller: ..})
      
    • Removing actionpack from gemspec.