Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion archipy/helpers/errors/grpc/interceptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __new__(cls, *, aio: bool = False, **_kwargs: object) -> Self:
"""
if cls is GrpcExceptionInterceptor:
variant = _AioGrpcExceptionInterceptor if aio else _SyncGrpcExceptionInterceptor
return super().__new__(variant) # ty: ignore[invalid-return-type]
return super().__new__(variant) # ty: ignore[invalid-explicit-return]
return super().__new__(cls)

def __init__(self, *, aio: bool = False, validation_errors_as_internal: bool = False) -> None: # noqa: ARG002
Expand Down
2 changes: 1 addition & 1 deletion docs/community/changelog/5/5.29.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Release notes for ArchiPy 5.29.0"

# 5.29.0 — 2026-11-09

[← 5.28.0](5.28.0.md) | [↑ 5.x series](index.md)
[← 5.29.1](5.29.1.md) | [5.28.0 →](5.28.0.md) | [↑ 5.x series](index.md)

## Added

Expand Down
32 changes: 32 additions & 0 deletions docs/community/changelog/5/5.29.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: "Changelog 5.29.1"
description: "Release notes for ArchiPy 5.29.1"
---

# 5.29.1 — 2026-11-14

[← 5.29.0](5.29.0.md) | [↑ 5.x series](index.md)

## Fixed

### Adapters - SQLAlchemy

- **Atomic Session Cleanup** - Outermost synchronous and asynchronous atomic blocks always release their sessions, including when cancellation or an interrupted rollback leaves a transaction open. Synchronous cleanup removes the session registry entry even if closing the session raises. [PR #582](https://github.com/SyntaxArc/ArchiPy/pull/582)

## Tests

### Tests - SQLAlchemy

- **Interrupted Cleanup Regressions** - Add coverage for repeated asynchronous cancellation, a second cancellation during rollback, and an interrupted synchronous rollback. Verify that sessions close and registry entries are removed. [PR #582](https://github.com/SyntaxArc/ArchiPy/pull/582)

## Chore

### Chore - Typing

- **Type Checker Compatibility** - Update diagnostic names in strict typing rules and targeted suppressions for the newer ty release. [PR #581](https://github.com/SyntaxArc/ArchiPy/pull/581), [issue #580](https://github.com/SyntaxArc/ArchiPy/issues/580)

## Dependencies

### Dependencies - Workspace

- **Dependency Minimums and Lockfile** - Refresh locked dependencies and raise minimum versions for Pydantic Settings, FastAPI, Pydantic AI, boto3, psycopg, PyMySQL, Temporal, and development and documentation tools. Includes [PR #581](https://github.com/SyntaxArc/ArchiPy/pull/581), [issue #580](https://github.com/SyntaxArc/ArchiPy/issues/580), and commit `e45cf5d1`.
1 change: 1 addition & 0 deletions docs/community/changelog/5/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description: "Release history for ArchiPy 5.x series"

| Version | Date | Summary |
|-------------------|------------|----------------------------------------------------------------------------------------------------------------------------------|
| [5.29.1](5.29.1.md) | 2026-11-14 | SQLAlchemy atomic blocks release sessions after cancellation or interrupted rollback; dependency minimums and lockfile refreshed |
| [5.29.0](5.29.0.md) | 2026-11-09 | Keycloak auth guards expose organization data from UserInfo with optional organization enforcement; dependency bounds and workspace dependencies refreshed |
| [5.28.0](5.28.0.md) | 2026-11-02 | The atomic decorator preserves logic exceptions and re-raises the original nested failure; only SQLAlchemy failures become `Database*Error` |
| [5.27.0](5.27.0.md) | 2026-11-02 | Opt-in savepoints for nested `atomic()` calls: a caught nested failure rolls back only its savepoint and the outer transaction commits; the default and StarRocks keep the full-rollback behavior |
Expand Down
2 changes: 1 addition & 1 deletion docs/community/changelog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ All notable changes to ArchiPy are documented here, organized by major version s

## [5.x Series](5/index.md)

55 releases — from 5.0.0 to 5.29.0
56 releases — from 5.0.0 to 5.29.1

## [4.x Series](4/index.md)

Expand Down
2 changes: 1 addition & 1 deletion packages/minio/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0" # This version is set on publish flow!
requires-python = ">=3.14,<4"
dependencies = [
"archipy==0.1.0", # Pinned to core version on publish flow!
"boto3>=1.43.127",
"boto3>=1.44.3",
"cachetools>=8.0.0",
"async-lru>=2.4.0",
]
Expand Down
2 changes: 1 addition & 1 deletion packages/postgres/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0" # This version is set on publish flow!
requires-python = ">=3.14,<4"
dependencies = [
"archipy==0.1.0", # Pinned to core version on publish flow!
"psycopg[binary]>=3.3.8",
"psycopg[binary]>=3.3.9",
]
license = "Apache-2.0"

Expand Down
2 changes: 1 addition & 1 deletion packages/temporal/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0" # This version is set on publish flow!
requires-python = ">=3.14,<4"
dependencies = [
"archipy==0.1.0", # Pinned to core version on publish flow!
"temporalio[opentelemetry]>=1.35.0,<2",
"temporalio[opentelemetry]>=1.36.1,<2",
]
license = "Apache-2.0"

Expand Down
36 changes: 18 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0" # This version set on publish flow!
requires-python = ">=3.14,<4"
dependencies = [
"pydantic>=2.14.3",
"pydantic-settings>=2.16.2",
"pydantic-settings>=2.16.3",
"httpx2>=2.16.0",
"jdatetime>=6.1.1",
]
Expand All @@ -24,7 +24,7 @@ dependency-injection = ["dependency-injector>=4.49.1"]
elasticsearch = ["archipy-elasticsearch==0.1.0"] # Pinned to core version on publish flow!
elasticsearch-async = ["archipy-elasticsearch==0.1.0", "elasticsearch[async]>=9.5.1"] # Pinned to core version on publish flow!
fakeredis = ["fakeredis>=2.40.0"]
fastapi = ["fastapi[all]>=0.162.2"]
fastapi = ["fastapi[all]>=0.162.7"]
grpc = ["grpcio>=1.85.1", "grpcio-health-checking>=1.85.1", "protobuf>=7.36.2"]
jwt = ["pyjwt>=2.15.1"]
kafka = ["archipy-kafka==0.1.0"] # Pinned to core version on publish flow!
Expand All @@ -35,7 +35,7 @@ parsian-ipg-async = ["archipy-parsian-ipg[async]==0.1.0"] # Pinned to core vers
mysql = ["archipy-mysql[sync]==0.1.0"] # Pinned to core version on publish flow!
mysql-async = ["archipy-mysql[async]==0.1.0"] # Pinned to core version on publish flow!
postgres = ["archipy-postgres==0.1.0"] # Pinned to core version on publish flow!
pydantic-ai = ["pydantic-ai-slim>=2.66.0"]
pydantic-ai = ["pydantic-ai-slim>=2.68.0"]
redis = ["archipy-redis==0.1.0"] # Pinned to core version on publish flow!
saman-ipg = ["archipy-saman-ipg==0.1.0"] # Pinned to core version on publish flow!
scheduler = ["apscheduler>=3.11.3"]
Expand Down Expand Up @@ -97,29 +97,29 @@ archipy-saman-ipg = { workspace = true }
dev = [
"add-trailing-comma>=4.0.0",
"bandit>=1.9.4",
"boto3-stubs>=1.43.127",
"boto3-stubs>=1.44.3",
"codespell>=2.4.3",
"coverage>=7.17.2",
"coverage>=7.17.3",
"gherkin-formatter>=0.1.3",
"import-linter>=2.16",
"pre-commit-hooks>=6.0.0",
"pre-commit>=4.7.0",
"ruff>=0.17.4",
"ty>=0.0.100",
"ruff>=0.17.5",
"ty>=0.0.104",
"types-grpcio>=1.85.0.20261028",
"types-protobuf>=7.35.1.20260906",
"types-pymysql>=1.2.0.20260923",
"types-regex>=2026.11.8.20261109",
"types-pymysql>=1.2.4.20261111",
"types-regex>=2026.11.9.20261110",
"validate-pyproject>=0.27",
]

docs = [
"mkdocs-autorefs>=1.4.5",
"mkdocs-material>=9.8.1",
"mkdocs>=1.6.1",
"mkdocstrings-python>=2.0.10",
"mkdocstrings-python>=2.0.11",
"mkdocstrings>=1.0.8",
"pymdown-extensions>=13.0",
"pymdown-extensions>=13.1",
]


Expand Down Expand Up @@ -342,21 +342,21 @@ exclude = ["features", "scripts", ".agents"]
# Error-level rules (default)
abstract-method-in-final-class = "error"
assert-type-unspellable-subtype = "error"
call-abstract-method = "error"
call-non-callable = "error"
call-top-callable = "error"
abstract-method-call = "error"
not-callable = "error"
call-to-function-with-unknown-signature = "error"
conflicting-declarations = "error"
conflicting-metaclass = "error"
cyclic-class-definition = "error"
cyclic-type-alias-definition = "error"
dataclass-field-order = "error"
invalid-dataclass-field-order = "error"
duplicate-base = "error"
duplicate-kw-only = "error"
empty-body = "error"
invalid-implicit-return-in-function-with-stub-body = "error"
escape-character-in-forward-annotation = "error"
final-on-non-method = "error"
final-without-value = "error"
implicit-concatenated-string-type-annotation = "error"
implicit-string-concatenation-in-annotation = "error"
inconsistent-mro = "error"
index-out-of-bounds = "error"
instance-layout-conflict = "error"
Expand Down Expand Up @@ -394,7 +394,7 @@ invalid-parameter-default = "error"
invalid-paramspec = "error"
invalid-protocol = "error"
invalid-raise = "error"
invalid-return-type = "error"
invalid-explicit-return = "error"
invalid-super-argument = "error"
invalid-syntax-in-forward-annotation = "error"
invalid-total-ordering = "error"
Expand Down
Loading
Loading