Skip to content

Commit b083a37

Browse files
authored
chore: bump version to 2.5.0 and update changelog (#45)
1 parent a6d61d9 commit b083a37

4 files changed

Lines changed: 22 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.5.0] - 2026-03-16
11+
1012
### Added
11-
- **Automatic Binary Download**: SDK now automatically downloads capiscio-core binary if not found
12-
- Downloads from GitHub releases (defaults to v2.4.0)
13+
- **Warmup CLI**: Binary pre-caching command for faster cold starts (#43)
14+
- **Windows TCP Fallback**: Embedded gRPC server uses TCP on Windows where Unix sockets are unavailable (#39)
15+
- **Automatic Binary Download**: SDK downloads capiscio-core binary if not found (#32)
1316
- Platform detection for macOS (arm64/x86_64), Linux (arm64/x86_64), and Windows
14-
- Binary caching in `~/.capiscio/bin/` directory
15-
- Automatic executable permissions for Unix-like systems
16-
- Fallback search order: `CAPISCIO_BINARY` env var → local development path → system PATH → cached binary → auto-download
17-
- **Middleware Auto-Events**: `CapiscioMiddleware` now supports automatic event emission
18-
- Opt-in via `emitter` parameter — pass an `EventEmitter` to enable
19-
- Emits `request.received`, `verification.success`/`verification.failed`, and `request.completed` events
20-
- Standardized fields: `method`, `path`, `caller_did`, `duration_ms`, `status_code`
21-
- Safe by design: emitter errors never break request handling
22-
- Excluded paths emit no events
23-
- New event type constants: `EVENT_REQUEST_RECEIVED`, `EVENT_REQUEST_COMPLETED`, `EVENT_REQUEST_FAILED`, `EVENT_VERIFICATION_SUCCESS`, `EVENT_VERIFICATION_FAILED`
17+
- Binary caching in `~/.capiscio/bin/`
18+
- Fallback search order: `CAPISCIO_BINARY` env var → local path → system PATH → cached → auto-download
19+
- **Middleware Auto-Events**: `CapiscioMiddleware` supports automatic event emission via `emitter` parameter (#33)
20+
- **Environment Variable Key Injection**: Support for ephemeral environments via env vars (#35)
21+
22+
### Fixed
23+
- **Dev Mode Identity Persistence**: Persist and recover `did:key` identity across restarts (#44)
24+
- Wire `BadgeKeeper.on_renew` to `SimpleGuard.set_badge_token` for automatic badge refresh (#42)
25+
- Eliminate agent card JSON dependency from `connect`, `simple_guard`, and FastAPI integration (#37)
26+
- Improve binary install experience with better error messages (#38)
27+
- Improve identity recovery and directory structure (#31)
28+
- Make config keyword-only for backward compatibility (#30)
29+
- Create agent when name specified but not found in `connect()` (#29)
2430

2531
### Changed
26-
- **Improved Process Management**: Enhanced error logging and binary discovery
32+
- Enhanced error logging and binary discovery
2733

2834
## [2.4.1] - 2026-02-08
2935

capiscio_sdk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
>>> result = validate_agent_card(card_dict) # Uses Go core
1515
"""
1616

17-
__version__ = "2.4.1"
17+
__version__ = "2.5.0"
1818

1919
# Core exports
2020
from .executor import CapiscioSecurityExecutor, secure, secure_agent

capiscio_sdk/_rpc/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
DEFAULT_SOCKET_PATH = DEFAULT_SOCKET_DIR / "rpc.sock"
2323

2424
# Binary download configuration
25-
CORE_VERSION = "2.4.0"
25+
CORE_VERSION = "2.5.0"
2626
GITHUB_REPO = "capiscio/capiscio-core"
2727
CACHE_DIR = DEFAULT_SOCKET_DIR / "bin"
2828

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "capiscio-sdk"
7-
version = "2.4.1"
7+
version = "2.5.0"
88
description = "Runtime security middleware for A2A agents"
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)