Skip to content

v3.0.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@dhis2-bot dhis2-bot released this 06 Jul 11:52
48e7037

3.0.0-alpha.1 (2026-07-06)

BREAKING CHANGES

  • getNowInCalendar now returns a plain CalendarDate
    object ({ year, month, day, eraYear? }, src/types.ts) instead of a
    Temporal.ZonedDateTime. This removes Temporal from the public
    interface entirely and matches convertFromIso8601/convertToIso8601's
    existing return shape. Code that only read .year/.month/.day/.eraYear
    needs no changes; code that called Temporal methods on the result
    needs to re-derive another date via getNowInCalendar/convertFromIso8601
    instead of calling .withCalendar()/.startOfDay() on the previous
    result.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com