Skip to content

Version:2.0.0

Latest
Compare
Choose a tag to compare
@PanchoDP PanchoDP released this 05 Oct 04:36

[2.0.0] - 2025-10-05

🚀 Features

  • [breaking] Change default behavior to instance methods and replace --i with --s flag
    BREAKING CHANGE: Default method generation changed from static to instance methods.
    Changes: - Replaced --i flag with --s flag for static method generation
  • Default generated actions are now instance methods (non-static)
  • Removed method_static configuration option from config file
  • Updated all flag combinations to use 's' instead of 'i'
  • Updated documentation and examples to reflect new behavior
  • Updated all tests to match new default behavior

Migration guide for v1.x users:

  1. Replace any usage of --i flag with --s flag in your scripts
  2. Remove 'method_static' from config/laravel-actions.php if present
  3. Be aware that new actions will be instance methods by default
  4. Existing generated actions are not affected and will continue to work