mirror of
https://github.com/acamarata/hijri-core.git
synced 2026-06-30 18:54:27 +00:00
1.5 KiB
1.5 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.0.4] - 2026-06-13
Fixed
- Published package now includes dist/index.d.mts so ESM type resolution under node16/nodenext resolves the import condition.
[1.0.3] - 2026-06-10
Fixed
- UAQ engine
toHijriwas reading local date components (getFullYear/getMonth/getDate) instead of UTC components, causing incorrect results on hosts west of UTC (e.g.America/New_York,Pacific/Auckland) when the input Date was a UTC-midnight value such as those returned bytoGregorianor ISO date-only strings.toHijrinow reads UTC calendar day components (getUTCFullYear/getUTCMonth/getUTCDate), matching the FCNA engine. Behavior change: on non-UTC hosts the converted Hijri day may shift to the UTC calendar day; round-trips viatoGregorianare now exact on every machine.
[1.0.2] - 2026-05-30
Changed
- Apply TypeScript strict null-check fixes in uaq.ts and fcna.ts (non-null assertions compile away; no behavior change)
[1.0.1] - 2026-05-28
Changed
- Flatten exports map to ADR-015 standard (import/require/types at top level)
- Add "./package.json" export condition
- Add coverage script (c8 --reporter=lcov)
- Migrate CI from pnpm/action-setup to corepack enable
[1.0.0] - 2026-05-28
Added
- Initial release