All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.0 - 2025-10-05
-
Core Engine & API
- Introduced a type-safe
ProcessEngine<T>interface. - Added fluent builder pattern for
ProcessEngineConfigfor robust engine setup. - New convenience factories like
ProcessEngineFactory.createTbbpm()andProcessEngineFactory.createBpmn(). - Enhanced
ProcessSourcewith multiple factory methods (fromCode,fromFile,fromContent). - New
ProcessResultwith functional methods likemap,orElse, andonSuccess.
- Introduced a type-safe
-
Hot Deployment
- New
compileflow-deploymodule for hot deployment capabilities. - Added
FlowHotDeployerservice to manage automatic process updates. - Implemented
FileSystemChangeDetectorfor monitoring local file changes. - Implemented
NacosChangeDetectorfor monitoring Nacos configuration changes.
- New
-
Spring Ecosystem
- Improved Spring Boot auto-configuration in
compileflow-spring-boot-autoconfigure. - Simplified integration with a dedicated
compileflow-spring-boot-starter.
- Improved Spring Boot auto-configuration in
-
Documentation
- Complete overhaul of all documentation with comprehensive guides.
- Added detailed guides for configuration, resource management, hot deployment, and monitoring.
- New API Reference section with clear usage examples.
- Architecture
- Re-architected the engine to use a hybrid model of Dependency Injection and an Event Bus for better modularity.
- Decoupled engine providers using Java's
ServiceLoader(SPI), allowing for extensions like BPMN and TBBPM.
- Configuration
- Migrated from a flat configuration model to a structured, builder-based
ProcessEngineConfig.
- Migrated from a flat configuration model to a structured, builder-based
- API
- The core
ProcessEngine.executeandtriggermethods now support typed DTOs for improved type safety.
- The core
- Resolved inconsistencies between documented API examples and the actual implementation.
- Ensured configuration properties in documentation match the codebase.
- Older, non-type-safe
ProcessEnginemethods will be deprecated. Refer to the migration guide for details.
- Removed several outdated and undocumented configuration options.
- No security changes in this release.
For older versions, please refer to the GitHub Releases page.