[comment]: # translation:outdated

[comment]: # ({new-fd24f930})
# 7 What's new in Zabbix 7.0.2

[comment]: # ({/new-fd24f930})

[comment]: # ({new-f623312b})
## Databases

[comment]: # ({/new-f623312b})

[comment]: # ({new-a3bc7c22})
#### MySQL 9.0 support

The maximum [supported version](/manual/installation/requirements#third-party-external-surrounding-software) for MySQL is now 9.0.X.

[comment]: # ({/new-a3bc7c22})

[comment]: # ({new-20609ef5})
#### Binary data history converted to hypertable on TimescaleDB

The `history_bin` table has been converted to hypertable on TimescaleDB to benefit from automatic partitioning on time (1 day by default) and better performance.

To successfully upgrade existing installations:

1.  Start Zabbix server; this will upgrade the existing database.
2.  Check the server log file that the database upgrade has been successful; if so, stop Zabbix server and proceed to the next step.
3.  Run the `postgresql/timescaledb/schema.sql` script (since Zabbix 7.0.0, the script's location and name has been changed from `postgresql/timescaledb.sql` to `postgresql/timescaledb/schema.sql`).
    Note that Zabbix server will log a warning if started without running this script.

See also:

-   [TimescaleDB setup](/manual/appendix/install/timescaledb#configuration)
-   [Supported TimescaleDB versions](/manual/installation/requirements#third-party-external-surrounding-software)

[comment]: # ({/new-20609ef5})

[comment]: # ({new-d160794c})
## Macros

[comment]: # ({/new-d160794c})

[comment]: # ({new-b75e0402})
#### Macro support

The [{EVENT.UPDATE.STATUS}](/manual/appendix/macros/supported_by_location#events) macro is now supported in service update notifications and commands.

[comment]: # ({/new-b75e0402})

[comment]: # ({new-31f6b030})
## Templates

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

[comment]: # ({new-1301bfbb})

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

[comment]: # ({/new-1301bfbb})

[comment]: # ({new-507bb99a})
## Plugins

[comment]: # ({/new-507bb99a})

[comment]: # ({new-08f4eab9})

An example repository has been created that may be used as a starting point for creating a custom loadable plugin with Zabbix agent 2.

For more information, see:

-   [Example plugin for Zabbix agent 2](https://git.zabbix.com/projects/AP/repos/example/browse)
-   [Developer center](/devel/plugins)

[comment]: # ({/new-08f4eab9})
