What’s New
In 1.1
Spring Statemachine 1.1 focuses on security and better interoperability with web applications. It includes the following:
-
Comprehensive support for Spring Security has been added. See State Machine Security.
-
Context integration with `@WithStateMachine' has been greatly enhanced. See Context Integration.
-
StateContext
is now a first class citizen, letting you interact with a State Machine. See UsingStateContext
. -
Features around persistence have been enhanced with built-in support for redis. See Using Redis.
-
A new feature helps with persist operations. See Using
StateMachinePersister
. -
Configuration model classes are now in a public API.
-
New features in timer-based events.
-
New
Junction
pseudostate. See Junction State. -
New Exit Point and Entry Point pseudostates. See Exit and Entry Point States.
-
Configuration model verifier.
-
New samples. See Security and Event Service.
-
UI modeling support using Eclipse Papyrus. See Eclipse Modeling Support.
In 1.2
Spring Statemachine 1.2 focuses on generic enhancements, better UML support, and integrations with external config repositories. It includes the following:
-
Support for UML sub-machines. See Using a Sub-Machine Reference.
-
A new repository abstraction that keeps machine configuration in an external repository. See Repository Support.
-
New support for state actions. See State Actions.
-
New transition error action concepts. See Transition Action Error Handling.
-
New action error concepts. See State Action Error Handling.
-
Initial work for Spring Boot support. See Spring Boot Support.
-
Support for tracing and monitoring. See Monitoring a State Machine.
In 1.2.8
Spring Statemachine 1.2.8 contains a bit more functionality than normally not seen in a point release, but these changes did not merit a fork of Spring Statemachine 1.3. It includes the following:
-
JPA entity classes have changed table names. See JPA.
-
A new sample. See Data Persist.
-
New entity classes for persistence. See Repository Persistence.
-
Transition conflict policy. See Configuring Common Settings
In 2.0
Spring Statemachine 2.0 focuses on Spring Boot 2.x support.
In 2.0.0
Spring Statemachine 2.0.0 includes the following:
-
The format of monitoring and tracing has been changed. See Monitoring and Tracing.
-
The
spring-statemachine-boot
module has been renamed tospring-statemachine-autoconfigure
.
In 3.0
Spring Statemachine 3.0.0 focuses on adding a Reactive support. Moving from 2.x
to 3.x
is
introducing some breaking changes which are detailed in Reactor Migration Guide.
With 3.0.x
we have deprecated all blocking methods which will get removed at some point
in a future releases.
Please read an appendix Reactor Migration Guide carefully as it will steer you
through a process of migrating into |
At this point most of a documentation has been changed to showcase reactive interfaces while we still keep some notes around to users still using old blocking methods.