# Changelog

## 1.5.4

*Release date - 21 May 2026*

### Improvements

* Several layout improvements.
* Compatibility enhancements with WordPress 7.0.
* Secret random codes generation is now even more secure.

### Bug Fixes

* Minor fixes for the Cart widget.
* Fixed an issue that could prevent the Wizard from dismissing.
* Fixed a few PHP warnings.

---

## 1.5.3

*Release date - 27 January 2026*

### Improvements

* The system is now able to track reservation/order changes even if the user is not an operator.
* The dashboard overview widget now supports two buttons to easily access the calendar for previous and next days.
* Improved the styling of certain dashboard widgets.

### Bug Fixes

* Fixed an issue that could execute maintenance tasks in the wrong order.
* Fixed low severity XSS vulnerability.

---

## 1.5.2

*Release date - 29 December 2025*

### Improvements

* All the configuration pages now implement a form observer for unsaved changes.
* In case of login failures, the users are no longer redirected to the default WordPress login page.
* Several enhancements to the cron jobs framework.

### Bug Fixes

* Fixed an issue that could send `ml encoding="utf-8" ?--><html>` in place of the correct notification.
* Fixed an error that could occur while updating an item with extra notes from the back-end.
* Fixed low severity XSS vulnerability.
* Fixed a PHP warning with the RSS notifications system.
* Fixed an issue that could change the timezone at runtime.

---

## 1.5.1

*Release date - 1 December 2025*

### Improvements

* Implemented 2 new API plugins/events to save and delete records.
* Improved basic auth credentials detection for the API environment.
* Compatibility enhancements with WordPress 6.9.

### Bug Fixes

* Fixed low severity XSS vulnerability.
* Fixed an issue that could display "undefined" in place of the real currency on the details page of an item.
* Fixed unexpected errors that could occur when the plugin was downgraded to the FREE version.
* Fixed a few PHP minor warnings.
* Minor back-end CSS adjustments.

---

## 1.5

*Release date - 27 October 2025*

### New Features

* Added an upselling system to suggest food items to customers when ordering.
* The customizer now implements an easy way to change the color scheme of the plugin on the front end.
* It is now possible to specify some instructions for the special days, which will be displayed to the customers during the booking process.
* The food attributes feature is now available in the restaurant section as well.
* It is now also possible to use colored FontAwesome icons for the food attributes.
* Added a special days filter for custom fields, allowing you to collect specific details for certain events only.
* Implemented a minimum orderable quantity for take-away items.
* The table booking process can now be configured to restrict bookings to the configured room.
* Added a restriction that limits the maximum number of guests and reservations for the same date and time.
* Added the ability to configure products that are automatically added when closing a bill (e.g. service charges).
* Payment methods can now be restricted to specific services (e.g. takeaway or delivery).

### Improvements

* It is now possible to assign a reservation to an existing customer from the operators area as well.
* The availability feature used to find the optimal cluster now considers also the distance between the tables.
* The system is now able to warn the administrators and operators in case they are erroneously going to overbook a table.
* Improved the Take-Away Cart widget design and introduced upselling suggestions.
* The Quick Reservation widget now uses a simple animation to inform the user that the system is processing the reservation.
* The Take-Away Map widget is now compliant with the latest Google requirements.
* Several styling enhancements to support the customizable color scheme.
* The menus list page now prefers the short description over the full one (when a READ MORE separator is specified).
* It is now possible to rearrange the ordering of the tables (for dashboard overview widget only).
* The system is now able to send e-mail notifications to the customers whenever the reservations/orders expire.
* The preferred service should now be pre-selected while creating a new take-away order from the back-end.
* The backup import now supports the re-assignment of the shortcodes to the pages.
* Prevented web crawlers from indexing certain pages and following nested links.
* Several accessibility improvements.

### Bug Fixes

* The map inspector now fully supports clustered reservations.
* The system now prefers the deposit over the bill amount in case the status of the reservation is PENDING.
* Food sales statistics are now accessible even if the stock system is disabled.
* The datepicker is now able to properly highlight the special days, even if they don't share the same priority.
* Fixed an issue with the stock statistics filters.
* Updated the database collation and charset to support emojis.
* Fixed shifted times that may occur while exporting datasheets.
* All the task links in the notification email now support the URL rewriting.
* Fixed the price per unit while printing an order from the back-end.
* Fixed wrong ACL usage.
* The customizer preview is now able to load all the published menu items.
* The offline credit card payment method is now able to hold the collected details up to one week after the check-out.
* Fixed some language definitions.
* Compatibility improvements for PHP 8.4.

