# 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-12-04

### 🎉 Initial Release

#### ✨ Features
- **Project Management**: Multi-project workspace support
- **Interface Query**: Search and filter API interfaces
- **Code Generation**: Generate TypeScript types, Mock data, request wrappers, and test scripts
- **Natural Language Assistant**: AI-powered interface interaction
- **Smart Context**: Automatic context memory (last project, interface list)
- **URL Parser**: Intelligent parsing of Apifox share links

#### 🏗️ Architecture
- **Layered Design**: Server, Core, Lib, Types layers
- **Modular Structure**: 27 modules for high cohesion and low coupling
- **Type Safety**: 100% TypeScript, zero `any` types
- **Test Coverage**: 11 unit tests with 100% pass rate

#### 🛠️ Developer Experience
- ESLint + Prettier code standards
- Vitest testing framework
- Comprehensive documentation
- NPM scripts for common tasks

#### 📦 Infrastructure
- Unified logging system with log levels
- Custom error classes for better error handling
- Environment variable loading from MCP config
- Automatic project root detection

### 🔧 Configuration
- MCP configuration via `~/.cursor/mcp.json` or `.cursor/mcp.json`
- Support for custom API base URL
- Automatic `apifox-mcp.json` initialization

### 📚 Documentation
- [Architecture Guide](docs/architecture.md)
- [Setup Guide](docs/setup.md)
- [Usage Guide](docs/usage.md)
- [Features Guide](docs/features.md)

---

## Release Notes

### Breaking Changes
None (initial release)

### Upgrade Guide
This is the first release. No upgrade needed.

### Known Issues
None

---

For more details, see the [README](README.md).

