refactor: simplify ConfigLoader and enhance ConfigRepresenter

- Bump version to 0.0.2 and update timi-io dependency
- Refactor ConfigLoader with cleaner SnakeYAML integration
- Add LoaderOptions security settings (recursion limit, alias limit, size limit)
- Enhance ConfigRepresenter to skip null values and improve enum serialization
- Remove RawMapper inner class and rawMappingList in favor of direct field reflection
- Simplify converter mechanism with cleaner serialize/deserialize flow
- Update tests to match new simplified API
- Add .claude and temp files to .gitignore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Timi
2026-01-15 18:19:31 +08:00
parent a0984d0783
commit df0610c15f
5 changed files with 314 additions and 257 deletions

View File

@@ -6,7 +6,7 @@
<groupId>com.imyeyu.config</groupId>
<artifactId>timi-config</artifactId>
<version>0.0.1</version>
<version>0.0.2</version>
<properties>
<maven.test.skip>true</maven.test.skip>
@@ -24,7 +24,7 @@
<dependency>
<groupId>com.imyeyu.io</groupId>
<artifactId>timi-io</artifactId>
<version>0.0.1</version>
<version>0.0.2</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>