Skip to content

Releases: romcal/romcal

v3.0.0-dev.79

06 Aug 14:00
Compare
Choose a tag to compare
v3.0.0-dev.79 Pre-release
Pre-release

What's Changed

  • fix(es): update benedict_of_nursia and bridget_of_sweden variants by @TobiTenno in #622

Full Changelog: v3.0.0-dev.78...v3.0.0-dev.79

v3.0.0-dev.74

15 Jun 17:42
Compare
Choose a tag to compare
v3.0.0-dev.74 Pre-release
Pre-release

What's Changed

Full Changelog: v3.0.0-dev.73...v3.0.0-dev.74

v3.0.0-dev.68

02 May 02:13
Compare
Choose a tag to compare
v3.0.0-dev.68 Pre-release
Pre-release

What's Changed

Full Changelog: v3.0.0-dev.67...v3.0.0-dev.68

v3.0.0-dev.67

02 May 02:12
Compare
Choose a tag to compare
v3.0.0-dev.67 Pre-release
Pre-release

What's Changed

Full Changelog: v3.0.0-dev.66...v3.0.0-dev.67

romcal v1.3.0

25 Jan 23:55
Compare
Choose a tag to compare

romcal changed a lot since 1.2.4, therefore we list here only the main changes and small changes were combined. For more thorough list of changes, check the release notes for 1.3.0-beta.1, 1.3.0-beta.2, 1.3.0-beta.3, 1.3.0-rc.1 and 1.3.0-rc.2.

