Skip to content

Releases: hebcal/hebcal-es6

6.1.0

10 Apr 13:07

Choose a tag to compare

What's Changed

  • Replace @hebcal/hdate Molad with local version
  • fix grammar error with Omer in English ("is" ==> "are")
  • Update typescript target to es2023
  • Fix many SonarQube warnings
  • Update package dependencies
  • Port Kiddush Levana calculation functions from KosherZmanim
  • Reduce LRU cache sizes to lower memory footprint
  • Ensure cityName is a string in Location constructor
  • feat(translations): in ashkenazi and he, add zmanim strings, support consistent caps by @chaimleib in #702

New Contributors

Full Changelog: v6.0.8...v6.1.0

6.0.8

31 Dec 17:04

Choose a tag to compare

  • add he-x-NoNikud for Erev Yom Kippur (ערב יום כיפור)

Full Changelog: v6.0.7...v6.0.8

6.0.7

31 Dec 00:00

Choose a tag to compare

Minor bugfixes

Full Changelog: v6.0.6...v6.0.7

6.0.6

19 Nov 13:58

Choose a tag to compare

Avoid generating hebcal.com URLs for dates after Gregorian 2999

Full Changelog: v6.0.5...v6.0.6

6.0.5

31 Oct 03:05

Choose a tag to compare

Shorten molad announcement strings

From: Molad Sivan: Fri, 35 minutes and 10 chalakim after 3:00pm
To: Molad Sivan: Friday, 3:35pm and 10 chalakim

Full Changelog: v6.0.3...v6.0.5

6.0.3

29 Oct 15:35

Choose a tag to compare

What's Changed

Also see our announcement for other breaking changes in the 6.x series

New Contributors

Full Changelog: v6.0.2...v6.0.3

6.0.2

26 Oct 15:51

Choose a tag to compare

  • Add ParshaEvent.parsha getter as a convenience function for compatibility with previous version
  • Documentation fix for SedraResult.chag (the true/false were inverted)
  • Always set SedraResult.num to 0 for chag events (previously undefined)

Also see our announcement for other breaking changes in the 6.x series

Full Changelog: v6.0.1...v6.0.2

6.0.1

26 Oct 02:21

Choose a tag to compare

Major release - breaking changes

We’re pleased to announce a major update to @hebcal/core, our TypeScript implementation of perpetual Jewish Calendar with holidays, Shabbat and holiday candle lighting and havdalah times, Torah readings, and more. The library targets both browser-based JavaScript and server-side Node.js.

Version 6.0.0 is a breaking change with the follow changes

1. Removes support for CommonJS and Node.js 16.x (#647)

End-of-Life Date for Node.js 16 was September 2023. Node.js 18 end-of-life was April 2025.
Many library maintainers have dropped CommonJS support and shifted to ESM-only packages

2. ParshaEvent constructor change

ParshaEvent.constructor() now takes a single SedraResult argument.

Change this:

    const parsha = sedra.lookup(hdate);
    if (!parsha.chag) {
      const pe = new ParshaEvent(hdate, parsha.parsha, il, parsha.num);
    }

To this:

    const parsha = sedra.lookup(hdate);
    if (!parsha.chag) {
      const pe = new ParshaEvent(parsha);
    }

3. Removed all deprecated APIs from the 5.x series:

  • Event.clone()
  • HolidayEvent.clone()
  • Sedra.get() – use Sedra.lookup().parsha
  • Sedra.getString() – use new ParshaEvent(Sedra.lookup()).render()
  • Sedra.isParsha() – use !Sedra.lookup().chag
  • Locale.useLocale() – removed concept of global “active” locale
  • Locale.getLocaleName() – removed concept of global “active” locale

Smaller changes:

  • Add unit tests for a few uncovered public methods by @mjradwin in #610
  • Bump many dependencies
  • Bump quick-lru from 6.1.2 to 7.3.0 by @dependabot[bot] in #644

Full Changelog: v5.10.1...v6.0.1

5.10.1

27 Jul 18:36

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.10.0...v5.10.1

5.10.0

22 Jun 15:47

Choose a tag to compare

Add isAssurBemlacha: Utility method to determine if the date and time has a melacha (work) prohibition

Full Changelog: v5.9.9...v5.10.0