---

## 1.4

*Release date - 7 February 2025*

### New Features

* Implemented a cron job system to periodically execute specific processes (such as notification reminders).
* Implemented a new dashboard widget to register administrative notes on the fly.
* It is now possible to schedule recurring room closures.
* The overrides manager is now able to display the differences between the original file and the custom one.
* Implemented a new driver to send SMS notifications through Whatsapp (WhatsApp Business account required).

### Improvements

* Added a new setting to choose whether the customers are allowed to self-close the bill.
* The Reservations and Orders dashboard widgets have now quick access to the notes (when available).
* It is now possible to specify a different tax rate for delivery service.
* The Kitchen widget is now able to play a sound every time a new dish comes in.
* The system now uses the Confirmed status by default while creating new reservations and orders.
* VikRestaurants Take-Away Map widget is now compatible with the latest Google requirements.
* Various UI/UX improvements applied to the operators area.
* Added a new tag for the SMS template able to include the PIN code.
* The system now displays a descriptive error message to explain why the coupon validation failed.

### Bug Fixes

* Fixed an issue that prevented the system from notifying the administrator about low stock products.
* Fixed a fatal error that could occur with the VikRestaurants Event widget.
* Fixed an issue with the translation of the topping group descriptions.
* Fixed a compatibility issue with Bricks page builder.
* Fixed a behavior issue with unpublished overrides.
* Fixed an issue that was not properly updating the serving number from the front-end.
* Fixed some misleading texts.
* Protected some back-end tasks from XSS vulnerabilities.

---

## 1.3.3

*Release date - 22 March 2024*

### New Features

* The Kitchen widget now also supports food preparation for the take-away section.
* The Kitchen section in the Operators Area now displays 2 different widgets, one for the restaurant and one for the take-away.
* It is now possible to specify the service order for the dishes to prepare (such as First Course, Second Course, Third Course).
* Introduced a new setting to choose the layout of the take-away menus (grid or list).

### Improvements

* It is now possible to choose the time unit (days or hours) for the cancellation restrictions.
* Various API plugin improvements.

### Bug Fixes

* Fixed an issue that could prevent the system from properly using the Google Address Auto-complete feature.
* Protected some back-end tasks from XSS vulnerabilities.
* Fixed a few PHP warnings.

---

## 1.3.2

*Release date - 23 January 2024*

### New Features

* The Shortcodes block now lets you create new shortcodes directly from Gutenberg editor.
* The Shortcodes block for Gutenberg is now able to display an instant preview.
* All the widgets have been converted into native blocks for Gutenberg.

### Improvements

* Custom fields configured as required checkboxes (such as terms & conditions or privacy policies) are no more auto-checked in case of returning customers.

### Bug Fixes

* Fixed a critical error that could occur in case the table booking process required the selection of the menus.
* The offline credit card payment method is now able to display the credit card brands in the right way.
* Fixed an issue that was not able to properly use the discount applied by a service.
* The system is now able to properly use the "Auto-delete after usage" setting of the coupon codes.
* Fixed an issue that was not properly updating the number of usages while redeeming a coupon code.
* Fixed an issue that could display the summary of the custom fields with weird labels and values.
* The dates displayed under the rooms closures page are now properly aligned to the site timezone.
* The closing days with weekly recurrence now show the correct name of the related week day.

---

## 1.3.1

*Release date - 30 November 2023*

### Improvements

* The e-mail templates now display the price of the ordered items multiplied by the selected number of units.
* The management page of a take-away order is now able to auto-fill the custom fields after selecting a customer.
* The system is now able to pre-select the correct room after clicking a table from the overview widget.
* Applies some improvements to the address validation during the take-away check-out process.
* Minor adjustments to improve the compatibility with the latest PHP versions.

### Bug Fixes

