Repository navigation
v4.0.0
Breaking Changes
- Multi-module restructure: Project split into two modules:
fastproto- Core library with all runtime functionality (backwards compatible artifactId)fastproto-processor- Annotation processor for compile-time formula generation
- Dynamic lambda compilation is now disabled by default for better Android/JRE compatibility
Added
fastproto-processormodule with SPI auto-discovery for annotation processorsFormulaProcessor- GeneratesFunctionclasses at compile time for@DecodingFormula(lambda="...")and@EncodingFormula(lambda="...")CodecProcessor- Generates codec wrapper classes for@GenerateCodecannotated classesFormulaRegistry- Runtime lookup for compile-time generated formula classes- Full Android and Java 11+ JRE compatibility for lambda formulas via annotation processor
Changed
- Lambda formulas now use compile-time code generation instead of runtime dynamic compilation
- Users need to add
fastproto-processoras a dependency to use lambda formula features - Updated documentation for new multi-module structure
Migration Guide
For users upgrading from 3.x: