Skip to content

v3.0.0-rc.2

Pre-release
Pre-release

Choose a tag to compare

@lindyhopchris lindyhopchris released this 18 Jan 15:03
· 152 commits to develop since this release

Upgrading

composer config minimum-stability rc
composer require cloudcreativity/ddd-modules:^3.0

Changelog

Added

  • New test classes for driven ports and the domain event dispatcher. These are intended to make setting up unit and integration tests easier. They can also be used as fakes while you build your real implementation. The classes are in the Testing namespace and are:
    • Testing\FakeDomainEventDispatcher
    • Testing\FakeExceptionReporter
    • Testing\FakeOutboundEventPublisher
    • Testing\FakeQueue
    • Testing\FakeUnitOfWork
  • Properties on message classes can now be marked as sensitive so that they are not logged. This is an alternative to having to implement the ContextProvider interface. Mark a property as sensitive using the CloudCreativity\Modules\Toolkit\Loggable\Sensitive attribute.

Full Changelog: v3.0.0-rc.1...v3.0.0-rc.2