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
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.4.1] - 2026-02-08

### Added
- **CapiscIO.connect()**: "Let's Encrypt" style one-liner agent setup
- Single API call handles key generation, DID creation, registration, and badge request
- Cryptographic operations performed by capiscio-core Go library via gRPC
- Context manager support for automatic resource cleanup
- **CapiscIO.from_env()**: Initialize from `CAPISCIO_API_KEY` environment variable
- **AgentIdentity**: Dataclass representing a fully-configured agent
Comment on lines +10 to +18
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This release section is labeled as 2.4.1 (patch), but it includes multiple newly added public APIs/features under “Added”. If the project is following Semantic Versioning (noted at the top of this file), this is typically a minor-version change. Consider adjusting the version number (and the corresponding pyproject.toml/init.py versions) or revising the release notes so they match the intended patch scope.

Copilot uses AI. Check for mistakes.
- `emit()`: Send events to the registry
- `status()`: Get agent status including badge validity
- `close()`: Clean up resources (also works as context manager)
- **EventEmitter**: Agent event emission with batching
- Thread-safe batch operations
- Automatic flush on batch size threshold
- Convenience methods: `task_started()`, `task_completed()`, `task_failed()`, `tool_call()`, `tool_result()`

### Fixed
- **httpx exception handling**: Network errors now raise `RuntimeError` with sanitized messages
- **Error message sanitization**: Removed `resp.text` from error messages to prevent API key exposure

## [2.4.0] - 2026-01-18

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion capiscio_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
>>> result = validate_agent_card(card_dict) # Uses Go core
"""

__version__ = "2.3.1"
__version__ = "2.4.1"

# Core exports
from .executor import CapiscioSecurityExecutor, secure, secure_agent
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "capiscio-sdk"
version = "2.4.0"
version = "2.4.1"
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CHANGELOG entry for 2.4.1 lists multiple new public features under “Added” (e.g., CapiscIO.connect(), EventEmitter). Since the project states it adheres to Semantic Versioning, adding backward-compatible functionality should normally bump the minor version (e.g., 2.5.0) rather than a patch (2.4.1). Consider either bumping to the appropriate minor version or moving these items to the correct release/version entry so the version number matches the actual scope of changes (and update init.py/CHANGELOG consistently).

Suggested change
version = "2.4.1"
version = "2.5.0"

Copilot uses AI. Check for mistakes.
description = "Runtime security middleware for A2A agents"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
Loading