Skip to content

v1.1.0 — Horizon, Snapshot/Resume, Hijri

Choose a tag to compare

@7odaifa-ab 7odaifa-ab released this 08 Jul 19:28
· 6 commits to main since this release

✨ Features (all additive & backward compatible)

  • Configurable Major Review Horizon — HorizonConstraint completed as a sliding floor consumed by LoopingStrategy. Bound the major review to the most recently memorized N lines via addMajorReview(amount, start?, end?, { horizonLines }) or DTO config.horizonLines.
  • Snapshot & Resume — persist/restore live plan state for intermittent students: TrackManager.exportSnapshot() / importSnapshot(), BaseTrack.exportState() / importState(), and the PlanSnapshot type. Full history is preserved so the minor-review window stays correct.
  • Opt-in Hijri dates — zero-dependency HijriDateUtils (Umm al-Qura via Intl). Set includeHijri: true to attach hijriDate to each PlanDay / PlanDayDTO.

✅ Quality

  • 63/63 tests passing (11 new).
  • Docs updated (README, README.ar, USER_GUIDE, API contracts).

npm: @zakhm_sa/makeen-core@1.1.0