-
The Park-Manager Components Bridges and Bundles have all been merged into the CoreModule.
-
The SplitToken functionality is now available at https://github.com/rollerworks/split-token
-
Modules are now expected to extend from the
ParkManager\Module\CoreModule\Infrastructure\DependencyInjection\Module\AbstractParkManagerModule
class or at least implement theParkManagerModule
otherwise. -
The ServiceBus component and bundle were replaced with the Symfony Messenger.
- The Model Component has been removed, use the SharedKernel and ApplicationFoundation Components instead.
-
A
SplitToken
can not be created directly anymore, use one of the provided Factories for creating aSplitToken
.Tip: Use
FakeSplitTokenFactory
for testing, this implementation uses a static value for all tokens and performs no actual password-hashing.Before:
$token = SplitToken::generate($id); $token = SplitToken::fromString(...);
After:
$splitTokenFactory = new SodiumSplitTokenFactory(); // No special options. $token = $splitTokenFactory->generate($id); $token = $splitTokenFactory->fromString(...);
-
The
SplitTokenValueHolder
can not be used anymore to validate a SplitToken, use theSplitToken
object to validate:Before:
if ($holder->isValid($token, $id)) { // ... }
After:
if ($token->matches($holder, $id)) { // ... }
-
The
UserCollection::getByEmailAddress()
method has been renamed tofindByEmailAddress
. -
The
UserCollection::getByEmailAddressChangeToken()
method has been renamed tofindByEmailAddressChangeToken
. -
The
UserCollection::getByPasswordResetToken()
method has been renamed tofindByPasswordResetToken
.
-
The
WebhostingAccountOwner
class has been replaced byRootEntityOwner
of the Model Component. -
The
Model\DomainName\WebhostingDomainNameRepository::getByFullName()
method has been renamed tofindByFullName
.
-
Usage of Prooph is dropped, Command/Query and Handlers no longer need to extend or implement a base interface/class.
-
The
QueryResponseNegotiator
is removed, Query Handlers are now expected to return there result directly withoutReact\Promise
. -
The
AggregateRoot
interface is removed. -
The
CommandHandler
interface is removed. -
The
Util\EventsExtractor
class was removed. -
The
DomainMessageAssertion
class was removed. -
The
EventsRecordingAggregateRoot
class was renamed toEventsRecordingEntity
. -
The
EventsRecordingEntityAssertionTrait
was renamed toEventsCollectionTrait
. -
The
EventsCollectionTrait
was moved to theEvent
namespace. -
Command, Query and Domain Events are now simple DTO objects without a Payload, it's still possible to make them "exportable" but this is no longer a hard requirement.
- The
UserIdTrait
was removed.