5.10.0 release notes: late changes, credits, and last-minute fixes
[civicrm-core.git] / release-notes / 5.3.0.md
1 # CiviCRM 5.3.0
2
3 Released July 3, 2018
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?** | **yes** |
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 - **[dev/accessibility#4](https://lab.civicrm.org/dev/accessibility/issues/4)
29 Make alerts accessible
30 ([12158](https://github.com/civicrm/civicrm-core/pull/12158))**
31
32 A new setting allows a site administrator to disable the automatic
33 disappearance of alerts.
34
35 In addition, alerts are denoted so that screen readers can provide audible
36 notice.
37
38 - **Permit UI editing of custom data on other entities (here relationship_type)
39 when enabled in an extension
40 ([12128](https://github.com/civicrm/civicrm-core/pull/12128))**
41
42 - **[CRM-20565](https://issues.civicrm.org/jira/browse/CRM-20565) Better & more
43 configurable dedupe lookups when adding a contact
44 ([10341](https://github.com/civicrm/civicrm-core/pull/10341))**
45
46 When saving a new contact if an existing contact was found with a similar last
47 name saving the form would be blocked. This change makes it so that the
48 settings for what to dedupe new contacts on are more robust and so that the by
49 default new contacts are dedupped by first name, last name and email.
50
51 - **[dev/core#160](https://lab.civicrm.org/dev/core/issues/160) Import Progress
52 bar polls server too often
53 ([12252](https://github.com/civicrm/civicrm-core/pull/12252))**
54
55 This change sets the interval at which the import progress bar polls the server
56 to be 5s rather than 5ms to improve performance.
57
58 - **[CRM-21120](https://issues.civicrm.org/jira/browse/CRM-21120) Warn if no
59 crypt functions available
60 ([12215](https://github.com/civicrm/civicrm-core/pull/12215))**
61
62 This change adds an alert when Mcrypt extension is not available.
63
64 - **[CRM-21821](https://issues.civicrm.org/jira/browse/CRM-21821) navigationMenu
65 hook should take account of weight attributes
66 ([11772](https://github.com/civicrm/civicrm-core/pull/11772))**
67
68 This change makes it so that hook_civicrm_navigationMenu accepts a weight
69 attribute for menu items and places menu items in the menu accordingly. If no
70 weight is specified items are added to the end of the menu as they were prior
71 to this change.
72
73 - **[dev/core#152](https://lab.civicrm.org/dev/core/issues/152) Remove
74 AdvMulti-Select custom field type
75 ([12267](https://github.com/civicrm/civicrm-core/pull/12267)) and
76 ([12238](https://github.com/civicrm/civicrm-core/pull/12238))**
77
78 This change removes the error thrown when the Advanced Multi-Select widget
79 (which has been deprecated since 2014) was selected.
80
81 - **[dev/core#162](https://lab.civicrm.org/dev/core/issues/162) Use checksum to
82 access user dashboard
83 ([12254](https://github.com/civicrm/civicrm-core/pull/12254))**
84
85 This change allows contacts to access the user dashboard from a checksum link
86 ex: /civicrm/user?reset=1&id=<contact_id>&cs=<contact_checksum>
87
88 - **Auto-open tagset fields
89 ([12248](https://github.com/civicrm/civicrm-core/pull/12248))**
90
91 This change makes it so that when opening a tagset widget the first 10 tags
92 appear in alphabetical order. Before this change the select2 would wait for
93 the user to type before showing any results.
94
95 - **[CRM-21811](https://issues.civicrm.org/jira/browse/CRM-21811) Optimize
96 advanced search by relationship with target group for reciprocal relationship
97 types ([11732](https://github.com/civicrm/civicrm-core/pull/11732))**
98
99 This change improves performance of the advanced search page when searching
100 for reciprocal relationships.
101
102 - **[CRM-19948](https://issues.civicrm.org/jira/browse/CRM-19948) Store the
103 Attachment uploader information
104 ([11739](https://github.com/civicrm/civicrm-core/pull/11739))**
105
106 This PR changes the Attachment API so that it saves the current logged in
107 contact as the uploader of the file.
108
109 - **Upgrade Smarty to 2.6.31 to solve issues on PHP7.2
110 ([208](https://github.com/civicrm/civicrm-packages/pull/208))**
111
112 The Smarty templating engine has been updated.
113
114 - **ApiExplorer - Output short array syntax
115 ([12108](https://github.com/civicrm/civicrm-core/pull/12108))**
116
117 The API explorer now produces array syntax using square brackets rather than
118 `array()`.
119
120 - **Extend fiscal year relative options to better match other periods
121 ([12137](https://github.com/civicrm/civicrm-core/pull/12137))**
122
123 Filters for fiscal year can now handle relative dates for previous single and
124 multiple fiscal years.
125
126 - **Adjust creation of markup for Open Flash Chart
127 ([11951](https://github.com/civicrm/civicrm-core/pull/11951))**
128
129 This avoids problems that can be triggered in certain environments by the
130 `<html>`, `<head>`, and `<title>` elements coming in a row within the chart
131 markup.
132
133 - **Change custom contact ref groups selector to use select2
134 ([12234](https://github.com/civicrm/civicrm-core/pull/12234))**
135
136 The groups selector for limiting the contacts available to a contact reference
137 custom field now uses a Select2 widget rather than a multiple-select element.
138
139 ### CiviCase
140
141 - **Add inplace edit for timeline name
142 ([12000](https://github.com/civicrm/civicrm-core/pull/12000))**
143
144 The name of a case type timeline can now be edited from within the tab header
145 of the timeline editing screen.
146
147 ### CiviContribute
148
149 - **[dev/financial#12](https://lab.civicrm.org/dev/financial/issues/12) move
150 soft credit item count to an object property so it can be modified via hook
151 ([12011](https://github.com/civicrm/civicrm-core/pull/12011))**
152
153 This makes it simpler for an extension to modify the hard-coded number of rows
154 available for recording soft credits on a contribution.
155
156 ### CiviMail
157
158 - **[dev/mail#11](https://lab.civicrm.org/dev/mail/issues/11) Add pre/post hook
159 for CRM_Mailing_BAO_MailingJob
160 ([12275](https://github.com/civicrm/civicrm-core/pull/12275))**
161
162 This change adds a mailing job delete function with pre/post hooks.
163
164 ### CiviMember
165
166 - **[dev/membership#2](https://lab.civicrm.org/dev/membership/issues/2) Add
167 'membership start date' as an option when creating Scheduled Reminder based on
168 Membership ([12114](https://github.com/civicrm/civicrm-core/pull/12114))**
169
170 When setting up a scheduled reminder for a membership this change adds an
171 option to send the scheduled reminder based on the "Membership Start Date".
172 Additionally, when setting up a scheduled reminder for an event this change
173 adds the options to schedule the reminder based on the "Registration Start
174 Date" or "Registration End Date".
175
176 - **[dev/core#38](https://lab.civicrm.org/dev/core/issues/38) Recurring
177 Contribution Information on Membership Modal
178 ([11903](https://github.com/civicrm/civicrm-core/pull/11903) and
179 [12203](https://github.com/civicrm/civicrm-core/pull/12203)**
180
181 When viewing the details of a contact's membership, you can now see
182 information about any recurring contribution series that auto-renews the
183 membership rather than just the payments themselves.
184
185 ### Backdrop integration
186
187 - **Backdrop - update styles for status messages
188 ([12227](https://github.com/civicrm/civicrm-core/pull/12227))**
189
190 ### Drupal integration
191
192 - **[dev/drupal#17](https://lab.civicrm.org/dev/drupal/issues/17) Drupal8: Get
193 UF locale/language is not supported (ex: for inheritLocale)
194 ([12139](https://github.com/civicrm/civicrm-core/pull/12139))**
195
196 This adds support for inheriting a user's language from the CMS on a Drupal 8
197 site.
198
199 ## <a name="bugs"></a>Bugs resolved
200
201 ### Core CiviCRM
202
203 - **[CRM-21816](https://issues.civicrm.org/jira/browse/CRM-21816) Relative dates
204 in searches cause some other conditions to be ignored
205 ([11737](https://github.com/civicrm/civicrm-core/pull/11737))**
206
207 - **[dev/core#43](https://lab.civicrm.org/dev/core/issues/43) Google geocoding
208 now seems to require an API key, settings page text needs update
209 ([12188](https://github.com/civicrm/civicrm-core/pull/12188))**
210
211 - **[dev/core#127](https://lab.civicrm.org/dev/core/issues/127) Smart Group
212 incorrect counts ([12255](https://github.com/civicrm/civicrm-core/pull/12255)
213 and [12249](https://github.com/civicrm/civicrm-core/pull/12249))**
214
215 - **Re-instate Dedupe limit functionality & fix select toggle functionality
216 ([12305](https://github.com/civicrm/civicrm-core/pull/12305))**
217
218 This change fixes two bugs when deduping contacts. First, it makes sure that
219 the limit parameter passed in the url is respected and second, it makes sure
220 the criteria parameter passed in the url is respected.
221
222 - **Fix non-display of conflicts after batch dedupe from dedupe screen
223 ([12193](https://github.com/civicrm/civicrm-core/pull/12193))**
224
225 This change fixes a bug where if a batch dedupe was run for all contacts (not
226 'selected contacts only') conflicts were not displayed so that conflicts are
227 displayed.
228
229 - **[dev/core#80](https://lab.civicrm.org/dev/core/issues/80)] Current Employer
230 is not reset after relationship is updated
231 ([12032](https://github.com/civicrm/civicrm-core/pull/12032))**
232
233 Changing the relationship type for a current employer relationship would not
234 remove the organization from being listed as the individual's current
235 employer.
236
237 - **[CRM-20621](https://issues.civicrm.org/jira/browse/CRM-20621) manage tags:
238 the tag usage count is not accurate
239 ([12256](https://github.com/civicrm/civicrm-core/pull/12256)) (preliminary
240 work)**
241
242 - **[CRM-21853](https://issues.civicrm.org/jira/browse/CRM-21853) Editing
243 CustomGroup always sets is_multiple to false by default
244 ([11877](https://github.com/civicrm/civicrm-core/pull/11877) and
245 [12116](https://github.com/civicrm/civicrm-core/pull/12116)) and
246 [12400](https://github.com/civicrm/civicrm-core/pull/12400))**
247
248 When editing a custom data set in the API, the value of whether the set
249 supports multiple values would be set to false when the `is_multiple`
250 parameter was absent. This is now resolved.
251
252 - **[dev/core#98](https://lab.civicrm.org/dev/core/issues/98) Searching by any
253 Address fields with location type other than primary throw DB error
254 ([12074](https://github.com/civicrm/civicrm-core/pull/12074))**
255
256 - **[dev/core#99](https://lab.civicrm.org/dev/core/issues/99) Search builder
257 doesn't retain selected (boolean) option after searching
258 ([12076](https://github.com/civicrm/civicrm-core/pull/12076))**
259
260 - **[CRM-20922](https://issues.civicrm.org/jira/browse/CRM-20922) Can't set
261 default value via URL query string, for custom date fields
262 ([11868](https://github.com/civicrm/civicrm-core/pull/11868))**
263
264 - **Fix e-notice ([12090](https://github.com/civicrm/civicrm-core/pull/12090))**
265
266 This resolves a PHP notice that appears in some circumstances when a field
267 does not specify a maximum length.
268
269 - **[dev/core#8](https://lab.civicrm.org/dev/core/issues/8) Fatal error on
270 Print/Merge Document for Cases
271 ([11936](https://github.com/civicrm/civicrm-core/pull/11936)) (completes prior
272 work)**
273
274 - **Fix fatal error on logging tab when hook alters logging tables.
275 ([12070](https://github.com/civicrm/civicrm-core/pull/12070))**
276
277 - **[dev/core#30](https://lab.civicrm.org/dev/core/issues/30) Exporting master
278 address contact even if no master address contact is defined
279 ([12004](https://github.com/civicrm/civicrm-core/pull/12004))**
280
281 - **Hide Adding Option Value for Locked Groups
282 ([11962](https://github.com/civicrm/civicrm-core/pull/11962))**
283
284 This resolves some places where it was possible to delete values for option
285 groups that are locked.
286
287 - **dev/core#122 Wrong Action Links Shown for Reserved and Locked Option Groups
288 ([12154](https://github.com/civicrm/civicrm-core/pull/12154))**
289
290 - **[dev/core#69](https://lab.civicrm.org/dev/core/issues/69)
291 'state_province_name' token not working for alternate billing addresses
292 ([12003](https://github.com/civicrm/civicrm-core/pull/12003))**
293
294 - **[CRM-21675](https://issues.civicrm.org/jira/browse/CRM-21675) scheduled
295 reminders: limit to group doesn't support smart groups
296 ([11629](https://github.com/civicrm/civicrm-core/pull/11629))**
297
298 Smart groups and child groups now work as expected when limiting the
299 recipients of scheduled reminders.
300
301 - **[CRM-21769](https://issues.civicrm.org/jira/browse/CRM-21769) Show
302 unsupported locale for parsing warning only when when enabling address parsing
303 ([11672](https://github.com/civicrm/civicrm-core/pull/11672))**
304
305 This change improves the warning thrown when the Street Address Parsing
306 setting is set to be an unsupported locale so that is is thrown when that
307 change is made as opposed to anytime one goes to edit a street address.
308
309 - **[dev/report#4](https://lab.civicrm.org/dev/report/issues/4) CiviReports
310 issue with boolean fields
311 ([12382](https://github.com/civicrm/civicrm-core/pull/12382))**
312
313 This change fixes a bug where contact and membership reports displayed all
314 boolean fields (Deceased, Do Not Email, Do Not SMS, etc) as yes regardless of
315 their actual values so that these reports show the correct data for those
316 fields.
317
318 - **[CRM-20841](https://issues.civicrm.org/jira/browse/CRM-20841) Manual Merge -
319 on_hold, is_bulkmail or signature information lost
320 ([10630](https://github.com/civicrm/civicrm-core/pull/10630))**
321
322 When deduping contacts, on the merge form, this change makes it so that the
323 on_hold, bulkmail and signature status are displayed with the email address.
324 If there is a difference between the statuses of the emails being deduped the
325 email row is highlighted as a conflict.
326
327 - **Fix enotice when updating a custom group with is_multiple = 1
328 ([12243](https://github.com/civicrm/civicrm-core/pull/12243))**
329
330 This change fixes a bug where an e-notice was being thrown when updating a
331 group with is_multiple = 1 so that no e-notice is thrown.
332
333 - **ensure that the indexed column is not an FK before deleting the index
334 ([12241](https://github.com/civicrm/civicrm-core/pull/12241))**
335
336 This change fixes a bug where when changing a custom field from searchable to
337 not searchable, CiviCRM tries to remove the index. This causes a fatal error
338 when the column is also a foreign key to another table because the index is
339 needed for the foreign key so that civi checks if the column is not a foreign
340 key before removing the index.
341
342 - **[dev/core#147](https://lab.civicrm.org/dev/core/issues/147) One of
343 parameters is not of the type MysqlColumnNameOrAlias when using Non-ASCII
344 display names. ([12226](https://github.com/civicrm/civicrm-core/pull/12226))**
345
346 This change fixes a bug where using a display name for a location type with
347 Non-ASCII text would result in a fatal error when searching using that
348 location type.
349
350 - **[CRM-21553](https://issues.civicrm.org/jira/browse/CRM-21553) can not update
351 primary location type field details if same field available for other location
352 types ([11407](https://github.com/civicrm/civicrm-core/pull/11407))**
353
354 This change fixes a bug where a profile could not include a primary email
355 field (or any field that uses location types) and a email field of any other
356 location type so that a profile can include two fields one with the location
357 type Primary and one with a different location type.
358
359 - **[dev/core#149](https://lab.civicrm.org/dev/core/issues/149) Fatal Error on
360 customvalue get api
361 ([12225](https://github.com/civicrm/civicrm-core/pull/12225))**
362
363 This change fixes a fatal error when running the customvalue get api.
364
365 - **Only set defaults when creating a custom field (not when editing one)
366 ([12240](https://github.com/civicrm/civicrm-core/pull/12240))**
367
368 This change fixes a bug where when editing a custom field any empty fields
369 would revert to the default values so that they revert to what they were saved
370 as (empty).
371
372 - **[dev/core#131](https://lab.civicrm.org/dev/core/issues/131) Add in missing
373 UK shire Monmouthshire
374 ([12168](https://github.com/civicrm/civicrm-core/pull/12168))**
375
376 The Welsh county of Monmouthshire was missing from `civicrm_state_province`.
377
378 - **[CRM-21776](https://issues.civicrm.org/jira/browse/CRM-21776) DB Error when
379 printing advanced search results sorted by custom field.
380 ([11679](https://github.com/civicrm/civicrm-core/pull/11679))**
381
382 - **[dev/core#85](https://lab.civicrm.org/dev/core/issues/85) mail() backend
383 fails when empty Cc and Bcc parameters are passed
384 ([12036](https://github.com/civicrm/civicrm-core/pull/12036))**
385
386 - **[dev/core#116](https://lab.civicrm.org/dev/core/issues/116) Search builder
387 searches on primary addresses are producing unexpected results
388 ([12153](https://github.com/civicrm/civicrm-core/pull/12153))**
389
390 - **[dev/core#126](https://lab.civicrm.org/dev/core/issues/126) Soft Credit
391 report redirect to Contribution Detail report doesn't filter contact id
392 ([12172](https://github.com/civicrm/civicrm-core/pull/12172))**
393
394 This resolves a regression in the basic report template where contact ID was
395 no longer supported as a filter.
396
397 - **[dev/accessibility#3](https://lab.civicrm.org/dev/accessibility/issues/3)
398 Add aria-label (and label?) to form elements missing them
399 ([11944](https://github.com/civicrm/civicrm-core/pull/11944) and
400 [12208](https://github.com/civicrm/civicrm-core/pull/12208)) (partial work)**
401
402 This consolidates CMS-specific templates for including the page header and
403 footer elements in each page. It also adds the `aria-label` attribute to the
404 datepicker date and time fields.
405
406 - **More robust managed entity deletion
407 ([12021](https://github.com/civicrm/civicrm-core/pull/12021))**
408
409 This resolves certain situations where managed entities created by an
410 extension could be left orphaned in the database even after the extension is
411 uninstalled.
412
413 - **[dev/core#143](https://lab.civicrm.org/dev/core/issues/143) Contact 'World
414 Region' Field not functioning properly in Search Builder
415 ([12214](https://github.com/civicrm/civicrm-core/pull/12214))**
416
417 - **[dev/core#142](https://lab.civicrm.org/dev/core/issues/142) States and
418 Counties don't chain in Search Builder
419 ([12213](https://github.com/civicrm/civicrm-core/pull/12213))**
420
421 - **[dev/core#155](https://lab.civicrm.org/dev/core/issues/155) Improvements and
422 bugfixes to Option Groups UI
423 ([12229](https://github.com/civicrm/civicrm-core/pull/12229)) (partially
424 complete)**
425
426 This resolves a bug where it was impossible to save an option value with a
427 value of zero.
428
429 ### CiviCase
430
431 - **getCaseRoles not working when supplied relationship id.
432 civicrm_relationship table name changed to alias name rel because its changed
433 in the actual query
434 ([12245](https://github.com/civicrm/civicrm-core/pull/12245))**
435
436 This change fixes a bug in the getCaseRoles function so it works properly when
437 supplied a relationship id
438
439 - **[CRM-21598](https://issues.civicrm.org/jira/browse/CRM-21598) Case Activity
440 issues with custom Completed Status Type.
441 ([11456](https://github.com/civicrm/civicrm-core/pull/11456))**
442
443 Activities with custom statuses that have a "completed" status type were
444 treated as incomplete in the display of case activities and the treatment of a
445 case sequence.
446
447 ### CiviContribute
448
449 - **[dev/core#35](https://lab.civicrm.org/dev/core/issues/35) avoid template
450 variable leakage when processing more than one recurring contribution in a
451 session ([12175](https://github.com/civicrm/civicrm-core/pull/12175))**
452
453 Soft credits and other values for a recurring contribution would get picked up
454 by recurring contributions processed later in the same process.
455
456 - **Payflow Pro not payflo
457 ([12083](https://github.com/civicrm/civicrm-core/pull/12083))**
458
459 This standardizes the spelling of "PayFlow Pro" in error messages and code
460 comments.
461
462 - **[dev/core#105](https://lab.civicrm.org/dev/core/issues/105) Manage PCP URL
463 Wrong for the notification email under wordpress
464 ([12093](https://github.com/civicrm/civicrm-core/pull/12093))**
465
466 The notification for administrators to manage a newly-created personal
467 campaign page would link to the front end in Joomla and WordPress sites.
468
469 - **Fix issue where non numeric number was encounted in running unit test...
470 ([12156](https://github.com/civicrm/civicrm-core/pull/12156))**
471
472 - **[dev/financial#14](https://lab.civicrm.org/dev/financial/issues/14) PayPal
473 Express recurring payment causes warning messages
474 ([12171](https://github.com/civicrm/civicrm-core/pull/12171)) (preliminary
475 work)**
476
477 - **[dev/financial#16](https://lab.civicrm.org/dev/financial/issues/16) Paypal
478 unreliable getting payment processor type
479 ([12174](https://github.com/civicrm/civicrm-core/pull/12174)) (preliminary
480 work)**
481
482 - **[dev/core#139](https://lab.civicrm.org/dev/core/issues/139) Contribution
483 Details Report throws DB error When trying to filter by soft_credit_type but
484 not including soft credits
485 ([12205](https://github.com/civicrm/civicrm-core/pull/12205))**
486
487 - **[dev/core#211](https://lab.civicrm.org/dev/core/issues/211) Fix mis-allocation of financial transactions when editing payment method on a completed payment ([12409] https://github.com/civicrm/civicrm-core/pull/12409))**
488
489
490 ### CiviEvent
491
492 - **[dev/core#108](https://lab.civicrm.org/dev/core/issues/108) unable to create
493 new event location without impacting other events
494 ([12104](https://github.com/civicrm/civicrm-core/pull/12104))**
495
496 - **[dev/core#185](https://lab.civicrm.org/dev/core/issues/185) “Print selected
497 rows” option missing in Event Participant listing dropdown actions
498 ([12326](https://github.com/civicrm/civicrm-core/pull/12326))**
499
500 This change fixes a bug where when a user ran a search for Event Participants
501 and then checked some rows the "Print selected rows" option was not showing so
502 that the "Print selected rows" option shows as expected.
503
504 - **[dev/core#68](https://lab.civicrm.org/dev/core/issues/68) DB Error on 'Find
505 Participant' page when MySQL `FULL_GROUP_BY_MODE` is enabled
506 ([11996](https://github.com/civicrm/civicrm-core/pull/11996))**
507
508 - **[dev/core#74](https://lab.civicrm.org/dev/core/issues/74) 'Price Set Details
509 for Event Participants' gives DB error if the price fields are disabled.
510 ([12024](https://github.com/civicrm/civicrm-core/pull/12024)) (resolved for
511 some situations)**
512
513 - **[dev/core#123](https://lab.civicrm.org/dev/core/issues/123) Import -
514 Participant - Custom participant date fields are not formatted
515 ([12159](https://github.com/civicrm/civicrm-core/pull/12159))**
516
517 ### CiviMail
518
519 - **only add a closing quote if it is not already present
520 ([12182](https://github.com/civicrm/civicrm-core/pull/12182))**
521
522 This resolves a bug where CiviMail would add a quote character at the end of
523 link URLs too aggressively.
524
525 - **[dev/core#163](https://lab.civicrm.org/dev/core/issues/163) Disabled Groups
526 used for mailings block access to mailing reports
527 ([12277](https://github.com/civicrm/civicrm-core/pull/12277)) and
528 ([12259](https://github.com/civicrm/civicrm-core/pull/12259))**
529
530 This change fixes a bug where When a group that was used to send a mailing is
531 disabled, access to the past mailing was blocked because mailingACLIDs only
532 checked for enabled groups.
533
534 - **[dev/mail#12](https://lab.civicrm.org/dev/mail/issues/12) Incorrect Total
535 Count on mail summary report
536 ([12247](https://github.com/civicrm/civicrm-core/pull/12247))**
537
538 This change fixes a bug where the Mail Summary Report "Total Opens" field was
539 showing the open count for all mailings so that it shows the open count for
540 only the corresponding mailing.
541
542 ### CiviMember
543
544 - **Removing related memberships if parent membership type is changed which does
545 not have relation type associated.
546 ([12180](https://github.com/civicrm/civicrm-core/pull/12180))**
547
548 If you change a membership with inherited members to a type that does not
549 allow inherited memberships, the inherited memberships are now completely
550 deleted.
551
552 - **[dev/core#154](https://lab.civicrm.org/dev/core/issues/154) Can't edit
553 related records when current employer has a pending membership
554 ([12266](https://github.com/civicrm/civicrm-core/pull/12266))**
555
556 This change fixes a bug where creating a relationship thru which a contact
557 should inherit a membership to a contact with a pending membership resulted in
558 a fatal error so that the relationship is saved successfully.
559
560 - **[CRM-21632](https://issues.civicrm.org/jira/browse/CRM-21632)
561 {membership.fee} prints out in documents with 9 decimal places
562 ([12196](https://github.com/civicrm/civicrm-core/pull/12196))**
563
564 - **[dev/core#100](https://lab.civicrm.org/dev/core/issues/100) Membership
565 Detail report throw DB error
566 ([12094](https://github.com/civicrm/civicrm-core/pull/12094))**
567
568 If ACLs are enabled, a fatal error would appear when running the membership
569 detail report due to the ACLs being applied twice.
570
571 - **Support hooks for MembershipType entity
572 ([11908](https://github.com/civicrm/civicrm-core/pull/11908))**
573
574 The `hook_civicrm_pre` and `hook_civicrm_post` hooks are now invoked when
575 creating or editing a membership type.
576
577 ## <a name="misc"></a>Miscellany
578
579 - **Function extraction (Move towards generic custom data support for all
580 entities) ([12095](https://github.com/civicrm/civicrm-core/pull/12095))**
581
582 - **tpl extraction of shared code for customDataBlock
583 ([12122](https://github.com/civicrm/civicrm-core/pull/12122))**
584
585 - **Strip trailing whitespace in quickform package
586 ([209](https://github.com/civicrm/civicrm-packages/pull/209))**
587
588 - **(NFC) Update karma conf for more recent karma
589 ([12087](https://github.com/civicrm/civicrm-core/pull/12087))**
590
591 - **(NFC) Change use createMock in tests otherwise stick with getMock to fix
592 deprecated warning...
593 ([12086](https://github.com/civicrm/civicrm-core/pull/12086))**
594
595 - **Run master tests using phpunit5
596 ([12084](https://github.com/civicrm/civicrm-core/pull/12084))**
597
598 - **Upgrade Karma phantomjs launcher to latest version
599 ([12101](https://github.com/civicrm/civicrm-core/pull/12101))**
600
601 - **Fix Relationship Type form to use the metadata for fields & api in
602 postProcess ([12097](https://github.com/civicrm/civicrm-core/pull/12097))**
603
604 - **karma.conf.js - Switch singleRun back to `false` default
605 ([12105](https://github.com/civicrm/civicrm-core/pull/12105))**
606
607 - **(NFC) Fix use of undefined constant USD in MoneyTest
608 ([12102](https://github.com/civicrm/civicrm-core/pull/12102))**
609
610 - **Preliminary cleanup for Custom data support for MembershipType form
611 ([12126](https://github.com/civicrm/civicrm-core/pull/12126))**
612
613 - **[NFC] Fix leakage of Form entity
614 ([12125](https://github.com/civicrm/civicrm-core/pull/12125))**
615
616 - **Preliminary tidy up of MembershipType form (towards custom data support)
617 ([12123](https://github.com/civicrm/civicrm-core/pull/12123))**
618
619 - **Add field metadata to MembershipType schema info (xml)
620 ([12124](https://github.com/civicrm/civicrm-core/pull/12124))**
621
622 - **Set Default values on is_active, is_searchable, is_view and is_active...
623 ([12131](https://github.com/civicrm/civicrm-core/pull/12131))**
624
625 This modifies the XML to define these columns' defaults on
626 `civicrm_custom_field`.
627
628 - **Use getter function for entity id as on some forms is protected.
629 ([12127](https://github.com/civicrm/civicrm-core/pull/12127))**
630
631 - **(NFC) Disable tests performing quick search with no orderby as provin...
632 ([12136](https://github.com/civicrm/civicrm-core/pull/12136))**
633
634 - **(NFC) Update to latest versions of karma and jasmine used only in tes...
635 ([12130](https://github.com/civicrm/civicrm-core/pull/12130))**
636
637 - **[NFC] Cleanup on ActivityTest class.
638 ([12106](https://github.com/civicrm/civicrm-core/pull/12106))**
639
640 - **Add labels to membership type metadata, allowing for addField method to be
641 used ([12132](https://github.com/civicrm/civicrm-core/pull/12132))**
642
643 - **(NFC) Update view issues and report bugs link in footer to point to the lab
644 ([12103](https://github.com/civicrm/civicrm-core/pull/12103))**
645
646 - **added unit test
647 ([12135](https://github.com/civicrm/civicrm-core/pull/12135))**
648
649 - **Fix file perms on files back to 664
650 ([12141](https://github.com/civicrm/civicrm-core/pull/12141))**
651
652 - **[dev/core#117](https://lab.civicrm.org/dev/core/issues/117) Remove usage of
653 each() This is deprecated in php7.2
654 ([12155](https://github.com/civicrm/civicrm-core/pull/12155),
655 [12165](https://github.com/civicrm/civicrm-core/pull/12165),
656 [12166](https://github.com/civicrm/civicrm-core/pull/12166),
657 [12167](https://github.com/civicrm/civicrm-core/pull/12167),
658 [12170](https://github.com/civicrm/civicrm-core/pull/12170),
659 [12189](https://github.com/civicrm/civicrm-core/pull/12189),
660 [12199](https://github.com/civicrm/civicrm-core/pull/12199),
661 [12201](https://github.com/civicrm/civicrm-core/pull/12201),
662 [12202](https://github.com/civicrm/civicrm-core/pull/12202), and
663 [12210](https://github.com/civicrm/civicrm-core/pull/12210))**
664
665 - **[dev/core#130](https://lab.civicrm.org/dev/core/issues/130) create_function
666 is deprecated in php7.2
667 ([12164](https://github.com/civicrm/civicrm-core/pull/12164))**
668
669 - **[dev/core#118](https://lab.civicrm.org/dev/core/issues/118) Fix where
670 count() is used on an object that isn't an array nor implements Countable for
671 php7.2 (tested instances)
672 ([12162](https://github.com/civicrm/civicrm-core/pull/12162),
673 [12163](https://github.com/civicrm/civicrm-core/pull/12163) and
674 [12146](https://github.com/civicrm/civicrm-core/pull/12146))**
675
676 - **Remove pass by reference for some mailing functions
677 ([12157](https://github.com/civicrm/civicrm-core/pull/12157))**
678
679 - **Update variable name as per upgraded Mime_mail package to support PHP7.2
680 ([12169](https://github.com/civicrm/civicrm-core/pull/12169))**
681
682 - **Add utils for finding nested array items
683 ([12187](https://github.com/civicrm/civicrm-core/pull/12187))**
684
685 - **[dev/core#135](https://lab.civicrm.org/dev/core/issues/135) Non Numeric
686 value encountered in CRM_Batch_Form_entryTest on PHP7.1 and 7.2
687 ([12190](https://github.com/civicrm/civicrm-core/pull/12190) and
688 [12191](https://github.com/civicrm/civicrm-core/pull/12191))**
689
690 - **[NFC] code changes for export with merge household
691 ([12177](https://github.com/civicrm/civicrm-core/pull/12177))**
692
693 - **[NFC] test clean up.
694 ([12204](https://github.com/civicrm/civicrm-core/pull/12204))**
695
696 - **Further additional utility function for handling odd array structure
697 ([12192](https://github.com/civicrm/civicrm-core/pull/12192))**
698
699 - **[dev/core#128](https://lab.civicrm.org/dev/core/issues/128) Add deprecated
700 warning helper function
701 ([12216](https://github.com/civicrm/civicrm-core/pull/12216))**
702
703 - **Remove inheritance of MembershipConfig form from MembershipStatus form.
704 ([12184](https://github.com/civicrm/civicrm-core/pull/12184))**
705
706 - **[NFC] minor function tidy up - stop using $ids array
707 ([12206](https://github.com/civicrm/civicrm-core/pull/12206))**
708
709 - **Fix re-delcare issue
710 ([12222](https://github.com/civicrm/civicrm-core/pull/12222))**
711
712 - **Code cleanup on export
713 ([12212](https://github.com/civicrm/civicrm-core/pull/12212))**
714
715 - **Add api testing / custom data support for MailingJob.
716 ([12221](https://github.com/civicrm/civicrm-core/pull/12221))
717 ([12399](https://github.com/civicrm/civicrm-core/pull/12399))**
718
719 - **Move upgrade message to right file
720 ([12242](https://github.com/civicrm/civicrm-core/pull/12242))**
721
722 - **Preliminary tidy up on PriceSet form.
723 ([12211](https://github.com/civicrm/civicrm-core/pull/12211))**
724
725 - **[CRM-21111](https://issues.civicrm.org/jira/browse/CRM-21111) getActivities
726 cleanup ([10909](https://github.com/civicrm/civicrm-core/pull/10909))**
727
728 - **[CRM-20459](https://issues.civicrm.org/jira/browse/CRM-20459) Actively
729 deprecate CRM_Core_OptionGroup::getValue
730 ([12092](https://github.com/civicrm/civicrm-core/pull/12092),
731 [12075](https://github.com/civicrm/civicrm-core/pull/12075), and
732 [12050](https://github.com/civicrm/civicrm-core/pull/12050))**
733
734 - **Improve CRM_Utils_Array::recursiveBuild to work with existing arrays.
735 ([12293](https://github.com/civicrm/civicrm-core/pull/12293))**
736
737 - **Fix incorrect operator on previous Export fix
738 ([12278](https://github.com/civicrm/civicrm-core/pull/12278))**
739
740 - **Accessibility #9: Regression - js error due to alertDismissal setting fixed.
741 ([12265](https://github.com/civicrm/civicrm-core/pull/12265))**
742
743 - **Fix unreleased regression - fatal when editing relationship type Employer
744 ([12257](https://github.com/civicrm/civicrm-core/pull/12257))**
745
746 - **Add 'Alphanumeric' rule type
747 ([12258](https://github.com/civicrm/civicrm-core/pull/12258))**
748
749 - **(NFC) fix file permissions on civicrm-version.php
750 ([12140](https://github.com/civicrm/civicrm-core/pull/12140))**
751
752 - **[dev/drupal#10](https://lab.civicrm.org/dev/drupal/issues/10) Keep
753 `civicrm-version.php` up-to-date without running GenCode on all builds
754 ([12113](https://github.com/civicrm/civicrm-core/pull/12113))**
755
756 ## <a name="credits"></a>Credits
757
758 This release was developed by the following code authors:
759
760 AGH Strategies - Andrew Hunt; Agileware - Alok Patel; applicado; Australian
761 Greens - Seamus Lee; Blackfly Solutions - Alan Dixon; CEDC - Laryn Kragt Bakker;
762 Chris Burgess; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Sunil Pawar,
763 Yashodha Chaku; CompuCorp - Camilo Rodriguez, Davi Alexandre, Debarshi Bhaumik,
764 Michael Devery, Omar Abu Hussein, Vinu Varshith Sekar; Coop SymbioTIC - Samuel
765 Vanhove; Fuzion - Jitendra Purohit; Hossein Amin; JMA Consulting - Monish Deb;
766 Joinery - Allen Shaw; Left Join Labs - Sean Madsen; Lighthouse Design and
767 Consulting - Brian Shaughnessy; MJW Consulting - Matthew Wire; Oxfam Germany -
768 Thomas Schüttler; Pradeep Nayak; Progressive Technology Project - Jamie
769 McClelland; Squiffle Consulting - Aidan Saunders; Tadpole Collective - Kevin
770 Cristiano; Third Sector Design - Michael McAndrew; Wikimedia Foundation - Eileen
771 McNaughton; Wildsight - Lars Sanders-Green; Will Long
772
773 Most authors also reviewed code for this release; in addition, the following
774 reviewers contributed their comments:
775
776 Agileware - Justin Freeman; Alan Puccinelli; Aniessh Sethh; BackOffice Thinking -
777 Hassan Farooq; CiviCoop - Erik Hommel; Donald Hirst; Hudson-Essex-Terraplane
778 Club - Paul Butler; Jens Schuppe; JMA Consulting - Joe Murray; Megaphone
779 Technology Consulting - Jon Goldberg; MikeyMJCO; Phil McKerracher; Richard van
780 Oosterhout; Samson Alajede; Skvare - Mark Hanna; Tech To The People - Xavier
781 Dutoit
782
783 ## <a name="feedback"></a>Feedback
784
785 These release notes are edited by Alice Frumin and Andrew Hunt. If you'd like
786 to provide feedback on them, please login to https://chat.civicrm.org/civicrm
787 and contact `@agh1`.