Skip to content

v0.2.1 - Unmarshaller and Validation Improvements

Latest
Compare
Choose a tag to compare
@TristanSpeakEasy TristanSpeakEasy released this 13 Jun 06:43
c8ef45f

🔧 Refactoring & Internal Improvements

This release focuses on significant internal improvements to the unmarshaller, validation system, and code organization without introducing breaking changes.

Key Improvements

  • Enhanced Unmarshaller: Improved struct handling and array element ordering preservation
  • Validation System: Streamlined error handling with core validation errors surfaced through high-level model validation methods
  • Code Organization: Reduced boilerplate code through embeddable base models and helper methods
  • Developer Experience: Improved populator naming and handling for better maintainability

Detailed Changes

  • Improve unmarshaller struct handling and array element ordering (#17)
  • Improve populator naming and handling of structs in unmarshaller (#16)
  • Move to surfacing core validation errors through the high model validation methods (#15)
  • Remove boiler plate by using embeddable base models that simplify implementation (#14)
  • Add helper methods for creating validation errors to remove boilerplate (#13)
  • Reduce boiler plate on models when unmarshalling (#12)

What's Changed

Full Changelog: v0.2.0...v0.2.1


This release maintains full backward compatibility while improving internal code quality and maintainability.