Skip to content

Commit 20f5d23

Browse files
Release v1.1.0 (#14)
* RELEASE: v1.1.0 This release updates: - version.py: 1.0.0 → 1.1.0 - CHANGELOG.md: Added release section for v1.1.0 After merging this PR: - publish.yml workflow will trigger automatically - Package will be built and published to PyPI - GitHub release will be created with tag v1.1.0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * docs: add detailed v1.1.0 release notes to CHANGELOG Document new attributes added in v1.1.0: - Module attributes (set_module_name, set_module_type) - Extended tool attributes (set_tool_execution_type, set_tool_protocol) - Extended agent attributes (set_agent_response) Include benefits, migration notes, and usage examples for each new feature. --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 08e18cf commit 20f5d23

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [1.1.0] - 2025-12-04
11+
12+
### Added
13+
14+
#### Module Attributes
15+
- `MsgTraceAttributes.set_module_name(name)` - Set module name for better organization (e.g., 'vector_search', 'intent_classifier')
16+
- `MsgTraceAttributes.set_module_type(module_type)` - Set module type for specialized visualizations in msgtrace frontend
17+
- Supported types: 'Agent', 'Tool', 'LLM', 'Transcriber', 'Retriever', 'Embedder', 'Custom'
18+
- Enables automatic grouping and type-specific analytics
19+
20+
#### Extended Tool Attributes
21+
- `MsgTraceAttributes.set_tool_execution_type(execution_type)` - Track how tools are executed
22+
- Values: 'local' (in-process), 'remote' (external service)
23+
- Useful for performance analysis and debugging
24+
- `MsgTraceAttributes.set_tool_protocol(protocol)` - Track communication protocol used
25+
- Values: 'mcp' (Model Context Protocol), 'a2a' (Agent-to-Agent), 'http', 'grpc', etc.
26+
- Enables protocol-specific debugging and monitoring
27+
28+
#### Extended Agent Attributes
29+
- `MsgTraceAttributes.set_agent_response(response)` - Capture agent response content
30+
- Accepts string or dict (automatically JSON-serialized)
31+
- Useful for debugging agent behavior and outputs
32+
- Can be used alongside existing `set_agent_name`, `set_agent_id`, `set_agent_type`
33+
34+
### Benefits
35+
- Better categorization of AI operations by module type
36+
- Enhanced tool execution tracking with protocol and execution type metadata
37+
- Improved agent debugging with response content capture
38+
- Enables specialized visualizations in msgtrace frontend
39+
- Full compatibility with OpenTelemetry GenAI semantic conventions
40+
41+
### Migration Notes
42+
All new attributes follow the same patterns as existing methods:
43+
- Thread-safe through OpenTelemetry's span API
44+
- Only record when span is recording (zero overhead when disabled)
45+
- Automatic JSON serialization for complex types
46+
- Consistent naming with GenAI semantic conventions
47+
1048
## [1.0.0] - 2025-11-26
1149

1250
## [0.1.0] - TBD

src/msgtrace/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Version information for msgtrace-sdk."""
22

3-
__version__ = "1.0.0"
3+
__version__ = "1.1.0"

0 commit comments

Comments
 (0)