Skip to content

Commit 24cceee

Browse files
committed
chore: update version to 0.6.0 and enhance changelog with new features and fixes
1 parent 243f70b commit 24cceee

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,47 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.6.0] - 2026-02-23
9+
10+
### Added
11+
12+
#### Extension System
13+
- **ExtensionManager / ExtensionPoint** - Added a unified extension-point framework for `discoverer`, `middleware`, `acl`, `span_exporter`, and `module_validator`
14+
- **Extension wiring** - Added `apply()` support to connect registered extensions into `Registry` and `Executor`
15+
16+
#### Async Task & Cancellation
17+
- **AsyncTaskManager** - Added background task orchestration with status tracking, cancellation, concurrency limits, shutdown, and cleanup
18+
- **TaskStatus / TaskInfo** - Added task lifecycle enum and metadata dataclass for async task management
19+
- **CancelToken / ExecutionCancelledError** - Added cooperative cancellation primitives and integrated cancellation checks into executor flows
20+
21+
#### Trace Context & Observability
22+
- **TraceContext / TraceParent** - Added W3C Trace Context utilities for `inject()`, `extract()`, and strict parsing via `from_traceparent()`
23+
- **Context.create(trace_parent=...)** - Added distributed-tracing entry support by accepting inbound trace context
24+
- **OTLPExporter top-level export** - Added OTLP exporter re-exports in observability and top-level public API
25+
26+
#### Registry Enhancements
27+
- **Custom discoverer/validator hooks** - Added `set_discoverer()` and `set_validator()` integration paths
28+
- **Module describe support** - Added `Registry.describe()` for human-readable module descriptions
29+
- **Hot-reload APIs** - Added `watch()`, `unwatch()`, and file-change handling helpers for extension directories
30+
- **Validation constants/protocols** - Added `MAX_MODULE_ID_LENGTH`, `RESERVED_WORDS`, `Discoverer`, and `ModuleValidator` exports
31+
32+
### Changed
33+
34+
#### Public API Surface
35+
- Expanded top-level `apcore` exports to include cancellation, extensions, async task types, trace context types, additional registry protocols/constants, and new error classes
36+
37+
#### Error System
38+
- Added `ModuleExecuteError` and `InternalError` to the framework error hierarchy and exports
39+
- Extended `ErrorCodes` with additional constants used by newer execution/extension paths
40+
41+
### Fixed
42+
43+
#### Execution & Redaction
44+
- **executor** - Added recursive `_secret_` key redaction for nested dictionaries
45+
- **executor** - Preserved explicit cancellation semantics by re-raising `ExecutionCancelledError`
46+
47+
#### Import Graph Robustness
48+
- Reduced import-coupling risk across middleware/observability/trace typing paths while preserving existing runtime behavior and public interfaces
849

950
## [0.5.0] - 2026-02-22
1051

@@ -231,6 +272,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
231272

232273
---
233274

275+
[0.6.0]: https://github.com/aipartnerup/apcore-python/compare/v0.5.0...v0.6.0
234276
[0.5.0]: https://github.com/aipartnerup/apcore-python/compare/v0.4.0...v0.5.0
235277
[0.4.0]: https://github.com/aipartnerup/apcore-python/compare/v0.3.0...v0.4.0
236278
[0.3.0]: https://github.com/aipartnerup/apcore-python/compare/v0.2.3...v0.3.0

pyproject.toml

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

55
[project]
66
name = "apcore"
7-
version = "0.5.0"
7+
version = "0.6.0"
88
description = "Schema-driven module development framework for AI-perceivable interfaces"
99
readme = "README.md"
1010
requires-python = ">=3.11"

src/apcore/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
# Trace Context
9898
from apcore.trace_context import TraceContext, TraceParent
9999

100-
__version__ = "0.5.0"
100+
__version__ = "0.6.0"
101101

102102
__all__ = [
103103
# Core

0 commit comments

Comments
 (0)