All Notable changes to drupal/opening-hours
module.
- VG-2540: Fix views Broken filter.
- DMOH-59: Add support for Drupal 10.
- DMOH-59: Change minimal Drupal version to 9.4 or 10.0.
- DMOH-59: Change minimal PHP version to 8.1.
- Change widget tab labels.
- Fix code issues.
- Change minimal drupal version to 9.3.
- Change Client service creation to a factory.
- Update qa-drupal.
- Update stadgent/services-opening-hours package to 2.x.
- Add support for PHP 8.x.
- Added support for Ajax.
- Switched to semantic versioning.
- Added GrumPHP + code quality tools configuration.
- Added TravisCI script to automatically validate the code quality.
- Added the Drupal 9 compatibility check.
- DMOH-57: Fixed broken entity form serialization due to manually injecting the
Logger instance into the OpeningHoursWidget.
Is now replaced by
use LoggerChannelTrait;
.
- When the opening hours can not be retrieved an error message was printed in the HTML output. This is now changed: when an error happens, no output is printed into the HTML.
- DMOH-56 : Added missing tokens.
IMPORTANT : From now on, an API key is required due to a change in the API endpoint.
Change the API endpoint and set the API key value in the webservice configuration after updating the module to this version.
See service documentation for more information about the endpoint.
- DMOH-55: Changed the way to access the endpoint: added support to set the required API key.
- DMOH-53: Fixed not unique element wrapper.
- DMOH-53: Fixed detecting if the element was submitted.
- VG-1466: Added the service and channel labels to the opening_hours field.
- VG-1466: Added synchronization command that updates all channel and service labels and checks if the service/channel combination still exists in the backend.
- VG-1519: Added new OpeningHours formatter to display the service & channel labels.
- VG-1519: Added new "Broken" views filter for the opening_hours:broken field.
- DMOH-51: Fixed loading the channels once a service is selected from the autocomplete suggestions.
- DMOH-52: Fixed supporting usage of the field widget within paragraphs (fixed extracting the form submit values for Ajax callbacks).
- VG-1476: Added support to limit fetching the opening hours with an optional from-until period.
- SGD8-709: Moved generic javascript code to the '@digipolis-gent/opening-hours-widget' npm package.
- DMOH-48: Changed the week/month view swith links to more generic labels.
- VG-1385: Forced IE to trigger a repaint after focus.
- VG-1385: Enabled placing the focus on days in IE.
- VG-1385: Removed autofocus after init.
- VG-1385: Added keyboard support for the month view.
- Fixed translation header.
- Added a preview date widget to the opening hours field formatter.
- Added opening hours package version to 1.0 or higher.
- DMOH-42: Always forced switch to today on view mode switch.
- DMOH-41: Added isEmpty() function to Opening Hours field type.
- DMOH-38: Fixed removed opening hours issues.
- DMOH-40: Added language parameter to the url to avoid browser caching.
- DMOH-38: Added optional error callback function to OpeningHours.
- DMOH-36: Fixed Javascript error if date is in an invalid format.
- DMOH-37: Fixed an issue whit the view mode navigation switch.
- DMOH-34: Fixed a daylight saving time issue.
- DMOH-26: Added support to set widget tag data-date as "today" or "tomorrow".
- DMOH-27: Added custom render element (opening_hours_widget) to limit the code required to render the widget tag.
- DMOH-29: Added support to set the date to get the opening hours for.
- DMOH-31: Added option to switch between 2 widget types.
- DMOH-32: Removed double .openinghours-widget loop to prevent multiple requests for the same widget.
- DMOH-30: Removed language options from the element.
- DMOH-22: Added the opening hours widget formatter.
- Fixed package name.
- DMOH-19: Added service configuration form.
- DMOH-20: Added the opening hours field type.
- DMOH-21: Added the opening hours field widget.