Releases

Aspectran 9.6 Release Notes

This release focuses on adding dependsOn support for the IoC container, introducing a job locking mechanism for distributed environments, and a complete overhaul of the wildcard matching engine. Various features have been added and the internal architecture improved to enhance stability and operational efficiency in enterprise environments.

✨ New Features

  • Added Bean Dependency Control (dependsOn)
    • Supported the dependsOn attribute across all configuration formats (XML, APON, Annotation) to guarantee explicit initialization and destruction sequences between beans.
    • Introduced circular dependency detection to prevent configuration errors and ensure stable lifecycle management.
  • Introduction of Job Locking Mechanism for Distributed Scheduling
    • Introduced the ScheduledJobLockProvider interface and job locking mechanism to prevent redundant execution of scheduled jobs in clustered environments.
    • This allows integration of external locking providers to control job execution across nodes.
  • Enhanced Schedule and Job Control Attributes
    • Added isolated and disabled attributes to schedules and individual jobs to enhance runtime control capabilities.
  • Dynamic Encryption Configuration Reloading
    • Refactored PBEncryptionUtils to detect system property changes in real-time and reload configurations accordingly.
    • Added support for fixed salts and per-operation custom salt application to increase security configuration flexibility.
  • Introduction of TestCoreService for Integration Testing
    • Introduced a dedicated service to simplify and standardize context bootstrapping and lifecycle management during testing.

🚀 Improvements

  • Comprehensive Refactoring of the Wildcard Matching Engine (WildcardEngine)
    • Implemented a sophisticated backtracking algorithm to significantly improve the accuracy of complex pattern matching and masking.
    • Fully supports “separator swallowing” for double asterisks (**) matching empty segments.
  • Standardization of REST Response and Payload Structure
    • Refined the structure of ResponsePayload and ErrorPayload to dynamically include fields based on success or failure status.
  • Refinement of Daemon Service Architecture and Command Execution Structure
    • Separated command execution logic into explicit synchronous and asynchronous roles and integrated management functions into the DaemonService layer.
  • Centralized AsEL Expression Evaluation
    • Added methods to the Activity and Translet interfaces to allow direct evaluation of AsEL expressions and unified the underlying logic.

🐞 Bug Fixes

  • Wildcard Engine Matching Fixes
    • Resolved issues where cross-segment wildcards incorrectly consumed subsequent literal parts.
  • Improved Pattern Matching Accuracy
    • Corrected the behavior of ‘?’ and ‘+’ wildcards to align with their definitions.
  • Daemon Command Isolation Rules
    • Fixed inconsistencies in the processing logic for isolated and slow command files in daemon services.

🛠️ Dependency Upgrades

  • JLine (4.0.13)
  • Commons IO (2.22.0)
  • Thymeleaf (3.1.5.RELEASE)
  • Apache HttpClient5 (5.6.1)
  • Hibernate Core (7.3.2.Final)

NEWS
Release

Archive