Repository navigation
v2.1.0
Added
ProtocolVersions Class Generation
- New
ProtocolVersionsutility class - Provides compile-time constants for all supported protocol versions:// Instead of magic strings String version = ProtocolVersions.V1; // Check if version is supported if (ProtocolVersions.isSupported(versionId)) { ... } // Get all supported versions Set<String> versions = ProtocolVersions.supported(); // Validate version (throws if unsupported) ProtocolVersions.requireSupported(versionId);
- Configuration:
generateProtocolVersions(default:true)
Parallel Generation
- New parallel generation mode for improved build performance on large schemas:
<configuration> <parallelGeneration>true</parallelGeneration> <generationThreads>4</generationThreads> <!-- 0 = auto --> </configuration>
- Interfaces, abstract classes, and implementations are generated in parallel
- Thread count auto-detected by default (number of available processors)