manual:api:changes_2.2_-_2.4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

manual:api:changes_2.2_-_2.4 [2018/12/25 16:25]
manual:api:changes_2.2_-_2.4 [2014/12/19 08:21] (current)
oleg.egorov [map] Added ZBX-8950
Line 1: Line 1:
 +===== Appendix 2. Changes from 2.2 to 2.4 =====
 +
 +==== Backward incompatible changes =====
 +
 +=== General ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-1343|ZBXNEXT-1343]] dropped support of all node-related parameters \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2017|ZBXNEXT-2017]] dropped support of output "​refer"​ for all get methods \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2017|ZBXNEXT-2017]] changed the default value of the "​output"​ parameter to "​extend"​
 +
 +=== action ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-1133|ZBXNEXT-1133]] replaced the conditions array with the action filter object \\
 +
 +=== alert ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] alert.get: removed the deprecated triggerids parameter \\
 +
 +=== apiinfo ===
 + 
 +[[https://​support.zabbix.com/​browse/​ZBX-7781|ZBX-7781]] apiinfo.version:​ calling the method with the "​auth"​ parameter will now trigger an error \\
 +
 +=== discoveryrule ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-581|ZBXNEXT-581]] changed the "​filter"​ property to contain a filter object instead of a string
 +
 +=== event ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] event.get: removed the deprecated selectTriggers,​ selectItems and triggerids parameters \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] event.get: removed the deprecated object value for the sortfield parameter \\
 +
 +=== host ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] host.delete:​ passing array of objects is no longer supported, only array of IDs \\
 +
 +=== httptest ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] dropped support of the deprecated webcheck alias \\ 
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] removed the deprecated HTTP test macros property \\ 
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] removed the deprecated HTTP test step webstepid property \\
 +
 +=== image ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBX-8118|ZBX-8118]] image.update:​ removed possibility to change image type \\
 +
 +=== proxy ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] proxy.delete:​ passing array of objects is no longer supported, only array of IDs \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] proxy.get: removed the deprecated selectInterfaces parameter \\
 +
 +=== trigger ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] removed the deprecated value_flag property \\
 +
 +=== user ===
 +
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] user.authenticate:​ removed deprecated method \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7345|ZBX-7345]] user.delete:​ passing array of objects is no longer supported, only array of IDs \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7781|ZBX-7781]] user.login: calling the method with the "​auth"​ parameter will now trigger an error \\
 +
 +==== Other changes and bug fixes ====
 +
 +=== General ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7981|ZBX-7981]] all of the "​exists"​ methods have been deprecated \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2398|ZBXNEXT-2398]] all of the "​getObjects"​ methods have been deprecated \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2398|ZBXNEXT-2398]] all of the "​expandData"​ parameters have been deprecated \\
 +
 +
 +=== application ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2398|ZBXNEXT-2398]] application.get:​ added "​selectHost"​ parameter; the "​selectsHosts"​ parameter has been deprecated \\
 +
 +=== configuration ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-219|ZBXNEXT-219]] configuration.import:​ added parameter "​deleteMissing"​ for parameters "​applications",​ "​items",​ "​discoveryRules",​ "​triggers",​ "​graphs"​ and "​templateScreens"​ \\
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-219|ZBXNEXT-219]] configuration.import:​ fixed "​createMissing"​ parameter for applications \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8216|ZBX-8216]] configuration.import:​ fixed bug importing multiple screens \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8791|ZBX-8791]] configuration.import:​ fixed bug when importing maps when linked elements have linked triggers \\
 +
 +=== discoveryrule ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-581|ZBXNEXT-581]] discoveryrule.get:​ implemented the "​selectFilter"​ parameter \\
 +
 +=== drule ===
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8301|ZBX-8301]] restricted "​unique"​ flag in checks to SNMP, Zabbix agent and IP checks \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8430|ZBX-8430]] added cascade deletion of action condition when deleting connected checks
 +=== graph ===
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7949|ZBX-7949]] fixed child graph name validation to case be case sensitive \\
 +
 +=== graphprototype ===
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7949|ZBX-7949]] fixed child graph prototype name validation to case be case sensitive \\
 +
 +=== host ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2117|ZBXNEXT-2117]] implemented the "​description"​ property \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2123|ZBXNEXT-2123]] host.get: implemented the "​searchInventory"​ parameter \\
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-4772|ZBX-4772]] fixed status validation \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7981|ZBX-7981]] host.massupdate:​ fixed validation when renaming host to an existing template \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8530|ZBX-8530]] host.update,​ host.massupdate:​ fixed order in which template linking and interface updates are done \\
 +
 +=== hostgroup ===
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7981|ZBX-7981]] hostgroup.create:​ fixed duplicate name validation \\
 +[[https://​support.zabbix.com/​browse/​ZBX-5567|ZBX-5567]] hostgroup.get:​ removed confusing parameter "​not_proxy_hosts"​ \\
 +
 +=== hostinterface ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2301|ZBXNEXT-2301]] implemented the "​bulk"​ property \\
 +
 +=== httptest ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-282|ZBXNEXT-282]] implemented web scenario "​headers",​ "​verify_peer",​ "​verify_host",​ "​ssl_cert_file",​ "​ssl_key_file"​ and "​ssl_key_password"​ properties \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-282|ZBXNEXT-282]] implemented web scenario step "​follow_redirects",​ "​retrieve_mode"​ and "​headers"​ properties \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-282|ZBXNEXT-282]] increased the length of web scenario step "​url"​ property to 2048 symbols \\
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8194|ZBX-8194]] fixed SQL errors generated by missing hosts and duplicate web scenario names, and added missing web step validation \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8817|ZBX-8817]] httptest.delete:​ fixed incorrectly generated audit log message with quatation marks instead or brackets \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8195|ZBX-8195]] httptest.create,​ httptest.update:​ fixed step name and URL validation \\
 +
 +=== image ===
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8132|ZBX-8132]] image.get: fixed not properly returning all images for sysmaps \\
 +
 +
 +=== item ===
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8568|ZBX-8568]] item.delete:​ fixed to also delete trigger prototypes using deleted items\\
 +
 +=== itemprototype ===
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8568|ZBX-8568]] itemprototype.delete:​ fixed to also delete trigger prototypes using deleted item prototypes\\
 +
 +=== maintenance ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-1910|ZBXNEXT-1910]] maintenance.get:​ allowed sorting by the "​active_till"​ and "​active_since"​ properties. \\
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7981|ZBX-7981]] fixed duplicate name validation \\
 +=== map ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2124|ZBXNEXT-2124]] implemented the "​application"​ map element filter \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8950|ZBX-8950]] map.get: fixed "​selecIconMap"​ option \\
 +=== proxy ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2117|ZBXNEXT-2117]] implemented the "​description"​ property \\
 +
 +
 +=== screenitem ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-1583|ZBXNEXT-1583]] implemented two new "​resourcetype"​ property values: 19 - "​simple graph prototype",​ 20 - "graph prototype"​ \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-1583|ZBXNEXT-1583]] implemented new property "​max_columns"​ with interger value range 1-100 \\
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7921|ZBX-7921]] changed validation of colspan and rowspan values to be bigger than 0 \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8764|ZBX-8764]] screenitem.create,​ screenitem.update:​ improved validation of resource ID to disallow it for screen element types that do not use a resource \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8764|ZBX-8764]] screenitem.update:​ fixed code to set resource ID to 0 for element types that do not use it \\
 +
 +
 +=== service ===
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8169|ZBX-8169]] service.getsla:​ fixed SLA period calculation to account for DST changes \\
 +
 +
 +=== template ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2117|ZBXNEXT-2117]] implemented the "​description"​ property \\
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-7981|ZBX-7981]] template.massupdate:​ fixed validation when renaming template to an existing host \\
 +=== trigger ===
 +
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-1782|ZBXNEXT-1782]] implemented the new "<>",​ "​%%<​=%%",​ ">​=",​ "​not",​ "​or"​ and "​and"​ operators \\
 +
 +Bug fixes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-6174|ZBX-6174]] trigger.get:​ fixed "​skipDependent"​ option not handling cases when triggers upon which other triggers depend are disabled (or have disabled items or disabled item hosts). \\
 +[[https://​support.zabbix.com/​browse/​ZBX-8227|ZBX-8227]] trigger.get:​ fixed "​applicationids"​ overriding "​groupids"​ \\
 +[[https://​support.zabbix.com/​browse/​ZBX-6834|ZBX-6834]] trigger.get:​ fixed the "​host"​ parameter not returning any results \\
 +[[https://​support.zabbix.com/​browse/​ZBX-6596|ZBX-6596]] trigger.get:​ fixed trigger sorting by hostname \\