10.4.15
 
Cerb (10.4.15) is a maintenance update released on May 29, 2024. It includes 11 minor features and fixes from community feedback covering the 10.4 update. You can follow these instructions to upgrade.
Changelog
Added
- [Records/Ticket] On ticket records, added a new mask.merged:search filter for matching tickets based on source masks merged into them. This can be a single mask or an array. Thanks to ChargeOver for the feature request.
Changed
- 
    [Metrics/Data Queries] In metrics.timeseries data queries, added new function:aggregations forfaceted_average,faceted_min,faceted_maxfor gauges. These functions aggregate contemporary samples with different dimensions that aren't specified inby:. For instance, thecerb.tickets.openmetric has dimensions for group/bucket, andfunction:faceted_averagewill return the average number of total open tickets as the sum of the bucket averages, whilefunction:averagereturns a simple average across buckets. Theavg,min, andmaxfunctions now act directly against samples. For instance, a gauge metric that samples the current temperature in various locations would never aggregate those locations into a total temperature; it would use a simple average across all samples for a regional/global average temperature at given times.
- 
    [Automations/Usability] In automations, when using the record.upsert: command, a policy was non-intuitively required for record.upsert:,record.create:, andrecord.update:. Therecord.create:andrecord.update:policies during an upsert are now optional and will otherwise use the same policy asrecord.upsert:(e.g. record type).
- 
    [Automations/Editor/Usability] Improved error reporting in the automation editor. Command errors now include the key path in the script where the error was triggered. 
- 
    [UI/Ajax/UX] When an asynchronous (Ajax) request to the server receives an HTTP 504 (Gateway Timeout) response, a more helpful error code is displayed in the browser. Previously these requests could silently fail. 
Fixed
- 
    [Metrics/Data Queries] Fixed an issue with faceted gauge metrics like cerb.tickets.openwhen using aperiod:ofweek,week-sun,month, oryear. These are expected to aggregate (avg/min/max) the daily totals within the period, but returned a sum of the daily aggregations instead. Thanks to @mryanb for the bug report.
- 
    [Data Queries/Subtotals] Fixed an issue in worklist.subtotals data queries when using by.count:on a worker-based custom field. Usingfieldorfield.idboth returned the ID, when the former should have returned the name. Thanks to @mryanb for the bug report.
- 
    [Automations] Fixed an issue with record.upsert: in automations. Previously, query errors like unknown filters were ignored (e.g. iid:vsid:), which resulted inrecord.create:always triggering whenrecord.update:was expected. Invalid queries now properly return an error.
- 
    [Automations] Fixed an issue with record.search: in automations. Previously, query errors like unknown filters were ignored and zero results were returned. Invalid queries now properly return an error. 
- 
    [Records/Groups] Fixed an issue where group-owned signatures were orphaned when a group was deleted. [#1787] 
Security
- [Security/Dependencies] Updated the Smarty template library from v4.3.4 to v4.5.3 in response to a security advisory.