This repository was archived by the owner on Feb 23, 2026. It is now read-only.
π Aether Generators v1.1.0 β Improved Code Generation with JavaPoet
π Aether Generators v1.1.0 β Improved Code Generation with JavaPoet
This release focuses on a refactored, more maintainable DTO generator with deterministic output and clearer diagnostics. It is a dropβin upgrade for users of the 1.0.x line.
β¨ Highlights in 1.1.0:
- β
Refactored: Processor code modularized into
structandutilspackages - β
Stability: Deterministic
serialVersionUIDgeneration via SHAβ256 hashing - β
Ordering: Stable field ordering by
@Dto(order)with declaration order as tiebreaker - β
Annotation mirroring: Copies all field annotations from the source (excluding
@Dto) - β
DTO quality: Consistent
toString(),equals(), andhashCode() - β Docs: Generated Javadoc references original fields; internal Javadocs added across the processor
- β
Convenience: Trailing block comment with
change(..)/build(..)examples appended to each DTO
π¦ Installation
Tip
π All Aether products are available on Maven Central β no extra repository required!
Maven (BOM + modules)
<!-- pom.xml -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.splatgames.aether</groupId>
<artifactId>aether-generators-bom</artifactId>
<version>1.1.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- DTO generator modules -->
<dependency>
<groupId>de.splatgames.aether</groupId>
<artifactId>aether-generators-dto-annotations</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>de.splatgames.aether</groupId>
<artifactId>aether-generators-dto-processor</artifactId>
<version>1.1.0</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>Gradle (BOM + modules)
dependencies {
implementation platform('de.splatgames.aether:aether-generators-bom:1.1.0')
implementation 'de.splatgames.aether:aether-generators-dto-annotations'
annotationProcessor 'de.splatgames.aether:aether-generators-dto-processor:1.1.0'
}π οΈ Upgrade Notes
- No breaking API changes in generated DTOs.
- If you pinned
1.0.xin your annotation processor paths, update to1.1.0. - The 1.0.x line is considered legacy; use 1.1.0 for continued improvements.
π Changelog
Enhancements
- Modularized processor code into
structandutilspackages. - Deterministic
serialVersionUIDcomputation for DTOs. - Stable field ordering by
order, with declaration order as a secondary key. - Copied source field annotations to DTO fields (excluding
@Dto). - Appended recommended
change(..)andbuild(..)methods as a trailing comment in each DTO. - Added comprehensive internal Javadocs and clearer compiler diagnostics.
Bug Fixes
- Fixed missing semicolon in generated
toString()methods. - Corrected declaration index handling for consistent ordering.
π License
This project is licensed under the MIT License. See LICENSE for details and NOTICE for thirdβparty attributions.