General changes

  • Revamp the code to use ES6 syntax.
  • Drop support for Node v4, v5.
  • Integrated module with std/esm to read .mjs files and babel to ensure compatibility and seamless usage with lower version of node and requiring via CommonJS.
  • Expose constants and calendar helper functions and via module exports.
  • Refactor rank types of celebrations (issue #109).

New features

  • Introduce the new drop property that allows national calendars to omit unwanted celebrations from their output (issue #14).
  • Introduce new christmastideIncludesTheSeasonOfEpiphany flag to allow output to include or exclude the "season" of Epiphany from being merged into Christmastide.

Calendar and celebrations

  • Added national calendars for Czech Republic, Italy and Slovakia.
  • Drop Shrove Monday and Tuesday from the General Roman Calendar (issue #90).
  • Epiphany is always celebrated on Jan 6 in Slovakia (issue #29).
  • Apply changes in the General Roman Calendar made by the Holy See.

Localization

  • Add Italian and Slovak locale files.
  • Some localization keys where renamed in order to confirm with official English names of the celebrations.

Build process

  • Update and simplify the build process.
  • Add automated build process to transpile the code after installing and before publishing.
  • Distribution files are now not included anymore in the codebase.
  • In addition to the romcal.bundle.min.js file (for browsers), source code is also transpiled by Babel and Webpack in the dist/ directory. This feature makes it possible to use romcal directly in the browser, so not only in a node.js package or environment (babel and webpack allow to have the same codebase for backend/node.js and frontend/browser).
  • Added more test cases for better test coverage.

Other changes and fixes

  • Fix issue where calendar options always end up using their defaults even though an option has been specified
  • Various other bug, duplicate and typo fixes, and other improvements.

romcal v1.3.0-rc2

13 Jan 21:25
2211220
Compare
Choose a tag to compare
romcal v1.3.0-rc2 Pre-release
Pre-release
  • Fix installation script when romcal is installed as a node dependency

romcal v1.3.0-rc1

13 Jan 13:31
7b70d97
Compare
Choose a tag to compare
romcal v1.3.0-rc1 Pre-release
Pre-release

1.3.0-rc.1 /2020-01-12

1.3.0-beta.3 /2019-12-10

  • Update and simplify the build process.
  • Add automated build process to transpile the code after installing and before publishing.
  • Distribution files are now not included anymore in the codebase.
  • In addition to the romcal.bundle.min.js file (for browsers), source code is also transpiled by Babel in the dist/ directory. This makes it easier to include romcal in any node.js package.

1.3.0-beta.2 /2019-12-06

  • Update node dependencies.
  • The @std/esm package has been deprecated in favour of esm. Also esm have limited the .mjs files to basic functionality without support for esm options, to align with the current experimental support in Node. More details here. According to that all .mjs files in the romcal project have been renamed back to .js.
  • Locales management and pickup in romcal have been refactored, and it now behaves like Moment.js (used by romcal) or the general approach for i18n in app development: locale containing region like fr-CA will gracefully fall back to fr if a localisation key isn't in fr-CA or if fr-CA.js doesn't exits in the src/locales directory. In the end, it always falls back to en, which is the default language in romcal. Full explanations have been added to the README.md.
  • Locale files have been renamed to kebab-case with capitalized regions to follow the IETF Language Codes standards and be close to the general conventions in software development for i18n.
  • In locale files, the general and national parts are now merged in a new sanctoral part. This will avoid potential duplicated or missing keys between these 2 parts, particularly when a celebration is move from the general to the national calendar. Also, keys in celebrations and the new sanctoral have been sorted alphabetically. (#97)
  • Italian translation has been added in romcal (#94).
  • In Christian calendars, Sunday is the first day of the week (#103)
  • Drop Shrove Monday and Tuesday from the general calendar (#90).
  • Potential breaking changes:
    • The WEEKDAY type is renamed to FERIA (#88)
  • Fixes:
    • Depending on how the language string is set in romcal, one could get bilingual results when part of a string being in the chosen language and the default English (locale lookup for date name strings are based on Moment.js, not romcal). Locale files are now managed the same way as Moment.js. (#85)
    • Remove some duplicate keys in enUs.mjs (#42, #35)

1.3.0-beta.1 /2018-03-05

  • Revamp code to use ES6 syntax
  • Dropped support for Node v4, v5.
  • Integrated module with std/esm to read .mjs files and babel to ensure compatibility and seamless usage with lower version of node and requiring via CommonJS
  • Expose constants and calendar helper functions and via module exports
  • Various unreported bug fixes
  • Added locale files for Czech Republic and Slovakia
  • Added national calendars for Czech Republick and Slovakia
  • Added more test cases for better test coverage
  • Fixes:
    • issue #2
      • The command npm run build now generates an ES5 distribution bundle of romcal that is UMD compliant.
    • issue #9
      • typo fix for src/calendars/*sriLanka*.mjs
    • issue #10
      • removed duplicate celebration with different key names for
        • saintsCyrilMonkAndMethodiusBishop replaces saintsCyrilAndMethodiusSlavicMissionaries
        • assumption replaces assumptionOfTheBlessedVirginMaryPrincipalPatronessOfFrance
        • Removed duplicate key saintAnselmOfCanterburyBishopAndDoctorOfTheChurch defined in the national calendar in src/locales/en.mjs
        • Removed duplicate birthOfTheBlessedVirginMary defined in the national calendar in src/locales/en.mjs
        • blessedBoleslawaMariaLamentVirginAndSaintAngelaMericiVirgin replaces blessedBoleslawaMariaLamentVirginsaintAngelaMericiVirgin and blessedBoleslawaMariaLamentVirgin and duplicate removed
        • blessedInacioDeAzevedoPriestAndCompanionsMartyrs replaces blessedInacioDeAzevedoPriestAndMartyr and duplicate removed
        • blessedLauraVicunaVirgin replaces blessedLauraVicuna and duplicate removed
        • saintMatthiasApostle renamed to saintMatthiasTheApostle and duplicate removed
        • Removed duplicate keys for saintCyrilOfAlexandriaBishopAndDoctor and saintCatherineOfAlexandriaVirginAndMartyr
        • Remove duplicate keys for saintBenedictOfNursiaAbbot
        • Remove duplicate keys for saintApollinaris
        • Rename saintGallAbbot to saintGallAbbotAndMissionary
        • Rename saintCristobalMagallanesAndCompanionsMartyrs to saintChristopherMagallanesAndCompanionsMartyrs
    • issue #11
      • Renamed triumphOfTheCross to theExaltationOfTheHolyCross
    • issue #12
      • saintsFabianAndSebastianPopeAndMartyrs renamed to saintFabianPopeAndMartyrAndSaintSebastianPopeAndMartyr
    • issue #14
      • Introduce the new drop property that allows national calendars to omit unwanted celebrations from their output
      • Introduce new christmastideIncludesTheSeasonOfEpiphany flag to allow output to include or exclude the "season" of Epiphany from being merged into Christmastide
      • Fix issue where calendar options always end up using their defaults even though an option has been specified
    • issue #15
      • Renamed blessedCaTherineOfSaintAugustineVirgin to blessedCatherineOfSaintAugustineVirgin (fix typo with T)
    • issue #16
      • Renamed saintsAndrewZoerardusAndBenedictEremites to saintsAndrewZoerardusAndBenedictHermits (fix typo)
    • issue #17
      • Remove duplicate keys for ourLadyOfSorrows
    • issue #27
    • issue #28
    • issue #29
      • Epiphany is always celebrated on Jan 6 in Slovakia

romcal v1.2.4

02 Dec 22:35
59a7e4c
Compare
Choose a tag to compare

v1.2.4

  • Added credits in the description section in README.md.
  • Drop support of Node.js v0.10.x, v0.11.x, v0.12.x.
  • Updated French Calendar.
  • Fixes:
    • pull #8
      • Compute correctly the week numbers in Lent.

        During lent, weeks was starting on Wednesday instead of Sunday. This fix remove the first 4 days of lent (Ash Wednesday to Saturday) when computing the week number.
    • issue #52
      • Duplicate entries for the same date.
    • issue #63
      • Updated romcal to use correct lodash method for finding uniques with a criterion.
    • pull #78
      • Add missing type: MARTYR & fix wrong specified types in brazil calendar.

v1.2.3 / 2017-03-21

  • Added French translations for France, Canada and Belgium.
  • Fix issue where national feasts appear more than once in the calendar output

v1.2.2 / 2017-03-21

v1.2.1

  • Added caching mechanism for common celebration dates in the liturgical calendar to improve calendar processing output performance. Added more titles metadata to national and general celebrations.

romcal v1.2.0

22 Dec 18:02
Compare
Choose a tag to compare

romcal has been rewritten ground up with better extensibility and flexibility in mind. Emphasis is given on supporting national calendars of different countries and also a better localization framework for displaying celebration names in different languages.