Release 2024.5.0 of pretix
![](https://cdn.pretix.space/1/pub/blog/20240524-release-2024-5/postimage.9cb66f7a-b4c0-429e-a246-d059a08126ed.ca12b3ddde7941.png)
Today, we are releasing pretix 2024.5.0. This release introduces a time machine to our test mode and a number of smaller changes throughout the system. Big thanks go out to AbdelatifAitBara, Adam Kaput, Charlie Lundberg, Krisztián Henrik Papp, Nikolai, Raphaël Deu, Serhii Horichenko, Shintaro Okamatsu, and Sinan Sarıçınar who contributed to this release. ❤️
pretix 2024.5.0 is now available for installation via pip
. The new Docker images will appear on Docker Hub over the
next few hours. All customers of pretix Hosted are already using the new version and do not need to take any action.
Time machine
Yes, you are reading correctly: pretix now includes a time machine! 🪄
pretix allows creating lots of time-dependent configuration, such as events, products or discounts that may only be sold in a certain time frame. This makes testing your shop before publishing it harder, because it does not allow you to test all the different combinations that are only available at a later point in time.
With our newly added time machine you can – in test mode – simulate all of this by choosing the date and time you want to simulate your ticket shop at:
Attendee data modification
pretix has always allowed ticket buyers to change their information, such as their name or answers to individual questions. With this release, now you can also provide this functionality to attendees other than the ticket buyer (i.e. people a ticket has been bought for). As part of this, the settings around data modifications have been reorganized a little bit.
Smaller changes and bug fixes
Ticket shop and widget
-
When changing the add-ons of an order as a customer, add-ons that are currently unavailable are no longer removed from the order.
-
A bug in computing discounts has been fixed.
-
Widget: The new user data attributes
data-invoice-address-internal-reference
,data-invoice-address-vat-id
, anddata-invoice-address-custom-field
are now supported. -
Widget: A bug in handling
data-invoice-address-country
has been fixed.
Ticketing backend and configuration
-
A convenience button was added to copy the redemption URL of a voucher.
-
The export of all customer-uploaded files can now be filtered by the date of an event series.
-
Order import: You can now set the "expiration" date (payment deadline) as a column.
-
A few validation issues in the new voucher import feature have been fixed.
-
PDF editor: You can now use the ticket purchase date and time as variables.
-
Stripe: Support for the "Swish" payment method has been added.
-
Error messages above forms now contain links to the specific fields that contain errors.
-
validation error during copying a voucher that blocks quota was fixed.
-
Accidental parallel refunds and duplicate invoices created through the backend to the same order are now prevented for the most likely cases.
Updates to official plugins and tools
-
The Campaign Tracking plugin has been released in version 1.6.1 to add a convenience button to copy campaign URLs.
-
The Certificates of Attendance plugin has been released in version 1.11.2 to fix a bug that prevented badge downloads.
-
The Exhibitors plugin has been released in version 1.10.1 to add a tagging feature to exhibitors and provide compatibility to the new pretix version.
-
The Offline Sales plugin has been released in version 1.10.2 to stop offline sales batches from preventing the deletion of ticket layouts.
-
The Pages plugin has been released in version 1.6.1 to add a convenience button to copy page URLs.
-
The Passbook Tickets plugin has been released in version 1.13.2 to provide compatibility with pretix 2024.5 and add a purchase date to the back.
-
The PAYONE plugin has been released in version 1.3.3 to add a missing error message translation.
-
The Reports plugin has been released in version 1.18.2 to fix a crash in chart generation.
-
The SEPA Direct debit plugin has been released in version 2.5.0 to show a redacted version of the IBAN on invoices.
Runtime and server environment
-
The performance of the waiting list background task has been improved.
-
The default password hash algorithm has been changed to
argon2id
.
Plugin API changes
-
The new methods
Order.objects.get_with_secret_check
andOrder.tagged_secret
are the recommended ways to generate plugin-specific secrets for an order. -
Ticket secret generators are now passed the order creation date and time.
REST API changes
- The event setting
payment_giftcard__enabled
can now be set through the API.