# CiviCRM 5.40.2

Released August 17, 2021

- **[Synopsis](#synopsis)**
- **[Bugs resolved](#bugs)**
- **[Credits](#credits)**
- **[Feedback](#feedback)**

## <a name="synopsis"></a>Synopsis

| *Does this version...?*                                         |          |
| --------------------------------------------------------------- | -------- |
| Change the database schema?                                     | no       |
| Alter the API?                                                  | no       |
| Require attention to configuration options?                     | no       |
| Fix problems installing or upgrading to a previous version?     | no       |
| Introduce features?                                             | no       |
| **Fix bugs?**                                                   | **yes**  |

## <a name="bugs"></a>Bugs resolved

* **_APIv3_: Fix performance regression when processing `Campaign`-affiliated data ([dev/core#2743](https://lab.civicrm.org/dev/core/-/issues/2743): [#21099](https://github.com/civicrm/civicrm-core/pull/21099), [#21143](https://github.com/civicrm/civicrm-core/pull/21143))**
* **_CiviContribute_: setOverrideTotal() receives malformatted quantities ([#21107](https://github.com/civicrm/civicrm-core/pull/21107))**
* **_CiviEvent, et al_: Fix loading of form validation utility ([#21124](https://github.com/civicrm/civicrm-core/pull/21124))**
* **_CiviMember_: Fix handling of free memberships ([dev/core#2749](https://lab.civicrm.org/dev/core/-/issues/2749): [#21100](https://github.com/civicrm/civicrm-core/pull/21100))**
* **_CiviMember_: Fix error in batch update ([#21151](https://github.com/civicrm/civicrm-core/pull/21151))**
* **_CKEditor_: Upgrade CKEditor for 4.16.2 ([#21108](https://github.com/civicrm/civicrm-core/pull/21108))**
* **_Quick Search_: Reinstate jQueryUI visible focus effect in quicksearch user-interface ([dev/user-interface#37](https://lab.civicrm.org/dev/user-interface/-/issues/37): [#21102](https://github.com/civicrm/civicrm-core/pull/21102))**

## <a name="credits"></a>Credits

This release was developed by the following authors and reviewers:

Wikimedia Foundation - Eileen McNaughton; timo.kabsch; SYSTOPIA Organisationsberatung -
Björn Endres; Megaphone Technology Consulting - Jon Goldberg; JMA Consulting - Seamus Lee;
Greenpeace Central and Eastern Europe - Patrick Figel; Dave D; Coop SymbioTIC - Mathieu
Lutfy; CiviCRM - Coleman Watts, Tim Otten; Artful Robot - Rich Lott

## <a name="feedback"></a>Feedback

These release notes are edited by Tim Otten and Andie Hunt.  If you'd like to
provide feedback on them, please login to https://chat.civicrm.org/civicrm and
contact `@agh1`.
