Skip to content

Latest commit

 

History

History
202 lines (131 loc) · 7.61 KB

CHANGELOG.md

File metadata and controls

202 lines (131 loc) · 7.61 KB

Holiday definitions

5.0.0

Major semver bump due to changes related to the year_ranges option. The following keys have been renamed:

  • before is now until
  • after is now from

The behavior of these two options has not changed. To read more about the reasons behind this change please see the associated ADR.

4.1.0

4.0.0

Major semver bump due to changes in how non-standard regions will be handled going forward. Please see issue-110 for more details on this edge case and please also see the updates to our SYNTAX guide for the specified behavior going forward.

The following non-standard regions have been changed:

  • ecb_target region changed to ecbtarget
  • federal_reserve region changed to federalreserve
  • federal_reserve_banks region changed to federalreservebanks
  • north_america_informal region changed to northamericainformal
  • united_nations region changed to unitednations
  • north_america region changed to northamerica
  • south_america region changed to southamerica

This change also includes updates to various other regions:

3.1.0

  • Update ch to apply 'Neujahrstag' to overall region (thanks to https://github.com/phylor)
  • Cosmetic spacing update for us definition, no behavior change

3.0.0

Major semver bump as the format for custom methods has been changed to complete issue-24. Downstream consumers will need to update to be able to parse them. However there are no behavior changes with this update.

In summary: we have switched to language-specific custom methods. Instead of a plain source field you will need a specific language implementation, e.g. ruby, golang, etc.

Currently we only have ruby but we can now expand these definitions for use in other languages. Please see the custom methods ADR for more in-depth information on why this change was made.

You can also view the updated 'Methods' section in the SYNTAX doc for more info and examples.

2.5.3

  • Add missing observed logic for 'St. Patricks Day' in gb_nir

2.5.2

  • Fix de issue cause by undefined year_ranges behavior in syntax

2.5.1

  • Fix Federal Reserve Independence Day tests

2.5.0

2.4.0

2.3.0

2.2.1

  • Small updates to tests in the :de regions. No behavior changes.

2.2.0

2.1.1

  • Comment out test for 추석 until a discussion can be had in issue 69 (nice)

2.1.0

Update the following regions:

  • ca_ab - change 'Heritage Day' to informal
  • kr - Update '추석 연휴' and 설날 연휴 for accuracy
  • cl - Add 'San Pedro y San Pablo', update 'Encuentro de Dos Mundos', and add 'Día de las Iglesias Evangélicas y Protestantes'

2.0.0

  • Update tr, fedex for accuracy
  • Completely change the test format to no longer use ruby source code! Hooray! This should cause no behavior differences, any differences or changes in behavior should be considered a regression.

1.7.1

A small bugfix that resolves the naming issues of two regions in the 'index.yaml' file. No other outward changes.

1.7.0

Here are the changes:

  • Add Estonian definitions
  • Enhance France definitions
  • Correct and enhance German definitions
  • Enhance Portuguese definitions
  • Add Malta definitions
  • Add Serbian definitions
  • Add Georgian definitions
  • Use Orthodox easter calculations in appropriate regions
  • Add Russian definitions
  • Add Turkey definitions
  • Enhance US definitions (lots of individual US states!)
  • Update South Australian definitions

1.6.1

  • Update ca test for correctness. See below for more information.

Unfortunately due to our current setup it is possible for definitions/tests in this repository to appear 'valid' but only fail when we run them in the actual ruby holidays repo. This is a known issue (#42) and needs to be addressed.

In the meantime, this is a bugfix release to ensure we can release v5.6.0 of the ruby repo.

1.6.0

Updates to the following Canadian regions: ca_ab, ca_bc, ca_mb, ca_nt, ca_nu, ca_on, ca_sk, ca_yt, ca_pe

1.5.1

  • Fix error in fedex custom method day_after_thanksgiving

1.5.0

  • Update NYSE to fix observed NYD
  • Use native language for KR
  • Use native language for VI
  • Update AU definitions for accuracy
  • Update KR definitions to include lunar holiday calculations
  • Add VI definitions

1.4.0

  • :au - corrects holidays for certain regions
  • :vi - reports holiday names in Vietnamese instead of English, adds 1 additional holiday (Giỗ tổ Hùng Vương)

1.3.0

  • Add Travis badge to README
  • Add Tunisian holidays
  • Correct various Australian holidays
  • Updates various German regions to be more accurate
  • Changed 'nf' to 'nl' for Newfoundland & Labrador
  • Changed 'yk' to 'yt'kkk

1.2.1

  • Fix syntax and test errors in au and ca def tests

1.2.0

  • updates jp defs to fix 'Foundation Day' name
  • Fix ca defs for observed holidays
  • Update au defs to have Christmas and Boxing Day for all of Australia instead of just individual territories
  • Update ie defs to consolidate "St Stephen's Day" to use common method instead of custom method

1.1.0

  • Add HK definitions
  • Add KR definitions
  • Fix small bug in JP definitions

2016 1.0.0

Initial creation of this repository

This contains all of the definitions currently in the holidays repository but split out into its own repository. It will be added as a submodule of the ruby repository, which will be responsible for generating its final classes.

The idea is that we will have repositories for multiple languages and each language is responsible for using the definitions as it sees fit.