5.5.0 — 2026-09-26¶
← 5.5.1 | 5.4.1 → | ↑ 5.x series
Added¶
Helpers - OpenTelemetry¶
- httpx2 auto-instrumentation -
OtelUtilsnow registersHTTPX2ClientInstrumentor, so outboundhttpx2calls produce client spans alongsidehttpxandrequests.- Removed the "httpx2 not auto-instrumented" entry from the observability known-gaps table
Models - Types¶
JsonValuetype - Added a recursiveJsonValuealias exported fromarchipy.models.types.- RediSearch adapters, ports, and
document_dtopayloads now acceptdict[str, JsonValue]instead ofdict[str, str | int | float | list[float]], allowing nested objects, booleans, andNone
- RediSearch adapters, ports, and
Changed¶
Helpers - OpenTelemetry¶
- Quiet skip for missing target libraries - Auto-instrumentation calls
instrument()withraise_exception_on_conflict=Trueand skipsDependencyConflictErrorat debug level.- Installing only
httpx2no longer makes OTel log anhttpxdependency-conflict error at startup - Provider wiring moved into
OtelUtils._instrument_with_providers - Auto-instrumentation is skipped entirely when
opentelemetry-instrumentationis not installed
- Installing only
Removed¶
Helpers - OpenTelemetry¶
otel-elasticsearchextra - Dropped the extra and the contribElasticsearchInstrumentorfrom auto-instrumentation. Theelasticsearchclient emits OTel spans natively; installarchipy[otel]only.- Remove
otel-elasticsearchfrom yourarchipy[...]extras list when upgrading
- Remove
Tests¶
Tests - OpenTelemetry¶
- httpx2 instrumentation scenarios - Added BDD scenarios asserting
httpx2transports are wrapped and that a missing instrumented library is skipped without an OTel error log.
Tests - Configuration¶
- Low-memory test containers - Capped container memory and process sizing for Postgres, Keycloak,
MinIO, StarRocks, Redis, Kafka, and Temporal testcontainers.
- Kafka limit raised to
1024mwith a512mheap to avoid KRaft OOM kills under parallel CI load
- Kafka limit raised to
Chore¶
Chore - Tooling¶
- Gherkin formatting - Added
gherkin-formatterto pre-commit,make format, and CI; reformatted all feature files.
Dependencies¶
- Core / extras - Raised
pyproject.tomllower bounds to matchuv.lock.httpx2(core,parsian-ipg-async,saman-ipg):>=2.13.0→>=2.13.1pyjwt:>=2.14.0→>=2.15.0boto3(minio extra):>=1.43.98→>=1.43.103sqlalchemy/sqlalchemy-async:>=2.0.54→>=2.1.1opentelemetry-sdk/opentelemetry-exporter-otlp:>=1.43.0→>=1.45.0opentelemetry-instrumentation-*/opentelemetry-exporter-prometheus:>=0.64b0→>=0.66b0
- Dev / docs - Updated development and typing stubs.
boto3-stubs:>=1.43.98→>=1.43.103gherkin-formatter: added>=0.1.3ruff:>=0.16.8→>=0.16.9ty:>=0.0.82→>=0.0.84types-pymysql:>=1.2.0.20260807→>=1.2.0.20260923mkdocstrings-python:>=2.0.8→>=2.0.9pymdown-extensions:>=12.0.1→>=12.1