ConfigurationAPI 1.1.0
Overview
Refactors and improves the configuration management API with a focus on safety, clarity, and structured loading behavior.
Changes
- Introduced structured config loading results (
ConfigLoadResult,ConfigLoadStatus) - Improved
ConfigManagerAPI:- clearer separation between
get,load, andcreateoperations - added safe
tryLoadandtryCreatemethods
- clearer separation between
- Added internal loading flow (
loadInternal) to centralize logic - Improved file handling and directory creation logic
- Refactored method naming for better readability and intent
YamlConfig Improvements
- Added safe typed access methods using
Optional - Added default-based getters (
getXOrDefault) - Eliminated silent fallback issues from Bukkit API
Build / Docs
- Fixed Javadoc doclint issues (build was failing)
- Standardized documentation across all public APIs
Versioning
- Migrated to semantic versioning (
1.1.0)
Notes
- No breaking changes to existing usage
- Internal structure significantly improved for future extensions
What's Changed
- feat: add safe typed access methods to YamlConfig by @devspexx in #11
- refactor(config): improve ConfigManager API and loading flow by @devspexx in #12
Full Changelog: v1.0.6...v1.1.0