== Changelog ==

= 3.0.0 =

* New: Introduction of a pre-compiled dependency injection container to handle class dependencies on all code, as a means to keep a decoupled architecture and to ease unit testing.
* New: **Breaking upgrade**: the plugin requires PHP 8.1 or greater.
* New: Added support for Stripe as a Payment Provider. The Stripe component also supports the SaaS model.
* New: Added support for PayPal as a Payment Provider. SaaS is currently not supported.
* New: Added support for Monolog and a new settings page for logging.
* New: Open plugin architecture for email-providers, payment-providers, and logging. Configuring a payment provider, an email provider, or logging is done with JSON in the plugging settings.
* New: Added **Wait mode** setting for Payment Providers. See the [documentation](https://docs.fast-events.eu/en/latest/getting-started/settings.html#wait-mode) for more information.
* New: Added **Cancel URL** setting for Payment Providers. See the [documentation](https://docs.fast-events.eu/en/latest/getting-started/settings.html#cancel-url) for more information.
* New: Added **Use queuing** setting for Email Providers. See the [documentation](https://docs.fast-events.eu/en/latest/getting-started/settings.html#use-queuing) for more information.
* Change: The ordering shortcodes are moved from the plugin settings to the Tools menu. See the [documentation](https://docs.fast-events.eu/en/latest/usage/tools.html#shortcodes) for more information.

= 2.5.1 =

* Fix: Install failed with an unresolved reference.

= 2.5.0 =

* New: Optionally encrypt sensitive data in the database (plugin settings, Fast Events account information, and Saas information, if used).
* New: Scan level 6 (= Reset). All previous scans are removed and the ticket can be used again.
* New: The number of days to retain log entries is now configurable.
* New: Optionally, delete expired, failed, and cancelled orders daily.
* New: Ability to check whether the daily action-scheduler tasks of Fast Events are still running and, if necessary, restart them.
* New: All webhooks from email providers can now be saved and viewed.
* New: Filter and action hooks for errorlog entries.
* Fix: No longer leaking sensitive information in the URL parameters — which are logged by the web server — when the Admin Interface is used.
* Fix: When an order is deleted, the associated logs and email logs are now removed as well.
* Change: Generating a QR‑code image is now done on the client side.
* Change: Improved error handling and UI behaviour in the plugin’s JavaScript files.
* Change: Upgrade FE-Admin to the latest version (4.5.0: API level 9) to work with Fast Events 2.5.0.

= 2.4.1 =

* Change: Improved selection of personalization fields and layout fields.
* Change: Don't print the separator line in the qrcode block if there are no layout fields.
* Change: Amazon SES API extended with more regions.
* Change: Translation updates.

= 2.4.0 =

* New: Added a flag to ticket types showing the remaining tickets in the order form.
* New: Added SMTP2GO email provider.
* New: Added new scan-levels: you can temporarily leave the event (e.g. to smoke) and return a little later using levels 7 (temporarily leave) and 8 (re-enter).
* Change: This version requires Management Interface 4.4 or higher.
* Change: action-scheduler updated to the latest version (3.9.3).
* Change: Upgrade internal components.
* Change: Upgrade FE-Admin to the latest version (4.4.0: API level 8).

= 2.3.0 =

* New: Added Cloudflare Turnstile as a Captcha provider.
* New: WordPress 6.8 compatible.
* Fix: Store inputfields, ticket-names, and personalisation-fields unescaped.
* Change: SendinBlue is now Brevo.
* Change: action-scheduler updated to the latest version (3.9.2).
* Change: Upgrade internal components.

= 2.2.3 =

* Fix: Store the personalized input of the tickets unescaped.

= 2.2.2 =

* Fix: Selected wrong template for passe-partout.
* New: WordPress 6.7 compatible.
* New: Bump the minimum WordPress version to 6.4.
 
= 2.2.1 =

* Fix: Public Ordering API could not be used.
* Fix: An event cannot refer to itself as a linked-event.

= 2.2.0 =

* Added flexible discount codes. Optionally linked to events, tickets types, user email, min/max number of tickets, and min/max amount. Possible usage limit per user.
* Added volume pricing per ticket type. E.g. 1 ticket for 10.00, from 4 tickets for 9.00, from 10 tickets for 8.50, ...
* Two new filters: 'fast_events_order_mail' and 'fast_events_order_name' for filtering the emailaddress and name.

= 2.1.0 =

* Removed the languages directory.
* Added personalisation for tickets. Input fields can now be defined at the order level or ticket level and attach input fields to ticket types. Ticket personalisation can be embedded into the **Redirect after booking** page using a shortcode or as a link in the order confirmation email.
* New input field types for date and time and, minimum and maximum values.
* The layout of the QR code info block on the PDF eTicket can now be customised with personalisation fields or order information.

= 2.0.3 =

* Improved error handling free format bulk email.
* Converted demo pages to blocks.
* Improved multisite support.
* Improved upgrade and uninstall.
* Set attachment type for eticket and invoice PDF's.
* Eliminated a warning during webhook creation.

= 2.0.2 =

* Do not remove the administration interface during upgrades. If it did, press the **Remove management interface** button
  in the *Management interface* of the plugin settings. After it's removed, install it again.

= 2.0.1 =

* Corrected authorisation permissions for reading/deleting order logs.
* Set the default template-id for tickets

= 2.0 =

* Major redesign of the admin interface and account permissions improvements.
* The management interface is now released separately for Web, Android, and IOS.
* This version needs the FE Admin App 4.0 or higher.

= 1.10.0 =

* Update for FE Admin v3.3.0

= 1.9.3 =

* New: Added order id and qrcode to scan api response, which is needed for the FE Scanner App 2.0.
* Fix: Fixed a timing issue in the Saas access token.
* Fix: Some small Saas improvements.

= 1.9.2 =

* Fix: Fixed some PHP warnings in the public API.
* Fix: Improved logging for Saas OAUTH2.

= 1.9.1.2 =

* Hotfix: Added the pdf_info field for new installations.

= 1.9.1 =

* New: Added email event webhooks for Sendgrid, Mailgun, and Mailjet.
* Fix: Change event webhook for Postmark.

= 1.9.0 =

* New: Bounce webhook for Postmark.
* Fix: Upgrade some third-party packages.