Skip to content

1.1.1

Choose a tag to compare

@Traqueur-dev Traqueur-dev released this 11 Aug 06:28
· 17 commits to main since this release

πŸ”§ Structura v1.1.1 – Polymorphic System Restoration

Critical patch restoring polymorphic configuration features lost in merge conflict.

🚨 Critical Fix

  • Restored polymorphic configuration system: Complete re-implementation of v1.1.0 features lost due to merge conflict resolution
  • Full feature parity: All polymorphic functionality from v1.1.0 has been restored and validated

πŸ”„ Restored Features

  • @Polymorphic annotation: Type resolution based on YAML keys
  • PolymorphicRegistry<T>: Type-safe implementation registries
  • Automatic type detection: Runtime resolution of concrete implementations
  • Registry management: Creation, configuration, and retrieval of polymorphic registries
  • Package reorganization: DefaultValueRegistry properly relocated to registries package

πŸ“‹ What Was Restored

// All polymorphic functionality restored
@Polymorphic(key = "type")
public interface DatabaseConfig extends Loadable { /* ... */ }

PolymorphicRegistry.create(DatabaseConfig.class, registry -> {
    registry.register("mysql", MySQLConfig.class);
    registry.register("postgres", PostgreSQLConfig.class);
});

πŸ§ͺ Quality Assurance

  • Complete test suite: All 250+ polymorphic tests restored and passing
  • Feature validation: Comprehensive verification of restored functionality
  • Regression testing: Ensures no additional features were lost

πŸ“¦ Impact

  • No API changes: Identical functionality to v1.1.0
  • Full compatibility: Existing code using v1.1.0 works unchanged
  • Immediate upgrade: Safe to upgrade from v1.1.0 without modifications

⚠️ Recommendation

Users on v1.1.0 should upgrade immediately to v1.1.1 to ensure access to all polymorphic features.

Full Changelog: 1.1.0...1.1.1