Skip to content

ZiweiKit 0.1.0

Latest

Choose a tag to compare

@qiyangdev qiyangdev released this 29 Jul 06:04

Highlights

ZiweiKit 0.1.0 establishes the package's first documented release baseline, with stronger validation, safer custom configuration handling, and comprehensive calendar coverage.

Added

  • Validation for custom mutagen and brightness tables.
  • Structural validation when decoding generated chart and horoscope models.
  • Explicit 1901...2099 calculation support contract.
  • Full-range calendar round-trip and malformed-input tests.
  • Continuous integration for the Swift package and iOS example.

Changed

  • Date strings now require exactly three numeric components.
  • Initializers for generated chart and horoscope result models are internal; callers create these values through Ziwei and Astrolabe calculation APIs.

Fixed

  • Prevented malformed custom brightness tables from causing out-of-bounds access.