pray-calc-dart/CHANGELOG.md
Aric Camarata 971022734e Refactor: use nrel_spa package instead of bundled SPA
Replace the 1280-line bundled SPA implementation with a dependency on
the nrel_spa package. SpaResult and SpaAnglesResult are now re-exported
from nrel_spa for backwards compatibility. All 24 tests pass unchanged.
2026-03-08 13:10:16 -04:00

26 lines
1.1 KiB
Markdown

# Changelog
All notable changes to this project will be documented in this file.
## [Unreleased]
### Changed
- Replaced bundled SPA implementation with the `nrel_spa` package dependency
- Removed `SpaResult` and `SpaAnglesResult` from local types (now re-exported from `nrel_spa`)
## [1.0.0] - 2026-03-08
### Added
- `getTimes()` computes all prayer times using the PrayCalc Dynamic Method
- `getAngles()` returns adaptive Fajr/Isha twilight depression angles
- `getSpa()` full NREL Solar Position Algorithm (SPA) implementation
- `solarEphemeris()` low-precision Jean Meeus Ch. 25 ephemeris
- `getAsr()` computes Asr time for Shafi'i or Hanafi conventions
- `getQiyam()` computes start of the last third of the night
- `getMscFajr()` and `getMscIsha()` MCW seasonal offsets
- `formatTime()` converts fractional hours to HH:MM:SS strings
- `minutesToDepression()` converts time offsets to depression angles
- Full type definitions: PrayerTimes, FormattedPrayerTimes, TwilightAngles, SpaResult, SolarEphemeris
- Comprehensive test suite validated against pray-calc TypeScript v2.0.0