# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2024-01-01

### Added
- Initial release of AgentMeter TypeScript SDK published as "agentmeter" npm package
- Complete API client with full TypeScript support
- Support for all AgentMeter API endpoints:
  - Apps management (create, read, update, delete)
  - Meters management (create, read, update, delete)
  - Event tracking (single and batch)
  - Usage analytics and billing summaries
- Built-in validation for all request parameters
- Comprehensive error handling with custom error types
- HTTP client with automatic retries and timeout handling
- Convenience methods for common use cases
- Extensive test suite with >90% coverage
- Complete documentation with examples
- TypeScript type definitions for all API entities
- Support for custom configuration (base URL, timeouts, retries)
- Debug logging capabilities

### Features
- 🔒 **Type Safe**: Full TypeScript support with comprehensive type definitions
- 🚀 **Easy to Use**: Simple, intuitive API with extensive documentation
- ⚡ **Reliable**: Built-in retry logic, error handling, and timeout management
- 📊 **Comprehensive**: Support for all AgentMeter API endpoints
- 🔄 **Batch Processing**: Efficient batch event tracking
- 🛡️ **Validation**: Input validation with helpful error messages
- 📈 **Analytics Ready**: Built-in methods for usage analytics and billing