Releases: hebcal/hebcal-es6
6.1.0
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
- @chaimleib made their first contribution in #702
Full Changelog: v6.0.8...v6.1.0
6.0.8
- add
he-x-NoNikudfor Erev Yom Kippur (ערב יום כיפור)
Full Changelog: v6.0.7...v6.0.8
6.0.7
Minor bugfixes
Full Changelog: v6.0.6...v6.0.7
6.0.6
Avoid generating hebcal.com URLs for dates after Gregorian 2999
Full Changelog: v6.0.5...v6.0.6
6.0.5
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
What's Changed
- Resolves #657: Add Vezot Haberakhah to list of parshiot by @akivajgordon in #658
Also see our announcement for other breaking changes in the 6.x series
New Contributors
- @akivajgordon made their first contribution in #658
Full Changelog: v6.0.2...v6.0.3
6.0.2
- Add
ParshaEvent.parshagetter as a convenience function for compatibility with previous version - Documentation fix for
SedraResult.chag(the true/false were inverted) - Always set
SedraResult.numto0for chag events (previouslyundefined)
Also see our announcement for other breaking changes in the 6.x series
Full Changelog: v6.0.1...v6.0.2
6.0.1
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()– useSedra.lookup().parshaSedra.getString()– usenew ParshaEvent(Sedra.lookup()).render()Sedra.isParsha()– use!Sedra.lookup().chagLocale.useLocale()– removed concept of global “active” localeLocale.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
What's Changed
- Niqqud correction by @omeritzics in #602
New Contributors
- @omeritzics made their first contribution in #602
Full Changelog: v5.10.0...v5.10.1
5.10.0
Add isAssurBemlacha: Utility method to determine if the date and time has a melacha (work) prohibition
Full Changelog: v5.9.9...v5.10.0