Appendix 2. Changes from 5.4 to 6.0

Backward incompatible changes

action

Changes:
ZBXNEXT-6755 action.create, action.update: renamed parameter acknowledge_operations to update_operations.
ZBXNEXT-6755 action.get: renamed parameter selectAcknowledgeOperations to selectUpdateOperations.
ZBXNEXT-6920 action.create, action.update: added strict validation of the methods parameters.

audit log

Changes:
ZBXNEXT-6715 Audit log object: dropped support of property note.
ZBXNEXT-6715 Audit log object: dropped support of resourcetype values 2 (Configuration of Zabbix) and 7 (Graph element).
ZBXNEXT-6715 Audit log object: dropped support of action values 5 (Enable) and 6 (Disable).
ZBXNEXT-6715 auditlog.get: dropped support of parameter selectDetails.
ZBXNEXT-6718 Audit log object: dropped support of action value 3 (Login).

host group

Changes:
ZBXNEXT-6868 hostgroup.massupdate: hosts and templates fields are now required.
ZBXNEXT-6868 hostgroup.massadd, hostgroup.massupdate, hostgroup.massremove: added strict validation of the method parameters.

iconmap

Changes:
ZBXNEXT-6914 iconmap.create, iconmap.update: dropped support of the icon mapping object property sortorder.

maintenance

Changes:
ZBXNEXT-6890 maintenance.create, maintenance.update,maintenance.delete: added strict validation of the methods parameters.
ZBXNEXT-6890 maintenance.get,maintenance.update: dropped support for parameter timeperiodid of the timeperiod object.

mediatype

Changes:
ZBXNEXT-6885 mediatype.create, mediatype.update: added strict validation of the methods parameters.

role

Changes:
ZBXNEXT-6787 Action object: dropped support of value manage_services for name property.

service

Changes:
ZBXNEXT-6999 service.get: dropped support for showsla, selectAlarms, selectTimes parameters.
ZBXNEXT-6999 service.getsla: support for the method dropped.
ZBXNEXT-6999 Service object: added uuid, description and created_at properties.
ZBXNEXT-6999 Service object: dropped support for the showsla, goodsla and times properties.
ZBXNEXT-6999 sla.get, sla.create, sla.update, sla.delete, sla.getsli methods added.
ZBXNEXT-6999 service.get: added support for sorting by serviceid, status and created_at.
ZBXNEXT-6999 service.get: added support for slaids parameter; added support for filtering by uuid.
ZBXNEXT-6999 service.create, serevice.update: dropped support for showsla, goodsla and times parameters.
ZBXNEXT-3022 UI element object: dropped support of name value configuration.services.
ZBXNEXT-3022 dropped support of service.adddependencies, service.addtimes, service.deletedependencies, service.deletetimes.
ZBXNEXT-3022 service.create, service.update: dropped support of parameters dependencies and parentid.
ZBXNEXT-3022 service.get: dropped support of parameters selectParent, selectDependencies and selectParentDependencies.
ZBXNEXT-6674 dropped support of property triggerid.
ZBXNEXT-6674 service.get: dropped support of parameter selectTrigger.
ZBXNEXT-6800 Service object: changed status value 0 meaning from OK to Not classified.
ZBXNEXT-2406 service.getsla: removed status and problems properties from response of request with intervals parameter.

template

Changes:
ZBXNEXT-6867 template.create, template.update, template.delete, template.massadd, template.massupdate, template.massremove: added strict validation of the methods parameters.
ZBXNEXT-6867 template.create, template.update, template.massadd, template.massupdate: dropped support of parameter hosts.
ZBXNEXT-6867 template.massremove: dropped support of parameter hostids.

trigger

Changes:
ZBXNEXT-6867 trigger.adddependencies, trigger.deletedependencies: dropped the ability to edit the dependencies of inherited triggers.

Other changes and bug fixes

action

Changes:
ZBXNEXT-6755 added support of conditiontype values 27 (Service) and 28 (Service name).
ZBXNEXT-6250 action.get, action.create, action.update: added new property notify_if_canceled.

