Release Notes - SQL Connection String Translator v0.0.1
February 4, 2026 ยท View on GitHub
Release Date: February 4, 2026
Version: 0.0.1 (Initial Release)
Package Size: 94.46 KB
๐ What's New
We're excited to introduce SQL Connection String Translator - a VS Code extension that makes it effortless to translate SQL Server connection strings between 7 different driver formats!
๐ Key Features
Multi-Driver Support
Translate connection strings between:
- SqlClient (.NET / C#)
- ODBC (Open Database Connectivity)
- OLEDB (Object Linking and Embedding Database)
- JDBC (Java Database Connectivity)
- PHP (sqlsrv extension)
- Python (mssql / pyodbc)
- Rust (mssql-tds / tiberius)
Intelligent Translation Engine
- โ 128+ keyword mappings across all drivers
- โ Auto-detection with confidence scoring (high/medium/low)
- โ
Comprehensive synonym support (e.g.,
Server=Data Source,UID=User ID) - โ Syntax validation with detailed error messages
- โ
Smart OLEDB handling - Automatically injects mandatory
Provider=MSOLEDBSQL;keyword
Modern User Interface
- ๐จ Intuitive webview panel with VS Code theme integration
- ๐ One-click copy buttons for all translations
- ๐ Translate to all formats simultaneously with grid view
- ๐ฏ Real-time detection badges showing source format confidence
- โก Keyboard shortcuts for rapid workflow
- ๐ History sidebar to track recent translations
Developer Experience
- ๐ Context menu integration - Right-click any selected text
- โจ๏ธ Keyboard shortcuts:
Ctrl+Shift+C Ctrl+Shift+T/Cmd+Shift+C Cmd+Shift+T- Open translatorCtrl+Enter/Cmd+Enter- TranslateCtrl+Shift+Enter/Cmd+Shift+Enter- Translate to all
- ๐ฆ Multiple translation commands for different workflows
- ๐ฏ Clipboard support - Translate directly from clipboard
๐ง Technical Highlights
Architecture
- Modern TypeScript codebase with comprehensive type definitions
- Webpack production builds for optimized performance (91.6 KB bundle)
- External CSS stylesheet for better maintainability and CSP compliance
- Modular design - 7 specialized driver modules + core translation engine
OLEDB Compliance โ ๏ธ
This release includes special handling for OLEDB connection strings:
- Automatic Provider injection -
Provider=MSOLEDBSQL;added when translating TO OLEDB - First parameter positioning - Provider keyword always appears first (OLEDB spec requirement)
- Documentation - Comprehensive keyword matrix with OLEDB-specific notes
Code Quality
- โ Comprehensive test coverage (unit + integration tests)
- โ ESLint configuration for code consistency
- โ Prettier formatting for clean code
- โ Detailed specification documents and research materials
๐ Usage Examples
Example 1: SqlClient to OLEDB
Input (SqlClient):
Server=localhost;Database=TestDB;User ID=sa;Password=MyPass123;
Output (OLEDB):
Provider=MSOLEDBSQL;Data Source=localhost;Initial Catalog=TestDB;User ID=sa;Password=MyPass123;
Example 2: ODBC to Python
Input (ODBC):
Driver={ODBC Driver 18 for SQL Server};Server=tcp:myserver.database.windows.net,1433;Database=mydb;UID=admin;PWD=pass;
Output (Python):
Config(
server='tcp:myserver.database.windows.net,1433',
database='mydb',
user='admin',
password='pass',
)
Example 3: Translate to All Formats
Use the "Translate to All Formats" button to see your connection string in all 7 formats simultaneously - perfect for documentation or multi-language projects!
โ๏ธ Installation
From VSIX File
code --install-extension sql-connection-string-translator-0.0.1.vsix
Manual Installation
- Download
sql-connection-string-translator-0.0.1.vsix - Open VS Code
- Go to Extensions view (
Ctrl+Shift+X/Cmd+Shift+X) - Click
...(More Actions) โInstall from VSIX... - Select the downloaded file
- Reload VS Code
๐ฏ Getting Started
Quick Start
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Type:
Connection String: Open Translator - Paste your connection string
- Select target format
- Click "Translate" or "Translate to All Formats"
- Copy results with one click!
Translate Selection
- Select a connection string in any file
- Right-click โ
Translate Connection String - Choose target format
- Result appears in translator panel
Translate from Clipboard
- Copy a connection string to clipboard
- Command Palette โ
Connection String: Translate from Clipboard - Select target format
- View translated result
โ ๏ธ Known Issues
Rust Output Format
Rust translations generate struct initialization code (Config struct), not traditional connection strings, reflecting how the mssql-tds crate is used in practice.
Python Allowlist
Python's mssql driver uses a restricted allowlist. Keywords outside this list will generate warnings but the translation will still complete.
Driver-Specific Keywords
Some advanced keywords (e.g., OLEDB's Auto Translate, ODBC's AnsiNPW) may not have direct equivalents in all target drivers. These generate informative warnings.
Repository
This release uses local git only. Remote repository integration coming in future releases.
๐ฎ What's Next?
We have exciting plans for future releases:
- ๐ GitHub/Azure DevOps repository integration
- ๐งช Extended test coverage for edge cases
- ๐ Interactive tutorials and examples
- ๐ Support for additional drivers (PostgreSQL, MySQL adapters)
- ๐ Enhanced security keyword handling
- ๐จ Customizable UI themes
๐ Documentation
Detailed documentation available in the repository:
- Specification:
/specs/001-connection-string-translator/spec.md - Keyword Matrix:
/specs/001-connection-string-translator/research/keyword-matrix-summary.md - Implementation Plan:
/specs/001-connection-string-translator/plan.md - Quick Start Guide:
/specs/001-connection-string-translator/quickstart.md
๐ค Contributing
This is an initial release. Feedback, bug reports, and feature requests are welcome!
๐ License
MIT License - See LICENSE file for details
๐ Acknowledgments
Built with:
- TypeScript + Webpack
- VS Code Extension API
- Microsoft Learn documentation for OLEDB, ODBC, SqlClient specifications
- Community feedback and testing
Thank you for trying SQL Connection String Translator v0.0.1!
We hope this tool saves you time and makes working with SQL Server connection strings across different platforms a breeze. ๐