mirror of
https://github.com/acamarata/date-fns-hijri.git
synced 2026-06-30 18:54:25 +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.mtsso ESM type resolution undernode16/nodenextresolves the import condition correctly.
[1.0.3] - 2026-06-10
Fixed
toHijriDateand all field getters now produce exact round-trips on every host timezone (input Date interpreted by its local calendar day, matching date-fns conventions; previously used raw Date which failed in timezones west of UTC against hijri-core's UTC-day contract).
Changed
fromHijriDateand all arithmetic/boundary helpers (addHijriMonths,addHijriYears,startOfHijriMonth,endOfHijriMonth) now return local-midnight Dates instead of UTC midnight / local noon. UsegetFullYear()/getMonth()/getDate()(or date-fnsformat()) on the result — nottoISOString().- Requires hijri-core 1.0.3 (UTC-day contract).
[1.0.2] - 2026-05-30
Changed
- Trim README to concise reference format; remove redundant em-dash connectors
- Add TypeDoc API documentation generation
[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