# 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).
## [3.3.0] - 2025-01-30
### ๐ **MAJOR EXPANSION** - Three New API Groups
#### โจ **Context API (5 new tools)**
Visual context management for better translation quality:
- **`smartling_upload_context`** - Upload screenshots/images to provide visual context
- **`smartling_get_context`** - Get details of a specific context
- **`smartling_list_contexts`** - List all visual contexts in project
- **`smartling_bind_context_to_string`** - Associate images with specific strings
- **`smartling_delete_context`** - Remove visual contexts
#### ๐ **Locales API (5 new tools)**
Complete language management for projects:
- **`smartling_get_project_locales`** - Get all configured project languages
- **`smartling_add_locale_to_project`** - Add new languages to projects
- **`smartling_get_locale_details`** - Get specific language configuration
- **`smartling_remove_locale_from_project`** - Remove languages from projects
- **`smartling_get_supported_locales`** - Get all Smartling-supported languages
#### ๐ **Reports API (6 new tools)**
Advanced analytics and cost management:
- **`smartling_get_project_summary_report`** - Project overview with key metrics
- **`smartling_get_job_progress_report`** - Detailed job progress analytics
- **`smartling_get_cost_estimate`** - Translation cost estimation
- **`smartling_get_translation_velocity_report`** - Translation speed analysis
- **`smartling_get_word_count_report`** - Comprehensive word count analytics
- **`smartling_get_quality_score_report`** - Quality metrics and scores
### ๐ง **Technical Enhancements**
- **16 new client methods** in SmartlingClient with proper error handling
- **Advanced parameter handling** for optional filters and configurations
- **Comprehensive input validation** with Zod schemas
- **Consistent error messaging** across all new endpoints
- **Type-safe implementations** following existing patterns
### ๐ **Updated Statistics**
- **52 tools total** (up from 36 - a 44% increase!)
- **Complete API coverage** for Context, Locales, and Reports
- **Enhanced project management** capabilities
- **Professional-grade analytics** and reporting
### ๐ฏ **New Use Cases Enabled**
- **Visual Context Management**: Upload screenshots to help translators understand UI elements
- **Multi-language Project Setup**: Easily manage dozens of target languages
- **Cost Planning**: Get accurate translation estimates before starting projects
- **Performance Analytics**: Track translation speed and quality metrics
- **Project Reporting**: Generate comprehensive reports for stakeholders
### ๐ **Benefits**
- **Better Translation Quality**: Visual context reduces ambiguity and errors
- **Streamlined Language Management**: Add/remove languages with workflow assignment
- **Cost Control**: Accurate estimates help budget planning
- **Performance Insights**: Velocity reports help optimize translation workflows
- **Professional Reporting**: Quality scores and analytics for project management
---
## [3.2.0] - 2025-01-30
### โจ New Features
- **Job Progress Endpoint**: Added `smartling_get_job_progress` tool to get detailed translation progress for jobs
- Get overall job completion percentage
- View progress breakdown by locale
- Optional filtering by specific locale IDs
- Complete word count and completion statistics
### ๐ง Installer Improvements
- **Credential Preservation**: Installers now automatically preserve existing Smartling credentials
- No more re-entering credentials on updates
- Smart detection of existing User ID, Secret, and Account UID
- Interactive choice to keep or update credentials
- Works on all platforms (macOS, Linux, Windows)
### ๐ง Technical Details
- Added `JobProgress` interface in types
- Implemented `getJobProgress` method in SmartlingClient
- Enhanced all installers with credential preservation logic
- Added comprehensive error handling and parameter validation
- Follows existing code patterns and standards
### ๐ Total Tools Available
- **36 tools** now available (up from 35)
### ๐ฏ Benefits
- Better job monitoring and reporting capabilities
- Detailed locale-specific progress tracking
- Enhanced project management visibility
- Seamless installation and update experience
- No more credential re-entry on updates
---
## [3.1.0] - 2025-07-30
### ๐ Enhanced String and Key Management
This version adds **8 new tools** focused on advanced string management, tagging, and workflow operations, bringing the total to **35 tools**.
### โจ Added
#### ๐ค Advanced String Management Tools (5 new tools):
- **`smartling_get_workflow_steps`** - Get workflow steps for jobs and locales
- **`smartling_assign_workflow_step`** - Assign workflow steps to specific users
- **`smartling_get_string_translations`** - Get translations for strings across multiple locales
- **`smartling_search_strings_advanced`** - Advanced string search with multiple filters and pagination
- **`smartling_get_translation_progress`** - Get comprehensive translation progress reports
#### ๐ท๏ธ Enhanced String Tagging Tools (3 new tools):
- **`smartling_add_string_tags`** - Add tags to specific strings in files
- **`smartling_remove_string_tags`** - Remove tags from specific strings
- **`smartling_get_strings_by_tag`** - Find all strings with specific tags
### ๐ง Enhanced
- **String Tagging**: Improved `smartling_get_available_tags` with better error handling and standardized response format
- **Tool Count**: Updated from 27 to 35 total tools across all installers and documentation
- **API Coverage**: Now includes workflow management and advanced string operations
### ๐ Benefits
- **Advanced String Management**: Complete control over string tagging and organization
- **Workflow Integration**: Manage translation workflows and assignments directly
- **Enhanced Search**: Advanced filtering and pagination for large string datasets
- **Progress Tracking**: Comprehensive translation progress monitoring across projects
- **Better Organization**: Tag-based string organization and retrieval
---
## [3.0.0] - 2024-12-21
### ๐ Major Release - Complete Smartling API Coverage
This version represents a complete overhaul with **53 total tools**, making it the most comprehensive Smartling MCP server available.
### โจ Added
#### ๐ New Tool Categories (23 new tools):
- **Jobs & Workflows (5 tools)**:
- `smartling_create_job` - Create translation jobs
- `smartling_list_jobs` - List all jobs in project
- `smartling_get_job_details` - Get job information
- `smartling_authorize_job` - Authorize jobs for translation
- `smartling_close_job` - Close completed jobs
- **File Operations (4 tools)**:
- `smartling_upload_file` - Upload files for translation
- `smartling_download_file` - Download translated files
- `smartling_get_file_status` - Check file translation status
- `smartling_delete_file` - Remove files from project
- **Quality Assurance (3 tools)**:
- `smartling_run_quality_check` - Execute QA checks
- `smartling_get_quality_check_report` - Get QA reports
- `smartling_list_quality_checks` - List all QA checks
- **Glossary Management (3 tools)**:
- `smartling_get_glossaries` - List all glossaries
- `smartling_create_glossary` - Create new glossaries
- `smartling_create_glossary_term` - Add glossary terms
- **Webhook Management (3 tools)**:
- `smartling_create_webhook` - Create event webhooks
- `smartling_list_webhooks` - List project webhooks
- `smartling_delete_webhook` - Remove webhooks
- **Utilities & Advanced (5 tools)**:
- `smartling_diagnostic` - Test API connection and auth
- `smartling_create_project` - Create new projects
- `smartling_remove_tag_from_string` - Remove string tags
- `smartling_get_workflow_steps` - Get project workflows
- `smartling_resolve_locales_last_modified` - Get modification dates
#### ๐ง Project Improvements:
- **Environment Configuration**: Added `.env.example` template
- **Enhanced Git Ignore**: Comprehensive `.gitignore` for Node.js projects
- **Professional Scripts**: 11 new npm scripts for development and testing
- **Documentation**: Added `CONTRIBUTING.md` and `CHANGELOG.md`
- **Better Package Config**: Updated `package.json` with correct entry points
#### ๐ New npm Scripts:
- `npm run test:mcp` - Test MCP protocol compliance
- `npm run test:tools` - Test diagnostic functionality
- `npm run test:connection` - Test Smartling API connection
- `npm run count-tools` - Count available tools
- `npm run list-tools` - List available tools
- `npm run setup` - Quick environment setup
### ๐ Changed
- **Main Entry Point**: Updated from `src/index.js` to `bin/mcp-simple.js`
- **Tool Count**: Updated description from "27+ tools" to "53+ tools"
- **Binary Commands**: Both `smartling-mcp-server` and `smartling-mcp` now point to the complete server
- **Test Strategy**: Comprehensive testing with multiple test types
### ๐ Fixed
- **Schema Validation**: All tools now pass MCP client validation
- **Error Handling**: Improved error messages and validation
- **String Search**: Fixed 404 errors with alternative API approach
- **Tool Loading**: Resolved conflicts between different MCP client configurations
### ๐ Performance
- **Batch Operations**: Added `smartling_batch_operations` for efficient bulk actions
- **Direct API Access**: Enhanced source string retrieval methods
- **Optimized Requests**: Better API endpoint usage for common operations
## [2.0.0] - 2024-12-20
### โจ Added
- **Advanced String Management (15 tools)**:
- Enhanced search capabilities with regex support
- Batch tagging and operations
- Translation statistics and analytics
- Duplicate string detection
- Context binding management
### ๐ Changed
- Migrated from HTTP server to pure MCP JSON-RPC protocol
- Improved error handling and debugging
## [1.0.0] - 2024-12-19
### ๐ Initial Release
### โจ Added
- **Core Functionality (7 tools)**:
- `smartling_get_account_info` - Account information
- `smartling_list_projects` - Project listing
- `smartling_get_project_details` - Project details
- `smartling_list_files` - File management
- `smartling_search_strings` - String search
- `smartling_add_tag_to_string` - String tagging
- `smartling_get_string_tags` - Tag retrieval
- **MCP Compatibility**: Full support for Claude Desktop and Cursor
- **Authentication**: Secure API credential management
- **Documentation**: Comprehensive setup and usage guides
---
## ๐ Version Summary
| Version | Tools | Key Features |
|---------|-------|--------------|
| 3.0.0 | 53 | Complete Smartling API coverage |
| 2.0.0 | 30 | Advanced string management |
| 1.0.0 | 7 | Core MCP functionality |
## ๐ Upgrade Guide
### From 2.x to 3.0.0
1. **Update package**:
```bash
npm update smartling-mcp-server
```
2. **Set up environment**:
```bash
npm run setup
# Edit .env with your credentials
```
3. **Test new tools**:
```bash
npm run test:connection
npm run count-tools
```
4. **Update MCP config** (if needed):
- Ensure you're pointing to the correct binary
- Update any hardcoded tool names
### Breaking Changes
- **Entry Point**: Main entry changed from `src/index.js` to `bin/mcp-simple.js`
- **Tool Names**: All tools now follow `smartling_verb_noun` convention
- **Environment**: `.env` file now required for credentials (instead of MCP config embedding)
## ๐ฎ Future Plans
- **v3.1.0**: TypeScript migration and improved type safety
- **v3.2.0**: Real-time webhook event streaming
- **v3.3.0**: Bulk import/export utilities
- **v4.0.0**: Multi-account support and workspace management