[comment]: # ({2268a378-44ed62ae})
# 9 What's new in Zabbix 7.0.4

See [breaking changes](/manual/installation/upgrade_notes_704#breaking-changes) for this version.

[comment]: # ({/2268a378-44ed62ae})

[comment]: # ({f5514ff0-372216e1})

## Requirements

[comment]: # ({/f5514ff0-372216e1})

[comment]: # ({88f64c99-2d74ffc8})

#### libevent 2.0.10 required

The minimum required version of libevent has been raised to 2.0.10.

[comment]: # ({/88f64c99-2d74ffc8})

[comment]: # ({d487e933-aa54ce08})

## Macros

[comment]: # ({/d487e933-aa54ce08})

[comment]: # ({832bc08c-c33e5cf1})

#### Macro functions

New macro functions have been added:

|Functions|Description|
|---|-------|
|regrepl|Replace a character or substring in a macro value.<br>*Note* that this function is only supported with the **libpcre2** library. If Zabbix server/proxy was compiled with `libpcre`, this function will return UNKNOWN.|
|tr|Transliterate characters in a macro value.|
|btoa|Encode macro value to Base64 format.|
|htmlencode,htmldecode|Encode/decode macro value to/from HTML-encoded format.|
|urlencode,urldecode|Encode/decode macro value to/from URL-encoded format.|
|uppercase,lowercase|Transform text to uppercase, lowercase.|

For more information, see [macro functions](/manual/config/macros/macro_functions).

[comment]: # ({/832bc08c-c33e5cf1})

[comment]: # ({df7a2c84-ac17e3f3})

## Items

[comment]: # ({/df7a2c84-ac17e3f3})

[comment]: # ({0a307a7c-8454a9c0})

#### Retry for SNMP bulk items

A retry has been added for SNMP bulk items to avoid failure if one of the packets is lost.

The timeout for SNMP items with `get` and `walk` is set for whole session. If the timeout is reached then a retry will occur one time, the timeout will be reset and the last request will be resent allowing to continue the session from last request if a single packet is lost or arrived too late.

[comment]: # ({/0a307a7c-8454a9c0})

[comment]: # ({c63837d2-8305f586})

#### Frame selection in browser items

[Browser items](/manual/config/items/itemtypes/browser) now support a new [method](/manual/config/items/preprocessing/javascript/browser_item_javascript_objects) browser.switchFrame() for switching to a specific frame specified in the method parameters. 

[comment]: # ({/c63837d2-8305f586})

[comment]: # ({9841f333-80030bf4})

## Web scenarios

[comment]: # ({/9841f333-80030bf4})

[comment]: # ({c8369324-b770d9af})

#### Web scenario variables enhanced

Variables in [web scenarios](/manual/web_monitoring#configuring-a-web-scenario) have been enhanced by adding:

-   support of macro functions, e.g., `{newVar}={{myVar}.btoa()}`
-   JSONPath support, e.g., `{url}=jsonpath:$.host_url`
-   XML Xpath support, e.g., `{status}=xmlxpath://host/response/status`

[comment]: # ({/c8369324-b770d9af})

[comment]: # ({58cdb1db-4f8c0270})
## Databases

[comment]: # ({/58cdb1db-4f8c0270})

[comment]: # ({74df0ed5-6f1e922b})
#### TimescaleDB 2.16 support

The maximum [supported version](/manual/installation/requirements#thirdparty-external-surrounding-software) for TimescaleDB is now 2.16.X.

[comment]: # ({/74df0ed5-6f1e922b})

[comment]: # ({04bfc795-268f52f1})
#### MariaDB 11.5 support

The maximum [supported version](/manual/installation/requirements#thirdparty-external-surrounding-software) for MariaDB is now 11.5.X.

[comment]: # ({/04bfc795-268f52f1})

[comment]: # ({33f7c3df-e15d930e})
## Notifications

[comment]: # ({/33f7c3df-e15d930e})

[comment]: # ({85070b2e-21abfe37})
#### Webhook integrations

A new integration is available that allows to integrate Zabbix with the [MS Teams workflow feature](https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/msteams-workflow?at=refs%2Fheads%2Frelease%2F7.0) using the Zabbix [webhook](/manual/config/notifications/media/webhook) media type.

[comment]: # ({/85070b2e-21abfe37})

[comment]: # ({c5aa0846-2041d39f})
## Templates

[comment]: # ({/c5aa0846-2041d39f})

[comment]: # ({bce9b158-96a1b0a4})

For new templates and changes to existing templates, see [Template changes](/manual/installation/template_changes#changes-in-7.0.4).

[comment]: # ({/bce9b158-96a1b0a4})

[comment]: # ({dcd54eb1-1cb54cb4})
## Frontend

[comment]: # ({/dcd54eb1-1cb54cb4})

[comment]: # ({bac44f84-b6536953})
#### TAB key in scripts

Pressing the TAB key in the modal JavaScript editor now inserts a tab character (equivalent to 4 spaces) instead of shifting focus to another element.
This applies to the *Script* parameter in [Browser items](/manual/config/items/itemtypes/browser#configuration), [Script items](/manual/config/items/itemtypes/script#configuration),
[Webhooks](/manual/config/notifications/media/webhook#configuration), and the [JavaScript preprocessing step](/manual/config/items/preprocessing#javascript).

[comment]: # ({/bac44f84-b6536953})

[comment]: # ({221961de-bdc1ac5d})
#### Quick access to host or template configuration

In *Data collection > Hosts* as well as *Data collection > Templates* subsections (such as [*Items*](/manual/web_interface/frontend_sections/data_collection/hosts/items) or [*Discovery rules*](/manual/web_interface/frontend_sections/data_collection/hosts/discovery)), you can now click on the host or template name to open their configuration form.

Additionally, the [item menu](/manual/web_interface/menu/item_menu) now includes the *Host* or *Template* option, allowing you to quickly access and configure the host or template that the item belongs to.

[comment]: # ({/221961de-bdc1ac5d})

[comment]: # ({4ecf9ff9-c416a08d})
#### Filter audit log by IP

The IP option has been added to the [audit log](/manual/web_interface/frontend_sections/reports/audit_log) filter. You may now filter the audit log by the IP from which activity was initiated.

Additionally, IPs in the list are now clickable. Clicking on the hyperlink will filter records by the respective IP.

[comment]: # ({/4ecf9ff9-c416a08d})

[comment]: # ({b5c9c77f-12bbc3b5})
#### Actions numbered where media type/script is used

The actions where a media type/script is used are now preceded by a number indicating the total number of such actions. See [Media types](/manual/web_interface/frontend_sections/alerts/mediatypes)/[Scripts](/manual/web_interface/frontend_sections/alerts/scripts).

[comment]: # ({/b5c9c77f-12bbc3b5})

[comment]: # ({8b2c5820-7372c960})

## Encryption

[comment]: # ({/8b2c5820-7372c960})

[comment]: # ({108ca778-03b0681b})

#### TLS cipher options in Zabbix agent 2

TLS cipher options have been added to [Zabbix agent 2](/manual/appendix/config/zabbix_agent2) and [Windows agent 2](/manual/appendix/config/zabbix_agent2_win) configuration.

|Option|Zabbix agent 2|Windows agent 2|
|----|---|---|
|TLSCipherCert|yes|-|
|TLSCipherCert13|yes|yes|
|TLSCipherPSK|yes|-|
|TLSCipherPSK13|yes|yes|
|TLSCipherAll|yes|-|
|TLSCipherAll13|yes|yes|

[comment]: # ({/108ca778-03b0681b})
