What's Changed
- package the API source as a composer library for autoload functionality
- move the endpoints from PHP scripts to resource paths, and create a router
- add
YAML
as a response media type - use JSON resource files for the Tests server in place of PHP Unit defs (remove dependency on PHP Unit)
- fix bug where liturgical commons were not getting localized correctly
- fix XML response, implement XML and ICS validation
- update the OpenAPI schema
- add timing to response output and to response headers
- refactor responses to use snake_case properties and collections (this also fixes
SaintAndrewAp
bug foryear_type=LITURGICAL
inyear=2023
, see issue #249) - add Calendars for Netherlands and for Canada, kudos to Steven van Roode and to Fr. @chrissherren for the contributions
- add a Dockerfile to easily spin up a Docker container with a local instance of the API
- fix for cases in which Immaculate Heart of Mary is suppressed, see commit 6f16f13
- fix calculation of weekdays between Epiphany and Baptism of the Lord, see issue #237
- fix Chritmas weekdays should not be created when there is an obligatory memorial, see commit a8ca477
- fix moving of celebrations by a National Calendar that were suppressed in the General Roman Calendar, see issue #271
- add abbreviated form of the liturgical rank / grade to the
Festivity
output, see issue #251 - use ISO 3166-1 Alpha-2 codes to identify nations, see issue #231
- created an interface that allows to create Unit Tests, see issue #205
- added an index of all dioceses of Latin rite, kudos to Gabriel Chow of gcatholic.org for the contribution
- add Decree of the Congregation for Divine Worship for Italy: Immaculate Heart suppresses 2nd Sunday of Advent, see commit 191d324
- add Decree of the Congregation for Divine Worship for Italy: Saint Nicholas obligatory memorial since 2020, see issue #248
- feature: discoverability of supported locales, see issue #240
- feature: all national and diocesan calendars are now multilingual by default, see issue #150
- and a number of other bugfixes, features, and improvements
Full Changelog: v3.9...v4.0