Skip to content

v5.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Feb 05:02
· 179 commits to main since this release
96ed373

5.0.0 (2024-02-16)

⚠ BREAKING CHANGES

  • latest: The latest functions now
    throw Error if both specified Dates
    contain numeric fields that are non-finite.
  • latest: The type parameters of the
    latest functions have been removed. These
    functions now always either return a valid
    Date or throw.
  • earliest: The earliest functions now
    throw Error if both specified Dates
    contain numeric fields that are non-finite.
  • earliest: The type parameters of the
    earliest functions have been removed. These
    functions now always either return a valid
    Date or throw.

Features

  • earliest: normalize Date before returning result (3695908)
  • latest: normalize Date before returning result (96ed373)