Merge pull request #23044 from braders/https-maps-links
[civicrm-core.git] / release-notes / 5.48.0.md
1 # CiviCRM 5.48.0
2
3 Released April 6, 2022
4
5 - **[Synopsis](#synopsis)**
6 - **[Features](#features)**
7 - **[Bugs resolved](#bugs)**
8 - **[Miscellany](#misc)**
9 - **[Credits](#credits)**
10 - **[Feedback](#feedback)**
11
12 ## <a name="synopsis"></a>Synopsis
13
14 | *Does this version...?* | |
15 |:--------------------------------------------------------------- |:-------:|
16 | Fix security vulnerabilities? | |
17 | Change the database schema? | |
18 | Alter the API? | |
19 | Require attention to configuration options? | |
20 | Fix problems installing or upgrading to a previous version? | |
21 | Introduce features? | |
22 | Fix bugs? | |
23
24 ## <a name="features"></a>Features
25
26 ### Core CiviCRM
27
28 - **crm- Missing Summary ([70](https://github.com/civicrm/civicrm-drupal-8/pull/70))**
29
30 ## <a name="bugs"></a>Bugs resolved
31
32 ### Core CiviCRM
33
34 - **dev/core#3119 - Post-upgrade messages no longer being displayed ([22985](https://github.com/civicrm/civicrm-core/pull/22985))**
35
36 - **[REF] Update Guzzlehttp/psr7 version to be 1.8.5 ([22998](https://github.com/civicrm/civicrm-core/pull/22998))**
37
38 - **Afform - Fix saving and editing entity blocks ([22963](https://github.com/civicrm/civicrm-core/pull/22963))**
39
40 - **dev/core#3126 - CiviReport statistics appearing twice on page ([22976](https://github.com/civicrm/civicrm-core/pull/22976))**
41
42 - **(Regression) - fixed tags form field display on New/Edit contact screen ([22964](https://github.com/civicrm/civicrm-core/pull/22964))**
43
44 - **Return array for setdefaults ([22948](https://github.com/civicrm/civicrm-core/pull/22948))**
45
46 - **[REF] Rename SoftDeleteEntity -> SoftDeleteActionTrait ([22944](https://github.com/civicrm/civicrm-core/pull/22944))**
47
48 - **Fix backward-compatability for new method in CRM_Contact_BAO_Query_Hook ([22933](https://github.com/civicrm/civicrm-core/pull/22933))**
49
50 - **dev/core#3112 Clear caches to avoid error on upgrade ([22932](https://github.com/civicrm/civicrm-core/pull/22932))**
51
52 - **Afform Gui - Fix selecting html element of text box ([22929](https://github.com/civicrm/civicrm-core/pull/22929))**
53
54 - **(NFC) contributor-key.yml - Fix syntax error ([22921](https://github.com/civicrm/civicrm-core/pull/22921))**
55
56 - **Don't perform event timezone check if CiviEvent is disabled ([22898](https://github.com/civicrm/civicrm-core/pull/22898))**
57
58 - **CiviGrant - Don't auto-create any grant types ([22913](https://github.com/civicrm/civicrm-core/pull/22913))**
59
60 - **dev/core#3100 - Remove grant leftovers from core xml. Remove empty grant reports menu ([22911](https://github.com/civicrm/civicrm-core/pull/22911))**
61
62 - **Only acl line items based on contribution ([22870](https://github.com/civicrm/civicrm-core/pull/22870))**
63
64 - **dev/core#3094 - Crash on contribution view when don't have event/participant permissions ([22865](https://github.com/civicrm/civicrm-core/pull/22865))**
65
66 - **dev/core#3104 - Crash when viewing a contact page - Call to undefined method CRM_Contact_Page_View_Summary::addExpectedSmartyVariables() ([22897](https://github.com/civicrm/civicrm-core/pull/22897))**
67
68 - **Refresh entity list after updating custom group (self_hook_*) ([22868](https://github.com/civicrm/civicrm-core/pull/22868))**
69
70 - **APIv4 Explorer - Add "copy" button to quicly copy code to clipboard ([22896](https://github.com/civicrm/civicrm-core/pull/22896))**
71
72 - **smarty/php notices on contribution view part 4 ([22894](https://github.com/civicrm/civicrm-core/pull/22894))**
73
74 - **Mark AJAX methods as static ([22895](https://github.com/civicrm/civicrm-core/pull/22895))**
75
76 - **Avoid e-notices on pages with tabs ([22892](https://github.com/civicrm/civicrm-core/pull/22892))**
77
78 - **5.47 ([22891](https://github.com/civicrm/civicrm-core/pull/22891))**
79
80 - **ManagedEntities - Allow "match" param to convert existing records to … ([22883](https://github.com/civicrm/civicrm-core/pull/22883))**
81
82 - **5.47 ([22888](https://github.com/civicrm/civicrm-core/pull/22888))**
83
84 - **5.47 ([22884](https://github.com/civicrm/civicrm-core/pull/22884))**
85
86 - **Contact token should show contact's info instead of logged in contact ([22874](https://github.com/civicrm/civicrm-core/pull/22874))**
87
88 - **Bump karma from 6.3.14 to 6.3.16 ([22875](https://github.com/civicrm/civicrm-core/pull/22875))**
89
90 - **php/smarty notices on contribution view part 2 ([22869](https://github.com/civicrm/civicrm-core/pull/22869))**
91
92 - **added as a contributor ([22876](https://github.com/civicrm/civicrm-core/pull/22876))**
93
94 - **Call to undefined function civicrm_api3_create_error() in civicrm/civ… ([22872](https://github.com/civicrm/civicrm-core/pull/22872))**
95
96 - **Format money on transaction list ([22438](https://github.com/civicrm/civicrm-core/pull/22438))**
97
98 - **5.47 ([22873](https://github.com/civicrm/civicrm-core/pull/22873))**
99
100 - **(NFC) LoggingDetailTest - Improve reliability of test ([22867](https://github.com/civicrm/civicrm-core/pull/22867))**
101
102 - **php notices on contributionview ([22866](https://github.com/civicrm/civicrm-core/pull/22866))**
103
104 - **5.47 ([22859](https://github.com/civicrm/civicrm-core/pull/22859))**
105
106 - **(NFC) Membership Tests - Update assertions to match behavior circa leap-day ([22860](https://github.com/civicrm/civicrm-core/pull/22860))**
107
108 - **Add handling for civimember disabled ([22864](https://github.com/civicrm/civicrm-core/pull/22864))**
109
110 - **(dev/core#1304) Queues - Define schema for runner, run_count, lease_time, et al ([22812](https://github.com/civicrm/civicrm-core/pull/22812))**
111
112 - **5.47 ([22857](https://github.com/civicrm/civicrm-core/pull/22857))**
113
114 - **fixes report#85 - Don't crash Contact Logging Detail report when viewing a contribution ([22242](https://github.com/civicrm/civicrm-core/pull/22242))**
115
116 - **dev/core#2100 Improve A/B test report page and API Mailing stats ([20093](https://github.com/civicrm/civicrm-core/pull/20093))**
117
118 - **5.47 ([22852](https://github.com/civicrm/civicrm-core/pull/22852))**
119
120 - **dev/user-interface#45 Show associated participants on contributionView form ([22732](https://github.com/civicrm/civicrm-core/pull/22732))**
121
122 - **Fix API4 Explorer undefined variable error ([22849](https://github.com/civicrm/civicrm-core/pull/22849))**
123
124 - **Avoid PHP undefined index notices on extension pages ([22848](https://github.com/civicrm/civicrm-core/pull/22848))**
125
126 - **[NFC] Basic case create test with org ([22846](https://github.com/civicrm/civicrm-core/pull/22846))**
127
128 - **Fix issues with PHP GetText and 0 length files ([22842](https://github.com/civicrm/civicrm-core/pull/22842))**
129
130 - **Remove reference to undefined variable in CRM_Contact_Form_Inline_CommunicationPreferences ([22840](https://github.com/civicrm/civicrm-core/pull/22840))**
131
132 - **Mark methods which are only used statically as static ([22844](https://github.com/civicrm/civicrm-core/pull/22844))**
133
134 - **APIv4 - Add metadata about class args ([22831](https://github.com/civicrm/civicrm-core/pull/22831))**
135
136 - **Cody tidy in CRM_Core_State ([22841](https://github.com/civicrm/civicrm-core/pull/22841))**
137
138 - **5.47 ([22838](https://github.com/civicrm/civicrm-core/pull/22838))**
139
140 - **Remove reference to undefined variable ([22839](https://github.com/civicrm/civicrm-core/pull/22839))**
141
142 - **CiviCase - Call hooks when creating relationships ([22814](https://github.com/civicrm/civicrm-core/pull/22814))**
143
144 - **5.47 ([22836](https://github.com/civicrm/civicrm-core/pull/22836))**
145
146 - **Move HookInterface to \Civi\Core namespace ([22834](https://github.com/civicrm/civicrm-core/pull/22834))**
147
148 - **APIv4 - Add tableName to Entity.get output ([22829](https://github.com/civicrm/civicrm-core/pull/22829))**
149
150 - **Fix submit handling of thousands when creating data entry batch ([22772](https://github.com/civicrm/civicrm-core/pull/22772))**
151
152 - **APIv4 - Add fixme about filtering custom fields by sub-type ([22827](https://github.com/civicrm/civicrm-core/pull/22827))**
153
154 - **Flush the metadata cache when the domain is edited ([22637](https://github.com/civicrm/civicrm-core/pull/22637))**
155
156 - **Fixes for smarty grumpy mode with membership ([22752](https://github.com/civicrm/civicrm-core/pull/22752))**
157
158 - **Enotice fixes ([22719](https://github.com/civicrm/civicrm-core/pull/22719))**
159
160 - **Mailing Report: do not recalculate the recipients when the count is zero ([22800](https://github.com/civicrm/civicrm-core/pull/22800))**
161
162 - **[REF] APIv4 - use entityTypes event to load custom records ([22824](https://github.com/civicrm/civicrm-core/pull/22824))**
163
164 - **Fix the "since" version for api v4 Mailing and MailingJob ([22823](https://github.com/civicrm/civicrm-core/pull/22823))**
165
166 - **5.47 ([22822](https://github.com/civicrm/civicrm-core/pull/22822))**
167
168 - **Recent update to {receipt_text} token gives warning in system check after upgrade ([22821](https://github.com/civicrm/civicrm-core/pull/22821))**
169
170 - **add checkPerm ([22818](https://github.com/civicrm/civicrm-core/pull/22818))**
171
172 - **[REF] Remove unused api v2 function ([22819](https://github.com/civicrm/civicrm-core/pull/22819))**
173
174 - **[NFC] Rename RecurForms test class ([22820](https://github.com/civicrm/civicrm-core/pull/22820))**
175
176 - **[REF] Cleanup docblocks & unused vars in Membership BAO ([22665](https://github.com/civicrm/civicrm-core/pull/22665))**
177
178 - **Added Cancel Recur Subscription test & setter for `supports` on Dummy processor ([21895](https://github.com/civicrm/civicrm-core/pull/21895))**
179
180 - **Revert membership debug handling in IPN ([22475](https://github.com/civicrm/civicrm-core/pull/22475))**
181
182 - **Cleanup on Offline Membership Receipts (ensures variables present across flows) ([22736](https://github.com/civicrm/civicrm-core/pull/22736))**
183
184 - **APIv4 - remove unnecessary field from System::check ([22748](https://github.com/civicrm/civicrm-core/pull/22748))**
185
186 - **Add deprecation notice to APIv3 Explorer ([22811](https://github.com/civicrm/civicrm-core/pull/22811))**
187
188 - **SearchKit - Use crmDialogButtons for task popups ([22790](https://github.com/civicrm/civicrm-core/pull/22790))**
189
190 - **[REF] Fix css code style issues ([22807](https://github.com/civicrm/civicrm-core/pull/22807))**
191
192 - **Civi\Api4\Queue - Allow use with hook_managed ([22796](https://github.com/civicrm/civicrm-core/pull/22796))**
193
194 - **APIv4 - Add MailingGroup API ([22799](https://github.com/civicrm/civicrm-core/pull/22799))**
195
196 - **Remove broken call to function_exists in CRM_Utils_String::isUtf8 ([22803](https://github.com/civicrm/civicrm-core/pull/22803))**
197
198 - **5.47 ([22798](https://github.com/civicrm/civicrm-core/pull/22798))**
199
200 - **Fix pledge default on contribution page when the site has a WR for "contribution" ([22801](https://github.com/civicrm/civicrm-core/pull/22801))**
201
202 - **dev/core#2486 Add v4 Mailing api (+ MailingJob) ([22624](https://github.com/civicrm/civicrm-core/pull/22624))**
203
204 - **(REF) CRM_Queue_Queue_* - Retain a copy of `$queueSpec` ([22797](https://github.com/civicrm/civicrm-core/pull/22797))**
205
206 - **(NFC) tests/phpunit/CRM/Queue - Add common `@group` ([22795](https://github.com/civicrm/civicrm-core/pull/22795))**
207
208 - **(REF) CRM_Queue_Task - Tighter signature ([22794](https://github.com/civicrm/civicrm-core/pull/22794))**
209
210 - **[REF] Remove old require_once statements made obsolete by autoloader ([22792](https://github.com/civicrm/civicrm-core/pull/22792))**
211
212 - **Fix regression with flexible merging of contact information ([22720](https://github.com/civicrm/civicrm-core/pull/22720))**
213
214 - **SearchKit - Update APIv3 Extension.get to use APIv4 ([22788](https://github.com/civicrm/civicrm-core/pull/22788))**
215
216 - **REF Deprecate API3 _ipn_process_transaction() ([22488](https://github.com/civicrm/civicrm-core/pull/22488))**
217
218 - **Cleanup on contribution view ([22698](https://github.com/civicrm/civicrm-core/pull/22698))**
219
220 - **SearchKit - Support relative dates and datepicker with the DATE() sql fn ([22783](https://github.com/civicrm/civicrm-core/pull/22783))**
221
222 - **5.47 ([22789](https://github.com/civicrm/civicrm-core/pull/22789))**
223
224 - **Update unit test to use exception ([22787](https://github.com/civicrm/civicrm-core/pull/22787))**
225
226 - **Mailing - Add `serialize` and `add` to `template_options` field ([22785](https://github.com/civicrm/civicrm-core/pull/22785))**
227
228 - **RecurForms test fixes ([22784](https://github.com/civicrm/civicrm-core/pull/22784))**
229
230 - **BAO_Mailing::create - stop passing by reference ([22753](https://github.com/civicrm/civicrm-core/pull/22753))**
231
232 - **Move check for mailing workflow permisisons to BAO layer ([22766](https://github.com/civicrm/civicrm-core/pull/22766))**
233
234 - **5.47 ([22782](https://github.com/civicrm/civicrm-core/pull/22782))**
235
236 - **Remove "Search Builder" from menubar on new installs. ([22778](https://github.com/civicrm/civicrm-core/pull/22778))**
237
238 - **Avoid null column showing on groups search page ([22724](https://github.com/civicrm/civicrm-core/pull/22724))**
239
240 - **Avoid PHP notices on the UF settings page. ([22667](https://github.com/civicrm/civicrm-core/pull/22667))**
241
242 - **SearchKit - Add 'merge contacts' task ([22768](https://github.com/civicrm/civicrm-core/pull/22768))**
243
244 - **5.47 to master ([22780](https://github.com/civicrm/civicrm-core/pull/22780))**
245
246 - **APiv4 - Add Extension.get ([22754](https://github.com/civicrm/civicrm-core/pull/22754))**
247
248 - **[REF] - Deprecate & delegate BAO::retrieve functions ([22543](https://github.com/civicrm/civicrm-core/pull/22543))**
249
250 - **dev/core#2927 - Avoid flooding logs with open_basedir in effect ([22277](https://github.com/civicrm/civicrm-core/pull/22277))**
251
252 - **dev/core#2866 Ignore preferred mail format when sending message ([22633](https://github.com/civicrm/civicrm-core/pull/22633))**
253
254 - **Follow up fix on removing preferred_mail_format ([22775](https://github.com/civicrm/civicrm-core/pull/22775))**
255
256 - **APIv4 - Fix typo in Entity.getFields ([22776](https://github.com/civicrm/civicrm-core/pull/22776))**
257
258 - **Fix apiv4 Contribution delete & all line items ([22749](https://github.com/civicrm/civicrm-core/pull/22749))**
259
260 - **dev/core#2866 Remove preferred_mail_format from email trait ([22635](https://github.com/civicrm/civicrm-core/pull/22635))**
261
262 - **Pseudoconstants - Fix and improve handling of option callbacks ([22730](https://github.com/civicrm/civicrm-core/pull/22730))**
263
264 - **[REF] Results of running npm audit fix ([22773](https://github.com/civicrm/civicrm-core/pull/22773))**
265
266 - **SearchKit - Customizable "No Results" text ([22770](https://github.com/civicrm/civicrm-core/pull/22770))**
267
268 - **Deprecate civicrm_contribution_recur.trxn_id ([21539](https://github.com/civicrm/civicrm-core/pull/21539))**
269
270 - **Clean return values for dummy payment processor ([22679](https://github.com/civicrm/civicrm-core/pull/22679))**
271
272 - **[REF] Simplification in Contact::getValues ([22765](https://github.com/civicrm/civicrm-core/pull/22765))**
273
274 - **SearchKit - Fix support for non-DAO entities ([22764](https://github.com/civicrm/civicrm-core/pull/22764))**
275
276 - **Some more notice fixes in smarty ([22745](https://github.com/civicrm/civicrm-core/pull/22745))**
277
278 - **Adjust css class for payment processor to use `-` ([22763](https://github.com/civicrm/civicrm-core/pull/22763))**
279
280 - **Cleanup around taxTerm assignment ([22422](https://github.com/civicrm/civicrm-core/pull/22422))**
281
282 - **[REF] Simplify Location::getValues ([22757](https://github.com/civicrm/civicrm-core/pull/22757))**
283
284 - **Remove unused parameter, pass-by-ref ([22756](https://github.com/civicrm/civicrm-core/pull/22756))**
285
286 - **[REF] Fix issue where spaces in payment_processor_type.name field cau… ([22760](https://github.com/civicrm/civicrm-core/pull/22760))**
287
288 - **Bump karma from 6.3.4 to 6.3.14 ([22758](https://github.com/civicrm/civicrm-core/pull/22758))**
289
290 - **Bump ajv from 6.6.1 to 6.12.6 ([22761](https://github.com/civicrm/civicrm-core/pull/22761))**
291
292 - **[REF] Cleanup billingBlock.js ([22713](https://github.com/civicrm/civicrm-core/pull/22713))**
293
294 - **Format money in custom fields once, on the tpl layer ([22728](https://github.com/civicrm/civicrm-core/pull/22728))**
295
296 - **5.47 ([22743](https://github.com/civicrm/civicrm-core/pull/22743))**
297
298 - **Bypass grumpy mode for contribution search totals & criteria ([22744](https://github.com/civicrm/civicrm-core/pull/22744))**
299
300 - **Move acl check for contributionView to the extension ([22684](https://github.com/civicrm/civicrm-core/pull/22684))**
301
302 - **Fix deprecated warnings, smary grumpy-mode issues in legacy searches ([22742](https://github.com/civicrm/civicrm-core/pull/22742))**
303
304 - **5.47 ([22738](https://github.com/civicrm/civicrm-core/pull/22738))**
305
306 - **5.47 ([22735](https://github.com/civicrm/civicrm-core/pull/22735))**
307
308 - **Add civicrm_admin_ui extension ([22628](https://github.com/civicrm/civicrm-core/pull/22628))**
309
310 - **APIv4 - Fix setting/getting a multi-record customfield with date+time ([22731](https://github.com/civicrm/civicrm-core/pull/22731))**
311
312 - **Move financial acls for membership to extension ([22677](https://github.com/civicrm/civicrm-core/pull/22677))**
313
314 - **APIv4 Explorer - Add REST syntax ([22722](https://github.com/civicrm/civicrm-core/pull/22722))**
315
316 - **Show customised fields on load, if customised option selected. ([22380](https://github.com/civicrm/civicrm-core/pull/22380))**
317
318 - **[NFC] Batch entry - Avoid warnings when performing math on empty string. ([22715](https://github.com/civicrm/civicrm-core/pull/22715))**
319
320 - **5.47 ([22723](https://github.com/civicrm/civicrm-core/pull/22723))**
321
322 - **dev/core#3057 - follow-up to fix civigrant info.xml version number in master ([22721](https://github.com/civicrm/civicrm-core/pull/22721))**
323
324 - **5.47 ([22718](https://github.com/civicrm/civicrm-core/pull/22718))**
325
326 - **SearchKit - Improve import UI to handle update & preview the import ([22699](https://github.com/civicrm/civicrm-core/pull/22699))**
327
328 - **Switch extension downloader and extensions feed to use Guzzle HTTP library ([21097](https://github.com/civicrm/civicrm-core/pull/21097))**
329
330 - **REF - Use function to get component name from permission ([22688](https://github.com/civicrm/civicrm-core/pull/22688))**
331
332 - **Use valid syntax for self-closing br elements ([22711](https://github.com/civicrm/civicrm-core/pull/22711))**
333
334 - **Add basic contribution example base for contribution workflows ([22636](https://github.com/civicrm/civicrm-core/pull/22636))**
335
336 - **Notice fixes ([22706](https://github.com/civicrm/civicrm-core/pull/22706))**
337
338 - **Enotice fix ([22707](https://github.com/civicrm/civicrm-core/pull/22707))**
339
340 - **civicrm_handler_filter_pseudo_constant - Guard against old or inactive pseudoconstants ([656](https://github.com/civicrm/civicrm-drupal/pull/656))**
341
342 - **Views - CiviGrant is now an extension ([654](https://github.com/civicrm/civicrm-drupal/pull/654))**
343
344 - **Remove unit tests based on older framework ([71](https://github.com/civicrm/civicrm-drupal-8/pull/71))**
345
346 - **Fixes fatal error - function doesn't exist ([275](https://github.com/civicrm/civicrm-wordpress/pull/275))**
347
348 - **5.47 ([274](https://github.com/civicrm/civicrm-wordpress/pull/274))**
349
350 ## <a name="misc"></a>Miscellany
351
352 ## <a name="credits"></a>Credits
353
354 This release was developed by the following code authors:
355
356 AGH Strategies - Alice Frumin, Andie Hunt; BrightMinded Ltd - Bradley Taylor; Christian Wach; Circle Interactive - Pradeep Nayak; CiviCRM - Coleman Watts, Tim Otten; Coop SymbioTIC - Mathieu Lutfy; Dave D; dependabot[bot]; Fuzion - Luke Stewart; Grype Digital Inc. - Md Rashedul Islam; JMA Consulting - Monish Deb, Seamus Lee; John Kingsnorth; Kartik Kathuria; Megaphone Technology Consulting - Jon Goldberg; MJW Consulting - Matthew Wire; Registered Nurses' Association of Ontario - Ian Wilson; Tadpole Collective - Kevin Cristiano; Wikimedia Foundation - Eileen McNaughton; Wildsight - Lars Sanders-Green
357
358 Most authors also reviewed code for this release; in addition, the following
359 reviewers contributed their comments:
360
361 Agileware - Justin Freeman; Artful Robot - Rich Lott; Blackfly Solutions - Alan Dixon; Bluehorn Digital - Matt Glaman; BrightMinded Ltd - Bradley Taylor; Christian Wach; Circle Interactive - Pradeep Nayak; civibot[bot]; CiviCoop - Jaap Jansma; civicrm-builder; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; Coop SymbioTIC - Mathieu Lutfy; Dave D; Fuzion - Luke Stewart; Grype Digital Inc. - Md Rashedul Islam; JMA Consulting - Monish Deb, Seamus Lee; John Kingsnorth; Kartik Kathuria; Megaphone Technology Consulting - Jon Goldberg; MJW Consulting - Matthew Wire; Progressive Technology Project - Jamie McClelland; Semper IT - Karin Gerritsen; Skvare - Mark Hanna; Tadpole Collective - Kevin Cristiano; Wikimedia Foundation - Eileen McNaughton; Wildsight - Lars Sanders-Green
362
363 ## <a name="feedback"></a>Feedback
364
365 These release notes are edited by Alice Frumin and Andie Hunt. If you'd like
366 to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
367 and contact `@agh1`.