This is a translation of the original English documentation page. Help us make it better.

Appendix 2. Changes from 4.4 to 5.0

Backward incompatible changes

General

ZBX-18998 added more strict validation for JSON-RPC structure.

action

Changes:
ZBXNEXT-5548 dropped support of def_longdata, def_shortdata, r_longdata, r_shortdata, ack_longdata, ack_shortdata properties.

item, template

Changes:
ZBXNEXT-5596 dropped support of item properties port, snmp_community, snmpv3_authpassphrase, snmpv3_authprotocol, snmpv3_contextname, snmpv3_privpassphrase, snmpv3_privprotocol, snmpv3_securitylevel, snmpv3_securityname and added same properties for host interfaces. Added item type 20 - SNMP agent. Removed item types 1 - SNMPv1 agent, 4 - SNMPv2 agent, 6 - SNMPv3 agent

Other changes and bug fixes

action

Changes:
ZBXNEXT-5548 changed default for default_msg in opmessage object from 0 to 1.

auditlog

Changes:
ZBXNEXT-4584 added a new auditlog API introducing a new method auditlog.get.

event

Changes:
ZBXNEXT-1882 event.acknowledge: added new option in action that allows to unacknowledge event.

host

Bug fixes:
ZBXNEXT-5694 host.get: fixed option selectScreens with count output.
Changes:
ZBXNEXT-5694 host.get: added new option withProblemsSuppressed which return hosts that have suppressed problems (true), suppressed problems (false) or all hosts (null - default).
ZBXNEXT-5694 host.get: added new option severities which returns hosts with given problem severities.
ZBXNEXT-5694 host.get: added new option inheritedTags which returns hosts by tags that are inherited from all linked templates.
ZBXNEXT-5694 host.get: added new option selectInheritedTags which returns inherited tags in inheritedTags propery from all templates and their parents.

host interface

ZBXNEXT-5596 added details property to the relevant host interface methods.
ZBXNEXT-2297 hostinterface.get: new option selectMacros which returns user macros for host prototype.
ZBXNEXT-2297 hostinterface.create, hostinterface.update: added new property macros.

discoveryrule

Changes:
ZBXNEXT-3035 added support of overrides.
ZBXNEXT-5811 added support of preprocessing type value "25".
ZBXNEXT-5879 discoveryrule.get: added new filtering option groupids that allows to retrieve LLD rules of the given host groups.

graphprototype

Changes:
ZBXNEXT-3035 added new property discover.

hostprototype

Changes:
ZBXNEXT-3035 added new property discover.

item

Changes:
ZBXNEXT-5811 added support of preprocessing type value "25".

itemprototype

Changes:
ZBXNEXT-3035 added new property discover.
ZBXNEXT-5811 added support of preprocessing type value "25".

mediatype

Changes:
ZBXNEXT-5548 mediatype.create, mediatype.update: added new property message_templates.
ZBXNEXT-5548 mediatype.get: added new option selectMessageTemplates that returns message templates in the message_templates property.

triggerprototype

Changes:
ZBXNEXT-3035 added new property discover.

user macro

ZBXNEXT-2957 usermacro.create, usermacro.createglobal, usermacro.get, usermacro.update, usermacro.updateglobal: added new property type.
ZBXNEXT-5849 usermacro.get: added filter by value