Skip to content

Latest commit

 

History

History
464 lines (240 loc) · 27.6 KB

5.40.0.md

File metadata and controls

464 lines (240 loc) · 27.6 KB

CiviCRM 5.40.0

Released August 4, 2021

Synopsis

Does this version...?
Fix security vulnerabilities?
Change the database schema?
Alter the API?
Require attention to configuration options?
Fix problems installing or upgrading to a previous version?
Introduce features?
Fix bugs?

Features

Bugs resolved

Core CiviCRM

  • CKEditor - Fix .tpl insertion on every form (20846)

  • Resolve dev/rc#13 by permitting civi.setupui events to be dispatched … (20836)

  • Fix for issue 2685 (20818)

  • SearchKit - Fix reloading a search with an OR group in the WHERE clause (20824)

  • dev/core#2680 Remove rows in the civicrm_contribution_product table t… (20814)

  • AssetBuilderTest - Raise threshold for timeout (20810)

  • Merge forward 5.39 => master (20809)

  • SearchKit - Remove automatic filter from address (20803)

  • 5.39.0 - Final updates (20808)

  • Force cleanup of setting value type "checkboxes" when is empty (20600)

  • dev/core#2659 Move group cleanup to latest release (20756)

  • SearchKit - Add ability to join on multi-select ContactRef fields (20764)

  • Fix BaseIPN test to (mostly) pass invalid financials checks (20785)

  • dev/core#2676 SearchKit - Add LocBlock entity to display Event location data (20746)

  • Fix test set up to user Order api (20780)

  • 5.39 to master (20802)

  • APIv4 - Deprecate passing 'id' to basic actions (20765)

  • Add calling function to deprecatedWarning log message (20719)

  • Fix undefined tpl vars in CiviReport (20797)

  • Unused smarty variable (20796)

  • smarty notices - New case screen - Case.hlp (20795)

  • [Ref] Remove (more) unreachable code from order api (20793)

  • dev/financial#150: civicrm/payment/form url got empty currency argument in backoffice live CC form (18517)

  • [REF] Extract CKEditor into its own core extension (20392)

  • Handle participant payment create in line item (20790)

  • (REF) crmUi - Support onCrmUiSelect for using select2 as a picklist (20789)

  • dev#2861: Prevent duplicate names in mailing labels (20783)

  • CRM_Utils_Array::asColumns() - Add helper to rotate a matrix (from rows to columns) (20788)

  • CRM_Utils_Array - Implement pathUnset() method (20787)

  • ** Clean up code to determine line items for membership batch entry (20779)**

  • Fix undefined indexes in tpls (20781)

  • [REF] Tidy up param transforms (20778)

  • Error when sorting case roles table by end date (20728)

  • Enotice fix Remove references to savedFieldMapping in page 2 of the import (20738)

  • dev/membership#29 Add civicrm_line_item.membership_num_terms (20672)

  • 5.39 (20774)

  • APIv4 - Deprecate Entity::getLinks action (20727)

  • smarty notice - case dashboard when no upcoming/recent cases (20770)

  • dev/core#2115 Move financial acl code out of v3 Contribution create (20769)

  • smarty notice - title is only set for a list of existing report instances (20771)

  • smarty notice - confirm_message is usually irrelevant in report listings (20772)

  • [NFC] Add in unit test to lock in the fix for the is_deleted in where… (20733)

  • Deprecate duplicate getLoggedInContactID() function (20321)

  • Fix invalid defaults for Mailing.update_email_resetdate API (20751)

  • Make Order api easier to use for default price set (20681)

  • [REF] Follow up clean up - remove contribution_mode (20656)

  • SearchKit - use primary_key info instead of assuming 'id' (20763)

  • dev/core#2115 Add test cover for membership type page (20761)

  • Afform - cosmetic fixes in palette panel (20755)

  • dev/core#2115 prep - Remove silly if, silly rename (20762)

  • Remove deprecated function (20760)

  • ** APIv4 - Rename id_field to primary_key and make it an array (20749)**

  • dev/core#27 Move check for phone function to a check (20757)

  • Improve api consistency on custom field creation (20743)

  • [NFC] Update various npm depdencies used only in unit testing (20748)

  • dev/core#2634 [REF] Move membership date calc from v3 api to BAO (20759)

  • [REF] Remove unnecessary variable wrangling in case roles section (20729)

  • Fix undefined tpl vars on contact summary page (20754)

  • Add missing "View Recurring Contribution" link to contribution view (20750)

  • [REF] Add in template guard for not being always set as per html format (20747)

  • APIv4 - add is_current as a pseudo (calculated) field (20586)

  • [NFC] Improve use of return parameters in ContributionPage test class (20648)

  • [NFC] Unit test for 20602 (20745)

  • Fix activity_date_time_relative filter when `preserve_activity_tab_fi… (20602)

  • dev/financial#175 - Unable to remove a currency once added (20627)

  • Support saving more than 25 records in Profile.submit api (20744)

  • [REF] Remove isPayLater from membership batch screen (20396)

  • [REF] Extend testing on membership batch entry & minor cleanup (20394)

  • Fix test to use valid financials (20676)

  • Throw exception rather than fatal (20742)

  • [REF] Fix trying to access array offset from boolean value (20734)

  • APIv4 Explorer: show joins for write actions (20731)

  • 5.39 (20741)

  • Fix possibly undefined custom groupTree tpl variable (20737)

  • Tpl enotice fix (20735)

  • [REF] Alter new Setup process to use CiviCRM's Event Dispatcher (20717)

  • dev/core#542 dev/core#1947 - Show inactive active case role for closed cases (19737)

  • APIv4 - Silently ignore non-permissioned fields instead of throwing exceptions (20724)

  • Add contact-summary-image region (20662)

  • dev/financial#6 Do not include template contributions in reports (20450)

  • APIv4 - Fix same-table joins and remove unused code (20715)

  • Fix bug where only one participant registration is completed (20654)

  • Fix undefined tpl vars on custom field page (20726)

  • Fix often undefined variable $row.class in tpl tables (20725)

  • APIv4 Explorer - Render joins using addJoin function in OOP (20723)

  • APIv4 - Don't assume the identifier field for a table is named 'id' (20707)

  • dev/financial#6 Template contributions on the contact summary (20452)

  • dev/financial#6 Added is template to search screen (20451)

  • ** dev/core#1711 - small translation improvement (20722)**

  • APIv4 Explorer - When joining via EntityBridge, make bridge fields selectable (20721)

  • Replace extension key with description in 'Add New' tab (20720)

  • dev/core#1711 - Display SMS segment count when constructing Mass SMS (20220)

  • Some php warnings on case dashboard (20711)

  • dev/core#2663 - Setup - Consistently handle special characters per URL conventions (20713)

  • Hopefully fix time rollover problem in MessageTemplateTest (20714)

  • Remove deprecated use of format money (20697)

  • Some php warnings on new case (20712)

  • Ensure custom group name does not conflict with existing field (20694)

  • [REF] - Improve efficiency of APIv4 GetInfo (20708)

  • Throw exception when baoName is not found (20696)

  • APIv4 - Remove POC code leftover from early alpha development (20709)

  • dev/core#2656 Add test to demonstrate issue / bug (20631)

  • REF - Get Contact Summary tab counts after calling hook to avoid wasting time (20673)

  • Fix schema support for composite primary keys (20705)

  • APIv4 Explorer - Only apply default limit 25 for "get" action (20698)

  • [NFC] Remove boilerplate comment block from APIv4 classes (20700)

  • APIv4 - Add @since annotation to each entity (20701)

  • 5.39 to master (20703)

  • Fix sorting for drop triggers (20693)

  • dev/core#2647 - Deprecated call to non-static CRM_Financial_Form_BatchTransaction::links() (20691)

  • APIv4 - Allow FK dot notation in create/update/save actions (20677)

  • 5.39 (20690)

  • dev/core#2660 - Remove old menu entry for "New Tag" (20686)

  • Force the right path in github action script (20688)

  • [php8-compact] Allow for CiviCRM to be installed by 3rd parties using… (20625)

  • dev/core#2645 Proposed fix for exporting preferred_mail_format field (20626)

  • Fix undefined tpl vars (20684)

  • Always assign mode to smarty (20664)

  • 5.39 (20683)

  • Extract feeBlock to it's own tpl (20679)

  • [NFC] Github action script to run regen.sh for you (20680)

  • User experience improvement - Remove the confusing mixed terminology used to describe Tags: "Tags (Categories)" and "Tag (Category)" (20268)

  • [NFC] Regenerate ContributeProduct DAO and also fix search_kit instal… (20674)

  • Fix up on invalid test data (20667)

  • Move determination of priceSetID to the internal order class (20669)

  • Fix test to use valid amounts (20668)

  • Deprecate passing in 'null' for tax (20671)

  • Minor tpl simplificaiton, notice reduction (20663)

  • 5.39 to master (20666)

  • Fix undefined tpl variables on contact summary (20659)

  • [php8-compact] Fix APIv4 Group Concat Test by setting dataType to be … (20655)

  • [NFC] Fixes an issue in this unit test where we are trying to do an a… (20652)

  • Improve output triggers when logged to file (20472)

  • Fix Schema calculation of usePrefix to cope with rpow: (20471)

  • [NFC] [Test] Cleanup on membership type test (20649)

  • [NFC/Unit test] - Add a test for getCaseRoles when there's a lot of roles assigned (20657)

  • [REF] Remove always false if (20653)

  • [php8-compact][REF] Fix failing custom group test on php8 by better h… (20616)

  • Add test validation for Membership & participant payments (20621)

  • [php8-compact] Fix Event Form test for php8 by setting totalAmount in… (20623)

  • dev/core#2656 Fix getReferencesToContactTable to ignore non-id references (20639)

  • [NFC] [Test] Remove duplicate cleanup (20647)

  • [NFC] [TEST] cleanup, more use of return in ActivityTest (20633)

  • [NFC] Cleanup on membership test (20636)

  • [NFC] [Test] Remove duplicate cleanup (20637)

  • [NFC] Cleanup on contribution v3 api test (20638)

  • dev/core#2657 trigger pre hook on LineItem delete (20644)

  • 5.39 (20646)

  • Convert Notes to use option_group instead of hardcoded list (20554)

  • Remove unreachable code from admin page (20642)

  • Move upgrade code to correct version (20643)

  • Fixed url (20641)

  • Show smarty E-notices when in debug mode (20640)

  • dev/core#2486 - Add foreign key on civicrm_contribution_product.product_id (20553)

  • [NFC] [TEST] cleanup, more use of return in AddressTest (20635)

  • SearchKit - Allow super admins to disable Search Display access checks (20607)

  • replace unnecessary function call with string literal (20634)

  • Use mysql to set mailing.created_date (20630)

  • [NFC] [Test] Specify return values on get calls (20632)

  • AngularLoader - Emit warning when setModules method is used. (20628)

  • dev/core#1191 [TEST][NFC] Increase setting of return in tests (20622)

  • SearchKit - Add translatable descriptions to entities (20598)

  • Improve CustomGroupTest (20617)

  • 5.39 (20629)

  • dev/core#1191 Try adding a strict return function to getAndCheck (20618)

  • [php8-compact][NFC] Update testGroupClause unit test to work on php8 (20624)

  • mailing#96: Warn on invalid mailing options (20536)

  • [NFC] Afform - Regenerate civix files (20615)

  • [NFC] Fix test setup on a couple of tests to make them pass in php8 (20614)

  • [php8-compact] Fix Array to String in formButtons in CRM_Core_FormTest (20608)

  • [php8-compact] Fix issues with participant message templates causing… (20613)

  • Test cleanup - specify return (20570)

  • 5.39 (20612)

  • APIv4 - Add filter for entity tags (20573)

  • dev/translation#67 - Allow translation of fields which lack an explicit HTML type (20606)

  • [NFC] Fix test failure on MySQL8 because of lack of order in API (20605)

  • [php8-compat] Alternate to the alternate for testOpeningForms (20603)

  • [php8-compact] Fix apiv4 tests in php8 by not incrementing an array (20594)

  • [NFC] - update code comment (20599)

  • [php8-compact] Further test fixes for php8 (20597)

  • Send pcp notification only when the contribution is completed (20523)

  • [php8-compact] Fix failing AuthorizeNetIPN tests on php8 (20596)

  • [php8-compact] Fix failing CRM_Core_InvokeTest on php8 (20595)

  • [php8-compact] Fix Session Test errors in php8 (20593)

  • Fix a few more undefined template vars (20577)

  • [php8-compact] Fix Case Activity Message Template to fix test failure… (20592)

  • Reduce test api calls with no 'return' (20574)

  • [php8-compact] Fix PDF Letter Test by ensuring that all actual DB fi… (20591)

  • SearchKit - Show Pledge as a primary entity (20589)

  • dev/translation#67 - Add APIv4 support for "Translation" entity. (20584)

  • 5.39 (20585)

  • [php8-compact] Add in guards into various templates to fix the CRM_Co… (20579)

  • [php8-compact] Fixes test failures in the CRM_Contribute_Form_Contrib… (20581)

  • [php8-compact] Fix Dashboard Tests by adding in if guards into smarty… (20575)

  • [php8-compact] Add in guards into various templates to fix issues in … (20544)

  • [php8-compact] Add in more protection for unset variables in various … (20546)

  • [php8-compact] Add in protection for unset variables in admin smarty … (20547)

  • 5.39 to master (20576)

  • [php8-compact] Add in guards into common templates to assit with fixi… (20543)

  • 5.39 (20568)

  • Add pseudoconstant to acl_entity_role (20566)

  • Throw exception rather than allow php fail (20565)

  • (dev/core#365) Scheduled Reminders - Add effective start and end date to admin UI (20432)

  • (dev/core#365) Scheduled Reminders - Add effective end and start date, extend unit test (19973)

  • [REF] Follow up fix to fixing note entity tables in views (646)

  • dev/drupal#113 - Include additional civicrm core resources when building a UserProfile (65)

  • Fail gracefully when errors are detected (251)

  • [REF] Follow up fix to fixing note entity tables in views (144)

Miscellany

Credits

This release was developed by the following code authors:

; AGH Strategies - Alice Frumin, Andrew Hunt; Agileware - Francis Whittle, Justin Freeman; akosgarai; Australian Greens - John Twyman; Blackfly Solutions - Alan Dixon; Christian Wach; Circle Interactive - Pradeep Nayak; CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts, Tim Otten; CompuCorp - Debarshi Bhaumik; Dave D; iXiam - Luciano Spiegel; JMA Consulting - Monish Deb, Seamus Lee; Lemniscus - Noah Miller; Lighthouse Consulting and Design - Brian Shaughnessy; Megaphone Technology Consulting - Jon Goldberg; MJW Consulting - Matthew Wire; sadashivdalvi; Skvare - Sunil Pawar; Wikimedia Foundation - Eileen McNaughton

Most authors also reviewed code for this release; in addition, the following reviewers contributed their comments:

Agileware - Justin Freeman; akosgarai; Artful Robot - Rich Lott; Australian Greens - John Twyman; Bob Silvern; Christian Wach; civibot[bot]; CiviCoop - Jaap Jansma, Klaas Eikelboom; civicrm-builder; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Yashodha Chaku; CompuCorp - Debarshi Bhaumik; Coop SymbioTIC - Mathieu Lutfy; Dave D; Freeform Solutions - Herb van den Dool; Fuzion - Jitendra Purohit; iXiam - Luciano Spiegel; JMA Consulting - Joe Murray, Monish Deb, Seamus Lee; Lighthouse Consulting and Design - Brian Shaughnessy; Megaphone Technology Consulting - Jon Goldberg; MJW Consulting - Matthew Wire; Ray Wright; sadashivdalvi; Semper IT - Karin Gerritsen; Skvare - Sunil Pawar; Squiffle Consulting - Aidan Saunders; Tadpole Collective - Kevin Cristiano; Tech To The People - Xavier Dutoit; Third Sector Design - Michael McAndrew; Web Access - Kurund Jalmi; Wikimedia Foundation - Eileen McNaughton

Feedback

These release notes are edited by Alice Frumin and Andrew Hunt. If you'd like to provide feedback on them, please log in to https://chat.civicrm.org/civicrm and contact @agh1.