Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# 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

### What's Changed

* 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
Expand All @@ -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

Expand All @@ -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
Expand All @@ -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

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
"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",
"symfony/serializer": "^6.3|^7.0"
},
"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",
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/MakeVerbEventCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions src/Commands/MakeVerbStateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down