audit log

Changes:
ZBXNEXT-6999 Added support for sla resource.
ZBXNEXT-6715 Audit log object: added support of properties username, recordsetid, details.
ZBXNEXT-6718 Audit log object: added support of action values 8 (Login), 9 (Failed login) and 10 (History clear).

authentication

Changes:
ZBXNEXT-4029 added new password policy fields passwd_min_length and passwd_check_rules.

dashboard

Changes:
ZBXNEXT-6999 Added support for SLA and Service field types.
ZBXNEXT-6966 added support of new widget type item.

history

Changes:
ZBXNEXT-6714 added new method history.clear.

housekeeping

Changes:
ZBXNEXT-6755 added support of property hk_events_service.

item

Changes:
ZBXNEXT-7049 item.get, item.create, item.update: added the third parameter to the Prometheus pattern preprocessing step. The second parameter will now determine an aggregation method: value, label, function. The third parameter will now contain Prometheus output for the aggregation method label or an aggregation function for the aggregation method function.

item prototype

Changes:
ZBXNEXT-7049 itemprototype.get, itemprototype.create, itemprototype.update: added the third parameter to the Prometheus pattern preprocessing step. The second parameter will now determine an aggregation method: value, label, function. The third parameter will now contain Prometheus output for the aggregation method label or an aggregation function for the aggregation method function.

maintenance

Changes:
ZBXNEXT-6890 maintenance.create, maintenance.update: the parameter groupids is now deprecated. Use groups instead.
ZBXNEXT-6890 maintenance.create, maintenance.update: the parameter hostids is now deprecated. Use hosts instead.
ZBXNEXT-6890 maintenance.create, maintenance.update: changed the type of parameters groups, hosts, timeperiods and tags from array to object/array.

mediatype

Changes:
ZBXNEXT-6755 message template object: added support of conditiontype value 4 (event created on service status update).

proxy

Changes:
ZBXNEXT-6889 proxy.create, proxy.update: dropped support of interface.interfaceid and interface.hostid properties.

regexp

Changes:
ZBXNEXT-6717 added regexp.get, regexp.create, regexp.update and regexp.delete API.

role

Changes:
ZBXNEXT-3022 Action object: added support of name value manage_services.
ZBXNEXT-6787 Role rules object: added support of new properties services.read.mode, services.read.list, services.read.tag, services.write.mode, services.write.list and services.write.tag.

service

Changes:
ZBXNEXT-3022 service.create, service.update: added support of parameters children, parents and tags.
ZBXNEXT-3022 service.get: added support of parameters evaltype, tags, selectChildren, selectParents, selectTags.
ZBXNEXT-6674 service.create, service.update: added support of parameter problem_tags.
ZBXNEXT-3022 service.get: added support of parameters problem_tags, without_problem_tags and selectProblemTags.
ZBXNEXT-6800 Service object: added support of properties weight, propagation_rule and propagation_value.
ZBXNEXT-6800 Service object: added support of status value -1 (OK).
ZBXNEXT-6800 service.create, service.update: added support of parameter status_rules.
ZBXNEXT-6800 service.get: added support of parameter selectStatusRules.
ZBXNEXT-6800 service.get: added support of count for parameter selectAlarms.
ZBXNEXT-6787 Service object: added new property readonly.
ZBXNEXT-2406 service.get: added support of parameters deep_parentids and selectProblemEvents.

settings

Changes:
ZBXNEXT-6715 settings.get, settings.update: added support of parameter auditlog_enabled.
ZBXNEXT-6945 settings.get, settings.update: added support of parameters geomaps_tile_provider, geomaps_tile_url, geomaps_max_zoom and geomaps_attribution.

templatedashboard

Changes:
ZBXNEXT-6966 added support of new widget type item.

user

Changes:
ZBXNEXT-4029 user.create and user.update: implemented password strength validation according the password policy.
ZBXNEXT-6718 added new method user.unblock.

usergroup

Changes:
ZBXNEXT-6866 usergroup.create, usergroup.update: userids parameter is now deprecated. Use users instead.