From 059aa81c5c85366e421735bb3948e83513f0fbbc Mon Sep 17 00:00:00 2001 From: Maksym Buz Date: Tue, 16 Dec 2025 22:14:37 +0100 Subject: [PATCH] Change: Changelog and version changed --- partitioning/CHANGELOG.md | 11 +++++++++++ partitioning/script/zabbix_partitioning.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/partitioning/CHANGELOG.md b/partitioning/CHANGELOG.md index dfcba48..05591c1 100644 --- a/partitioning/CHANGELOG.md +++ b/partitioning/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0] - 2025-12-16 +### Added +- **Wizard**: Added interactive configuration wizard (`--wizard`). +- **CLI**: Added `--fast-init` flag to skip table scanning during initialization, instead of config option. +- **Monitoring**: Added `--stats` argument to output JSON statistics (Size, Count, Days Left). +- **Template**: Updated `zabbix_mysql_partitioning_template.yaml` to use Master/Dependent items for efficient stats collection. + +### Changed +- **Config**: Removed `initial_partitioning_start` from configuration file (moved to `--fast-init`). +- **Template**: Replaced legacy check item with comprehensive stats master item. + ## [0.4.1] - 2025-12-16 ### Added - **CLI**: Added `--verbose` / `-v` flag to switch between INFO (default) and DEBUG logging levels. diff --git a/partitioning/script/zabbix_partitioning.py b/partitioning/script/zabbix_partitioning.py index c43fb1a..b8ec6f9 100755 --- a/partitioning/script/zabbix_partitioning.py +++ b/partitioning/script/zabbix_partitioning.py @@ -21,7 +21,7 @@ from typing import Optional, Dict, List, Any, Union, Tuple from contextlib import contextmanager # Semantic Versioning -VERSION = '0.4.1' +VERSION = '0.5.0' # Constants PART_PERIOD_REGEX = r'([0-9]+)(h|d|m|y)'