release-notes/5.47.0.md - Add various RC-stage PRs
[civicrm-core.git] / release-notes / 5.47.0.md
1 # CiviCRM 5.47.0
2
3 Released March 4, 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? | no |
17 | **Change the database schema?** | **yes** |
18 | **Alter the API?** | **yes** |
19 | Require attention to configuration options? | no |
20 | Fix problems installing or upgrading to a previous version? | no |
21 | **Introduce features?** | **yes** |
22 | **Fix bugs?** | **yes** |
23
24 ## <a name="features"></a>Features
25
26 ### Core CiviCRM
27
28 - **Add created_date & modified_date to civicrm_relationship
29 ([22480](https://github.com/civicrm/civicrm-core/pull/22480))**
30
31 Adds created_date & modified_date to the civicrm_relationship table.
32
33 - **Add option to display money tokens without formatting
34 ([22548](https://github.com/civicrm/civicrm-core/pull/22548))**
35
36 Adds an option to display money tokens without formatting.
37
38 - **SearchKit - Improve field/operator/value selection UI
39 ([22604](https://github.com/civicrm/civicrm-core/pull/22604))**
40
41 Improves the SearchKit UI for selecting field/operator/value conditions.
42 Affects various parts of the UI, like css conditions, link conditions,
43 where/on/having clauses, etc.
44
45 - **SearchKit - Support operators in conditional css rules
46 ([22552](https://github.com/civicrm/civicrm-core/pull/22552))**
47
48 Allows operators other than = in SearchKit conditional style rules.
49
50 - **SearchKit - Allow smarty in field rewrite
51 ([22592](https://github.com/civicrm/civicrm-core/pull/22592))**
52
53 Gives the ability to use Smarty syntax in the "rewrite" of SearchKit displays.
54
55 - **SearchKit: Relationship Description unavailable
56 ([dev/core#3019](https://lab.civicrm.org/dev/core/-/issues/3019):
57 [22606](https://github.com/civicrm/civicrm-core/pull/22606))**
58
59 Exposes relationship description, created/modified_date & permissions fields
60 in SearchKit.
61
62 - **SearchKit - add/remove tags action for all taggable entities
63 ([21865](https://github.com/civicrm/civicrm-core/pull/21865))**
64
65 Adds a new angular-based action to SearchKit for bulk adding/removing tags
66 from contacts, cases, activities, etc.
67
68 - **SearchKit - Support conditional links
69 ([22557](https://github.com/civicrm/civicrm-core/pull/22557))**
70
71 Adds an advanced feature to conditionally show/hide links in a
72 links/buttons/menu column, based on user permissions or row values.
73
74 - **SearchKit - Update operator labels
75 ([22554](https://github.com/civicrm/civicrm-core/pull/22554))**
76
77 Updates SearchKit labels to hopefully better describe ReGex.
78
79 - **SearchKit - Enable joins for custom fields and option groups
80 ([22355](https://github.com/civicrm/civicrm-core/pull/22355))**
81
82 Enables SearchKit to join custom groups to custom fields, and option groups to
83 option values.
84
85 - **APIv4 - Add SubscriptionHistory entity
86 ([22435](https://github.com/civicrm/civicrm-core/pull/22435))**
87
88 Adds a SubscriptionHistory entity to APIv4.
89
90 - **APIv4 - Make Permission 'group' discoverable in API Explorer
91 ([22559](https://github.com/civicrm/civicrm-core/pull/22559))**
92
93 Makes `group` options for the `Permission` API discoverable.
94
95 - **Improve field accessibility in legacycustomsearches
96 ([22710](https://github.com/civicrm/civicrm-core/pull/22710))**
97
98 Improves accessibility of legacy custom searches.
99
100 - **Expose a REST end-point through standard routing (Work Towards
101 [dev/core#2077](https://lab.civicrm.org/dev/core/-/issues/2077):
102 [19727](https://github.com/civicrm/civicrm-core/pull/19727) and
103 [22058](https://github.com/civicrm/civicrm-core/pull/22058))**
104
105 Makes 'civicrm/ajax/rest' interoperable with 'extern/rest.php' parameters and
106 adds an authx configuration screen.
107
108 - **Define more usable queue DX for multithreaded background work (Work Towards
109 [dev/core#1304](https://lab.civicrm.org/dev/core/-/issues/1304):
110 [22324](https://github.com/civicrm/civicrm-core/pull/22324) and
111 [22657](https://github.com/civicrm/civicrm-core/pull/22657))**
112
113 Adds a high-level queue tracking table and updates the programmatic APIs to
114 make it easier to work with persistent queues.
115
116 - **Civi::pipe - Add support for background worker-processes with JSON pipes
117 ([22262](https://github.com/civicrm/civicrm-core/pull/22262))**
118
119 Add an entry-point for external scripts to send multiple API calls to a
120 CiviCRM worker-process - while only bootstrapping one time.
121
122 - **Expose email on hold as filter for reports (Work towards
123 [dev/core#3012](https://lab.civicrm.org/dev/core/-/issues/3012):
124 [22368](https://github.com/civicrm/civicrm-core/pull/22368) and
125 [22572](https://github.com/civicrm/civicrm-core/pull/22572))**
126
127 Exposes email on hold as filter on contribution reports.
128
129 - **Extensions - Add dependency status check
130 ([22464](https://github.com/civicrm/civicrm-core/pull/22464))**
131
132 Adds a system status check to ensure extension dependencies are met, and warn
133 the admin of missing dependencies.
134
135 - **Add metadata so Activity Created Date is available in Form Builder
136 ([22320](https://github.com/civicrm/civicrm-core/pull/22320))**
137
138 Makes the Activity Created date available in Form Builder.
139
140 - **Move permission access handling for
141 civicrm/admin/financial/financialType?reset=1 to extension
142 ([22685](https://github.com/civicrm/civicrm-core/pull/22685) and
143 [22499](https://github.com/civicrm/civicrm-core/pull/22499))**
144
145 Moves permission access handling for
146 civicrm/admin/financial/financialType?reset=1 to extension.
147
148 ### CiviContribute
149
150 - **Why are unique labels for price fields required?
151 ([dev/event#66](https://lab.civicrm.org/dev/event/-/issues/66):
152 [22508](https://github.com/civicrm/civicrm-core/pull/22508))**
153
154 Makes it so duplicate price field labels are allowed.
155
156 - **Use tokens in offline contribution receipt (new installs)
157 ([22560](https://github.com/civicrm/civicrm-core/pull/22560))**
158
159 Use tokens instead of Smarty Variables in the offline contribution receipt
160 template for new installs.
161
162 ### CiviEvent
163
164 - **Event Registration: allow default Price Set values from the URL
165 ([22313](https://github.com/civicrm/civicrm-core/pull/22313))**
166
167 Makes it so one can set the default price field on event registration forms
168 using url parameters.
169
170 - **Account for time zone on event registration pages
171 ([dev/core#2122](https://lab.civicrm.org/dev/core/-/issues/2122):
172 [22620](https://github.com/civicrm/civicrm-core/pull/22620),
173 [22622](https://github.com/civicrm/civicrm-core/pull/22622),
174 [20476](https://github.com/civicrm/civicrm-core/pull/20476),
175 [22619](https://github.com/civicrm/civicrm-core/pull/22619),
176 [22645](https://github.com/civicrm/civicrm-core/pull/22645) and
177 [22644](https://github.com/civicrm/civicrm-core/pull/22644))**
178
179 Adds timezone support for events.
180
181 - **updating misleading labels on buttons to confirmation pages
182 ([dev/core#1613](dev/core#1613):
183 [20251](https://github.com/civicrm/civicrm-core/pull/20251))**
184
185 Changes the event registration button text based on if there are additional
186 participants.
187
188 ### CiviGrant
189
190 - **CiviGrant - Use SearchKit for contact summary tab
191 ([22467](https://github.com/civicrm/civicrm-core/pull/22467))**
192
193 switches the Grants tab on the contact summary page to use a SearchKit Display.
194 It looks nearly identical before and after, but is now easily customizable via
195 the SearchKit & Form-Builder GUI.
196
197 - **Migrate CiviGrant component to an extension
198 ([22064](https://github.com/civicrm/civicrm-core/pull/22064))**
199
200 Moves the CiviGrant component to an extension.
201
202 ### CiviMail
203
204 - **Start phasing out 'preferred_mail_format' (Work towards
205 [dev/core#2866](https://lab.civicrm.org/dev/core/-/issues/2866):
206 [22634](https://github.com/civicrm/civicrm-core/pull/22634) and
207 [22632](https://github.com/civicrm/civicrm-core/pull/22632))**
208
209 Generates text version of message at send time if one is not present.
210
211 ### WordPress Integration
212
213 - **wp-cli/civicrm.php - Add 'civicrm pipe' subcommand
214 ([270](https://github.com/civicrm/civicrm-wordpress/pull/270))**
215
216 Adds support for subcommand `wp civicrm pipe`.
217
218 ## <a name="bugs"></a>Bugs resolved
219
220 ### Core CiviCRM
221
222 - **Only format smarty aliases as money if specified
223 ([22547](https://github.com/civicrm/civicrm-core/pull/22547))**
224
225 - **Avoid PHP notices on activity form
226 ([22666](https://github.com/civicrm/civicrm-core/pull/22666))**
227
228 - **Fix typo preventing uninstalling ckeditor4
229 ([22691](https://github.com/civicrm/civicrm-core/pull/22691))**
230
231 - **Fix return values for API3 Job.delete
232 ([22561](https://github.com/civicrm/civicrm-core/pull/22561))**
233
234 - **enforce required fields on Contact.duplicatecheck
235 ([22741](https://github.com/civicrm/civicrm-core/pull/22741))**
236
237 - **APIv4 SortableEntity - Fix sorting custom fields with option groups
238 ([22716](https://github.com/civicrm/civicrm-core/pull/22716))**
239
240 - **APIv4 - Correctly return date-only custom field values without the time
241 ([22649](https://github.com/civicrm/civicrm-core/pull/22649))**
242
243 - **APIv4 - Use empty string instead of 'null' to pass null values to the db
244 ([22587](https://github.com/civicrm/civicrm-core/pull/22587))**
245
246 - **APIv4 - Fix incorrect placement of decodeRows in loop
247 ([22413](https://github.com/civicrm/civicrm-core/pull/22413))**
248
249 - **SearchKit: In-place edit for custom dropdown field - can't blank it out
250 ([dev/report#92](https://lab.civicrm.org/dev/report/-/issues/92):
251 [22358](https://github.com/civicrm/civicrm-core/pull/22358))**
252
253 - **Minor Searchkit UI filtering annoyance
254 ([dev/core#3032](https://lab.civicrm.org/dev/core/-/issues/3032):
255 [22505](https://github.com/civicrm/civicrm-core/pull/22505))**
256
257 - **SearchKit - Fix selecting operators and values in clauses
258 ([22653](https://github.com/civicrm/civicrm-core/pull/22653))**
259
260 - **SearchKit - Refresh contents after saving a popup when in a block/tab
261 ([22809](https://github.com/civicrm/civicrm-core/pull/22809))**
262
263 - **Don't throw PHP notice when rendering dedupefind template.
264 ([22709](https://github.com/civicrm/civicrm-core/pull/22709))**
265
266 - **Enotice fixes with datepicker
267 ([22705](https://github.com/civicrm/civicrm-core/pull/22705))**
268
269 - **Enotice fix with priceset template
270 ([22708](https://github.com/civicrm/civicrm-core/pull/22708))**
271
272 - **Enotice fixes
273 ([22697](https://github.com/civicrm/civicrm-core/pull/22697))**
274
275 - **Enotice fix
276 ([22436](https://github.com/civicrm/civicrm-core/pull/22436))**
277
278 - **Enotice fixes
279 ([22471](https://github.com/civicrm/civicrm-core/pull/22471))**
280
281 - **CustomGroup - Ensure 'name' is always unique
282 ([22675](https://github.com/civicrm/civicrm-core/pull/22675))**
283
284 - **Another set of PHPdoc corrections
285 ([22658](https://github.com/civicrm/civicrm-core/pull/22658))**
286
287 - **Fix batch summary to use the api
288 ([22618](https://github.com/civicrm/civicrm-core/pull/22618))**
289
290 - **Fix smarty notices in footer files
291 ([22613](https://github.com/civicrm/civicrm-core/pull/22613))**
292
293 - **Remove use of .font-size11pt and .font-size12pt
294 ([22314](https://github.com/civicrm/civicrm-core/pull/22314))**
295
296 - **Don't pass redundent empty strings when instantiating
297 CRM_Core_ShowHideBlocks
298 ([22605](https://github.com/civicrm/civicrm-core/pull/22605))**
299
300 - **Fix call to log method warn (should be warning)
301 ([22602](https://github.com/civicrm/civicrm-core/pull/22602))**
302
303 - **tpl notices and docblocks
304 ([22449](https://github.com/civicrm/civicrm-core/pull/22449))**
305
306 - **Ensure assigned smarty array has empty keys (not no keys)
307 ([22379](https://github.com/civicrm/civicrm-core/pull/22379))**
308
309 - **Stop calling hook twice
310 ([22404](https://github.com/civicrm/civicrm-core/pull/22404))**
311
312 - **Activity Details field on batch update via profile has wrong fieldname
313 ([22568](https://github.com/civicrm/civicrm-core/pull/22568))**
314
315 - **Re-fix enotice on searchType to work with default modifiers
316 ([22466](https://github.com/civicrm/civicrm-core/pull/22466))**
317
318 - **Unable to add new custom field set or new fields (to existing field set)
319 after enabling multilingual setting.
320 ([dev/translation#38](https://lab.civicrm.org/dev/translation/-/issues/38):
321 [22647](https://github.com/civicrm/civicrm-core/pull/22647))**
322
323 - **System.check permissions changed in Civi 5.46
324 ([dev/core#3055](https://lab.civicrm.org/dev/core/-/issues/3055):
325 [22733](https://github.com/civicrm/civicrm-core/pull/22733))**
326
327 Fixes the dedupe check to not require elevated permissions.
328
329 - **Search Builder crashes if you have admin access and CiviGrant is not enabled
330 ([dev/core#3056](https://lab.civicrm.org/dev/core/-/issues/3056):
331 [22714](https://github.com/civicrm/civicrm-core/pull/22714))**
332
333 - **Civigrant info.xml update missing from 5.47 and
334 CRM_Utils_VersioncheckTest::testGetSiteStats should have been failing for a
335 while ([dev/core#3057](https://lab.civicrm.org/dev/core/-/issues/3057):
336 [22717](https://github.com/civicrm/civicrm-core/pull/22717))**
337
338 - **Regression - fatal error when viewing custom fields with money > 1000
339 ([dev/core#3059](https://lab.civicrm.org/dev/core/-/issues/3059):
340 [22727](https://github.com/civicrm/civicrm-core/pull/22727))**
341
342 - **Fix broken function reference
343 ([22474](https://github.com/civicrm/civicrm-core/pull/22474))**
344
345 - **Use rolling window for translating 2-digit years into 4-digit years
346 ([22581](https://github.com/civicrm/civicrm-core/pull/22581))**
347
348 Fixes outdated hard-coded import logic: translates 2-digit years to 4 using
349 rolling -95yr to +5yr window
350
351 - **Rationalise relationship validation
352 ([22491](https://github.com/civicrm/civicrm-core/pull/22491))**
353
354 - **Stop calling confusing function that doesn't do much .....
355 ([22468](https://github.com/civicrm/civicrm-core/pull/22468))**
356
357 - **Navigation - Make required fields NOT NULL
358 ([22430](https://github.com/civicrm/civicrm-core/pull/22430))**
359
360 - **Fight back against copy & paste gone wild
361 ([22417](https://github.com/civicrm/civicrm-core/pull/22417))**
362
363 ### CiviCampaign
364
365 - **'CiviCampaign: access CiviCampaign' permission missing
366 ([dev/core#983](https://lab.civicrm.org/dev/core/-/issues/983):
367 [22459](https://github.com/civicrm/civicrm-core/pull/22459))**
368
369 ### CiviCase
370
371 - **CiviCase - Denote `created_date` as readonly
372 ([22608](https://github.com/civicrm/civicrm-core/pull/22608))**
373
374 - **Remove category from case activity template
375 ([22530](https://github.com/civicrm/civicrm-core/pull/22530))**
376
377 Remove category from case activity template to fix e-notices.
378
379 ### CiviContribute
380
381 - **Fix ContributionRecur.payment_processor_id pseudoconstant
382 ([22750](https://github.com/civicrm/civicrm-core/pull/22750))**
383
384 - **Manage Contribution page, the link to "Online Contribution (Test-drive)" is
385 an admin-only URL to register in the backend, should be a frontend URL
386 ([22672](https://github.com/civicrm/civicrm-core/pull/22672))**
387
388 - **Avoid PHP notice on 'Manage Contribution Pages' screen
389 ([22661](https://github.com/civicrm/civicrm-core/pull/22661))**
390
391 - **PCP is still active after contribution page is disabled.
392 ([dev/core#899](https://lab.civicrm.org/dev/core/-/issues/899):
393 [20845](https://github.com/civicrm/civicrm-core/pull/20845))**
394
395 - **don't allow multiple currencies in a batch
396 ([20884](https://github.com/civicrm/civicrm-core/pull/20884))**
397
398 - **Foreign constraint violation on APIv3 contribution create if
399 financial_type_id is numeric
400 ([dev/core#3063](https://lab.civicrm.org/dev/core/-/issues/3063):
401 [22740](https://github.com/civicrm/civicrm-core/pull/22740))**
402
403 - **Error cancelling a contribution if CiviPledge is disabled
404 ([dev/core#3066](https://lab.civicrm.org/dev/core/-/issues/3066):
405 [22779](https://github.com/civicrm/civicrm-core/pull/22779))**
406
407 - **Import of contribution fails when invalid campaign id is provided
408 ([dev/core#2989](https://lab.civicrm.org/dev/core/-/issues/2989):
409 [22235](https://github.com/civicrm/civicrm-core/pull/22235))**
410
411 - **Simplify getting contact_id from recurring contribution when generating
412 subscription URLs
413 ([22448](https://github.com/civicrm/civicrm-core/pull/22448))**
414
415 - **Fix Fatal Error on contribution tab and user dashboard when recurring
416 payment generated using extension get disabled
417 ([22264](https://github.com/civicrm/civicrm-core/pull/22264))**
418
419 ### CiviEvent
420
421 - **CiviCRM Event, the link to "On-line Registration (Test Drive)" is an
422 admin-only URL to register in the backend, should be a frontend URL
423 ([22669](https://github.com/civicrm/civicrm-core/pull/22669))**
424
425 - **Set default values to avoid notices when rendering (event templates screen)
426 ([22663](https://github.com/civicrm/civicrm-core/pull/22663))**
427
428 ### CiviGrant
429
430 - **Fix Grant::retrieve to meet full phpcs standard
431 ([22558](https://github.com/civicrm/civicrm-core/pull/22558))**
432
433 - **CiviGrant - Fix installation of dependencies during upgrade
434 ([22881](https://github.com/civicrm/civicrm-core/pull/22881))**
435
436 - **CiviGrant - Menu appears twice
437 ([dev/core#3087](https://lab.civicrm.org/dev/core/-/issues/3087):
438 [22855](https://github.com/civicrm/civicrm-core/pull/22855))**
439
440 - **CiviGrant - Don't return grant fields as contact fields
441 ([dev/core#3069](https://lab.civicrm.org/dev/core/-/issues/3069):
442 [22851](https://github.com/civicrm/civicrm-core/pull/22851))**
443
444 - **CiviGrant - Declare API permissions
445 ([22791](https://github.com/civicrm/civicrm-core/pull/22791))**
446
447 ### CiviMail
448
449 - **Editing a mailing triggers two autosaves instead of one
450 ([dev/core#2587](https://lab.civicrm.org/dev/core/-/issues/2587):
451 [20561](https://github.com/civicrm/civicrm-core/pull/20561))**
452
453 - **MailingEventQueue - Use consistent CamelCaseName. Prevent conflicts.
454 ([22343](https://github.com/civicrm/civicrm-core/pull/22343))**
455
456 - **add `contact_id` to email params in `emailLetter` function
457 ([22538](https://github.com/civicrm/civicrm-core/pull/22538))**
458
459 - **Fix syntax error in CRM_Mailing_Event_BAO_Reply
460 ([22453](https://github.com/civicrm/civicrm-core/pull/22453))**
461
462 - **Smarty notice fix on Email help
463 ([22470](https://github.com/civicrm/civicrm-core/pull/22470))**
464
465 - **CiviMail - Fix undeclared javascript variables ([22879](https://github.com/civicrm/civicrm-core/pull/22879))**
466
467 ### CiviMember
468
469 - **Fix spelling mistake in function name, addMembershipToRealtedContacts should
470 be addMembershipToRelatedContacts
471 ([22673](https://github.com/civicrm/civicrm-core/pull/22673))**
472
473 - **Fix smarty notices in membership dashboard
474 ([22660](https://github.com/civicrm/civicrm-core/pull/22660))**
475
476 - **Don't default membership type create to inactive
477 ([22498](https://github.com/civicrm/civicrm-core/pull/22498))**
478
479 ### WordPress Integration
480
481 - **404 Error when I use the Api v4 with Wordpress Multisite -> because no "do
482 not delete" post was generated for the subsite
483 ([dev/wordpress#59](https://lab.civicrm.org/dev/wordpress/-/issues/59):
484 [271](https://github.com/civicrm/civicrm-wordpress/pull/271))**
485
486 ## <a name="misc"></a>Miscellany
487
488 - **Move permission checks from Query & BAO to financialacl extension
489 ([22495](https://github.com/civicrm/civicrm-core/pull/22495))**
490
491 - **Add billingStateProvince and standardized property names
492 ([21583](https://github.com/civicrm/civicrm-core/pull/21583))**
493
494 - **Extensions - Revise prose for status check
495 ([22638](https://github.com/civicrm/civicrm-core/pull/22638))**
496
497 - **Add type to phpdoc comment for report statistic function
498 ([22514](https://github.com/civicrm/civicrm-core/pull/22514))**
499
500 - **Update phpdoc references to $self to include type
501 ([22513](https://github.com/civicrm/civicrm-core/pull/22513))**
502
503 - **Improve method phpdoc for CRM_Utils_System
504 ([22492](https://github.com/civicrm/civicrm-core/pull/22492))**
505
506 - **Run 'full drupal strictness' standard over api/v3/examples
507 ([22528](https://github.com/civicrm/civicrm-core/pull/22528))**
508
509 - **Run stricter phpcs on Civi dir
510 ([22527](https://github.com/civicrm/civicrm-core/pull/22527))**
511
512 - **Fixes to spaces from phpcs
513 ([22535](https://github.com/civicrm/civicrm-core/pull/22535))**
514
515 - **Various phpdoc fixes
516 ([22509](https://github.com/civicrm/civicrm-core/pull/22509))**
517
518 - **Clarify contents of ids for further fixes
519 ([22402](https://github.com/civicrm/civicrm-core/pull/22402))**
520
521 - **Replace all isset checks on line.tax_rate
522 ([22421](https://github.com/civicrm/civicrm-core/pull/22421))**
523
524 - **Move function to the class that 'owns' it
525 ([22472](https://github.com/civicrm/civicrm-core/pull/22472))**
526
527 - **PHPCS standards on css....
528 ([22529](https://github.com/civicrm/civicrm-core/pull/22529))**
529
530 - **More comments & style fixes
531 ([22533](https://github.com/civicrm/civicrm-core/pull/22533))**
532
533 - **Re-run regen
534 ([22536](https://github.com/civicrm/civicrm-core/pull/22536))**
535
536 - **Add consistency between checkTemplateFileExists functions,
537 ([22586](https://github.com/civicrm/civicrm-core/pull/22586))**
538
539 - **Increase GroupContact:create deprecation
540 ([22416](https://github.com/civicrm/civicrm-core/pull/22416))**
541
542 - **APIv4 - Docblock updates, mark BAO::create functions deprecated
543 ([22415](https://github.com/civicrm/civicrm-core/pull/22415))**
544
545 - **DAO - Centralize logic to derive unique name from label
546 ([22570](https://github.com/civicrm/civicrm-core/pull/22570))**
547
548 - **Pass remove-by-reference
549 ([22593](https://github.com/civicrm/civicrm-core/pull/22593))**
550
551 - **Mark function as private
552 ([22457](https://github.com/civicrm/civicrm-core/pull/22457))**
553
554 - **Stop returning unused parameters
555 ([22410](https://github.com/civicrm/civicrm-core/pull/22410))**
556
557 - **Duplicate function from deprecated utils onto calling classes & remove
558 ([22481](https://github.com/civicrm/civicrm-core/pull/22481))**
559
560 - **Fix phpdoc types for $_query in CRM_Core_Selector_Base subclasses
561 ([22424](https://github.com/civicrm/civicrm-core/pull/22424))**
562
563 - **Correctly document types for class consts
564 ([22659](https://github.com/civicrm/civicrm-core/pull/22659))**
565
566 - **Make phpType definitions in generated DAO objects more accurate.
567 ([22607](https://github.com/civicrm/civicrm-core/pull/22607))**
568
569 - **Ensure all api3 functions have documented types
570 ([22674](https://github.com/civicrm/civicrm-core/pull/22674))**
571
572 - **CRM_Core_Component (et al) - Deprecate unused functions
573 ([22566](https://github.com/civicrm/civicrm-core/pull/22566))**
574
575 - **Move deprecated function back to the only class that calls it
576 ([22517](https://github.com/civicrm/civicrm-core/pull/22517))**
577
578 - **Fix php comments
579 ([22526](https://github.com/civicrm/civicrm-core/pull/22526))**
580
581 - **A whole bunch of phpdoc fixes
582 ([22454](https://github.com/civicrm/civicrm-core/pull/22454))**
583
584 - **Another set of PHPDoc fixes
585 ([22522](https://github.com/civicrm/civicrm-core/pull/22522))**
586
587 - **Fix more phpdoc comments in member links functions
588 ([22521](https://github.com/civicrm/civicrm-core/pull/22521))**
589
590 - **Fix php comments
591 ([22515](https://github.com/civicrm/civicrm-core/pull/22515))**
592
593 - **Merge function back into parent function
594 ([22516](https://github.com/civicrm/civicrm-core/pull/22516))**
595
596 - **Simplify variables pass in & out of function
597 ([22439](https://github.com/civicrm/civicrm-core/pull/22439))**
598
599 - **Clean up input and outputs
600 ([22440](https://github.com/civicrm/civicrm-core/pull/22440))**
601
602 - **Tidy CRM_Report_Page_Options code
603 ([22432](https://github.com/civicrm/civicrm-core/pull/22432))**
604
605 - **Refactor buildPremiumPreviewBlock function to make intended usage clearer
606 ([22541](https://github.com/civicrm/civicrm-core/pull/22541))**
607
608 - **Fix class references in phpdoc comments
609 ([22434](https://github.com/civicrm/civicrm-core/pull/22434))**
610
611 - **Contact BAO - Deprecate unused function
612 ([22610](https://github.com/civicrm/civicrm-core/pull/22610))**
613
614 - **report cleanup - no functional change
615 ([22611](https://github.com/civicrm/civicrm-core/pull/22611))**
616
617 - **Split View Relationship tpl ito own file
618 ([22617](https://github.com/civicrm/civicrm-core/pull/22617))**
619
620 - **Fix inaccuracy in docblock for method calculateBaseScheduleDate
621 ([22631](https://github.com/civicrm/civicrm-core/pull/22631))**
622
623 - **Resolve inaccuracies in CRM_Core_BAO_File::attachmentInfo docblock
624 ([22629](https://github.com/civicrm/civicrm-core/pull/22629))**
625
626 - **Tidy up functions related to printing.
627 ([22601](https://github.com/civicrm/civicrm-core/pull/22601))**
628
629 - **Do not pass in tablename
630 ([22625](https://github.com/civicrm/civicrm-core/pull/22625))**
631
632 - **More phpcbs code cleanups
633 ([22551](https://github.com/civicrm/civicrm-core/pull/22551))**
634
635 - **Resolve docblock inaccuracy in CRM_Contribute_Form_Task_TaskTrait
636 ([22646](https://github.com/civicrm/civicrm-core/pull/22646))**
637
638 - **Contributor key: Add Ian Wilson
639 ([22781](https://github.com/civicrm/civicrm-core/pull/22781))**
640
641 - **Bump follow-redirects from 1.11.0 to 1.14.7
642 ([22696](https://github.com/civicrm/civicrm-core/pull/22696))**
643
644 - **Bump engine.io from 4.1.1 to 4.1.2
645 ([22695](https://github.com/civicrm/civicrm-core/pull/22695))**
646
647 - **Bump ansi-regex from 5.0.0 to 5.0.1
648 ([22693](https://github.com/civicrm/civicrm-core/pull/22693))**
649
650 - **Bump log4js from 6.3.0 to 6.4.1
651 ([22694](https://github.com/civicrm/civicrm-core/pull/22694))**
652
653 - **Update composer.json for composer 2.2 allow-plugins
654 ([22692](https://github.com/civicrm/civicrm-core/pull/22692))**
655
656 - **Follow up fn removal
657 ([22556](https://github.com/civicrm/civicrm-core/pull/22556))**
658
659 - **Fully remove contactAB function
660 ([22485](https://github.com/civicrm/civicrm-core/pull/22485))**
661
662 - **Remove support for deprecated key
663 ([22443](https://github.com/civicrm/civicrm-core/pull/22443))**
664
665 - **Remove duplicate file
666 ([22569](https://github.com/civicrm/civicrm-core/pull/22569))**
667
668 - **Remove obsolete scripts
669 ([22549](https://github.com/civicrm/civicrm-core/pull/22549))**
670
671 - **Remove method getWordReplacement.
672 ([22577](https://github.com/civicrm/civicrm-core/pull/22577))**
673
674 - **Remove unused variable
675 ([22545](https://github.com/civicrm/civicrm-core/pull/22545))**
676
677 - **Remove some old scripts
678 ([22534](https://github.com/civicrm/civicrm-core/pull/22534))**
679
680 - **Remove handling for impossible array
681 ([22494](https://github.com/civicrm/civicrm-core/pull/22494))**
682
683 - **Remove obsolete postIPN script
684 ([22550](https://github.com/civicrm/civicrm-core/pull/22550))**
685
686 - **Remove / deprecate case param handling
687 ([22420](https://github.com/civicrm/civicrm-core/pull/22420))**
688
689 - **Remove useless function
690 ([22585](https://github.com/civicrm/civicrm-core/pull/22585))**
691
692 - **Remove param default
693 ([22590](https://github.com/civicrm/civicrm-core/pull/22590))**
694
695 - **Remove htmlFile validation rule, as it can't possibly work.
696 ([22425](https://github.com/civicrm/civicrm-core/pull/22425))**
697
698 - **Remove broken script
699 ([22473](https://github.com/civicrm/civicrm-core/pull/22473))**
700
701 - **Remove unreachable else
702 ([22406](https://github.com/civicrm/civicrm-core/pull/22406))**
703
704 - **Remove & deprecate silly function
705 ([22456](https://github.com/civicrm/civicrm-core/pull/22456))**
706
707 - **Remove always-true-if
708 ([22486](https://github.com/civicrm/civicrm-core/pull/22486))**
709
710 - **Remove seemingly unreachable help text
711 ([22469](https://github.com/civicrm/civicrm-core/pull/22469))**
712
713 - **Remove unused variable
714 ([22462](https://github.com/civicrm/civicrm-core/pull/22462))**
715
716 - **Remove IF that only loops through one value
717 ([22455](https://github.com/civicrm/civicrm-core/pull/22455))**
718
719 - **Remove if & foreach that no longer do anything
720 ([22447](https://github.com/civicrm/civicrm-core/pull/22447))**
721
722 - **Remove call to php 4 function
723 ([22446](https://github.com/civicrm/civicrm-core/pull/22446))**
724
725 - **Remove empty check
726 ([22444](https://github.com/civicrm/civicrm-core/pull/22444))**
727
728 - **Remove unreachable, nonsensical code
729 ([22518](https://github.com/civicrm/civicrm-core/pull/22518))**
730
731 - **Remove deprecated code
732 ([22411](https://github.com/civicrm/civicrm-core/pull/22411))**
733
734 - **Remove check for contact_check as it is always an array here
735 ([22407](https://github.com/civicrm/civicrm-core/pull/22407))**
736
737 - **Remove unreachable code
738 ([22594](https://github.com/civicrm/civicrm-core/pull/22594))**
739
740 - **Remove unnecessary pass-by-ref
741 ([22397](https://github.com/civicrm/civicrm-core/pull/22397))**
742
743 - **Remove always-true IF
744 ([22399](https://github.com/civicrm/civicrm-core/pull/22399))**
745
746 - **Remove deprecated language construct
747 ([22627](https://github.com/civicrm/civicrm-core/pull/22627))**
748
749 - **Remove isset from online contribution receipt
750 ([22615](https://github.com/civicrm/civicrm-core/pull/22615))**
751
752 - **Remove unused invalidProfiles variable, and simplify template.
753 ([22704](https://github.com/civicrm/civicrm-core/pull/22704))**
754
755 - **REF - Switch to using new `CRM_Core_Component::isEnabled()`
756 ([22687](https://github.com/civicrm/civicrm-core/pull/22687))**
757
758 - **[REF] Remove unused variable
759 ([22398](https://github.com/civicrm/civicrm-core/pull/22398))**
760
761 - **[REF] Tidy up group.tpl
762 ([22668](https://github.com/civicrm/civicrm-core/pull/22668))**
763
764 - **[REF] Switch OptionGroup BAO to use new centralized logic to make name from
765 title ([22654](https://github.com/civicrm/civicrm-core/pull/22654))**
766
767 - **[REF] Rename variable to be meaningful
768 ([22431](https://github.com/civicrm/civicrm-core/pull/22431))**
769
770 - **[REF] Improve APIv4 save functions
771 ([22403](https://github.com/civicrm/civicrm-core/pull/22403))**
772
773 - **(REF) CRM_Core_Resources - Limit visibility of `getEntityRefMetadata`
774 ([22511](https://github.com/civicrm/civicrm-core/pull/22511))**
775
776 - **(REF) ContactUtils - Rename local variables
777 ([22510](https://github.com/civicrm/civicrm-core/pull/22510))**
778
779 - **[REF] CoreResources - Simplify disabled component check
780 ([22506](https://github.com/civicrm/civicrm-core/pull/22506))**
781
782 - **(REF) Remove constructors that do nothing
783 ([22544](https://github.com/civicrm/civicrm-core/pull/22544))**
784
785 - **(REF) Extract function `CRM_Core_Component::isEnabled()`
786 ([22567](https://github.com/civicrm/civicrm-core/pull/22567))**
787
788 - **[REF] SearchKit docblock cleanup
789 ([22603](https://github.com/civicrm/civicrm-core/pull/22603))**
790
791 - **[REF] SearchKit - Function extraction
792 ([22598](https://github.com/civicrm/civicrm-core/pull/22598))**
793
794 - **[REF] SearchKit - Simplify import/export popup code
795 ([22507](https://github.com/civicrm/civicrm-core/pull/22507))**
796
797 - **[REF] Upgrade JQuery UI to 1.13.0
798 ([22576](https://github.com/civicrm/civicrm-core/pull/22576))**
799
800 - **[REF] Components - Use extracted function
801 ([22573](https://github.com/civicrm/civicrm-core/pull/22573))**
802
803 - **[REF] SavedSearch - Deprecate/remove redundant/unused functions
804 ([22542](https://github.com/civicrm/civicrm-core/pull/22542))**
805
806 - **[REF] - Use CRM_Contact_BAO_ContactType::basicTypes()
807 ([22520](https://github.com/civicrm/civicrm-core/pull/22520))**
808
809 - **[Ref] Remove unused _colours property
810 ([22525](https://github.com/civicrm/civicrm-core/pull/22525))**
811
812 - **[REF] Tidy up formatting in gotv.tpl, remove extra </div>
813 ([22433](https://github.com/civicrm/civicrm-core/pull/22433))**
814
815 - **[REF] Stop returning unused variables
816 ([22401](https://github.com/civicrm/civicrm-core/pull/22401))**
817
818 - **[REF] Centralize BAO handling of custom data
819 ([22426](https://github.com/civicrm/civicrm-core/pull/22426))**
820
821 - **[REF] Remove handling for no organization being passed
822 ([22395](https://github.com/civicrm/civicrm-core/pull/22395))**
823
824 - **[REF] APIv4 - Rename trait 'SoftDelete' to 'SoftDeleteEntity'
825 ([22662](https://github.com/civicrm/civicrm-core/pull/22662))**
826
827 - **[REF] - Cleanup Contact BAO variables
828 ([22609](https://github.com/civicrm/civicrm-core/pull/22609))**
829
830 - **(REF) Queues - Expand docblocks. Extract SQL trait.
831 ([22681](https://github.com/civicrm/civicrm-core/pull/22681))**
832
833 - **[REF] APIv4 - Deprecate and stop using PreSaveSubscriber
834 ([22648](https://github.com/civicrm/civicrm-core/pull/22648))**
835
836 - **[REF] CustomField Admin - Decouple page code from form code
837 ([22519](https://github.com/civicrm/civicrm-core/pull/22519))**
838
839 - **NFC - Fix typo in docblock
840 ([22409](https://github.com/civicrm/civicrm-core/pull/22409))**
841
842 - **[NFC] Tidy up phpdoc in CRM_Utils_QueryFormatter
843 ([22423](https://github.com/civicrm/civicrm-core/pull/22423))**
844
845 - **[NFC] Update test example template and regenerate examples
846 ([22531](https://github.com/civicrm/civicrm-core/pull/22531))**
847
848 - **(NFC) Correct type hints for bad null default values
849 ([22600](https://github.com/civicrm/civicrm-core/pull/22600))**
850
851 - **(NFC) Minor phpdoc fixes to
852 CRM_Mailing_Event_BAO_Unsubscribe::send_unsub_response
853 ([22574](https://github.com/civicrm/civicrm-core/pull/22574))**
854
855 - **(NFC) CiviReport, etal - More phpdoc fixes
856 ([22565](https://github.com/civicrm/civicrm-core/pull/22565))**
857
858 - **(NFC) Minor amends to getGroupByFromSelectColumns
859 ([22575](https://github.com/civicrm/civicrm-core/pull/22575))**
860
861 - **(NFC) Correctly document CRM_Utils_Hook::pre to allow null ID
862 ([22562](https://github.com/civicrm/civicrm-core/pull/22562))**
863
864 - **(NFC) Update PHPDoc for alterDeferredRevenueItems
865 ([22563](https://github.com/civicrm/civicrm-core/pull/22563))**
866
867 - **(NFC) Comment fixes Stricter phpcs
868 ([22555](https://github.com/civicrm/civicrm-core/pull/22555))**
869
870 - **(NFC) Remaining css phpcs fixes
871 ([22553](https://github.com/civicrm/civicrm-core/pull/22553))**
872
873 - **[NFC] Fixes to the type definitions for contactType methods
874 ([22524](https://github.com/civicrm/civicrm-core/pull/22524))**
875
876 - **(NFC) Civi::pipe - Swap various quotes
877 ([22503](https://github.com/civicrm/civicrm-core/pull/22503))**
878
879 - **NFC: Clean up description for alterDisplayName hook
880 ([22501](https://github.com/civicrm/civicrm-core/pull/22501))**
881
882 - **(NFC) Membership Tests - Update assertions to match behavior circa leap-day
883 ([22871](https://github.com/civicrm/civicrm-core/pull/22871))**
884
885 - **(NFC) Update Contribution Recur DAO following regen
886 ([22858](https://github.com/civicrm/civicrm-core/pull/22858))**
887
888 - **(NFC) RestTest - Skip testNotCMSUser_q when it's not supported
889 ([22817](https://github.com/civicrm/civicrm-core/pull/22817))**
890
891 - **APIv4 - Fix test
892 ([22414](https://github.com/civicrm/civicrm-core/pull/22414))**
893
894 - **Test cleanup - remove direct calls to BAO_Membership::add
895 ([22497](https://github.com/civicrm/civicrm-core/pull/22497))**
896
897 - **Unit tests for 22429 and apply same treatment to other money format
898 functions ([22442](https://github.com/civicrm/civicrm-core/pull/22442))**
899
900 - **Simplify apiv4 conformance test
901 ([22579](https://github.com/civicrm/civicrm-core/pull/22579))**
902
903 - **Add unit test on updateGreeting & remove deprecated fn call
904 ([22482](https://github.com/civicrm/civicrm-core/pull/22482))**
905
906 - **[test] - Add test coverage for adjusting custom group weights
907 ([22512](https://github.com/civicrm/civicrm-core/pull/22512))**
908
909 - **Fix testMultipleMembershipsContribution to use order api
910 ([22274](https://github.com/civicrm/civicrm-core/pull/22274))**
911
912 - **Port test form earlier PR
913 ([22502](https://github.com/civicrm/civicrm-core/pull/22502))**
914
915 - **Test for Api v4 contact delete bug
916 ([dev/core#2757](https://lab.civicrm.org/dev/core/-/issues/2757):
917 [22458](https://github.com/civicrm/civicrm-core/pull/22458))**
918
919 ## <a name="credits"></a>Credits
920
921 This release was developed by the following code authors:
922
923 AGH Strategies - Andie Hunt; Agileware - Francis Whittle, Justin Freeman;
924 BrightMinded Ltd - Bradley Taylor; Christian Wach; CiviCoop - Klaas Eikelboom;
925 CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; Coop SymbioTIC -
926 Mathieu Lutfy; Dave D; Freeform Solutions - Herb van den Dool; Jens Schuppe; JMA
927 Consulting - Seamus Lee; Joinery - Allen Shaw; Lemniscus - Noah Miller;
928 Megaphone Technology Consulting - Jon Goldberg; MJW Consulting - Matthew Wire;
929 PERORA SRL - Samuele Masetto; Registered Nurses' Association of Ontario - Ian
930 Wilson; Romain Thouvenin; Skvare - Sunil Pawar; Third Sector Design - Kurund
931 Jalmi; Wikimedia Foundation - Eileen McNaughton
932
933 Most authors also reviewed code for this release; in addition, the following
934 reviewers contributed their comments:
935
936 Andy Burns; Artful Robot - Rich Lott; Betty Dolfing; Blackfly Solutions - Alan
937 Dixon; Circle Interactive - Pradeep Nayak; CiviCoop - Jaap Jansma; Coop
938 SymbioTIC - Shane Bill; Fuzion - Luke Stewart; in2part; JMA Consulting - Joe
939 Murray, Monish Deb; Korlon - Stuart Gaston; Mikey O'Toole; Peter Boling; Tadpole
940 Collective - Kevin Cristiano; Wildsight - Lars Sanders-Green