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

# 3.7.0 — 2025-08-16

[← 3.8.0](3.8.0.md) | [3.6.1 →](3.6.1.md) | [↑ 3.x series](index.md)

## New Features

### Elasticsearch Index Management

- **Index Existence Check** - Added `index_exists` method to Elasticsearch adapters for improved index management
    - New `index_exists()` method in both synchronous and asynchronous Elasticsearch ports
    - Enhanced index lifecycle management with proper existence validation
    - Improved error handling and index operation safety
    - Better support for index-dependent operations and workflows

### CI/CD Pipeline Enhancement

- **Dedicated Test Workflow** - Implemented comprehensive CI/CD pipeline for automated testing
    - Added dedicated GitHub Actions workflow for Behave BDD tests
    - Automated test execution on push to main branch and pull requests
    - Python 3.13 matrix testing with Poetry dependency management
    - Enhanced test reliability and continuous integration capabilities

## Improvements

### Testing Framework

- **Kafka Test Reliability** - Enhanced Kafka adapter tests with retry mechanism for improved stability
    - Implemented retry logic for Kafka connection tests to handle transient network issues
    - Improved test reliability in CI/CD environments with better error handling
    - Enhanced test coverage for Kafka adapter functionality

### Configuration Management

- **PostgreSQL DSN Type Safety** - Fixed PostgresDsn type instantiation for improved configuration validation
    - Corrected PostgresDsn type handling in configuration templates
    - Enhanced type safety for database connection string validation
    - Improved configuration error handling and validation

### Development Tools

- **Dependency Updates** - Updated development dependencies for improved tooling and security
    - Enhanced Poetry dependency management with latest package versions
    - Improved development environment setup and tooling
    - Better compatibility with Python 3.13 and modern development practices

## Bug Fixes

### Test Infrastructure

- **Image Version Compatibility** - Fixed test container image versions for improved test reliability
    - Updated Elasticsearch, Keycloak, and Kafka test container images
    - Resolved test environment compatibility issues
    - Enhanced test stability across different environments

### Error Handling

- **Exception Utility Assertions** - Fixed error assertion logic in exception utilities
    - Corrected error handling in test scenarios for better validation
    - Improved error message consistency and debugging capabilities

## Dependencies

- **Development Tools** - Updated development dependencies for improved tooling and security
- **Test Containers** - Enhanced test container configurations for better test reliability
- **CI/CD Tools** - Improved GitHub Actions workflow for automated testing

## Community Contributions

- **@heysaeid** - Fixed PostgresDsn type instantiation for improved configuration validation
- **@negatic** - Enhanced Kafka adapter tests with retry mechanism and improved test infrastructure
- **@s.kazemi** - Added index_exists method to Elasticsearch adapters and implemented CI/CD test workflow
