laravel-event-sourcing

The easiest way to get started with event sourcing in Laravel

MIT License

Downloads
1.8M
Stars
768
Committers
125

Bot releases are hidden (Show)

laravel-event-sourcing - 4.1.0

Published by freekmurze about 4 years ago

  • add assertion that specific event is recorded (#134)
laravel-event-sourcing - 4.0.2

Published by freekmurze about 4 years ago

  • config style fix
laravel-event-sourcing - 4.0.1

Published by freekmurze about 4 years ago

  • add snapshot_model config key
laravel-event-sourcing - 4.0.0

Published by freekmurze about 4 years ago

  • projectors now are abstract classes instead of interfaces
  • reactors can now be easily defined by extending the reactor base class
  • projectors and reactors can be marked as async by implementing the ShouldQueue marker interface
  • events that extend ShouldBeStored now can retrieve the aggregate root uuid using aggregateRootUuid()
  • the package has been restructured. Namespaces of most classes have been updated.
  • events that extend ShouldBeStored can now handle metadata using metaData and setMetaData
  • aggregate roots can now be persisted without calling event handlers using persistWithoutApplyingToEventHandlers
  • the projectionist can now handle manually specified events using handleStoredEvents
  • added persistAggregateRootsInTransaction to AggregateRoot
  • you can now get the uuid of an aggregate root using the uuid() method
  • the reset method has been removed on projectors
  • the fake method on an aggregate root now accepts a uuid instead of an array of events
  • the meta_data property on StoredEvent is now an array or a string instead of SchemalessAttributes
  • apply methods on aggregates can now make use of method injection
  • pass metadata to serializer to allow events to be upgraded (#112)
laravel-event-sourcing - 3.2.3

Published by freekmurze over 4 years ago

  • default to BigIncrements on package table stubs (#124)
laravel-event-sourcing - 3.2.2

Published by freekmurze over 4 years ago

  • replace model where clause with uuid model scope (#123)
laravel-event-sourcing - 3.2.1

Published by freekmurze over 4 years ago

  • config file comment corrections (#121)
laravel-event-sourcing - 3.2.0

Published by freekmurze over 4 years ago

  • expose aggregate_version of StoredEvent (#115)
laravel-event-sourcing - 3.1.8

Published by freekmurze over 4 years ago

  • use app helper (#117)
laravel-event-sourcing - 3.1.7

Published by freekmurze over 4 years ago

  • allow aggregate roots to have dependencies in constructor (#111)
laravel-event-sourcing - 3.1.6

Published by freekmurze over 4 years ago

  • allow aggregate roots to have dependencies in constructor (#111)
laravel-event-sourcing - 3.1.5

Published by freekmurze over 4 years ago

  • only include public properties of the aggregate when snapshotting (#105)
laravel-event-sourcing - 3.1.4

Published by freekmurze over 4 years ago

  • simplify snapshot dates
laravel-event-sourcing - 3.1.3

Published by brendt over 4 years ago

laravel-event-sourcing - 3.1.2

Published by freekmurze over 4 years ago

  • make sure created_at is filled when creating a snapshot
laravel-event-sourcing - 1.1.2

Published by freekmurze over 4 years ago

  • expose AggregateRoot for testing state (#75)
laravel-event-sourcing - 1.1.1

Published by freekmurze over 4 years ago

  • release to fix v1
laravel-event-sourcing - 3.1.0

Published by freekmurze over 4 years ago

  • add support for Laravel 7
laravel-event-sourcing - 3.0.4

Published by freekmurze over 4 years ago

  • fix for serializing events that use immutable datatime objects (#67)
laravel-event-sourcing - 3.0.2

Published by freekmurze over 4 years ago

  • only replace the first instance of the basePath in DiscoversEventHandlers (#62)