|
| 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-SNAPSHOT] - 2025-11-11 |
| 9 | + |
| 10 | +### Added |
| 11 | + |
| 12 | +- Initial CozeLoop Java SDK release |
| 13 | +- Core SDK module (`cozeloop-core`) with trace reporting and prompt management |
| 14 | +- Spring Boot starter module (`cozeloop-spring-boot-starter`) for seamless integration |
| 15 | +- Trace reporting functionality built on OpenTelemetry SDK |
| 16 | +- Prompt management with caching and formatting support |
| 17 | +- Support for Jinja template engine in prompts |
| 18 | +- AOP annotation `@CozeTrace` for declarative tracing |
| 19 | +- OAuth JWT and PAT (Personal Access Token) authentication |
| 20 | +- Example code demonstrating SDK usage (`examples/` directory) |
| 21 | + - Initialization examples (PAT, OAuth JWT, error handling) |
| 22 | + - Trace examples (simple, parent-child, trace with prompt) |
| 23 | + - Prompt examples (prompt hub, Jinja templates) |
| 24 | +- Comprehensive documentation and README files |
| 25 | + - English and Chinese (简体中文) README files |
| 26 | + - CONTRIBUTING.md guide |
| 27 | + - LICENSE file (MIT License) |
| 28 | + - Examples README with detailed usage instructions |
| 29 | +- Maven multi-module project structure |
| 30 | +- Checkstyle configuration for code quality |
| 31 | + |
| 32 | +### Changed |
| 33 | + |
| 34 | +- **Trace Export**: Improved `CozeLoopSpanExporter` to export spans in batches of 25 to remote server |
| 35 | + - Spans are now automatically split into batches of 25 before sending to CozeLoop platform |
| 36 | + - Enhanced error handling: individual batch failures don't prevent other batches from being exported |
| 37 | + - Improved logging with batch-level statistics and detailed error reporting |
| 38 | + - Better resilience and observability for trace export operations |
| 39 | + |
| 40 | +### Features |
| 41 | + |
| 42 | +- **Trace Reporting**: Automatic batch reporting of traces to CozeLoop platform |
| 43 | + - Multi-level batching: OpenTelemetry BatchSpanProcessor + custom 25-span batches |
| 44 | + - Robust error handling with per-batch failure isolation |
| 45 | + - Comprehensive logging for monitoring and debugging |
| 46 | +- **Prompt Management**: Pull, cache, and format prompts from the platform |
| 47 | +- **Spring Boot Integration**: Auto-configuration and AOP support |
| 48 | +- **Thread-Safe**: All core components are thread-safe |
| 49 | +- **Java 8+ Compatible**: Wide compatibility with Java 8 and above |
| 50 | + |
0 commit comments