[comment]: # ({402e95c5-402e95c5})
# Appendix 2. Changes from 5.4 to 6.0

[comment]: # ({/402e95c5-402e95c5})

[comment]: # ({31b2151e-31b2151e})
### Backward incompatible changes

[comment]: # ({/31b2151e-31b2151e})

[comment]: # ({d4b7f32e-cc8baede})
#### action

Changes:<br>
[ZBXNEXT-6920](https://support.zabbix.com/browse/ZBXNEXT-6920) `action.create`, `action.update`: added strict validation of the methods parameters.<br>
[ZBXNEXT-6755](https://support.zabbix.com/browse/ZBXNEXT-6755) `action.create`, `action.update`: renamed parameter `acknowledge_operations` to `update_operations`.<br>
[ZBXNEXT-6755](https://support.zabbix.com/browse/ZBXNEXT-6755) `action.get`: renamed parameter `selectAcknowledgeOperations` to `selectUpdateOperations`.

[comment]: # ({/d4b7f32e-cc8baede})

[comment]: # ({4d2c54f4-9f13b7f1})
#### auditlog

Changes:<br>
[ZBXNEXT-6715](https://support.zabbix.com/browse/ZBXNEXT-6715) dropped support of property `note`.<br>
[ZBXNEXT-6715](https://support.zabbix.com/browse/ZBXNEXT-6715) dropped support of `resourcetype` values *(2 - Configuration of Zabbix, 7 - Graph element)*.<br>
[ZBXNEXT-6715](https://support.zabbix.com/browse/ZBXNEXT-6715) dropped support of `action` values *(5 - Enable, 6 - Disable)*.<br>
[ZBXNEXT-6718](https://support.zabbix.com/browse/ZBXNEXT-6718) dropped support of `action` value *(3 - Login)*.<br>
[ZBXNEXT-6715](https://support.zabbix.com/browse/ZBXNEXT-6715) `auditlog.get`: dropped support of parameter `selectDetails`.

[comment]: # ({/4d2c54f4-9f13b7f1})

[comment]: # ({5f0c0c48-557a8094})
#### host group

Changes:<br>
[ZBXNEXT-6868](https://support.zabbix.com/browse/ZBXNEXT-6868) `hostgroup.massupdate`: `hosts` and `templates` fields are now required.<br>
[ZBXNEXT-6868](https://support.zabbix.com/browse/ZBXNEXT-6868) `hostgroup.massadd`, `hostgroup.massupdate`, `hostgroup.massremove`: added strict validation of the method parameters.

[comment]: # ({/5f0c0c48-557a8094})

[comment]: # ({b107fa89-01})
#### host prototype

Changes:<br>
[ZBXNEXT-6959](https://support.zabbix.com/browse/ZBXNEXT-6959) `hostprototype.get`: dropped support of properties `group_prototypeid`, `hostid`, `templateid` of group link and group prototype API objects.<br>
[ZBXNEXT-6959](https://support.zabbix.com/browse/ZBXNEXT-6959) `hostprototype.update`: dropped the ability to modify the readonly fields `host`, `name`, `custom_interfaces`, `interfaces`, `groupLinks`, `groupPrototypes`, `templates`, `tags`, `macros`, `inventory_mode` of inherited host prototypes.<br>
[ZBXNEXT-6959](https://support.zabbix.com/browse/ZBXNEXT-6959) `hostprototype.create`, `hostprototype.update`, `hostprototype.delete`: added strict validation of the method parameters.

[comment]: # ({/b107fa89-01})

[comment]: # ({8fcebc4c-21320925})
#### iconmap

Changes:<br>
[ZBXNEXT-6914](https://support.zabbix.com/browse/ZBXNEXT-6914) `iconmap.create`, `iconmap.update`: dropped support of the icon mapping object property `sortorder`.

[comment]: # ({/8fcebc4c-21320925})

[comment]: # ({aa4f8b92-fec3bad5})
#### maintenance

Changes:<br>
[ZBXNEXT-6890](https://support.zabbix.com/browse/ZBXNEXT-6890) `maintenance.create`, `maintenance.update`,`maintenance.delete`: added strict validation of the methods parameters.\
[ZBXNEXT-6890](https://support.zabbix.com/browse/ZBXNEXT-6890) `maintenance.get`,`maintenance.update`: dropped support for parameter `timeperiodid` of the timeperiod object.

[comment]: # ({/aa4f8b92-fec3bad5})

[comment]: # ({25f62dee-bd7e0bdb})
#### mediatype

Changes:<br>
[ZBXNEXT-6885](https://support.zabbix.com/browse/ZBXNEXT-6885) `mediatype.create`, `mediatype.update`: added strict validation of the methods parameters.

[comment]: # ({/25f62dee-bd7e0bdb})

[comment]: # ({4e575305-9a279a07})
#### role

Changes:<br>
[ZBXNEXT-6787](https://support.zabbix.com/browse/ZBXNEXT-6787) dropped support of value `manage_services` for `name` property in `action` object.<br>
[ZBXNEXT-3022](https://support.zabbix.com/browse/ZBXNEXT-3022) dropped support of value `configuration.services` for `name` property in UI object.

[comment]: # ({/4e575305-9a279a07})

[comment]: # ({240d2ca6-36a2d601})
#### service

Changes:<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) added `uuid`, `description` and `created_at` properties.<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) dropped support for the `showsla`, `goodsla` and `times` properties.<br>
[ZBXNEXT-6800](https://support.zabbix.com/browse/ZBXNEXT-6800) changed `status` value "0" meaning from "OK" to "Not classified".<br>
[ZBXNEXT-3022](https://support.zabbix.com/browse/ZBXNEXT-3022) dropped support of `service.adddependencies`, `service.addtimes`, `service.deletedependencies`, `service.deletetimes`.<br>
[ZBXNEXT-6674](https://support.zabbix.com/browse/ZBXNEXT-6674) dropped support of property `triggerid`.

[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) `service.get`: dropped support for `showsla`, `selectAlarms`, `selectTimes` parameters.<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) `service.getsla`: dropped support for the method.<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) `sla.get`, `sla.create`, `sla.update`, `sla.delete`, `sla.getsli` methods added.<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) `service.get`: added support for sorting by `serviceid`, `status` and `created_at`.<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) `service.get`: added support for `slaids` parameter; added support for filtering by `uuid`.<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) `service.create`, `service.update`: dropped support for `showsla`, `goodsla` and `times` parameters.<br>
[ZBXNEXT-2406](https://support.zabbix.com/browse/ZBXNEXT-2406) `service.getsla`: removed `status` and `problems` properties from response of request with `intervals` parameter.<br>
[ZBXNEXT-3022](https://support.zabbix.com/browse/ZBXNEXT-3022) `service.create`, `service.update`: dropped support of parameters `dependencies` and `parentid`.<br>
[ZBXNEXT-3022](https://support.zabbix.com/browse/ZBXNEXT-3022) `service.get`: dropped support of parameters `selectParent`, `selectDependencies` and `selectParentDependencies`.<br>
[ZBXNEXT-6674](https://support.zabbix.com/browse/ZBXNEXT-6674) `service.get`: dropped support of parameter `selectTrigger`.

[comment]: # ({/240d2ca6-36a2d601})

[comment]: # ({c2165017-337a482a})

#### template

Changes:<br>
[ZBXNEXT-6867](https://support.zabbix.com/browse/ZBXNEXT-6867) `template.create`, `template.update`, `template.delete`, `template.massadd`, `template.massupdate`, `template.massremove`: added strict validation of the methods parameters.<br>
[ZBXNEXT-6867](https://support.zabbix.com/browse/ZBXNEXT-6867) `template.create`, `template.update`, `template.massadd`, `template.massupdate`: dropped support of parameter `hosts`.<br>
[ZBXNEXT-6867](https://support.zabbix.com/browse/ZBXNEXT-6867) `template.massremove`: dropped support of parameter `hostids`.

[comment]: # ({/c2165017-337a482a})

[comment]: # ({654bb3ff-351260db})
#### trigger

Changes:<br>
[ZBXNEXT-6867](https://support.zabbix.com/browse/ZBXNEXT-6867) `trigger.adddependencies`, `trigger.deletedependencies`: dropped the ability to edit the dependencies of inherited triggers.

[comment]: # ({/654bb3ff-351260db})

[comment]: # ({5b2db1cc-5b2db1cc})
### Other changes and bug fixes

[comment]: # ({/5b2db1cc-5b2db1cc})

[comment]: # ({d2969397-75116669})
#### action

Changes:<br>
[ZBXNEXT-6755](https://support.zabbix.com/browse/ZBXNEXT-6755) added new `conditiontype` values *(27 - Service, 28 - Service name)*.<br>
[ZBXNEXT-6250](https://support.zabbix.com/browse/ZBXNEXT-6250) `action.get`, `action.create`, `action.update`: added new property
`notify_if_canceled`.

[comment]: # ({/d2969397-75116669})

[comment]: # ({2388c1f8-c868fc2e})
#### auditlog
Changes:<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) added new `resourcetype` *(48 - SLA)*.<br>
[ZBXNEXT-6923](https://support.zabbix.com/browse/ZBXNEXT-6923) added new `resourcetype` *(47 - High availability node)*.<br>
[ZBXNEXT-6718](https://support.zabbix.com/browse/ZBXNEXT-6718) added support of `action` values *(8 - Login, 9 - Failed login, 10 - History clear)*.<br>
[ZBXNEXT-6715](https://support.zabbix.com/browse/ZBXNEXT-6715) added support of properties: `username`, `recordsetid`, `details`.

[comment]: # ({/2388c1f8-c868fc2e})

[comment]: # ({6039ce0d-2d3f8080})
#### authentication

Changes:<br>
[ZBXNEXT-4029](https://support.zabbix.com/browse/ZBXNEXT-4029) added new password policy fields `passwd_min_length` and `passwd_check_rules`.

[comment]: # ({/6039ce0d-2d3f8080})

[comment]: # ({e545656c-16cd9a71})
#### dashboard
Changes:<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) added new widget type `slareport` and widget field types *(9 - Service, 10 - SLA)*.<br>
[ZBXNEXT-6966](https://support.zabbix.com/browse/ZBXNEXT-6966) added new widget type `item`.

[comment]: # ({/e545656c-16cd9a71})

[comment]: # ({74fe9397-b3b51d85})
#### history

Changes:<br>
[ZBXNEXT-6714](https://support.zabbix.com/browse/ZBXNEXT-6714) added new API method `history.clear`.

[comment]: # ({/74fe9397-b3b51d85})

[comment]: # ({a03fc377-3ad70fa0})
#### housekeeping

Changes:<br>
[ZBXNEXT-6755](https://support.zabbix.com/browse/ZBXNEXT-6755) added support of property `hk_events_service`.

[comment]: # ({/a03fc377-3ad70fa0})

[comment]: # ({db7ae037-12afe833})
#### item

Changes:<br>
[ZBXNEXT-7049](https://support.zabbix.com/browse/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`.

[comment]: # ({/db7ae037-12afe833})

[comment]: # ({37d04bf7-5de08e0e})
#### item prototype

Changes:<br>
[ZBXNEXT-7049](https://support.zabbix.com/browse/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`.

[comment]: # ({/37d04bf7-5de08e0e})

[comment]: # ({b0ee34cb-d6698491})
#### maintenance

Changes:<br>
[ZBXNEXT-6890](https://support.zabbix.com/browse/ZBXNEXT-6890) `maintenance.create`, `maintenance.update`: the parameter `groupids` is now deprecated. Use `groups` instead.<br>
[ZBXNEXT-6890](https://support.zabbix.com/browse/ZBXNEXT-6890) `maintenance.create`, `maintenance.update`: the parameter `hostids` is now deprecated. Use `hosts` instead.<br>
[ZBXNEXT-6890](https://support.zabbix.com/browse/ZBXNEXT-6890) `maintenance.create`, `maintenance.update`: changed the type of parameters `groups`, `hosts`, `timeperiods` and `tags` from `array` to `object/array`.

[comment]: # ({/b0ee34cb-d6698491})

[comment]: # ({e777e216-0a651238})
#### mediatype

Changes:<br>
[ZBXNEXT-6755](https://support.zabbix.com/browse/ZBXNEXT-6755) message template object: added support of `conditiontype` value: 4 - *(event created on service status update)*.

[comment]: # ({/e777e216-0a651238})

[comment]: # ({f0c57630-bb09f3ed})
#### proxy

Changes:<br>
[ZBXNEXT-6889](https://support.zabbix.com/browse/ZBXNEXT-6889) `proxy.create`, `proxy.update`: dropped support of `interface.interfaceid` and `interface.hostid` properties.

[comment]: # ({/f0c57630-bb09f3ed})

[comment]: # ({492ebfa8-c455b580})
#### regexp

Changes:<br>
[ZBXNEXT-6717](https://support.zabbix.com/browse/ZBXNEXT-6717) added `regexp.get`, `regexp.create`, `regexp.update` and `regexp.delete` API.

[comment]: # ({/492ebfa8-c455b580})

[comment]: # ({f22bb467-606378b1})
#### role

Changes:<br>
[ZBXNEXT-6787](https://support.zabbix.com/browse/ZBXNEXT-6787) added support of new properties `services.read.mode`, `services.read.list`, `services.read.tag`, `services.write.mode`, `services.write.list` and `services.write.tag`.<br>
[ZBXNEXT-3022](https://support.zabbix.com/browse/ZBXNEXT-3022) added support of value `manage_services` for `name` property in `action` object.<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) added support of value `manage_sla` for `name` property in `action` object.

[comment]: # ({/f22bb467-606378b1})

[comment]: # ({941313b4-72cd06c4})
#### service

Changes:<br>
[ZBXNEXT-6787](https://support.zabbix.com/browse/ZBXNEXT-6787) added new property `readonly`.<br>
[ZBXNEXT-6800](https://support.zabbix.com/browse/ZBXNEXT-6800) added support of properties `weight`, `propagation_rule` and `propagation_value`.<br>
[ZBXNEXT-6800](https://support.zabbix.com/browse/ZBXNEXT-6800) added support of `status` value *(-1 - OK)*.<br>
[ZBXNEXT-2406](https://support.zabbix.com/browse/ZBXNEXT-2406) `service.get`: added support of parameters `deep_parentids` and `selectProblemEvents`.<br>
[ZBXNEXT-6800](https://support.zabbix.com/browse/ZBXNEXT-6800) `service.create`, `service.update`: added support of parameter
`status_rules`.<br>
[ZBXNEXT-6800](https://support.zabbix.com/browse/ZBXNEXT-6800) `service.get`: added support of parameter `selectStatusRules`.<br>
[ZBXNEXT-6800](https://support.zabbix.com/browse/ZBXNEXT-6800) `service.get`: added support of `count` for parameter `selectAlarms`.<br>
[ZBXNEXT-3022](https://support.zabbix.com/browse/ZBXNEXT-3022) `service.create`, `service.update`: added support of parameters `children`, `parents` and `tags`.<br>
[ZBXNEXT-3022](https://support.zabbix.com/browse/ZBXNEXT-3022) `service.get`: added support of parameters `evaltype`, `tags`, `selectChildren`, `selectParents`, `selectTags`.<br>
[ZBXNEXT-3022](https://support.zabbix.com/browse/ZBXNEXT-3022) `service.get`: added support of parameters `problem_tags`,
`without_problem_tags` and `selectProblemTags`.<br>
[ZBXNEXT-6674](https://support.zabbix.com/browse/ZBXNEXT-6674) `service.create`, `service.update`: added support of parameter
`problem_tags`.

[comment]: # ({/941313b4-72cd06c4})

[comment]: # ({e5e95d22-4a2a2476})
#### settings

Changes:<br>
[ZBXNEXT-6945](https://support.zabbix.com/browse/ZBXNEXT-6945) `settings.get`, `settings.update`: added support of parameters `geomaps_tile_provider`, `geomaps_tile_url`, `geomaps_max_zoom` and `geomaps_attribution`.<br>
[ZBXNEXT-6715](https://support.zabbix.com/browse/ZBXNEXT-6715) `settings.get`, `settings.update`: added support of parameter `auditlog_enabled`.

[comment]: # ({/e5e95d22-4a2a2476})

[comment]: # ({1a0ea7fc-e9fad123})
#### sla
Changes:<br>
[ZBXNEXT-6999](https://support.zabbix.com/browse/ZBXNEXT-6999) added new API `sla` with methods: `sla.create`, `sla.delete`, `sla.get`, `sla.getsli`, `sla.update`.

[comment]: # ({/1a0ea7fc-e9fad123})

[comment]: # ({3171184f-fc7038c4})
#### templatedashboard
Changes:<br>
[ZBXNEXT-6966](https://support.zabbix.com/browse/ZBXNEXT-6966) added support of new widget type `item`.

[comment]: # ({/3171184f-fc7038c4})

[comment]: # ({e9d60120-86a00e40})
#### user

Changes:<br>
[ZBXNEXT-6718](https://support.zabbix.com/browse/ZBXNEXT-6718) added new method `user.unblock`.<br>
[ZBXNEXT-4029](https://support.zabbix.com/browse/ZBXNEXT-4029) `user.create`, `user.update`: implemented password strength validation according the password policy.

[comment]: # ({/e9d60120-86a00e40})

[comment]: # ({2f5eb0db-5b47f8b9})
#### usergroup

Changes:<br>
[ZBXNEXT-6866](https://support.zabbix.com/browse/ZBXNEXT-6866) `usergroup.create`, `usergroup.update`: `userids` parameter is now deprecated. Use `users` instead.

[comment]: # ({/2f5eb0db-5b47f8b9})
