Skip to content

v0.5.0

Choose a tag to compare

@dawidsawczuk dawidsawczuk released this 08 May 06:58
· 2 commits to main since this release
d0b0efb

What's Changed

Fixed

  • Router-based singular action misclassification — :index routes with non-id path parameters (e.g.
    /reports/:year/:month) were incorrectly promoted to singular by the heuristic introduced in 0.4.0. :index is
    now always treated as plural by convention. (#54)

Added

  • plural_actions/0 callback — declare custom collection actions (e.g. :feed, :search, :list) to exclude them
    from router-based promotion to singular. Can be overridden at the actions module, controller, or LiveView
    level. (#54)
  • Igniter installer — zero-config project setup via mix permit_phoenix.install, mix permit.patch.controller,
    and mix permit.patch.live_view. Patches your web module, controllers and LiveViews automatically.
    (#51)
  • Improved :create action authorization — authorization for create actions is now checked against a blank
    struct, preventing conditioned rules from passing unconditionally.
    (#48)
  • LiveView stream options — pass custom options to LiveView streams via the stream_options/0 callback.
    (#55)
  • Non-DB resource module docs — added documentation and examples for using non-Ecto resources in
    resource_module/0. (#56)

New Contributors

Full Changelog: v0.4.0...v0.5.0