Changelog - CRM 2.5
The format is based on Keep a Changelog and this project adheres to Semantic Versioning. Instead of change type headers, we use module names.
2.5.0 - 2023-04-21
- Added support for maximum end date configurable via HTML attributes of inputs using flatpickr. remp/crm#2805
- IMPORTANT: Changed primary key from int to bigint for api_logs table (README). remp/crm#2591
- Fixed data-integrity issue for renewals which were stopped by system (multiple failures) but Apple was still able to charge them later. remp/crm#2807
- IMPORTANT: Changed primary key from int to bigint for audit_logs table (README). remp/crm#2591
- Fixed
Repository::markAuditLogsForDelete
to call soft delete only if auditLogRepository
is defined. remp/helpdesk#1819
- Fixed logical bug in FamilyModule’s NewSubscription handler. remp/helpdesk#1817
- IMPORTANT: Fixed invoice’s issued date (column
invoice.created_date
) to delivery date of pre-generated invoice number. remp/crm#2836
- This change doesn’t affect instances with disabled config
generate_invoice_number_for_paid_payment
(default state).
- DEPRECATED: Parameter
$invoiceNumber
of method InvoicesRepository::add()
is deprecated. remp/crm#2775 & remp/crm#2804
- Set invoice number to payment before adding invoice (property
$payment->invoice_number_id
).
- Added automatic invoice generation for all invoiceable payments of user after invoicing settings of user were changed. remp/crm#2774
- Triggered when admin or user change user’s invoice flags (either sets
user.invoice = 1
and/or disable_auto_invoice = 0
).
- Fixed missing unset
$_GET
parameters after completing purchase in MailProcessor
. remp/crm#1766
- Fixed
copyPayment
method to properly copy all items of subscription type in the case of divided items and same total amount. remp/helpdesk#1842
- Changed admin filter collapsing rules to improve UX. remp2020/crm-users-module#17
- BREAKING: Changed tracking from Universal Analytics to Google Analytics 4.
- Removed
ga()
calls and added data layer events.
- Include Google Tag Manager in your page header code (
/admin/config-admin/
-> Shop page) to process data layer.
- Fixed disabling of validation of billing address in checkout, previously billing address was validated even if it was not processed. remp/heldpdesk#1825
- Fixed deprecation warning when searching products by tags (search string was empty and
str_replace
complained). remp/crm#2831
- Fixed checkout of empty cart (eg. products were removed in other tab). remp/crm#2829
- BREAKING: Changed tracking from Universal Analytics to Google Analytics 4.
- Removed
ga()
calls and added data layer events.
- Include Google Tag Manager in your page header code (
/admin/config-admin/
-> Application page) to process data layer.
- BREAKING: Changed front-end implementation of
MailSettings
module from Nette to Vue to speed up UX. remp/crm#2723
- The change avoids un-necessary queries to Mailer API while re-rendering.
- In case you programmatically changed
MailSettings
template, make sure you adjust to the new implementation.
- BREAKING: Removed API Client
unSubscribeUserVariant
method, since it has no support in Mailer. remp/crm#2723
- Method
MailUserSubscriptionsRepository#unSubscribeUserVariant
calling the API function was also removed.
- Added
includeVariantsData
parameter to all methods of MailTypesRepository
, which allows to return more data (e.g. code) about type’s variants. remp/crm#2723
- Added
isUserSubscribed
method in MailUserSubscriptionsRepository
, supporting mail_type variant ID parameter. remp/crm#2723
- Added label for default sales funnel (set in CRM admin config) to list and detail page of funnels. remp/crm#2830
- Added migration to change primary key of
scenarios_jobs
table to bigint. remp/crm#2591
- Fixed possible syntax error in
segment:actualize_counts
command if all internal recalculation locks expired before the execution of the command. remp/crm#2808
- BREAKING: Changed how parameters
start_time
and end_time
of method SubscriptionsRepository::add()
and properties fixed_start
and fixed_end
of subscription type affect start and end of subscription. remp/crm#2550
- The start datetime of the subscription is set to:
- Method argument
start_time
if provided.
- Subscription type’s property
fixed_start
if start_time
is not provided and fixed_start
is bigger than current datetime.
- Result of subscription type extender’s method
ExtensionInterface::getDate()
if start_time
and fixed_start
are not set.
- The end datetime of the subscription is set to:
- Method argument
end_time
if provided.
- Subscription type’s property
fixed_end
if end_time
is not provided and fixed_end
is bigger than final start datetime.
- Result of subscription type length’s method
LengthMethodInterface::getEndTime()
if end_time
and fixed_end
are not set.
- If final end datetime is before final start datetime, end datetime is set to start datetime (subscription cannot end before start).
- Changed
FixDaysLengthMethod
to not handle subscription type’s property fixed_end
. remp/crm#2550
- Handling of subscription type’s property
fixed_end
was moved into SubscriptionsRepository::add()
(fixed_start
was already there).
FixDaysLengthMethod
now calculates end of subscription only from length.
- Fixed use of final const, which is not compatible with still supported PHP 8.0.
- Changed admin filter collapsing rules to improve UX. remp2020/crm-users-module#17
- Changed admin filter collapsing rules to improve UX. remp2020/crm-users-module#17
- Added modification information of user meta in the user’s detail. remp2020/crm-users-module#18
- Fixed possibly incorrectly named ACL resource if it contained words render, action, or signal. remp/crm#2841