---
title: "Changelog 4.3.0"
description: "Release notes for ArchiPy 4.3.0"
---

# 4.3.0 — 2026-02-22

[← 4.3.1](4.3.1.md) | [4.2.0 →](4.2.0.md) | [↑ 4.x series](index.md)

## Added

### Helpers - Utils

- **Prometheus Utilities** - Added shared Prometheus server management module
    - Implemented `prometheus_utils` module with `is_prometheus_server_running()` helper
    - Added `start_prometheus_server_if_needed()` helper for automatic Prometheus server lifecycle management
    - Prevents duplicate Prometheus server starts across FastAPI, gRPC, and Temporal adapters
    - Supports port availability checking before starting Prometheus HTTP server

### Adapters - Temporal

- **Prometheus Metrics Integration** - Added Temporal metrics collection with Prometheus
    - Implemented `TemporalRuntimeManager` singleton for managing Runtime instances with telemetry
    - Integrated Runtime with PrometheusConfig into TemporalAdapter client and Worker
    - Added `ENABLE_METRICS` and `METRICS_PORT` configuration options to `TemporalConfig`
    - Temporal SDK metrics now exported to Prometheus when metrics are enabled
    - Metrics include workflow operations, activity executions, and task queue operations
    - Added BDD tests for Temporal metrics collection scenarios (`temporal_metric_interceptor.feature`)

## Changed

### Configs

- **Prometheus Configuration** - Enhanced BaseConfig with Prometheus support
    - Added `PROMETHEUS.IS_ENABLED` flag for enabling/disabling Prometheus metrics globally
    - Added `PROMETHEUS.SERVER_PORT` configuration for Prometheus HTTP server port
    - Updated `.env.test` with Prometheus configuration for testing
    - Added Temporal metrics configuration (`TEMPORAL.ENABLE_METRICS`, `TEMPORAL.METRICS_PORT`)

## Fixed

### Adapters - Redis

- **Type Safety** - Fixed Redis adapter type handling
    - Added type check for unexpected awaitable results from sync Redis client in `spop()` method
    - Prevents async/sync mismatch errors in Redis operations
