# Changelog

All notable changes to the Solana Agents SDK 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).

## [0.2.1] - 2025-12-17

### Added
- **Enterprise Production Improvements**
  - Comprehensive JSDoc comments across all core SDK classes and methods
  - Input validation for agent and worker constructors
  - Improved error messages with context (function names, worker names)
  - Type-safe imports using `type` keyword
  - Better TypeScript configuration for production builds
  - Source maps and declaration maps for debugging
  - Proper package.json exports configuration
  - Keywords for better NPM discoverability

### Changed
- **TypeScript Core SDK**
  - Enhanced `FpfAgent` with full JSDoc documentation
  - Enhanced `FpfWorker` with validation and better error handling
  - Enhanced `FpfFunction` with comprehensive inline documentation
  - Improved `tsconfig.json` with strict type checking and ES2020 target
  - Updated package.json with better metadata and scripts
  - Switch statements now use block scoping to prevent variable bleed

### Fixed
- TypeScript compilation errors in core SDK
- Missing type annotations warnings
- Object type usage replaced with proper interfaces
- Build configuration excludes example and plugin directories

### Security
- Strict TypeScript settings enabled (strictNullChecks, noImplicitAny, etc.)
- Input validation on constructors

## [0.2.0] - 2024-12-XX

### Added
- Python SDK (`python-sdk/solana_agents`)
- Agentipy module with 40+ DeFi protocol integrations
- MCP (Model Context Protocol) server
- 28 plugins for various integrations
- ChatAgent class for conversational AI agents
- Multi-language support (TypeScript and Python)
- TEE support (Phala Cloud, Oasis ROFL)

### Changed
- Migrated from Fun Pump Fun branding to Solana Agents
- Updated API endpoints
- Improved worker and function architecture

## [0.1.0] - Initial Release

### Added
- Core Agent, Worker, and Function classes
- FPF API client (V1 and V2)
- Basic Solana trading capabilities
- Jupiter swap integration
- Documentation and examples
- fpf-starter template project
- Cloudflare Workers backend

[0.2.1]: https://github.com/solana-agents/sdk-node/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/solana-agents/sdk-node/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/solana-agents/sdk-node/releases/tag/v0.1.0