* Fixed an issue that was not able to properly display menus in the front-end when they were assigned only to "Sunday".
* Fixed layout issue with the invoice template.
* Fixed an issue that was never accepting delivery orders in case of no configured areas.
* Fixed an issue that was displaying the address field even if the customer was not selected.
* Fixed an issue with the coupon submission in the front-end.
* The link used to print the take-away orders now points to the correct URL.
* Fixed an issue that might not properly apply the configured restrictions based on the total cost.
* Fixed an issue that could require a payment during the check-out even if the payments were not configured.
* The collected custom fields are now properly displayed.
* Fixed a fatal error that could occur with the Offline Credit Card payment method.
* Fixed an issue that was always auto-selecting all the existing attributes.
* Fixed a few issues that could cause time discrepancies.
* Checked the configuration integrity as some settings might not have been properly installed during the 1.3 update.
* Fixed an issue with the Shortcodes block in Gutenberg.
* Fixed an issue that could randomly display 401 error messages.

---

## 1.3

*Release date - 18 October 2023*

### New Features

* The back-end now fully supports the management of reservations assigned to multiple tables (table clustering).
* Introduced the status codes management (pending, confirmed, paid and so on).
* The system now supports the ordering process via QR code.
* Added support to composite taxes.
* Introduced a new system to backup the contents of VikRestaurants (import/export).
* Introduced the conditional texts to extend the contents sent within the e-mail templates.
* Implemented a customizer to easily edit the style of the site pages and the e-mail templates.
* It is now possible to create shifts on-the-fly while managing a special day.
* The notification e-mail received by the administrator for new reservations/orders now contains a reject link.
* Implemented the "PayPal Express Checkout" payment gateway.
* Added a "Code Hub" feature to easily implement PHP and JS snippets.
* It is now possible to export the customers, the reviews and the products in the following formats: CSV, PDF and HTML.

### Improvements

* Redesigned the back-end interface and the user experience.
* Improved the algorithm used to detect the best combination of tables.
* It is now possible to create new tags directly while managing a product.
* The reservations/orders CSV export now includes a footer containing the sum of all the totals.
* The back-end now displays a badge for all the take-away orders with "as soon as possible" check-in.
* It is now easier to apply the changes when increasing or decreasing the cost of a topping.
* Improved the SEO for the internal media manager, which now provides the possibility to specify titles, alt(s) and captions.
* Added a dropdown next to the pagination to easily change the number of items per page (all back-end lists).
* It is now possible to automatically send an e-mail notification to the customer when a specific reservation code is selected.
* Added a short text to describe the behavior of all the ambiguous parameters.
* Added some new filters to the operators area.
* The notification e-mail received by the administrator, for a restaurant reservation, now contains the ordered food (if any).
* The program is now fully compatible with all the major PHP versions.
* All the request tasks are now safe from XSS attacks.
* Enhanced the code and the usage of the front-end widgets.
* Improved the speed of some database queries.

### Bug Fixes

* Fixed an issue that was still displaying some take-away sections even if the latter was disabled.
* Fixed an issue that was not able to properly display the native custom fields within the reservations and orders list.
* Fixed an issue that could corrupt the generation of the ICS files for the reservations/orders.
* Fixed a few language definitions.
* Several minor fixes.

---

## 1.2.8

*Release date - 31 January 2023*

### Bug Fixes

* Fixed an issue that could not properly save a reservation with certain PHP configurations.
* Fixed a few PHP warnings that could occur with PHP 8 or higher.
* Minor framework adjustments.

---

## 1.2.7

*Release date - 28 April 2022*

### Improvements

* Improved the performance of the query used to fetch the take-away orders and the restaurant reservations.
* When creating a shortcode with Elementor (as well as any other page builder), the resulting preview should now be visible.
* The system now applies the discount also to the bill value.
* Updated URL used to load Google Maps libraries.

### Bug Fixes

* The URLs displayed within the customer e-mail are now properly routed according to the language selected by the user.
* Fixed a fatal error that could occur with classic editor inside the management of a post/page.
* Fixed the validation of the year applied by the Offline Credit Card payment gateway.
* Fixed issue related to a few missing icons in the front-end.
* Fixed issue with background repeat mode set to none within the back-end Maps page.
* Fixed an issue that was fetching a wrong status for the products of the menus when they were published in different shifts.

---

## 1.2.6

*Release date - 26 November 2021*

### New Features

* Added support for Clicksend SMS provider.

### Bug Fixes

* Fixed an unexpected error that could occur while registering a new account.

---

## 1.2.5

*Release date - 18 November 2021*

### Bug Fixes

