diff --git a/CHANGELOG.md b/CHANGELOG.md index e87d2e75..388f8b87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -All notable changes to `:package_name` will be documented in this file. +See [Releases](https://github.com/hirethunk/verbs/releases) for an up-to-date changelog. ## 0.0.9 - 2024-02-15 @@ -8,7 +8,8 @@ All notable changes to `:package_name` will be documented in this file. * make pending event macroable by @jdiddydave in https://github.com/hirethunk/verbs/pull/55 * Add `for` method to factory by @joshhanley in https://github.com/hirethunk/verbs/pull/56 -* Change state factory to not require an array to be passed in by @joshhanley in https://github.com/hirethunk/verbs/pull/57 +* Change state factory to not require an array to be passed in by @joshhanley + in https://github.com/hirethunk/verbs/pull/57 * adding missing inheritance from docs by @da-mask in https://github.com/hirethunk/verbs/pull/58 * Fix the stupidest type check ever. by @DanielCoulbourne in https://github.com/hirethunk/verbs/pull/59 * Use "historical" `now()` when replaying events by @inxilpro in https://github.com/hirethunk/verbs/pull/29 @@ -34,19 +35,22 @@ All notable changes to `:package_name` will be documented in this file. ### What's Changed -* Refactor event/pending event, and add a way to immediately commit an event by @inxilpro in https://github.com/hirethunk/verbs/pull/27 +* Refactor event/pending event, and add a way to immediately commit an event by @inxilpro + in https://github.com/hirethunk/verbs/pull/27 * Add ability to include metadata on every event by @skylerkatz in https://github.com/hirethunk/verbs/pull/14 * Make `fire` do nothing while replaying by @jdiddydave in https://github.com/hirethunk/verbs/pull/35 * Fix typo in ids.md by @morpheus7CS in https://github.com/hirethunk/verbs/pull/39 * Clean up serialization by @inxilpro in https://github.com/hirethunk/verbs/pull/45 * Add id_type config by @jdiddydave in https://github.com/hirethunk/verbs/pull/44 * Prevent model serialization by @inxilpro in https://github.com/hirethunk/verbs/pull/47 -* When deserializing, skip deserializing if source is already the destination type. by @DanielCoulbourne in https://github.com/hirethunk/verbs/pull/50 +* When deserializing, skip deserializing if source is already the destination type. by @DanielCoulbourne + in https://github.com/hirethunk/verbs/pull/50 * Test Affordances by @DanielCoulbourne in https://github.com/hirethunk/verbs/pull/41 * State aliases by @inxilpro in https://github.com/hirethunk/verbs/pull/48 * Fix auto-discovery exception messages by @matthewpaulking in https://github.com/hirethunk/verbs/pull/49 * Bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 by @dependabot in https://github.com/hirethunk/verbs/pull/51 -* Add isAllowed() and isValid() methods for PendingEvent by @DanielCoulbourne in https://github.com/hirethunk/verbs/pull/52 +* Add isAllowed() and isValid() methods for PendingEvent by @DanielCoulbourne + in https://github.com/hirethunk/verbs/pull/52 ### New Contributors @@ -61,7 +65,8 @@ All notable changes to `:package_name` will be documented in this file. ### What's Changed * fix typo by @gpibarra in https://github.com/hirethunk/verbs/pull/18 -* Stop examples and workbench dirs being in the packagist repo by @morrislaptop in https://github.com/hirethunk/verbs/pull/23 +* Stop examples and workbench dirs being in the packagist repo by @morrislaptop + in https://github.com/hirethunk/verbs/pull/23 * Add Livewire support to commit Verbs just before render by @joshhanley in https://github.com/hirethunk/verbs/pull/20 * Remove redundant "it it" from unit tests by @markjaquith in https://github.com/hirethunk/verbs/pull/30 * Remove phases from events by @inxilpro in https://github.com/hirethunk/verbs/pull/33 @@ -82,7 +87,8 @@ All notable changes to `:package_name` will be documented in this file. ### What's Changed -- Add support for interfaces in the expectsParameters check on MethodFi… by @DanielCoulbourne in https://github.com/hirethunk/verbs/pull/19 +- Add support for interfaces in the expectsParameters check on MethodFi… by @DanielCoulbourne + in https://github.com/hirethunk/verbs/pull/19 **Full Changelog**: https://github.com/hirethunk/verbs/compare/0.0.5...v0.0.6 diff --git a/composer.json b/composer.json index 940b4a8e..3b5fca96 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "php": ">=8.1", "glhd/bits": ">=0.3.0", "illuminate/contracts": "^10.34|^11.0|^12.0", - "internachi/modular": "^2.0", + "internachi/modularize": "^1.1.0", "laravel/prompts": "^0.1.15|^0.2|^0.3", "spatie/laravel-package-tools": "^1.14.0", "symfony/property-access": "^6.2|^7.0", @@ -28,6 +28,7 @@ }, "require-dev": { "brick/money": "^0.8.1|^0.10", + "internachi/modular": "^2.3", "laravel/pint": "^1.13", "mockery/mockery": "^1.6", "nunomaduro/collision": "^7.10|^8.1", diff --git a/src/Commands/MakeVerbEventCommand.php b/src/Commands/MakeVerbEventCommand.php index 9a170c8f..3d3afa39 100644 --- a/src/Commands/MakeVerbEventCommand.php +++ b/src/Commands/MakeVerbEventCommand.php @@ -2,13 +2,13 @@ namespace Thunk\Verbs\Commands; -use InterNACHI\Modular\Console\Commands\Make\Modularize; +use InterNACHI\Modularize\ModularizeGeneratorCommand; use Symfony\Component\Console\Attribute\AsCommand; #[AsCommand(name: 'verbs:event')] class MakeVerbEventCommand extends VerbGeneratorCommand { - use Modularize { + use ModularizeGeneratorCommand { getDefaultNamespace as getModularizedNamespace; } diff --git a/src/Commands/MakeVerbStateCommand.php b/src/Commands/MakeVerbStateCommand.php index 400e9b45..bbcbb468 100644 --- a/src/Commands/MakeVerbStateCommand.php +++ b/src/Commands/MakeVerbStateCommand.php @@ -2,13 +2,13 @@ namespace Thunk\Verbs\Commands; -use InterNACHI\Modular\Console\Commands\Make\Modularize; +use InterNACHI\Modularize\ModularizeGeneratorCommand; use Symfony\Component\Console\Attribute\AsCommand; #[AsCommand(name: 'verbs:state')] class MakeVerbStateCommand extends VerbGeneratorCommand { - use Modularize { + use ModularizeGeneratorCommand { getDefaultNamespace as getModularizedNamespace; }