Skip to content

Releases: hebcal/hebcal-es6

v2.13.0: really fixed browser-only bundle.js breaking change of hebcal__core name

28 Dec 15:35
Compare
Choose a tag to compare

Revert to umd rollup type and hebcal__core name to fix previous breaking change (#17).
@hebcal/core 3.0 will reintroduce the name-breaking change and iife bundle type.

v2.12.0: fxed browser-only bundle.js breaking change of hebcal__core name

27 Dec 15:43
Compare
Choose a tag to compare

Fixed browser-only bundle.js breaking change of hebcal__core name by adding an alias

Tish'a B'Av (observed) on Av 10

21 Dec 18:11
Compare
Choose a tag to compare
v2.10.0

Tish'a B'Av (observed) on Av 10

Chanukah candle-lighting times at dusk

17 Dec 17:00
Compare
Choose a tag to compare

If both options.candlelighting=true and options.location is specified, Chanukah candle-lighting times and minor fast start/end times will also be generated. Chanukah candle-lighting is at dusk (when the sun is 6.0° below the horizon in the evening) on weekdays, at regular candle-lighting time on Fridays, and at regular Havdalah time on Saturday night (see above).

Minor fasts begin at Alot HaShachar (sun is 16.1° below the horizon in the morning) and end when 3 medium-sized stars are observable in the night sky (sun is 7.083° below the horizon in the evening).

v2.8.0

11 Dec 00:16
Compare
Choose a tag to compare
Don't generate Candle-lighting events for Chanukah when options.noHol…

Start and end times for fasts

24 Nov 05:39
Compare
Choose a tag to compare

v2.7.0 brings new start and end times for fasts

  • Start time = Alot haShachar (16.1 degrees below horizon in morning)
  • End time = Tzeit 3 medium-sized stars (7.083 degrees below horizon in evening)

v2.6.1

21 Sep 16:39
Compare
Choose a tag to compare
Bump depedencies before release

Fix translation for Rosh Hashana

14 Sep 21:51
Compare
Choose a tag to compare

The event for Rosh Hashana is now translated correctly into the active locale.

Thanks to @ilayDev for finding this bug #10

  const RH = new HDate(1, months.TISHREI, 5749);
  const options = {start: RH, end: RH};
  const ev = HebrewCalendar.calendar(options)[0];
  t.is(ev.render('en'), 'Rosh Hashana 5749');
  t.is(ev.render('he'), 'רֹאשׁ הַשָּׁנָה 5749');

Holiday and Parsha URL format change

06 Sep 21:34
Compare
Choose a tag to compare

Links generated by HolidayEvent.url() and ParshaEvent.url() now include a date.

For example:

https://www.hebcal.com/sedrot/behar-bechukotai-20200516

https://www.hebcal.com/holidays/simchat-torah-2022

Chanukah candle-lighting times & performance improvements

03 Sep 23:34
Compare
Choose a tag to compare

This release changes the behavior of Chanukah candle-lighting times. In versions 2.3.0 and earlier, each day of Chanukah would be represented as 2 Events: one HolidayEvent such as Chanukah: 3 Candles and a separate CandleLightingEvent with the corresponding time. In version 2.4.0 and later, Chanukah events are now emitted as a single HolidayEvent with extra attributes eventTime and eventTimeStr.

In addition, this release improves performance of HDate to Date conversion by caching the absolute Julian Days, and a minor memory improvement to the Event class by removing the Event.getAttrs() function and assigning optional attributes directly to the underlying object.