* Fixed an issue that was showing a language key in place of its correct translation.

---

## 1.2.4

*Release date - 17 November 2021*

### New Features

* Added a new driver to export the reservations/orders in a CSV format compatible with Microsoft Excel.

### Improvements

* FontAwesome has been updated to the 5.15.3 version.
* The CSV export driver now includes a new column with the selected payment method.
* Added some plugin hooks to allow the extendability of the CSV export drivers.
* The management of the locations have been moved from the Take-Away Map widget to the configuration of the plugin.
* Improved the stability of the PayPal integration.

### Bug Fixes

* Fixed an issue that was allowing the customers to delete the food after the closure of the bill.
* Fixed an issue that was not considering the charge/discount of the products while editing the bill from the operators area.
* Replaced 2 wrong heading titles from the summary page of a take-away order in the front-end.
* Fixed an issue with the information of the internal media files.

---

## 1.2.3

*Release date - 20 October 2021*

### Bug Fixes

* Fixed an issue that could show the WP login page while trying to add a take-away product.
* The description of the rooms is now able to interpret any external shortcodes.
* Fixed an issue that was not showing the button to see the credit card details left by the customers.
* Fixed an error that could occur while trying to cancel a reservation from the front-end.
* Fixed deal detection for items without assigned variations.
* Fixed an issue that could show an empty list of order statuses within the Operators Area.
* Fixed issue that could not disable the required attribute from the delivery custom fields when the pickup was pre-selected.
* Fixed wrong taxes ratio for take-away orders.

---

## 1.2.2

*Release date - 05 March 2021*

### Bug Fixes

* Fixed an issue with the selection of Sunday during the creation of a shift.

---

## 1.2.1

*Release date - 03 March 2021*

### New Features

* Added the possibility to publish/unpublish the variations.
* Implemented a feature to auto-print the orders (external VRE Printer software needed).

### Improvements

* The purchased items are now sorted according to the specified ordering.
* Several enhancements to the whole API Framework.
* Implemented some new plugin hooks.
* Added ALT attribute to the images of the e-mails to improve their score.

### Bug Fixes

* Prevented duplicated notifications for products with low stocks.
* Fixed issue with the calculation of the delivery charge.
* Fixed an error that was not displaying the tables map anymore.
* Fixed a timezone issue that could occur in the back-end.
* Fixed the "jump" issue that could occur after picking a date from the calendar.

---

## 1.2

*Release date - 28 January 2021*

### New Features

* The wizard is now able to download and install the sample data.
* Added parameter to choose whether the dishes are editable after transmit to kitchen.
* Implemented new "Delivery Notes" rule for custom fields.
* Implemented new "Reservation Notes" rule for custom fields.
* Created the "Orders Availability" widget for the dashboard (take-away).
* Added support for take-away menus publishing dates.
* Implemented a framework to override the pages of the plugin from the back-end.

### Improvements

* It is now possible to use the READ MORE separator to write the short description for the items.
* The HTML descriptions are now able to execute the shortcodes of other plugins.
* Further enhancements to the "cluster" search feature.
* It is now possible to override the Minimum Order Total setting with the special days.
* Improved the image caching within the media manager.
* Added fully support to WordPress automatic updates.

### Bug Fixes

* Fixed availability issue within the details page of a product.
* Fixed price calculation after selecting a product variation.
* Fixed error that occurred while trying to edit a page containing the Menus List shortcode.
* Fixed an issue that might not properly display the selected product variation (order dishes).
* Fixed issue with take-away items gallery.

---

## 1.1

*Release date - 11 December 2020*

### New Features

* Implemented an installation wizard for setup guidance.
* It is now possible to assign a working shift to a specific week day without the usage of special days.
* The widgets within the dashboard of the plugin can be different for each user.
* Added the possibility to receive RSS news, tips and offers.

### Improvements

* All site AJAX requests now rely on WP AJAX end-point for a better stability.
* The plugin is now able to work on multi-site networks.
* Orders and reservations within the dashboard can now display up to 50 rows.
* Adjusted some capabilities.

### Bug Fixes

* Fixed notices that could occur when creating a shortcode.
* Adjusted times validation after changing date from the front-end.
* The media field now ignores the images that have been manually deleted.

---

## 1.0

*Release date - 26 November 2020*

* First stable release of the VikRestaurants plugin for WordPress.