Skip to content

v7.0.0

Choose a tag to compare

@nasirkhan nasirkhan released this 17 Jul 18:48
· 39 commits to main since this release
7171952

This introduces version 7.0.0 of the nasirkhan/module-manager package, focusing on improved dependency management and the addition of a modular activity logging system. The most significant changes are the addition of the spatie/laravel-activitylog and intervention/image-laravel packages as direct dependencies, the creation of a new Activity Log module, and related code and documentation updates.

Dependency Management and Breaking Changes:

  • Added spatie/laravel-activitylog (for activity logging) and intervention/image-laravel (for image manipulation) as direct dependencies in composer.json. Applications using these can now remove them from their own composer.json files. (composer.json, CHANGELOG.md, UPGRADE.md) [1] [2] [3]
  • Updated the upgrade guide and changelog to document these breaking changes and provide migration steps for users. (UPGRADE.md, CHANGELOG.md) [1] [2]

Activity Log Module Addition:

  • Introduced a new ActivityLog module, including service provider, configuration, migration, views, and module manifest. This module integrates spatie/laravel-activitylog for tracking model changes. (src/Modules/ActivityLog/*) [1] [2] [3] [4] [5]
  • Registered the ActivityLog module as enabled by default in the module manager. (src/ModuleManagerServiceProvider.php)

Code Quality and Maintenance:

  • Updated the Post model to use the correct traits and methods from spatie/laravel-activitylog, reflecting changes in the dependency's API. (src/Modules/Post/Models/Post.php) [1] [2]
  • Minor code improvements such as using the new PHP exception syntax. (src/ModuleManagerServiceProvider.php)

These changes streamline dependency management, introduce modular activity logging, and improve maintainability for future development.