# CiviCRM 5.38.0
Released June 2, 2021
- **[Synopsis](#synopsis)**
- **[Features](#features)**
- **[Bugs resolved](#bugs)**
- **[Miscellany](#misc)**
- **[Credits](#credits)**
- **[Feedback](#feedback)**
## Synopsis
| *Does this version...?* | |
|:--------------------------------------------------------------- |:-------:|
| Fix security vulnerabilities? | |
| Change the database schema? | |
| Alter the API? | |
| Require attention to configuration options? | |
| Fix problems installing or upgrading to a previous version? | |
| Introduce features? | |
| Fix bugs? | |
## Features
## Bugs resolved
### Core CiviCRM
- **Afform - Fix saving joined entities (email, address, phone, etc) ([20264](https://github.com/civicrm/civicrm-core/pull/20264))**
- **Fix money formatting opps ([20277](https://github.com/civicrm/civicrm-core/pull/20277))**
- **dev/core#2601 fix joomla permission regression ([20256](https://github.com/civicrm/civicrm-core/pull/20256))**
- **Make APIv4 Subscribers Public to fix D9 install ([20254](https://github.com/civicrm/civicrm-core/pull/20254))**
- **Globally reset angular hashPrefix ([20152](https://github.com/civicrm/civicrm-core/pull/20152))**
- **dev/core#2575 remove / improve indexes ([20245](https://github.com/civicrm/civicrm-core/pull/20245))**
- **dev/core#2593 [REF] Stop passing membership id into recur notify ([20244](https://github.com/civicrm/civicrm-core/pull/20244))**
- **Afform - Fix loading entities from url args ([20145](https://github.com/civicrm/civicrm-core/pull/20145))**
- **[NFC] Code cleanup, docblocks, strict comparison, type hints ([20240](https://github.com/civicrm/civicrm-core/pull/20240))**
- **[NFC] code cleanups in test class ([20237](https://github.com/civicrm/civicrm-core/pull/20237))**
- **Extract sales tax test config to a trait ([20233](https://github.com/civicrm/civicrm-core/pull/20233))**
- **SearchKit - Fix updating Entity Ref fields ([20125](https://github.com/civicrm/civicrm-core/pull/20125))**
- **(5.37 merge into master) dev/core#2586 fix failure to null thank you ([20235](https://github.com/civicrm/civicrm-core/pull/20235))**
- **Merge forward (5.37 => master) ([20232](https://github.com/civicrm/civicrm-core/pull/20232))**
- **Afform - Set default position for contact layout editor ([20228](https://github.com/civicrm/civicrm-core/pull/20228))**
- **dev/core#2588 - failing test for PR 20222 ([20227](https://github.com/civicrm/civicrm-core/pull/20227))**
- **dev/core#2588 - Crash when sending to 3+ email recipients with an attachment in 5.36+ ([20222](https://github.com/civicrm/civicrm-core/pull/20222))**
- **Api4 Services - Lazy-load subscriber-objects ([20221](https://github.com/civicrm/civicrm-core/pull/20221))**
- **5.37.0 release notes: added late changes ([20230](https://github.com/civicrm/civicrm-core/pull/20230))**
- **dev/core#2571: Add form function of utils/Recaptcha has been altered to avoid checking variable "isCaptcha" ([20199](https://github.com/civicrm/civicrm-core/pull/20199))**
- **APIv4 - Don't show campaign_id in getFields if campaign component disabled ([20219](https://github.com/civicrm/civicrm-core/pull/20219))**
- **Set the smarty variables for mem_status and mem_join_date for back-end membership renewals ([20224](https://github.com/civicrm/civicrm-core/pull/20224))**
- **5.37 ([20226](https://github.com/civicrm/civicrm-core/pull/20226))**
- **allow event transfer on backend when self-service transfer is disabled ([20150](https://github.com/civicrm/civicrm-core/pull/20150))**
- **REF Update Pear/log to fix issues with install CiviCRM on Drupal 9.2 ([20218](https://github.com/civicrm/civicrm-core/pull/20218))**
- **Fix enotice when Log service is swapped out ([20146](https://github.com/civicrm/civicrm-core/pull/20146))**
- **APIv4 - Setting api misc fixes & tests ([20191](https://github.com/civicrm/civicrm-core/pull/20191))**
- **Set html type of campaign fields ([20215](https://github.com/civicrm/civicrm-core/pull/20215))**
- **Fix PayPal IPN URL and WordPress URLs when Permalinks are set to "Plain" ([20063](https://github.com/civicrm/civicrm-core/pull/20063))**
- **Fixed dev/core#2505 fix formatting of numbers in civireport ([20123](https://github.com/civicrm/civicrm-core/pull/20123))**
- **dev/core#2568 Enotice fix + test ([20188](https://github.com/civicrm/civicrm-core/pull/20188))**
- **SearchKit - Exclude serialized fields from implicit join selection ([20156](https://github.com/civicrm/civicrm-core/pull/20156))**
- **5.37 to master ([20213](https://github.com/civicrm/civicrm-core/pull/20213))**
- **[REF] Cleanup interaction with membership & membership id ([20153](https://github.com/civicrm/civicrm-core/pull/20153))**
- **dev/core#2582 Fix PCP and Pledge template urls in message templates t… ([20203](https://github.com/civicrm/civicrm-core/pull/20203))**
- **5.37 ([20207](https://github.com/civicrm/civicrm-core/pull/20207))**
- **5.37 to master ([20201](https://github.com/civicrm/civicrm-core/pull/20201))**
- **fix capitalization to allow proper access to 'access AJAX API' perm. ([20200](https://github.com/civicrm/civicrm-core/pull/20200))**
- **Make reCAPTCHA not conditional on paymentprocessor on contribution page ([20180](https://github.com/civicrm/civicrm-core/pull/20180))**
- **[REF] Minor tidy up ([20194](https://github.com/civicrm/civicrm-core/pull/20194))**
- **Make send letter function available to searchkit, individual contributions ([20187](https://github.com/civicrm/civicrm-core/pull/20187))**
- **dev/core#2571: Removed Forced Recaptcha function as it called only once ([20193](https://github.com/civicrm/civicrm-core/pull/20193))**
- **Add deprected warning to apparently unused functions ([20192](https://github.com/civicrm/civicrm-core/pull/20192))**
- **[REF] Remove redundant code ([20138](https://github.com/civicrm/civicrm-core/pull/20138))**
- **5.37 ([20185](https://github.com/civicrm/civicrm-core/pull/20185))**
- **APIv4 - Remove unnecessary custom getActions class ([20181](https://github.com/civicrm/civicrm-core/pull/20181))**
- **add me ([20183](https://github.com/civicrm/civicrm-core/pull/20183))**
- **oauth-client - Add test for existing Auth Code flow behavior ([20162](https://github.com/civicrm/civicrm-core/pull/20162))**
- **Contribution.sendconfirmation API3 function should return ([20182](https://github.com/civicrm/civicrm-core/pull/20182))**
- **[REF] Minor code cleanup ([20175](https://github.com/civicrm/civicrm-core/pull/20175))**
- **[REF] Complete decommissioning of CRM/Contribute/Form/Task/PDFLetterCommon.php ([20172](https://github.com/civicrm/civicrm-core/pull/20172))**
- **dev/core#2541 Clarify scheduled reminder options: Event Start Date -> Event Start, etc ([20070](https://github.com/civicrm/civicrm-core/pull/20070))**
- **dev/core#1452 Put text inside label tags for recurring contribution selection ([20092](https://github.com/civicrm/civicrm-core/pull/20092))**
- **5.37 to master ([20176](https://github.com/civicrm/civicrm-core/pull/20176))**
- **APIv4 - Remove unnecessary class override (handled by generic) ([20173](https://github.com/civicrm/civicrm-core/pull/20173))**
- **Remove apparent copy & paste from Contribution pdf letter function ([20161](https://github.com/civicrm/civicrm-core/pull/20161))**
- **[REF] Add strict types to Utils_Mail::Send ([20171](https://github.com/civicrm/civicrm-core/pull/20171))**
- **Simplify reCAPTCHA on ContributionBase form ([20166](https://github.com/civicrm/civicrm-core/pull/20166))**
- **REF Cleanup ReCAPTCHA code ([20167](https://github.com/civicrm/civicrm-core/pull/20167))**
- **[REF] Post move cleanup - switch from $form to $this ([20160](https://github.com/civicrm/civicrm-core/pull/20160))**
- **Fixes issue with state/province & country not translating values ([20169](https://github.com/civicrm/civicrm-core/pull/20169))**
- **REF reCAPTCHA Simplify buildCustom function on Registration form ([20164](https://github.com/civicrm/civicrm-core/pull/20164))**
- **REF reCAPTCHA Simplify buildCustom function on Signature form ([20165](https://github.com/civicrm/civicrm-core/pull/20165))**
- **[REF] Minor tidy up - use writeRecord ([20159](https://github.com/civicrm/civicrm-core/pull/20159))**
- **Fix a copy-and-paste error in the field definitions for OAuthSysToken ([20157](https://github.com/civicrm/civicrm-core/pull/20157))**
- **[REF] Move more functions back to pdfLetter class ([20155](https://github.com/civicrm/civicrm-core/pull/20155))**
- **Search Kit links improvements ([20134](https://github.com/civicrm/civicrm-core/pull/20134))**
- **Move more functions to the pdfLetter class ([20143](https://github.com/civicrm/civicrm-core/pull/20143))**
- **5.37 ([20154](https://github.com/civicrm/civicrm-core/pull/20154))**
- **[REF] Fix Security status check urls to work on WordPress ([20111](https://github.com/civicrm/civicrm-core/pull/20111))**
- **dev/core#2493 Default to not cleaning money for order.create api ([19991](https://github.com/civicrm/civicrm-core/pull/19991))**
- **5.37 to master ([20151](https://github.com/civicrm/civicrm-core/pull/20151))**
- **Authx - Retain authentication outcome/metadata ([20026](https://github.com/civicrm/civicrm-core/pull/20026))**
- **dev/core#2506 Fix unserializing custom values during form reload ([20137](https://github.com/civicrm/civicrm-core/pull/20137))**
- **[REF] Move functions back to class that uses it ([20136](https://github.com/civicrm/civicrm-core/pull/20136))**
- **AfformGui - Specify admin tpl in entity config file & fall-back to ge… ([20141](https://github.com/civicrm/civicrm-core/pull/20141))**
- **dev/core#2516 Invalidate only smart groups ([19986](https://github.com/civicrm/civicrm-core/pull/19986))**
- **5.37 ([20140](https://github.com/civicrm/civicrm-core/pull/20140))**
- **[REF] dev/core#2509 - Pull activity actionLinks creation into separate function ([20118](https://github.com/civicrm/civicrm-core/pull/20118))**
- **Replace string org.civicrm.search -> org.civicrm.search_kit ([20132](https://github.com/civicrm/civicrm-core/pull/20132))**
- **APIv4 - Deprecate nonstandard syntax for implicit joins ([20130](https://github.com/civicrm/civicrm-core/pull/20130))**
- **dev/core#2556 Rename extension org.civicrm.search -> org.civicrm.search_kit ([20124](https://github.com/civicrm/civicrm-core/pull/20124))**
- **Enotice fix ([20122](https://github.com/civicrm/civicrm-core/pull/20122))**
- **Add contact source column in some Reports ([20112](https://github.com/civicrm/civicrm-core/pull/20112))**
- **5.37 ([20119](https://github.com/civicrm/civicrm-core/pull/20119))**
- **SearchKit - Fix display of contact reference fields (single-value) ([20117](https://github.com/civicrm/civicrm-core/pull/20117))**
- **Fix Drupal8 CiviCRM menu translation on multilingual (and ajax calls) ([20085](https://github.com/civicrm/civicrm-core/pull/20085))**
- **Extensions - Setup during "enable" and "uninstall" ([20116](https://github.com/civicrm/civicrm-core/pull/20116))**
- **dev/core#2509 - Remove duplicate setting of activity subject field and replace a few CRM_Utils_Array::value ([20114](https://github.com/civicrm/civicrm-core/pull/20114))**
- **dev/core#2547 - Add base-upgrader to core ([20090](https://github.com/civicrm/civicrm-core/pull/20090))**
- **Save entities created by api v4 to managed ([20105](https://github.com/civicrm/civicrm-core/pull/20105))**
- **dev/core#2509 - Remove unnecessary variable to make it easier to extract function that creates action links ([20106](https://github.com/civicrm/civicrm-core/pull/20106))**
- **Increase civicrm_queue_item.data field size ([20107](https://github.com/civicrm/civicrm-core/pull/20107))**
- **Include more data in error message ([20110](https://github.com/civicrm/civicrm-core/pull/20110))**
- **dev/core#2490 Drupal8: Fix CMS intergration table mapping ([19989](https://github.com/civicrm/civicrm-core/pull/19989))**
- **Add 'contact-actions-ribbon' region ([20108](https://github.com/civicrm/civicrm-core/pull/20108))**
- **dev/core#2549 Fix undefined index when merging websites ([20101](https://github.com/civicrm/civicrm-core/pull/20101))**
- **dev/core#2505 Fix formatLocaleNumeric ([20053](https://github.com/civicrm/civicrm-core/pull/20053))**
- **5.37 ([20103](https://github.com/civicrm/civicrm-core/pull/20103))**
- **[NFC] Regenerate Grant DAO ([20104](https://github.com/civicrm/civicrm-core/pull/20104))**
- **dev/report#53: search on relationship and case (2) ([20002](https://github.com/civicrm/civicrm-core/pull/20002))**
- **Remove unused functions ([20099](https://github.com/civicrm/civicrm-core/pull/20099))**
- **dev/mail#90 - Allow re-use mailing on draft mailings and adhoc mailings ([20058](https://github.com/civicrm/civicrm-core/pull/20058))**
- **Fix the MOST out-of-date parts of the afform readme ([20100](https://github.com/civicrm/civicrm-core/pull/20100))**
- **Extensions - Setup `` during installation ([20091](https://github.com/civicrm/civicrm-core/pull/20091))**
- **Alter dedupe code to call api rather than bao->save() ([20036](https://github.com/civicrm/civicrm-core/pull/20036))**
- **[NFC/Unit Test] - Help avoid problems when using assertApproxEquals with integers instead of fractions ([20089](https://github.com/civicrm/civicrm-core/pull/20089))**
- **(NFC) Fix possible flacky tests by splitting the parts of the checksu… ([20088](https://github.com/civicrm/civicrm-core/pull/20088))**
- **5.37 ([20086](https://github.com/civicrm/civicrm-core/pull/20086))**
- **Simplify mailing check ([20076](https://github.com/civicrm/civicrm-core/pull/20076))**
- **community/feature-request#12 - Allow named logging channels ([20079](https://github.com/civicrm/civicrm-core/pull/20079))**
- **dev/core#403 Fix Petition Confirmation Email template by removing the… ([20080](https://github.com/civicrm/civicrm-core/pull/20080))**
- **dev/core#2536 Trim strings from info.xml in extensions ([20064](https://github.com/civicrm/civicrm-core/pull/20064))**
- **5.37 ([20067](https://github.com/civicrm/civicrm-core/pull/20067))**
- **Fix for importing preferred language (and other fields) by label ([19886](https://github.com/civicrm/civicrm-core/pull/19886))**
- **Fix AuthX Setting Labels ([20055](https://github.com/civicrm/civicrm-core/pull/20055))**
- **Switch to Call contribution api ([20041](https://github.com/civicrm/civicrm-core/pull/20041))**
- **[Ref] Simplify getMembershipParameters ([20014](https://github.com/civicrm/civicrm-core/pull/20014))**
- **APIv4 - Fix Setting api to work with index param ([20072](https://github.com/civicrm/civicrm-core/pull/20072))**
- **Removed limit of 25 groups and past mailings ([20069](https://github.com/civicrm/civicrm-core/pull/20069))**
- **(REF) Payflow Pro - Migrate code into a core extension ([20043](https://github.com/civicrm/civicrm-core/pull/20043))**
- **5.37 ([20051](https://github.com/civicrm/civicrm-core/pull/20051))**
- **APIv4 - Improve entity name lookup ([20056](https://github.com/civicrm/civicrm-core/pull/20056))**
- **Add pager to bottom of Manage Contribution Pages ([20061](https://github.com/civicrm/civicrm-core/pull/20061))**
- **When generating boilerplate code from xml, make error text more helpful and spelt correckly ([20054](https://github.com/civicrm/civicrm-core/pull/20054))**
- **dev/core#2509 - Search kit display link for grant view is wrong ([20060](https://github.com/civicrm/civicrm-core/pull/20060))**
- **Revert "dev/core#2512 Set membership's status properly when recording the payment" ([20062](https://github.com/civicrm/civicrm-core/pull/20062))**
- **dev/core#2512 Set membership's status properly when recording the payment ([19975](https://github.com/civicrm/civicrm-core/pull/19975))**
- **Update WP permission page for new string array keys ([20045](https://github.com/civicrm/civicrm-core/pull/20045))**
- **Afform - Improve integration with ContactLayout editor ([20042](https://github.com/civicrm/civicrm-core/pull/20042))**
- **APIv4 - Fix unserialize settings ([20048](https://github.com/civicrm/civicrm-core/pull/20048))**
- **Convert Dummy payment processor to use doPayment function ([20029](https://github.com/civicrm/civicrm-core/pull/20029))**
- **Suppress legacy warnings by default in propertyBag to allow transition to propertyBag without hitting legacy warnings on unconverted payment processors ([20038](https://github.com/civicrm/civicrm-core/pull/20038))**
- **[REF] Fix error where entryURL does not contain id of the contributio… ([19917](https://github.com/civicrm/civicrm-core/pull/19917))**
- **[REF] Simplify interaction with contributionRecur ([20017](https://github.com/civicrm/civicrm-core/pull/20017))**
- **Add amount as standard property to PaymentPropertyBag ([20037](https://github.com/civicrm/civicrm-core/pull/20037))**
- **5.37 ([20039](https://github.com/civicrm/civicrm-core/pull/20039))**
- **Initial refactor of PayPal core processor to stop using doDirectPayment/doTransferCheckout ([20030](https://github.com/civicrm/civicrm-core/pull/20030))**
- **Add installments to propertyBag ([20023](https://github.com/civicrm/civicrm-core/pull/20023))**
- **5.37 to master ([20034](https://github.com/civicrm/civicrm-core/pull/20034))**
- **Make it clear that doDirectPayment/doTransferCheckout are deprecated … ([20020](https://github.com/civicrm/civicrm-core/pull/20020))**
- **Use propertyBag in doPayment ([20022](https://github.com/civicrm/civicrm-core/pull/20022))**
- **5.37 to master ([20032](https://github.com/civicrm/civicrm-core/pull/20032))**
- **Add payment_status in default doPayment per dev/financial#141 ([20021](https://github.com/civicrm/civicrm-core/pull/20021))**
- **5.37 to master ([20027](https://github.com/civicrm/civicrm-core/pull/20027))**
- **Fix Payment.create to update (recalculate) contribution fee_amount ([20008](https://github.com/civicrm/civicrm-core/pull/20008))**
- **Add unit test for core#19628 ([19972](https://github.com/civicrm/civicrm-core/pull/19972))**
- **[REF] [ipn] Simplification around contributionRecur ID ([19903](https://github.com/civicrm/civicrm-core/pull/19903))**
- **Extract out getReceiveDate ([20007](https://github.com/civicrm/civicrm-core/pull/20007))**
- **[NFC] [Test] Preliminary cleanup ([20012](https://github.com/civicrm/civicrm-core/pull/20012))**
- **dev/core#2502 Add unit test to lock in fix on tag searching in search… ([20016](https://github.com/civicrm/civicrm-core/pull/20016))**
- **Move tpl assignment to email function ([20013](https://github.com/civicrm/civicrm-core/pull/20013))**
- **dev/core#2436 On WordPress, redirect back to the event registration o… ([19718](https://github.com/civicrm/civicrm-core/pull/19718))**
- **5.37 to master ([20015](https://github.com/civicrm/civicrm-core/pull/20015))**
- **[Ref] One more place to use total fn ([20010](https://github.com/civicrm/civicrm-core/pull/20010))**
- **[NFC] [Test] Minor preliminary cleanup ([20006](https://github.com/civicrm/civicrm-core/pull/20006))**
- **[REF] [Towards membership api] Simplify determination on contribution recur contact id ([19902](https://github.com/civicrm/civicrm-core/pull/19902))**
- **SearchKit - Make contribution tasks available as actions ([20004](https://github.com/civicrm/civicrm-core/pull/20004))**
- **5.37 to master ([20005](https://github.com/civicrm/civicrm-core/pull/20005))**
- **Membership form Remove check for installments as not on the form (copied from shared code) ([19964](https://github.com/civicrm/civicrm-core/pull/19964))**
- **Remove reference to trxn_id, not on form, from previously shared code ([19965](https://github.com/civicrm/civicrm-core/pull/19965))**
- **Add support for receipt task outside the search process ([19848](https://github.com/civicrm/civicrm-core/pull/19848))**
- **dev/release#16 - Cleanup empty upgrade steps ([19744](https://github.com/civicrm/civicrm-core/pull/19744))**
- **[REF] [Towards membership api] extract getContributionSource ([19966](https://github.com/civicrm/civicrm-core/pull/19966))**
- **File CustomField: avoid renaming an empty file ([19890](https://github.com/civicrm/civicrm-core/pull/19890))**
- **5.37 ([20000](https://github.com/civicrm/civicrm-core/pull/20000))**
- **dev/core#2501 - api uf_group.create overwrites existing fields when updating if they aren't specified ([19995](https://github.com/civicrm/civicrm-core/pull/19995))**
- **Add FUNDING.yml to display a SPONSOR link that directs to c.o ([644](https://github.com/civicrm/civicrm-drupal/pull/644))**
- **Add FUNDING.yml to display a SPONSOR link that directs to c.o ([63](https://github.com/civicrm/civicrm-drupal-8/pull/63))**
- **[NFC] Consistency fix when defining CIVICRM_TEST ([64](https://github.com/civicrm/civicrm-drupal-8/pull/64))**
- **5.37 ([321](https://github.com/civicrm/civicrm-packages/pull/321))**
## Miscellany
## Credits
This release was developed by the following code authors:
AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Francis Whittle, Justin Freeman; Benjamin W; Caltha - Tomasz Pietrzkowski; Christian Wach; CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts, Tim Otten; CompuCorp - Ahed Eid, Omar Abu Hussein; Coop SymbioTIC - Mathieu Lutfy; Dave D; Francesc Bassas i Bullich; Fuzion - Jitendra Purohit; invalid-email-address; iXiam - Vangelis Pantazis; JMA Consulting - Monish Deb, Seamus Lee; John Kingsnorth; Kartik Kathuria; larssandergreen; Lemniscus - Noah Miller; Megaphone Technology Consulting - Jon Goldberg; MJCO - Mikey O'Toole; MJW Consulting - Matthew Wire; Olivier Hertrich; Progressive Technology Project - Jamie McClelland; Squiffle Consulting - Aidan Saunders; Wikimedia Foundation - Eileen McNaughton
Most authors also reviewed code for this release; in addition, the following
reviewers contributed their comments:
Agileware - Francis Whittle, Justin Freeman; Artful Robot - Rich Lott; Australian Greens - John Twyman; Caltha - Tomasz Pietrzkowski; Christian Wach; civibot[bot]; CiviCoop - Jaap Jansma; civicrm-builder; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp - Ahed Eid, Omar Abu Hussein; Coop SymbioTIC - Mathieu Lutfy; Dave D; Francesc Bassas i Bullich; JMA Consulting - Edsel Lopez, Joe Murray, Monish Deb, Seamus Lee; John Kingsnorth; Kartik Kathuria; larssandergreen; Lemniscus - Noah Miller; Megaphone Technology Consulting - Jon Goldberg; MJCO - Mikey O'Toole; MJW Consulting - Matthew Wire; Progressive Technology Project - Jamie McClelland; Richard van Oosterhout; Semper IT - Karin Gerritsen; Squiffle Consulting - Aidan Saunders; SYSTOPIA Organisationsberatung - Björn Endres; Tadpole Collective - Kevin Cristiano; Web Access - Kurund Jalmi; Wikimedia Foundation - Eileen McNaughton
## Feedback
These release notes are edited by Alice Frumin and Andrew Hunt. If you'd like
to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
and contact `@agh1`.