CiviCRM version 5.45.0 is now out and ready to download. This is a regular monthly release. Upgrade now for the most stable CiviCRM experience:
Users of the CiviCRM Extended Security Releases (ESR) are encouraged to upgrade, since CiviCRM 5.45 is now the ESR.
We are committed to keeping CiviCRM free and open, forever. We depend on your support to help make that happen. We thank all our partners, members and ESR subscribers, who are regular financial contributors. If you can, please donate.
What's new in CiviCRM 5.45
This version changes the database schema, has changes to the API, as well as the usual bugfixes and minor feature improvements. These release notes are more technical than usual, and less user-facing improvements, although there have been many fixes for translations and minor interface tweaks that you may not notice but will make your life easier. For those wondering, a lot of the Api4, SearchKit and FormBuilder issues are not only for new tools that admins will be able to use, but are also the foundation for re-rewriting some of the old CiviCRM admin interfaces, to be not only more usable, but also easier to customize.
- SearchKit: Animated loading skeleton (22019), Add default/placeholder text/image to displays for empty values; support custom file fields, such as displaying images (21992), Search by Case role (22121), many interface improvements.
- Form Builder (afform): New interface that displays form submissions (22009)
- Scheduled Jobs: The Scheduled Reminder job run frequency is now hourly by default, instead of daily. This is not changed on existing installs. (dev/core#2916: 21835)
- Email to Activity processing: If there's a matching org contact and no matching individual, then file on the org instead of creating a new individual (dev/core#2872: 21983)
- System Status: Display higher severity status checks first (22143)
- Api4 Explorer: new option to view results in PHP format, as well as JSON (22010).
- Api4: Add SortableEntity type which auto-adjusts weights (22137), relates to SearchKit - Add drag-sortable weight functionality (22081), and dev/user-interface#44, where we look forward to fixing all those admins interfaces with up/down arrows; Add export action for managed entities (22014, 22068)
- Smarty Templates: New opt-in configuration option to "escape-on-output" instead of "escape-on-input". (Work Towards dev/core#1328: 21956), as well as a ton of cleanup in Smarty templates and some spaghetti. See the Gitlab issue 1328 for more background. This will be a pretty huge shift and security improvement in how CiviCRM handles potentially malicious HTML. There is also a doc page about smarty security hardening.
- Drupal9: Add back in CSS classes on the body class, for easier themeing (68), helps with Shoreditch theme support, for example, and generally makes it easier to upgrade themes from Drupal7.
- WordPress: Prevent fatal error when the "the_title" filter has only one param, fixes compatibility with some plugins (261, 262, 263).
- A ton of tiny tweaks and fixes and unit tests that make CiviCRM more fun to use, reliable and the source code more entertaining to read and improve. This humble editor often struggles to decide what is relevant to include in the above short summary. Feel free to give us a shout on the CiviCRM chat.
Big thanks to Andie Hunt and Alice Frumin from AGH Strategies for putting up together release notes. Planning a big upgrade? Check out the version-specific upgrade tasks.
This release was developed by the following code authors:
AGH Strategies - Alice Frumin, Andie Hunt; Agileware - Justin Freeman; BrightMinded Ltd - Bradley Taylor; Christian Wach; CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp - Lisandro; Coop SymbioTIC - Mathieu Lutfy; CSES (Chelmsford Science and Engineering Society) - Adam Wood; Dave D; Digitalcourage - Detlev Sieber; homotechsual - Mikey O'Toole; Jens Schuppe; JMA Consulting - Monish Deb, Seamus Lee; joapta; Joinery - Allen Shaw; Lighthouse Consulting and Design - Brian Shaughnessy; Megaphone Technology Consulting - Jon Goldberg; MJW Consulting - Matthew Wire; PERORA SRL - Samuele Masetto; Progressive Technology Project - Jamie McClelland; Third Sector Design - Kurund Jalmi, William Mortada; Wikimedia Foundation - Eileen McNaughton.
Most authors also reviewed code for this release; in addition, the following reviewers contributed their comments:
Arnaud Broes; Artful Robot - Rich Lott; Asylum Seekers Centre; Australian Greens - John Twyman; Betty Dolfing; Blackfly Solutions - Alan Dixon; Carlos Capote; Guydn; JMA Consulting - Joe Murray; Lemniscus - Noah Miller; netzih; Nicol Wistreich; Richard van Oosterhout; Skvare - Sunil Pawar; Tadpole Collective - Kevin Cristiano.
What's next?
- CiviCRM 5.46 will recommend PHP 7.4, but PHP 7.2 will still be supported. PHP 8 usage is also slowly increasing (dev/core#2996). We strongly recommend that extension authors update their civix boilerplate code, which will otherwise throw a fatal error. Most popular extensions have already been updated.
- SearchKit packaging: Coleman has put up a bunch of PRs, most of them merged into 5.45, a few outstanding for 5.46, to facilitate exporting, packaging and distributing Saved Searches (and other types of APIv4 entities). It includes a new APIv4 Export action, which you can use to spit out php code from the API Explorer into a `.mgd.php` file, and distribute it with your extension.
- Mathieu has been working on getting stand-alone Civi viable again.
- Tim has been working on better queued jobs handling (sponsored by Greenpeace)
- Jon has been digging into the ongoing challenges around lifetime memberships
- Proposal by Justin to tweak activity search handling of status (no defaults)
For more, subscribe to Eileen's dev-digest.
New Extensions
- French codes postaux - Postal Code lookup for France. By Guillaume Sorel (@AllinAppli).
- Event Permissions by Role - Allows administrators to define certain participant roles to have permission to view and/or edit the other participants of their events. By Jon Goldberg - Megaphone Tech.
- Haystack Theme - This provides a simple, modern theme for CiviCRM (based on the theme supplied in CiviCRM Admin Utilities for Wordpress, but works on Drupal and other CMSes). By Matt Wire - MJW Consulting.
- Aah Theme - A kindly theme with Bootstrap support. By Rich Lott - Artful Robot.
- Autocomplete organization - Converts organization text field in on behalf profile to an autocomplete field (optionally with filters to expose only a subset of organizations). Alternative to Public autocomplete of organization names, which requires a text-based configuration. By Pradeep Nayak.
- Mailing Preview Text - Many mail clients, in addition to displaying an email's subject, will provide some "preview" text. Controlling preview text leads to higher open rates. This extension adds a field to CiviMail mailings to set preview text, which is not visible in the HTML email itself. By Jon Goldberg - Megaphone Tech.
- Amazon Simple Email Service (SES) - Bounce and complaint handling for the Amazon Simple Email Service (SES). By Matt Wire - MJW Consulting.
- Search Display Name - Makes it easier to find "FirstName LastName" when the sort_name is set to Last,First). By Miguel Almeida.
- Event Registration Button Label - Allows ability to set the button label on Register and Confirm page of Event. By Sunil Pawar - Skvare.
- Membership Renewal Link - Provides a token and form-processor action to generate a link to a membership renewal page. By Jaap Jansma - CiviCoop.
- Address Complete (Canada Post) - Provides CiviCRM support for the Canada Post Address Complete service. By Mathieu Lu - Coop SymbioTIC.
- Entity Tables List - Provides a workaround for extensions that relied on the EntityTable field, a behaviour which changed in CiviCRM 5.42. By Pradeep Nayak.
Support CiviCRM
We are committed to keeping CiviCRM free and open, forever. We depend on your support to help make that happen.
- Make a donation or contribute to a Make it happen campaign.
- If your organization wants to support our work, please become a member today.
- If you are a CiviCRM service provider, please become a partner.
CiviCRM is community driven and is sustained through contributions, good vibes, and financial support from its community. Happy New Year everyone! 🎉 It has been a rough start for many of us, but we are still moving forward and will continue to deliver new features for the best non-profit CRM out there.