Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit d72e366

Browse files
committed
chore(release): v1.8.0 [skip actions]
1 parent 1f08756 commit d72e366

File tree

3 files changed

+52
-58
lines changed

3 files changed

+52
-58
lines changed

.changeset/consolidate-entrypoint-registry.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,56 @@
11
# Changelog
22

3+
## 1.8.0
4+
5+
### Minor Changes
6+
7+
- [#188](https://github.com/sapientpants/deepsource-mcp-server/pull/188) [`1f08756`](https://github.com/sapientpants/deepsource-mcp-server/commit/1f087560776a215db89ac2caa7e20f6f4af505fc) - Consolidate to single canonical entrypoint and registry
8+
9+
This refactoring consolidates multiple entry points and tool registry implementations into a single, feature-flag-controlled architecture, addressing technical debt and simplifying the codebase.
10+
11+
### New Features
12+
- **Feature Flags System**: Control experimental features via environment variables
13+
- `FEATURE_TOOL_DISCOVERY`: Enable automatic tool discovery from filesystem
14+
- `FEATURE_ENHANCED_LOGGING`: Enable additional debug information
15+
- `FEATURE_METRICS`: Enable metrics collection (future)
16+
- `FEATURE_CACHE`: Enable caching layer (future)
17+
- **Unified Tool Registry**: All registry functionality now in single `ToolRegistry` class
18+
- Tool discovery (when feature flag enabled)
19+
- Metadata support for categorization and filtering
20+
- Enhanced tool information methods
21+
- **Consolidated Configuration**: Centralized configuration management
22+
- `config/features.ts`: Feature flag management
23+
- `config/default.ts`: Default configurations
24+
- Environment-specific settings
25+
26+
### Improvements
27+
- Single entry point (`src/index.ts`) for all server startup scenarios
28+
- Consistent module structure with clear boundaries
29+
- Reduced code duplication and maintenance burden
30+
- Better separation between core and experimental features
31+
- Improved testability with feature flag control
32+
33+
### Deprecations (Backward Compatible)
34+
35+
The following are deprecated but still functional with warnings:
36+
- `src/index-registry.ts` → Use `src/index.ts`
37+
- `src/server/index-enhanced.ts` → Features integrated into main server
38+
- `src/server/tool-registry-enhanced.ts` → Features merged into `ToolRegistry`
39+
- `validateEnvironment()` → Use `getConfig()` from `config/index.js`
40+
- `createAndConfigureToolRegistry()` → Use `DeepSourceMCPServer.create()`
41+
42+
### Migration
43+
- No breaking changes - existing code continues to work
44+
- See MIGRATION.md for detailed migration instructions
45+
- Deprecation warnings guide users to new patterns
46+
- Feature flags default to `false` for backward compatibility
47+
48+
### Technical Details
49+
- Eliminates circular dependencies
50+
- Follows SOLID principles and DRY
51+
- Maintains 100% backward compatibility
52+
- Sets foundation for future extensibility
53+
354
## 1.7.1
455

556
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "deepsource-mcp-server",
3-
"version": "1.7.1",
3+
"version": "1.8.0",
44
"description": "Model Context Protocol server for DeepSource",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)