|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [1.0.0] - 2026-02-14 |
| 9 | + |
| 10 | +### Added |
| 11 | +- Initial open source release of Last9 Python AI SDK |
| 12 | +- **Cost Tracking**: Automatic cost calculation for 20+ AI models |
| 13 | + - Anthropic: Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku |
| 14 | + - OpenAI: GPT-4o, GPT-4 Turbo, GPT-4, GPT-3.5 Turbo |
| 15 | + - Google: Gemini Pro, Gemini 1.5 Pro, Gemini 1.5 Flash |
| 16 | + - Cohere: Command R, Command R+ |
| 17 | + - And more... |
| 18 | +- **Conversation Tracking**: Multi-turn conversation tracking with `gen_ai.conversation.id` |
| 19 | +- **Workflow Management**: Cost aggregation across multi-step workflows |
| 20 | +- **Span Classification**: `gen_ai.l9.span.kind` for filtering (llm/tool/prompt) |
| 21 | +- **Prompt Versioning**: Hash-based prompt template tracking and versioning |
| 22 | +- **Tool/Function Tracking**: Enhanced attributes for tool and function calls |
| 23 | +- **Performance Metrics**: Response times, request/response sizes, quality scores |
| 24 | +- **Content Events**: Input/output prompts as span events |
| 25 | +- **Standard Compliance**: Full compatibility with OpenTelemetry GenAI v1.28.0 conventions |
| 26 | + |
| 27 | +### Documentation |
| 28 | +- Comprehensive README with usage examples |
| 29 | +- Installation guide (INSTALL.md) |
| 30 | +- Complete API reference |
| 31 | +- Working examples: |
| 32 | + - Basic usage with cost tracking |
| 33 | + - Anthropic Claude SDK integration |
| 34 | + - Conversation tracking with multi-turn support |
| 35 | + - Tool and function call tracking |
| 36 | + |
| 37 | +### Technical Details |
| 38 | +- Built on OpenTelemetry Python SDK |
| 39 | +- Requires Python >=3.9 (aligned with OpenTelemetry API requirements) |
| 40 | +- Zero dependencies beyond OpenTelemetry |
| 41 | +- Works with any OTLP-compatible backend |
| 42 | +- Feature parity with last9-node-agent |
| 43 | + |
| 44 | +### Integration Support |
| 45 | +- OpenAI Python SDK |
| 46 | +- Anthropic Python SDK |
| 47 | +- LangChain (via examples) |
| 48 | +- FastAPI (via examples) |
| 49 | +- Framework-agnostic design |
| 50 | + |
| 51 | +--- |
| 52 | + |
| 53 | +## Versioning Guidelines |
| 54 | + |
| 55 | +- **MAJOR** version for incompatible API changes |
| 56 | +- **MINOR** version for new functionality in a backwards compatible manner |
| 57 | +- **PATCH** version for backwards compatible bug fixes |
| 58 | + |
| 59 | +For more information, see the [SPEC.md](SPEC.md) document. |
0 commit comments