Posted on September 10, 2019
This release brings several API enhancements as well as performance and stability improvements.
- New API for importing events from third-party systems (#1152).
For that, users may represent a third-party system as a Bounded Context. A
ThirdPartyContextpublishes events submitted by the user as external events so that Spine-based Contexts may subscribe/react on them. Example:
ThirdPartyContext context = ThirdPartyContext.multitenant("GitHub Issues"); ActorContext actor = // ... EventMessage event = IssueClosed .newBuilder() // ... .vBuild(); context.emittedEvent(event, actor);
- Deprecation of
@ByFieldfiltering in event subscribers. Now, the subscriber parameter itself should be annotated with
- New extension points in the
Deliverymechanism allow for fine-tuning (#1153).
IntegrationBusseized to exist. Instead, we introduce new internal components which perform the same job. Public API for SPI users was NOT changed (#1156).
- Test utilities now use the latest release version of Google Truth. Minor backward compatibility issues may be expected at the users’ end (#1146).
Subscribe to @SpineEngine on Twitter to get notified of the framework updates.