Skip to content

Releases: ppeble/definitions

v9.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 06:23
96206cc
  • Add ma Eid al-Fitr and Eid al-Adha, calculated from the Hijri calendar. definitions pull-391
  • Add my Hari Raya Puasa and Hari Raya Haji, calculated from the Hijri calendar and observed on the following Monday when they fall on a Sunday. definitions pull-392

v9.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 08:03
3481a8c
  • Switch tr Ramazan and Kurban Bayramı to a calculated Hijri date instead of a hand-maintained per-year table, so they no longer silently disappear past 2030. definitions pull-385, definitions issue-377
  • Fix vn Giỗ tổ Hùng Vương test dates for 2018-2023; the 2018 date was wrong due to a lunar calendar leap-month bug. definitions pull-386, definitions issue-150
  • Shift observed us Independence Day off weekends for every region via a new independence_day function, replacing the us_va-only to_weekday_if_weekend shim; nearest weekday for most regions, the following Monday for us_ri, no shift for us_tx. definitions pull-387, holidays issue-478

v9.0.0

Choose a tag to compare

@github-actions github-actions released this 31 Aug 07:26
9c1d189

Breaking

v8.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Aug 08:03
7e8f54d
  • Add by Belarus, with the nine non-working days set by the Labour Code plus Радуніца, the ninth day after Orthodox Easter, and the state holidays that remain ordinary working days marked informal, for definitions pull-364, reworked from holidays pull-402 (thanks to https://github.com/sania1801)
  • Add co Día de Nuestra Señora del Rosario de Chiquinquirá, 9 July moved to the following Monday under the Emiliani law, a national holiday from 2026 under Law 2578, for definitions pull-344 (thanks to https://github.com/heysebitas)
  • Update pe to Peru's official calendar, adding Batalla de Ayacucho and Batalla de Junín from 2022, Día de la Fuerza Aérea del Perú from 2023 and Batalla de Arica y Día de la Bandera from 2024, each dated from its first observance rather than its publication year, and correcting the names of Día de San Pedro y San Pablo and Combate de Angamos, for definitions pull-365 (thanks to https://github.com/juniorUsca)
  • Mark pe Día de los Reyes Magos and Pascua as informal, since neither is a feriado. Peru now returns the official 16 national holidays, so callers relying on either of these as formal holidays will no longer receive them
  • Fix es_ga Santiago Apóstol, which falls on 25 July and not 23, for definitions pull-366 (thanks to https://github.com/trumbitta)

v8.1.0

Choose a tag to compare

@github-actions github-actions released this 31 Jul 07:53
cb18243
  • Add ie St Brigid's Day, the first Monday in February or 1 February when that day is a Friday, a public holiday from 2023, for definitions issue-348
  • Restore sk Deň Ústavy Slovenskej republiky and Deň boja za slobodu a demokraciu, which were removed entirely in 5.9.0 despite remaining state holidays in Slovak law
  • Mark sk Deň Ústavy Slovenskej republiky as informal from 2024 and Deň boja za slobodu a demokraciu as informal from 2025, the years each stopped being a day of rest, for definitions pull-288 (thanks to https://github.com/lucialopuchova)
  • Clarify that informal also covers holidays that remain in law but are ordinary working days
  • Add us_ut Juneteenth observance rule, observed on June 19 when that is a Monday, the preceding Monday when June 19 is Tuesday through Friday, and the following Monday when it is a weekend, for definitions pull-290 (thanks to https://github.com/philipwritescode)
  • Allow region as a custom method argument, matching what doc/SYNTAX.md has always documented

v8.0.1

Choose a tag to compare

@github-actions github-actions released this 17 Jul 06:21
b564bab
  • Fix ph National Heroes Day when August 31st falls on a Sunday for definitions issue-345
  • Fix gb Christmas and Boxing Day observed dates when Christmas falls on a Sunday for holidays issue-396
  • Add required region_names to mc to satisfy the ISO 3166 validation introduced in 8.0.0

v8.0.0

Choose a tag to compare

@github-actions github-actions released this 09 Jun 08:00
bab706e
  • Rename Vietnam region code from vi to vn to follow ISO 3166-1 alpha-2 (VI is US Virgin Islands, VN is Vietnam) for definitions issue-177
  • Require all region_names to match the ISO 3166 standard with no exceptions (removed the internal escape hatch that previously allowed the non-standard vi code)

v7.0.0

Choose a tag to compare

@github-actions github-actions released this 16 May 08:04
b3a2e68
  • Drop support for EOL Ruby 3.2; minimum supported version is now Ruby 3.3 (testing 3.3, 3.4, 4.0, ruby-head)
  • Fix nz Canterbury Anniversary Day to the second Friday after the first Tuesday of November for holidays issue-285
  • Fix lu Whit Monday to fall on Monday (Easter Sunday + 50 days) instead of Sunday for holidays issue-289
  • Replace nil-returning year-gate functions with year_ranges
  • Clarify that formal holidays are what is commonly called statutory holidays

v6.1.1

Choose a tag to compare

@github-actions github-actions released this 27 Apr 04:21
ad7810e
  • Fix fr test cases to match Pentecôte/Lundi de Pentecôte informal swap introduced in 6.1.0
  • Fix mc Toussaint missing observed modifier and correct observed-day test cases
  • Run contract tests (smoke + generated definition tests) in downstream CI instead of smoke-only

v6.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Apr 04:16
5663141