Annotating Release Notes for 5.18
[civicrm-core.git] / release-notes / 5.18.0.md
CommitLineData
4af87c83
AH
1# CiviCRM 5.18.0
2
845002c3 3**in progress, as of commit `6e84bb44e29d1e2654980fa4852a83726dd908b9`**
4af87c83 4
845002c3
AH
5Released October 2, 2019
6
7- **[Synopsis](#synopsis)**
4af87c83
AH
8- **[Features](#features)**
9- **[Bugs resolved](#bugs)**
10- **[Miscellany](#misc)**
11- **[Credits](#credits)**
845002c3
AH
12- **[Feedback](#feedback)**
13
14## <a name="synopsis"></a>Synopsis
15
16| *Does this version...?* | |
17|:--------------------------------------------------------------- |:-------:|
b838a8ee
AF
18| Fix security vulnerabilities? | no |
19| **Change the database schema?** | **yes** |
20| **Alter the API?** | **yes** |
21| Require attention to configuration options? | no |
22| **Fix problems installing or upgrading to a previous version?** | **yes** |
23| **Introduce features?** | **yes** |
24| **Fix bugs?** | **yes** |
4af87c83
AH
25
26## <a name="features"></a>Features
27
28### Core CiviCRM
29
b838a8ee
AF
30- **Enable view/revert delete action for detail logging
31 ([15045](https://github.com/civicrm/civicrm-core/pull/15045))**
4af87c83 32
b838a8ee 33 Allows users to view/revert deleted information from the change log.
4af87c83 34
b838a8ee
AF
35- **Add `hook_civicrm_pre` and `hook_civicrm_post` to Domain create and edit
36 operations ([dev/core#1203](https://lab.civicrm.org/dev/core/issues/1203):
37 [15104](https://github.com/civicrm/civicrm-core/pull/15104))**
4af87c83 38
b838a8ee
AF
39 Makes it so one can detect when a new Domain has been created or when a Domain
40 has been edited with the usual hook_civicrm_pre and hook_civicrm_post
41 callbacks.
4af87c83 42
b838a8ee
AF
43- **Api support for deduping
44 (Work Towards [dev/core#1230](https://lab.civicrm.org/dev/core/issues/1230):
45 [15196](https://github.com/civicrm/civicrm-core/pull/15196),
46 [15188](https://github.com/civicrm/civicrm-core/pull/15188),
47 [15187](https://github.com/civicrm/civicrm-core/pull/15187),
48 [15227](https://github.com/civicrm/civicrm-core/pull/15227) and
49 [15154](https://github.com/civicrm/civicrm-core/pull/15154))**
4af87c83 50
b838a8ee
AF
51 Work toward improving the new API support for deduping including: not
52 geocoding when merging for performance reasons, giving contacts with 'merge
53 duplicate contacts' permission to get dedupe rules, ensuring the API call
54 Dedupe.getstatistics requires "Access CiviCRM" and adds a check for 'force merge
55 duplicate contacts' if mode is aggressive.
4af87c83 56
b838a8ee
AF
57- **Add cid parameter in custom group form url & set it for Activity form
58 ([dev/core#752](https://lab.civicrm.org/dev/core/issues/752):
59 [15012](https://github.com/civicrm/civicrm-core/pull/15012))**
4af87c83 60
b838a8ee
AF
61 Adds a contact id parameter (cid=) when loading custom data via back end forms
62 so that hooks can modify behavior based on the `contact_id` being viewed.
4af87c83 63
b838a8ee
AF
64- **Make report listing actions links hookable
65 ([dev/core#1077](https://lab.civicrm.org/dev/core/issues/1077):
66 [15074](https://github.com/civicrm/civicrm-core/pull/15074))**
4af87c83 67
b838a8ee
AF
68 Makes the actions list on the Report listing screen accessible to developers
69 by a hook.
4af87c83 70
b838a8ee
AF
71- **Fixes inconsistency between constituency summary and constituency detail
72 ([15222](https://github.com/civicrm/civicrm-core/pull/15222))**
4af87c83 73
b838a8ee
AF
74 Improves consistency of how the Action link "Print Report" functions on the
75 Reports listing pages before this change some "Print Report" links would take
76 the user to the report in print view and some would trigger a print popup.
4af87c83 77
b838a8ee
AF
78- **Add index to civicrm_contact.created_date & modified_date
79 ([15203](https://github.com/civicrm/civicrm-core/pull/15203))**
4af87c83 80
b838a8ee
AF
81 Adds an index to `civicrm_contact.created_date` &
82 `civicrm_contact.modified_date`.
4af87c83 83
b838a8ee
AF
84- **Added field title for Cache table
85 ([15204](https://github.com/civicrm/civicrm-core/pull/15204))**
4af87c83 86
b838a8ee 87 Adds title for fields to the Cache table.
4af87c83 88
b838a8ee
AF
89- **Allow Manual Geo Code flag to be exported
90 ([14998](https://github.com/civicrm/civicrm-core/pull/14998))**
4af87c83 91
b838a8ee 92 Makes it possible for users to export the Manual Geo Code flag.
4af87c83 93
b838a8ee
AF
94- **Use merge duplicate contacts as api permission for merging
95 ([15155](https://github.com/civicrm/civicrm-core/pull/15155))**
4af87c83 96
b838a8ee
AF
97 Changes the API call `Contact.merge` to require 'merge duplicate contacts'
98 instead of 'Administer CiviCRM'.
4af87c83 99
b838a8ee
AF
100- **Adjust permissions on dedupe exception api to 'merge duplicate contacts'
101 ([15157](https://github.com/civicrm/civicrm-core/pull/15157))**
4af87c83 102
b838a8ee
AF
103 Moves the CRUD API for managing dedupe exceptions to require the permission
104 'merge duplicate contacts' before this change it required 'Administer
105 CiviCRM'.
4af87c83 106
b838a8ee
AF
107- **Open up permissions on Dedupe.getduplicates
108 ([15152](https://github.com/civicrm/civicrm-core/pull/15152))**
4af87c83 109
b838a8ee
AF
110 Less restrictive permissions on the `Dedupe.getduplicates` API (currently only
111 used from unit tests) specifically moves from requiring the permission
112 'Administer CiviCRM' to 'Access CiviCRM'.
4af87c83 113
b838a8ee
AF
114- **Fix inconsistencies in duplicate retrieval
115 ([15160](https://github.com/civicrm/civicrm-core/pull/15160))**
4af87c83 116
b838a8ee
AF
117 Ensures the API call `Dedupe.getduplicates` respects both 'limit' and
118 'search_limit' parameters.
4af87c83 119
b838a8ee
AF
120- **Error log improvements: Provide priority level
121 ([14995](https://github.com/civicrm/civicrm-core/pull/14995))**
4af87c83 122
b838a8ee
AF
123 Improves Error Logging by adding the ability to pass a priority level argument
124 to `CRM_Core_Error::debug_var()`.
4af87c83 125
b838a8ee
AF
126- **Improve deadlock error handling
127 ([258](https://github.com/civicrm/civicrm-packages/pull/258))**
4af87c83 128
b838a8ee
AF
129 Improves deadlock error handling by capturing the error when the deadlock is
130 first hit so the backtrace is retained.
4af87c83 131
b838a8ee
AF
132- **Manage Group search message fix
133 ([15052](https://github.com/civicrm/civicrm-core/pull/15052))**
4af87c83 134
b838a8ee 135 Improves the help text when one searches for groups and no groups are found.
4af87c83 136
b838a8ee 137### CiviContribute
4af87c83 138
b838a8ee
AF
139- **Add pre/post hooks for price set / field/option
140 ([dev/core#870](https://lab.civicrm.org/dev/core/issues/870):
141 [15076](https://github.com/civicrm/civicrm-core/pull/15076))**
4af87c83 142
b838a8ee
AF
143 Ensures Price sets `pre` and `post` hooks get invoked when adding price sets
144 and price options etc.
4af87c83 145
b838a8ee 146### CiviEvent
4af87c83 147
b838a8ee
AF
148- **Creating an event clears the cache
149 ([dev/event#14](https://lab.civicrm.org/dev/event/issues/14):
150 [15140](https://github.com/civicrm/civicrm-core/pull/15140))**
4af87c83 151
b838a8ee 152 Improves performance by not clearing caches every time an event is created.
4af87c83 153
b838a8ee 154### CiviMembership
4af87c83 155
b838a8ee
AF
156- **Update XML files for membership fields to support date picker conversion
157 ([15186](https://github.com/civicrm/civicrm-core/pull/15186))**
4af87c83 158
b838a8ee
AF
159 Updates the XML and associated files to support the change to date picker
160 format for Membership date fields.
4af87c83 161
b838a8ee
AF
162- **Add default domain to membershiptype API
163 ([15120](https://github.com/civicrm/civicrm-core/pull/15120))**
4af87c83 164
b838a8ee 165 Adds a default domain to the membershiptype API to improve usability.
4af87c83 166
b838a8ee
AF
167- **Fix readability & caching on
168 CRM_Contact_BAO_Relationship::isInheritedMembershipInvalidated
169 ([15061](https://github.com/civicrm/civicrm-core/pull/15061))**
4af87c83 170
b838a8ee 171 Improves caching and performance when calculating inherited memberships.
4af87c83 172
b838a8ee 173### CiviPledge
4af87c83 174
b838a8ee
AF
175- **Update Pledge XML to support date picker conversion
176 ([15180](https://github.com/civicrm/civicrm-core/pull/15180))**
4af87c83 177
b838a8ee
AF
178 Updates the XML and associated files to support the change to date picker
179 format for Pledge date fields.
4af87c83 180
b838a8ee 181### Backdrop Integration
4af87c83 182
b838a8ee
AF
183- **Fail more gracefully when upgrading on PHP5.x
184 ([98](https://github.com/civicrm/civicrm-backdrop/pull/98))**
4af87c83 185
b838a8ee 186 Provides a clearer error whens omeone tries to upgrade with PHP 5.x
4af87c83 187
b838a8ee 188### Drupal Integration
4af87c83 189
b838a8ee
AF
190- **Automatically tag the drupal-8 repository
191 (Work Towards [dev/release#9](https://lab.civicrm.org/dev/release/issues/9):
192 [15149](https://github.com/civicrm/civicrm-core/pull/15149))**
4af87c83 193
b838a8ee
AF
194 Continues work to automatically tag a Drupal8 version when new CiviCRM
195 versions are released as is done for other CMS's.
4af87c83 196
b838a8ee
AF
197- **Error when upgrading to 5.16.0
198 ([dev/drupal#79](https://lab.civicrm.org/dev/drupal/issues/79):
199 [583](https://github.com/civicrm/civicrm-drupal/pull/583))**
4af87c83 200
b838a8ee 201 Throws a clearer error when someone tries to upgrade with PHP 5.x.
4af87c83 202
b838a8ee
AF
203- **(dev/drupal#8) Migrate bower.json into composer.json via
204 composer-downloads-plugin
205 ([15044](https://github.com/civicrm/civicrm-core/pull/15044))**
4af87c83 206
b838a8ee 207 Improves performance and caching by using `composer` to install `bower`.
4af87c83 208
b838a8ee 209## <a name="bugs"></a>Bugs resolved
4af87c83 210
b838a8ee 211### Core CiviCRM
4af87c83 212
b838a8ee
AF
213- **Warnings on importing contacts - PHP 7.2
214 (Work Towards [dev/core#772](https://lab.civicrm.org/dev/core/issues/772):
215 [262](https://github.com/civicrm/civicrm-packages/pull/262))**
4af87c83 216
b838a8ee
AF
217 Fixes a notice when importing with PHP 7.2 specifically with an import file
218 with the column 'Contact Source' among others & import set to use 'Column
219 Headers'.
4af87c83 220
b838a8ee
AF
221- **Warnings on CRM_Contribute_Import_Parser re countable
222 ([dev/core#1001](https://lab.civicrm.org/dev/core/issues/1001):
223 [14989](https://github.com/civicrm/civicrm-core/pull/14989))**
4af87c83 224
b838a8ee 225 Fixes a few PHP 7.2 count warnings when importing.
4af87c83 226
b838a8ee
AF
227- **Changing the label for the Inbound Email activity type lets you edit/delete
228 them even if the permission disallows
229 ([dev/core#1123](https://lab.civicrm.org/dev/core/issues/1123):
230 [15240](https://github.com/civicrm/civicrm-core/pull/15240) and
231 [15147](https://github.com/civicrm/civicrm-core/pull/15147))**
4af87c83 232
b838a8ee
AF
233 Fixes a bug that allowed users without Edit permissions to edit inbound emails
234 if they changed the activity type label.
4af87c83 235
b838a8ee
AF
236- **Regression: Can't use CiviCRM menu on 5.16.0
237 ([dev/core#1182](https://lab.civicrm.org/dev/core/issues/1182):
238 [15020](https://github.com/civicrm/civicrm-core/pull/15020) and
239 [15019](https://github.com/civicrm/civicrm-core/pull/15019))**
4af87c83 240
b838a8ee
AF
241 Fixes a bug in CiviCRM 5.16.0 where a race condition was causing the CiviCRM
242 Admin Menu to break.
4af87c83 243
b838a8ee
AF
244- **csv import only import one phone number
245 ([dev/core#1187](https://lab.civicrm.org/dev/core/issues/1187):
246 [15190](https://github.com/civicrm/civicrm-core/pull/15190))**
4af87c83 247
b838a8ee
AF
248 Fixes a bug whereby one phone number is not imported if 2 of the same location
249 type but different phone types are in an import.
4af87c83 250
b838a8ee
AF
251- **Fix Psalm issue Class or interface CiviCRM_API3_Exception does not exist
252 ([dev/core#1188](https://lab.civicrm.org/dev/core/issues/1188):
253 [15043](https://github.com/civicrm/civicrm-core/pull/15043))**
4af87c83 254
b838a8ee 255 Ensures that the Psalm Autoloader can find `CiviCRM_API3_Exception`.
4af87c83 256
b838a8ee
AF
257- **File attachment uploads - pptx issue
258 ([dev/core#1190](https://lab.civicrm.org/dev/core/issues/1190):
259 [15239](https://github.com/civicrm/civicrm-core/pull/15239))**
4af87c83 260
b838a8ee 261 Fixes the upgrade function for adding ".pptx" to the list of safe file types.
4af87c83 262
b838a8ee
AF
263- **ENOTICE when creating activity from contact search results / aka Repeat
264 Activity accordion section missing when using Add Activity from contact search
265 results ([dev/core#1192](https://lab.civicrm.org/dev/core/issues/1192):
266 [15079](https://github.com/civicrm/civicrm-core/pull/15079))**
4af87c83 267
b838a8ee
AF
268 Fixes an E_NOTICE when using the "Add Activity" action from the contact search
269 results list.
4af87c83 270
b838a8ee
AF
271- **CiviCRM Dashboard does not respect multiple domains
272 ([dev/core#1200](https://lab.civicrm.org/dev/core/issues/1200):
273 [15099](https://github.com/civicrm/civicrm-core/pull/15099))**
4af87c83 274
b838a8ee
AF
275 For sites with multisite enabled ensures that the CiviCRM Dashboard respects
276 multiple domains and shows unique dashlets (depending on what domain you are
277 using).
4af87c83 278
b838a8ee
AF
279- **Contact subtype is removed after being cached incorrectly
280 ([dev/core#1222](https://lab.civicrm.org/dev/core/issues/1222):
281 [15171](https://github.com/civicrm/civicrm-core/pull/15171))**
4af87c83 282
b838a8ee
AF
283 Ensures the static cache is cleared whenever updating or deleting a DAO
284 object.
4af87c83 285
b838a8ee
AF
286- **Event/Contribution amounts are duplicated when the form is saved
287 ([dev/core#1240](https://lab.civicrm.org/dev/core/issues/1240):
288 [15245](https://github.com/civicrm/civicrm-core/pull/15245))**
4af87c83 289
b838a8ee
AF
290 Fixes a bug where saving the "amounts" tab of either an event or contribution
291 page (when using that form to enter options NOT a price set) results in the
292 duplication of the amount options listed.
4af87c83 293
b838a8ee
AF
294- **Regression: Searching on Email broken in advanced search
295 ([dev/core#1244](https://lab.civicrm.org/dev/core/issues/1244):
296 [15255](https://github.com/civicrm/civicrm-core/pull/15255))**
4af87c83 297
b838a8ee
AF
298 Fixes a regression where attempting to search on Email on the Advanced search
299 form resulted in a warning and no results so that no warning is thrown and
300 results are shown based on search parameters entered.
4af87c83 301
b838a8ee
AF
302- **Trim form values when adding LIKE operator
303 ([15275](https://github.com/civicrm/civicrm-core/pull/15275))**
4af87c83 304
b838a8ee
AF
305 Fixes a 5.17 regression whereby the email string is no longer being trimmed
306 when searching.
4af87c83 307
b838a8ee
AF
308- **Ensure filtering on email via the api looks for an exact match
309 ([15276](https://github.com/civicrm/civicrm-core/pull/15276))**
4af87c83 310
b838a8ee
AF
311 Fixes a released regression whereby a wildcard was being added to API
312 Contact.get requests with the email parameter.
4af87c83 313
b838a8ee
AF
314- **Fix fatal when saving import mapping with a relationship but 'Primary'
315 location type ([15115](https://github.com/civicrm/civicrm-core/pull/15115))**
4af87c83 316
b838a8ee
AF
317 Fixes a fatal error when saving an import mapping with a field mapped to (for
318 example) employer's phone with the location type set to primary
4af87c83 319
b838a8ee
AF
320- **Fix export header for 'Contact ID'
321 ([15118](https://github.com/civicrm/civicrm-core/pull/15118))**
4af87c83 322
b838a8ee
AF
323 Ensures when exporting a contact id column the header is 'Contact ID' not
324 'contact_id'
4af87c83 325
b838a8ee
AF
326- **Changed ClassName for ACL cache
327 ([15193](https://github.com/civicrm/civicrm-core/pull/15193))**
4af87c83 328
b838a8ee 329 Ensures `civicrm_acl_cache` and `civicrm_cache` use different entity names.
4af87c83 330
b838a8ee
AF
331- **Set contact communication_style_id as importable
332 ([15205](https://github.com/civicrm/civicrm-core/pull/15205))**
4af87c83 333
b838a8ee 334 Ensures the "Contact Communication Style" is visible in profile view mode.
4af87c83 335
b838a8ee
AF
336- **Incorporate searchLimit in dedupe cacheKey
337 ([15185](https://github.com/civicrm/civicrm-core/pull/15185))**
4af87c83 338
b838a8ee
AF
339 Fixes a bug where changing the search limit after a search has been performed
340 does not result in a new search.
4af87c83 341
b838a8ee
AF
342- **Fix PayPalImpl Contribution Status PseudoConstant for non-English
343 ([15164](https://github.com/civicrm/civicrm-core/pull/15164))**
4af87c83 344
b838a8ee
AF
345 Ensures Contributions Statuses are set correctly for sites using PayPal
346 Express and a language other than English by switching to using the name
347 property instead of the label.
4af87c83 348
b838a8ee
AF
349- **Allow for the deselection of sorting filters
350 ([15029](https://github.com/civicrm/civicrm-core/pull/15029))**
4af87c83 351
b838a8ee
AF
352 Fixes a bug where removing sorting filters on reports and refreshing the
353 results would retain the sorting filters regardless.
4af87c83 354
b838a8ee
AF
355- **Better error handling in CRM_Utils_JS::decode
356 ([15145](https://github.com/civicrm/civicrm-core/pull/15145))**
4af87c83 357
b838a8ee 358 Improves handling of malformed Javascript so as to reduce PHP notices.
4af87c83 359
b838a8ee
AF
360- **CRM_Utils_Array::crmInArray() should recurse properly
361 ([dev/core#1196](https://lab.civicrm.org/dev/core/issues/1196):
362 [15092](https://github.com/civicrm/civicrm-core/pull/15092))**
4af87c83 363
b838a8ee
AF
364- **Incorrect line item created for back-end membership sign-up using price set
365 and CiviDiscount ([dev/core#860](https://lab.civicrm.org/dev/core/issues/860):
366 [15004](https://github.com/civicrm/civicrm-core/pull/15004))**
4af87c83 367
b838a8ee
AF
368- **Fix an HTML error in Calculate.tpl
369 ([15102](https://github.com/civicrm/civicrm-core/pull/15102))**
4af87c83 370
b838a8ee
AF
371- **Replace some calls to CRM_Core_Error::fatal with exceptions
372 ([15156](https://github.com/civicrm/civicrm-core/pull/15156))**
4af87c83 373
b838a8ee
AF
374- **Ensure all report templates switch the filter field_name from join_date to
375 be membership_join_date
376 ([15198](https://github.com/civicrm/civicrm-core/pull/15198))**
4af87c83 377
b838a8ee
AF
378- **Re-remove pledge & member fields from the legacy date list
379 ([15200](https://github.com/civicrm/civicrm-core/pull/15200))**
4af87c83 380
b838a8ee
AF
381- **Use api to create activity and removed hardcoded status id
382 ([14621](https://github.com/civicrm/civicrm-core/pull/14621))**
4af87c83 383
b838a8ee
AF
384- **Add ts() to deceased string
385 ([15211](https://github.com/civicrm/civicrm-core/pull/15211))**
4af87c83 386
b838a8ee
AF
387- **Fatal Error in "Search Builder" if "Household" Contact type is disabled.
388 ([dev/core#1246](https://lab.civicrm.org/dev/core/issues/1246):
389 [15289](https://github.com/civicrm/civicrm-core/pull/15289))**
4af87c83 390
b838a8ee
AF
391- **Do not show Activity Separation on when viewing an Activity
392 ([15046](https://github.com/civicrm/civicrm-core/pull/15046))**
4af87c83 393
b838a8ee
AF
394- **Display only own assignees contact(s) on batch activity form
395 ([15035](https://github.com/civicrm/civicrm-core/pull/15035))**
4af87c83 396
b838a8ee
AF
397- **Swap CRM_Utils_Array::value for empty() in conditionals
398 ([15005](https://github.com/civicrm/civicrm-core/pull/15005))**
4af87c83 399
b838a8ee
AF
400- **Ensure that civicrm_dashboard has a foreign key to civicrm_domain
401 ([15119](https://github.com/civicrm/civicrm-core/pull/15119))**
4af87c83 402
b838a8ee 403### CiviCampaign
4af87c83 404
b838a8ee
AF
405- **Actions in campaign dashboard not working with pop-up disabled
406 ([dev/core#1233](https://lab.civicrm.org/dev/core/issues/1233):
407 [15233](https://github.com/civicrm/civicrm-core/pull/15233))**
4af87c83 408
b838a8ee 409 Ensures users with pop ups deactivated can edit and delete campaigns.
4af87c83 410
b838a8ee 411### CiviCase
4af87c83 412
b838a8ee
AF
413- **Proposal to fix longstanding name vs label problems for case roles (Work
414 Towards [dev/core#1046](https://lab.civicrm.org/dev/core/issues/1046):
415 [15192](https://github.com/civicrm/civicrm-core/pull/15192) and
416 [15182](https://github.com/civicrm/civicrm-core/pull/15182))**
4af87c83 417
b838a8ee
AF
418 These changes work towards fixing the label being used as the name in some
419 places in CiviCase by allowing for an override tag in the xml to specify the
420 actual "name".
4af87c83 421
b838a8ee
AF
422- **Changing a civicase activity's label breaks the max_instances check
423 (Work Towards [dev/core#1116](https://lab.civicrm.org/dev/core/issues/1116):
424 [14999](https://github.com/civicrm/civicrm-core/pull/14999),
425 [15002](https://github.com/civicrm/civicrm-core/pull/15002),
426 [15000](https://github.com/civicrm/civicrm-core/pull/15000) and
427 [15032](https://github.com/civicrm/civicrm-core/pull/15032))**
4af87c83 428
b838a8ee
AF
429 Refactors and cleans up code in preparation for fixing a bug where CiviCase
430 activity's label breaks the max_instances check.
4af87c83 431
b838a8ee
AF
432- **Fix search for case tags that are part of tag sets
433 ([15212](https://github.com/civicrm/civicrm-core/pull/15212))**
4af87c83 434
b838a8ee 435 Fixes a DB Error when searching for tags that are a part of a tag set.
4af87c83 436
b838a8ee
AF
437- **Switch to relationship BAO when modifying relationships in change case
438 status so we don't bypass hooks
439 ([15030](https://github.com/civicrm/civicrm-core/pull/15030))**
4af87c83 440
b838a8ee
AF
441- **Word Replacements not working on manage case Roles
442 ([dev/core#1218](https://lab.civicrm.org/dev/core/issues/1218):
443 [15161](https://github.com/civicrm/civicrm-core/pull/15161))**
4af87c83 444
b838a8ee 445### CiviContribute
4af87c83 446
b838a8ee
AF
447- **Renaming a price option / fee level breaks event participant lists
448 ([CRM-17182](https://issues.civicrm.org/jira/browse/CRM-17182):
449 [15064](https://github.com/civicrm/civicrm-core/pull/15064))**
4af87c83 450
b838a8ee
AF
451 Fixes a bug where the `fee_amount` was being changed whenever a label was
452 changed and moves from searching based on regex on the `fee_amount` column to
453 searching based on the `price_field_value` id.
4af87c83 454
b838a8ee
AF
455- **Fix wrong variable in check for profiles on contributionpage
456 ([15093](https://github.com/civicrm/civicrm-core/pull/15093))**
4af87c83 457
b838a8ee
AF
458 Ensures the correct variable is being checked for pre profile types when
459 configuring a Contribution Page.
4af87c83 460
b838a8ee
AF
461- **Batch payment page breaks when an exported activity has no file to download
462 ([dev/financial#58](https://lab.civicrm.org/dev/financial/issues/58):
463 [14367](https://github.com/civicrm/civicrm-core/pull/14367))**
4af87c83 464
b838a8ee
AF
465- **Stop adding a refund payment from creating extraneous financial items
466 ([15143](https://github.com/civicrm/civicrm-core/pull/15143))**
4af87c83 467
b838a8ee 468### CiviEvent
4af87c83 469
b838a8ee
AF
470- **Most recent contact note exposed in event confirmation emails
471 ([dev/event#10](https://lab.civicrm.org/dev/event/issues/10):
472 [15060](https://github.com/civicrm/civicrm-core/pull/15060))**
4af87c83 473
b838a8ee
AF
474 Fixes a bug where when submitting an event registration which contains a
475 profile which contains a note field, if the note is left blank, then the
476 confirmation/notification emails contain the most recent note in the contact's
477 record, potentially exposing confidential information.
4af87c83 478
b838a8ee
AF
479- **Custom field value for a new Event based on an Event Template are not
480 checked causing false validation message and Event not to
481 save([dev/core#1241](https://lab.civicrm.org/dev/core/issues/1241):
482 [15296](https://github.com/civicrm/civicrm-core/pull/15296))**
4af87c83 483
b838a8ee 484### CiviGrant
4af87c83 485
b838a8ee
AF
486- **Grant in Edit mode doesn't show the associated contact
487 ([dev/core#1065](https://lab.civicrm.org/dev/core/issues/1065):
488 [15238](https://github.com/civicrm/civicrm-core/pull/15238) and
489 [15209](https://github.com/civicrm/civicrm-core/pull/15209))**
4af87c83 490
b838a8ee 491 Ensures that the associated contact is shown on Grants in edit mode.
4af87c83 492
b838a8ee
AF
493- **Fixes for taking dynamic form name in grant search
494 ([15075](https://github.com/civicrm/civicrm-core/pull/15075))**
4af87c83 495
b838a8ee 496 Ensures Overridden search form will work well with all select actions.
4af87c83 497
b838a8ee 498### CiviMail
4af87c83 499
b838a8ee
AF
500- **SMTP help text and URL are misleading to Organization Address and Contact
501 Info instead of leading to From Email Addresses; see also
502 [#14055](https://github.com/civicrm/civicrm-core/pull/14055) and
503 [#14329](https://github.com/civicrm/civicrm-core/pull/14329)
504 ([15165](https://github.com/civicrm/civicrm-core/pull/15165))**
4af87c83 505
b838a8ee 506 Fixes up the help text displayed when testing the SMTP configuration fails.
4af87c83 507
b838a8ee
AF
508- **Remove template field if using Mosaico in non shoreditch mode
509 ([14927](https://github.com/civicrm/civicrm-core/pull/14927))**
4af87c83 510
b838a8ee 511### CiviMember
4af87c83 512
b838a8ee
AF
513- **Fix metadata on member export
514 ([14916](https://github.com/civicrm/civicrm-core/pull/14916))**
4af87c83 515
b838a8ee
AF
516 Ensures when exporting memberships headings are set appropriately for the
517 following columns: `member_is_override`, `membership_recur_id` and
518 `max_related`.
519
520- **[regression] Recurring contributions no longer properly update memberships
521 (on PayPal Pro, maybe others)
522 ([dev/membership#13](https://lab.civicrm.org/dev/membership/issues/13):
523 [15053](https://github.com/civicrm/civicrm-core/pull/15053))**
4af87c83 524
b838a8ee
AF
525- **Make sure inherited memberships are not themselves inherited
526 ([15114](https://github.com/civicrm/civicrm-core/pull/15114))**
4af87c83 527
b838a8ee
AF
528- **{Membership.Fee} appears on Membership Renewal Reminder emails with 9
529 decimal places ([dev/core#377](https://lab.civicrm.org/dev/core/issues/377):
530 [14992](https://github.com/civicrm/civicrm-core/pull/14992))**
4af87c83 531
b838a8ee 532### Drupal Integration
4af87c83 533
b838a8ee
AF
534- **Drupal8: getUrlPath: avoid relying on the deprecated 'q' variable
535 (Work Towards [dev/drupal#52](https://lab.civicrm.org/dev/drupal/issues/52):
536 [15268](https://github.com/civicrm/civicrm-core/pull/15268))**
4af87c83 537
b838a8ee
AF
538 In Drupal8, the 'q' variable has been deprecated which has resulted in CiviCRM
539 throwing a bunch of PHP notices. This PR silences those notices while a more
540 long term fix is developed.
4af87c83 541
b838a8ee 542### Joomla Integration
4af87c83 543
b838a8ee
AF
544- **Some error messages render a chunk of markup as plain text
545 ([dev/joomla#10](https://lab.civicrm.org/dev/joomla/issues/10):
546 [15159](https://github.com/civicrm/civicrm-core/pull/15159))**
4af87c83 547
b838a8ee
AF
548 Removes Joomla-specific error display and use native CiviCRM display to avoid
549 some error messages rendering as plain text.
4af87c83 550
b838a8ee
AF
551- **PHP 7.2 countable warning after installation
552 ([dev/joomla#15](https://lab.civicrm.org/dev/joomla/issues/15):
553 [53](https://github.com/civicrm/civicrm-joomla/pull/53))**
4af87c83 554
b838a8ee
AF
555- **[Joomla 4.0] CiviCRM's CSS interferes with Joomla's top header background
556 colour ([dev/joomla#24](https://lab.civicrm.org/dev/joomla/issues/24):
557 [15137](https://github.com/civicrm/civicrm-core/pull/15137))**
4af87c83 558
b838a8ee 559## <a name="misc"></a>Miscellany
4af87c83 560
b838a8ee
AF
561- **Possible timing issue with test phpunit/api/v3/AttachmentTest::testCreate
562 ([dev/core#938](https://lab.civicrm.org/dev/core/issues/938):
563 [15216](https://github.com/civicrm/civicrm-core/pull/15216))**
4af87c83 564
b838a8ee
AF
565- **Change connection and results charsets to utf8mb4 on MySQL 5.5.3+
566 ([241](https://github.com/civicrm/civicrm-packages/pull/241))**
4af87c83 567
b838a8ee
AF
568- **Fix upgrade version for #13487
569 ([15031](https://github.com/civicrm/civicrm-core/pull/15031))**
4af87c83 570
b838a8ee
AF
571- **Update select2 to latest 3.x + patches
572 ([15054](https://github.com/civicrm/civicrm-core/pull/15054))**
4af87c83 573
b838a8ee
AF
574- **Further work on payment.create consolidation - always handle financials from
575 payment.create ([14673](https://github.com/civicrm/civicrm-core/pull/14673))**
4af87c83 576
b838a8ee
AF
577- **Extract function to create email activity when sending an email to contact
578 ([15133](https://github.com/civicrm/civicrm-core/pull/15133))**
4af87c83 579
b838a8ee
AF
580- **Extract cancelParticipant and cancelMembership functions in baseIPN
581 ([15134](https://github.com/civicrm/civicrm-core/pull/15134))**
4af87c83 582
b838a8ee
AF
583- **Rewrite subTypeInfo to use caching mechanism
584 ([14715](https://github.com/civicrm/civicrm-core/pull/14715))**
4af87c83 585
b838a8ee
AF
586- **providing clear indication that civicrm_engage module is deprecated.
587 ([582](https://github.com/civicrm/civicrm-drupal/pull/582))**
4af87c83 588
b838a8ee
AF
589- **distmaker - Finish migrating bower.json => composer.json
590 ([15148](https://github.com/civicrm/civicrm-core/pull/15148))**
4af87c83 591
b838a8ee
AF
592- **Switch recordAdditionalPayment fully over to api
593 ([14408](https://github.com/civicrm/civicrm-core/pull/14408))**
4af87c83 594
b838a8ee
AF
595- **Add note about testRenewMembership failing on certain days
596 ([15167](https://github.com/civicrm/civicrm-core/pull/15167))**
4af87c83 597
b838a8ee
AF
598- **Someimes ya just gotta say enough already
599 ([15175](https://github.com/civicrm/civicrm-core/pull/15175))**
4af87c83 600
b838a8ee
AF
601- **Extend loadSavedMapping to check defaults
602 ([15179](https://github.com/civicrm/civicrm-core/pull/15179))**
4af87c83 603
b838a8ee
AF
604- **Initial refactor of BaseIPN
605 ([15129](https://github.com/civicrm/civicrm-core/pull/15129))**
4af87c83 606
b838a8ee
AF
607- **Convert pledge date fields to use datepicker rather than jcalendar
608 ([15170](https://github.com/civicrm/civicrm-core/pull/15170))**
4af87c83 609
b838a8ee
AF
610- **Use metadata for pledgeDateRange fields
611 ([15191](https://github.com/civicrm/civicrm-core/pull/15191))**
4af87c83 612
b838a8ee
AF
613- **Add minimal test for testExportFinancialBatch
614 ([15136](https://github.com/civicrm/civicrm-core/pull/15136))**
4af87c83 615
b838a8ee
AF
616- **Code cleanup in CRM_Core_Permission::check
617 ([15141](https://github.com/civicrm/civicrm-core/pull/15141))**
4af87c83 618
b838a8ee
AF
619- **Event confirm - (very) minor cleanup + test
620 ([15010](https://github.com/civicrm/civicrm-core/pull/15010))**
4af87c83 621
b838a8ee
AF
622- **Stabalize Attachment API Test
623 ([15066](https://github.com/civicrm/civicrm-core/pull/15066))**
4af87c83 624
b838a8ee
AF
625- **Remove ?last? instances of ->free()
626 ([dev/core#562](https://lab.civicrm.org/dev/core/issues/562):
627 [14990](https://github.com/civicrm/civicrm-core/pull/14990))**
4af87c83 628
b838a8ee
AF
629- **Add myself to the contributor list
630 ([15036](https://github.com/civicrm/civicrm-core/pull/15036))**
4af87c83 631
b838a8ee
AF
632- **Remove silly dumb unreachable lines
633 ([15033](https://github.com/civicrm/civicrm-core/pull/15033))**
4af87c83 634
b838a8ee
AF
635- **Deprecate CRM_Core_Config::addressSequence()
636 ([15126](https://github.com/civicrm/civicrm-core/pull/15126))**
4af87c83 637
b838a8ee
AF
638- **Deprecate CRM_Core_Config::defaultContactCountry and
639 defaultContactCountryName
640 ([15127](https://github.com/civicrm/civicrm-core/pull/15127))**
4af87c83 641
b838a8ee
AF
642- **Use metadata for dataPatterns
643 ([15224](https://github.com/civicrm/civicrm-core/pull/15224))**
4af87c83 644
b838a8ee
AF
645- **SyntaxConformanceTest::testSqlOperators - Skip "Dedupe" entity on MySQL 5.5
646 ([15234](https://github.com/civicrm/civicrm-core/pull/15234))**
4af87c83 647
b838a8ee
AF
648- **Add in 5.17.1 Release notes and migrate .tpl file for 5.17.1 to 5.18 to
649 support upgrade
650 ([15253](https://github.com/civicrm/civicrm-core/pull/15253))**
4af87c83 651
b838a8ee
AF
652- **(NFC) Add comments to relate to gitlab ticket
653 ([dev/core#927](https://lab.civicrm.org/dev/core/issues/927):
654 [15128](https://github.com/civicrm/civicrm-core/pull/15128))**
4af87c83 655
b838a8ee
AF
656- **Remove unused method CRM_Contact_BAO_Contact_Utils::maxLocations
657 ([15091](https://github.com/civicrm/civicrm-core/pull/15091))**
4af87c83 658
b838a8ee
AF
659- **Remove unused Selenium binaries
660 ([263](https://github.com/civicrm/civicrm-packages/pull/263))**
4af87c83 661
b838a8ee
AF
662- **Remove a few unused scripts from tools/bin/scripts
663 ([15078](https://github.com/civicrm/civicrm-core/pull/15078))**
4af87c83 664
b838a8ee
AF
665- **Remove deprecated unused function.
666 ([15070](https://github.com/civicrm/civicrm-core/pull/15070))**
4af87c83 667
b838a8ee
AF
668- **Remove unused skipRedirect param
669 ([15125](https://github.com/civicrm/civicrm-core/pull/15125))**
4af87c83 670
b838a8ee
AF
671- **[clean up][ export] Remove membership_auto_renew from defaultReturn
672 properties ([14980](https://github.com/civicrm/civicrm-core/pull/14980))**
4af87c83 673
b838a8ee
AF
674- **[Ref] [Import] Use processor to determine website type, location type, test
675 ([15116](https://github.com/civicrm/civicrm-core/pull/15116))**
4af87c83 676
b838a8ee
AF
677- **[Import] [ref] - minor cleanup to reduce code complexity
678 ([15097](https://github.com/civicrm/civicrm-core/pull/15097))**
4af87c83 679
b838a8ee
AF
680- **[ref] [ import] Extend tests & simpler retrieval to relationship_type_id
681 ([15130](https://github.com/civicrm/civicrm-core/pull/15130))**
4af87c83 682
b838a8ee
AF
683- **[REF] Import - minor cleanup - generate js on the processor class
684 ([15183](https://github.com/civicrm/civicrm-core/pull/15183))**
4af87c83 685
b838a8ee
AF
686- **[Import] Minor cleanup on membership import
687 ([15013](https://github.com/civicrm/civicrm-core/pull/15013))**
4af87c83 688
b838a8ee
AF
689- **[Import][ref] Minor code improvement - move setDefaults to processor
690 ([15189](https://github.com/civicrm/civicrm-core/pull/15189))**
4af87c83 691
b838a8ee
AF
692- **[Ref] [Import] more code cleanup
693 ([15219](https://github.com/civicrm/civicrm-core/pull/15219))**
4af87c83 694
b838a8ee
AF
695- **[Ref] [Import] Final round in the cleanup Load Mapping form epic
696 ([15226](https://github.com/civicrm/civicrm-core/pull/15226))**
4af87c83 697
b838a8ee
AF
698- **[Import] [REF] code cleanup & test on the code to 'guess the intended
699 field from the column name'
700 ([15220](https://github.com/civicrm/civicrm-core/pull/15220))**
701
702- **[REF] [Import] Minor cleanup on status setting.
703 ([15015](https://github.com/civicrm/civicrm-core/pull/15015))**
704
705- **[REF] [Import] extract saved mapping code to parent class
706 ([15017](https://github.com/civicrm/civicrm-core/pull/15017))**
707
708- **[Import] [Cleanup] remove unused parameters
709 ([14981](https://github.com/civicrm/civicrm-core/pull/14981))**
710
711- **[Ref] [Import] move metadata calculations to a trait
712 ([15018](https://github.com/civicrm/civicrm-core/pull/15018))**
713
714- **[Test] [Ref] [Import]Add wrapper class for importProcessor
715 ([15028](https://github.com/civicrm/civicrm-core/pull/15028))**
716
717- **Refactor CRM_Contact_BAO_Relationship::add to autoload missing params from
718 existing record ([15103](https://github.com/civicrm/civicrm-core/pull/15103)
719 and [15123](https://github.com/civicrm/civicrm-core/pull/15123))**
720
721- **[Ref] Extract addInheritedMembership
722 ([15113](https://github.com/civicrm/civicrm-core/pull/15113))**
723
724- **[REF] minor code refactor on import - Pass ProcessorObject into
725 loadSavedMapping & use it to load the formName
726 ([15068](https://github.com/civicrm/civicrm-core/pull/15068))**
727
728- **Minor refactor of 'Pending' parameter for processMembership
729 ([15124](https://github.com/civicrm/civicrm-core/pull/15124))**
730
731- **[REF] Very minor code cleanup on import code with good test cover
732 ([15173](https://github.com/civicrm/civicrm-core/pull/15173))**
733
734- **[REF] Move clone template functionality from api to bao
735 ([15163](https://github.com/civicrm/civicrm-core/pull/15163))**
736
737- **[REF] Extract chunk of code relating to whether to disabled an inherited
738 relationship ([14955](https://github.com/civicrm/civicrm-core/pull/14955))**
739
740- **[REF] Move calculation of js for import fields WITH relationship keys to
741 processor. ([15218](https://github.com/civicrm/civicrm-core/pull/15218))**
742
743- **[Datepicker][REF] Convert mailing date field on mailing search screen…
744 ([15181](https://github.com/civicrm/civicrm-core/pull/15181))**
745
746- **[Date picker][REF] Convert jcalendar date fields to date picker on me…
747 ([15177](https://github.com/civicrm/civicrm-core/pull/15177))**
748
749- **[Ref] Import use process for relationship defaults, add test
750 ([15215](https://github.com/civicrm/civicrm-core/pull/15215))**
751
752- **[REF] extract send receipt in MembershipRenewal fn
753 ([15117](https://github.com/civicrm/civicrm-core/pull/15117))**
754
755- **[NFC] Fix test syntax
756 ([15067](https://github.com/civicrm/civicrm-core/pull/15067))**
757
758- **[NFC] swap instances where double = is used but it should be triple =
759 ([15049](https://github.com/civicrm/civicrm-core/pull/15049))**
760
761- **[NFC] Update Upgrade Template to use short array syntax
762 ([15057](https://github.com/civicrm/civicrm-core/pull/15057))**
763
764- **[NFC] Remove redundant annotation
765 ([15172](https://github.com/civicrm/civicrm-core/pull/15172))**
766
767- **(NFC) assertPhpSupport - Code cleanup
768 ([164](https://github.com/civicrm/civicrm-wordpress/pull/164))**
769
770- **(NFC) civicrm.drush.inc - Cleanup style
771 ([99](https://github.com/civicrm/civicrm-backdrop/pull/99))**
772
773- **[NFC] Update Default report instances that filter on join date to be …
774 ([15247](https://github.com/civicrm/civicrm-core/pull/15247))**
775
776- **[NFC] Add ImportProcessor class & unit tests + extend existing cover
777 ([15072](https://github.com/civicrm/civicrm-core/pull/15072))**
778
779- **[NFC] Update the APIv3 documentation links.
780 ([15077](https://github.com/civicrm/civicrm-core/pull/15077))**
781
782- **(NFC) GenericAssertionsTrait - Improve docblocks
783 ([15071](https://github.com/civicrm/civicrm-core/pull/15071))**
784
785- **[NFC] Update Examples
786 ([15085](https://github.com/civicrm/civicrm-core/pull/15085))**
787
788- **[Test] [NFC] upgrade remaining export tests
789 ([15095](https://github.com/civicrm/civicrm-core/pull/15095))**
790
791- **[Test] Bring to life dormant test
792 ([15150](https://github.com/civicrm/civicrm-core/pull/15150))**
793
794- **[TEST] Enable apiv4 testing for GroupNesting and GroupOrganization entities
795 ([15217](https://github.com/civicrm/civicrm-core/pull/15217))**
796
797- **[Test] Demonstrate the truthiness of CRM_Utils_System::isNull
798 ([15027](https://github.com/civicrm/civicrm-core/pull/15027))**
799
800- **Unit test for custom date parsing
801 ([14988](https://github.com/civicrm/civicrm-core/pull/14988))**
802
803- **[NFC] [Test] dev/core#1098 Add unit test & code comments relating to the
804 slow activity search
805 ([15016](https://github.com/civicrm/civicrm-core/pull/15016))**
806
807- **[Import] [Test] Initial test on loadSavedMapping function.
808 ([15050](https://github.com/civicrm/civicrm-core/pull/15050))**
809
810- **[Test] Tolerance parameter in attachmenttest needs to be one higher for
811 integers ([15069](https://github.com/civicrm/civicrm-core/pull/15069))**
812
813- **[Test] Fix Last_name in CiviUnitTestCase::activityCreate
814 ([15112](https://github.com/civicrm/civicrm-core/pull/15112))**
815
816- **test for PR
817 ([15121](https://github.com/civicrm/civicrm-core/pull/15121))**
4af87c83
AH
818
819## <a name="credits"></a>Credits
820
821This release was developed by the following code authors:
822
b838a8ee
AF
82319ATF77; AGH Strategies - Andrew Hunt; Agileware - Justin Freeman; Andrew
824Thompson; Australian Greens - Seamus Lee; Caltha - Tomasz Pietrzkowski;
825Christian Wach; Circle Interactive - Dave Jenkins, Pradeep Nayak, Reece Benson;
826CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha
827Chaku; Coop SymbioTIC - Mathieu Lutfy; Dave D; Electronic Frontier Foundation -
828Mark Burdett; Florian Kohrt; Greenpeace CEE - Patrick Figel; JMA Consulting -
829Monish Deb; John Kingsnorth; Megaphone Technology Consulting - Jon Goldberg; MJW
830Consulting - Matthew Wire; mmyriam; Onyemenam Ndubuisi; Progressive Technology
831Project - Jamie McClelland; Tadpole Collective - Kevin Cristiano; Wikimedia
832Foundation - Eileen McNaughton
4af87c83
AH
833
834Most authors also reviewed code for this release; in addition, the following
835reviewers contributed their comments:
836
b838a8ee
AF
837AGH Strategies - Alice Frumin; Agileware - Francis Whittle, Pengyi Zhang;
838don-alejandro-z; Fuzion - Jitendra Purohit; iXiam - Luciano Spiegel; JMA
839Consulting - Joe Murray; Nicol Wistreich; Semper IT - Karin Gerritsen; Squiffle
840Consulting - Aidan Saunders;
845002c3
AH
841
842## <a name="feedback"></a>Feedback
843
844These release notes are edited by Alice Frumin and Andrew Hunt. If you'd like
845to provide feedback on them, please log in to https://chat.civicrm.org/civicrm
846and contact `@agh1`.