Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This changeset sets the version to 1.8.0 and updates the corresponding license report files.
This release brings numerous fixes, updates to API and performance improvements.
Breaking Changes
Instead of
NodeId
,ShardSessionRecord
now usesWorkerId
to indicate who is currently processing which shard.Thus, all shard processing sessions should be completed before the migration.
Please see [1.x] Make
AbstractWorkRegistry
respect the current worker of a node #1433 for details.API Changes
Made
BlackBoxContext
implementCloseable
(as addition of [1.x] EnableIntegrationBroker
dispatch events regardless of registration order of subscribing and publishing BCs #1402).BlackBoxContext
API has been extended to provide an instance ofClient
linked to the context under the test.It makes possible to use
Client
in tests, for example:Please note, that provided
Client
would inheritTenantId
fromBlackBoxContext
, but would NOT inheritUserId
andZoneId
.Check [1.x] Make
BlackBoxContext
provide aClient
linked to the context under the test #1407 for details.Made API calls for the conditional settings of
ServerEnvironment
"lazy".Previously, ServerEnvironment provided two kinds of API calls for the conditional settings:
However, in fact, there was no "lazy" behavior, which caused numerous workarounds to actually postpone the initialization of environment-specific settings until they start to make sense.
This release addresses the issue by making the behavior truly "lazy" (see [1.x] Lazy
ServerEnvironment.when(..).use(..)
#1421).Fixes
Enabled
IntegrationBroker
dispatch events regardless of registration order of subscribing and publishing Bounded Contexts (see [1.x] EnableIntegrationBroker
dispatch events regardless of registration order of subscribing and publishing BCs #1402).Transformation of an entity's state during
Migration
has been changed so that thenewState
completely overwrites the old one within the migration transaction (see [1.x] Perform clear-and-replace when applying entityMigration
#1405).The internals of
IntegrationBroker
were made more thread-safe (see [1.x] MakeIntegrationBroker
safer. AdjustSubscriptionService
for standalone event producers. #1423).SubscriptionService
now properly locates the Bounded Context when subscribing to events produced by standalone producers, such as descendants ofAbstractCommandHandler
orAbstractEventReactor
(see [1.x] MakeIntegrationBroker
safer. AdjustSubscriptionService
for standalone event producers. #1423).Performance