Skip to content

Modernize Javadoc across all modules for 1.0.0#274

Merged
Splatcrafter merged 3 commits intodevelopfrom
refactor/enhance-documentation-for-1.0.0
Apr 21, 2026
Merged

Modernize Javadoc across all modules for 1.0.0#274
Splatcrafter merged 3 commits intodevelopfrom
refactor/enhance-documentation-for-1.0.0

Conversation

@Splatcrafter
Copy link
Copy Markdown
Member

@Splatcrafter Splatcrafter commented Apr 21, 2026

Summary

Align Javadoc examples and cross-references with the real 1.0.0 API so the generated docs reflect the library as shipped. Outdated/fictional APIs and incorrect links had accumulated across package-infos and core types; this sweep corrects them and makes mvn javadoc:javadoc succeed across the whole build.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation
  • Build / CI

Related Issues

n/a — documentation-only sweep in preparation for the 1.0.0 release.

Changes

  • Replace outdated method references and fictional APIs (DataVersion.of, DSL.allWithRemainder/ref, Rules.sequence/restructure, schema.typeRegistry, hasPartialResult, DataFixerBuilder.create, withContext) with their real counterparts.
  • Update the rewrite package-info and DataFix / Fixes / SchemaDataFix samples to use the current Rules DSL (including groupFields) and the correct SchemaDataFix constructor.
  • Document the diagnostic package, field-aware rules, DiagnosticContext wiring, and captureFieldDetails introduced in 1.0.0 in the API and core package-infos.
  • Fix the DynamicOps link to the non-existent #isNull, correct Pair accessor names, the DataResult#mapError signature, and the registerFixes / registerSchemas examples that were missing TypeReferences or using bogus overloads.
  • Bump visible version strings and Maven coordinates to 1.0.0 in the CLI, Spring Boot starter, and examples.
  • Add captions to every <table> and promote nested <h3> to <h4> in the benchmarks module so mvn javadoc:javadoc succeeds across the whole build.

Verification

  • Unit tests added/updated
  • Existing tests pass
  • Manual verification performed (if applicable) — mvn javadoc:javadoc succeeds across all modules.

Breaking Changes

None. Documentation-only — no public API, behavior, or binary compatibility changes.

AI Disclosure

  • This PR includes AI-generated or AI-assisted content
  • Javadoc modernization and package-info rewrites were drafted with Claude (Opus 4.7) and reviewed/edited before commit. See the Co-Authored-By trailer on the commit.

See AI Usage Guidelines for details.

Checklist

  • Code follows project conventions
  • Public APIs are documented
  • Tests cover new behavior — n/a, documentation-only
  • No unnecessary dependencies added
  • AI usage disclosed (if applicable)

🤖 Generated with Claude Code

Align Javadoc examples and cross-references with the current 1.0.0 API so the
generated docs reflect the library as shipped.

- Replace outdated method references and fictional APIs (DataVersion.of, DSL.allWithRemainder/ref, Rules.sequence/restructure, schema.typeRegistry, hasPartialResult, DataFixerBuilder.create, withContext) with their real counterparts.
- Update rewrite package-info and DataFix/Fixes/SchemaDataFix samples to use the current Rules DSL (including groupFields) and the correct SchemaDataFix constructor.
- Document the diagnostic package, field-aware rules, DiagnosticContext wiring, and captureFieldDetails introduced in 1.0.0 in the API and core package-infos.
- Fix DynamicOps link to non-existent #isNull, Pair accessor names, DataResult mapError signature, and the registerFixes/registerSchemas examples that were missing TypeReferences or using bogus overloads.
- Bump visible version strings and Maven coordinates to 1.0.0 in the CLI, Spring Boot starter, and examples.
- Add captions to every <table> and promote nested <h3> to <h4> in the benchmarks module so `mvn javadoc:javadoc` succeeds across the whole build.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Erik Pförtner <splatcrafter@splatgames.de>
@Splatcrafter Splatcrafter requested a review from a team as a code owner April 21, 2026 19:51
…ocumentation-for-1.0.0

# Conflicts:
#	aether-datafixers-api/src/main/java/de/splatgames/aether/datafixers/api/dynamic/DynamicOps.java
#	aether-datafixers-core/src/main/java/de/splatgames/aether/datafixers/core/fix/SchemaDataFix.java
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 21, 2026

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

The CLI --version output was bumped to 1.0.0 in 7b9dfc8 but the corresponding
test in AetherCliTest still asserted "0.3.0", causing the pipeline to fail.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Erik Pförtner <splatcrafter@splatgames.de>
@Splatcrafter Splatcrafter force-pushed the refactor/enhance-documentation-for-1.0.0 branch from 1daabf8 to 1023814 Compare April 21, 2026 20:00
@Splatcrafter Splatcrafter merged commit e97cd89 into develop Apr 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant