Posted on May 03, 2019
API Changes in Core Modules
@Subscribemethods now should be package-private, not
@Applymethods now should be
private, not package-private;
@Assignmethods cannot return
Nothinganymore. This feature was kept in Process Managers for backward compatibility. Now, we recommend that clients create domain-specific events even if they are not to be handled;
- many getter methods are renamed in order to remove the
isprefixes. This code style will be propagated to the components which are not yet affected in the nearest future;
DefaultRepositoryis introduced in order to avoid creating empty repository classes;
- Javadoc is revised and fixed.
API Changes in Non-Core Modules
- the new
ValidatingOptionFactorySPI allows users to configure custom Protobuf validating options;
(when)option is moved to
spine/time/time_options.proto. It is now applicable to all
timeoptions which capture time, not only
MethodFactoryallows to generate methods into specific Protobuf definitions. Generated methods are configured via the
modelCompiler.interfacesconfig allows to mark certain Protobuf definitions with a certain Java interface.
This version updates nearly all the dependency versions.
config/gradle/dependencies.gradle for the details.
Subscribe to @SpineEngine on Twitter to get notified of the framework updates.