
- Fixed API parameter passing for GET requests (was passing config as third parameter instead of fourth) - Branch filtering now works correctly with filterText parameter for Bitbucket Server - All GET requests with query parameters now functioning properly across all handlers - Updated CHANGELOG.md to reflect the fixes
3.1 KiB
3.1 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.3.0] - 2025-01-06
Added
- Enhanced merge commit details in
get_pull_request
:- Added
merge_commit_hash
field for both Cloud and Server - Added
merged_by
field showing who performed the merge - Added
merged_at
timestamp for when the merge occurred - Added
merge_commit_message
with the merge commit message - For Bitbucket Server: Fetches merge details from activities API when PR is merged
- For Bitbucket Cloud: Extracts merge information from existing response fields
- Added
Changed
- Major code refactoring for better maintainability:
- Split monolithic
index.ts
into modular architecture - Created separate handler classes for different tool categories:
PullRequestHandlers
for PR lifecycle operationsBranchHandlers
for branch managementReviewHandlers
for code review tools
- Extracted types into dedicated files (
types/bitbucket.ts
,types/guards.ts
) - Created utility modules (
utils/api-client.ts
,utils/formatters.ts
) - Centralized tool definitions in
tools/definitions.ts
- Split monolithic
- Improved error handling and API client abstraction
- Better separation of concerns between Cloud and Server implementations
Fixed
- Improved handling of merge commit information retrieval failures
- Fixed API parameter passing for GET requests across all handlers (was passing config as third parameter instead of fourth)
- Updated Bitbucket Server branch listing to use
/rest/api/latest/
endpoint with proper parameters - Branch filtering now works correctly with the
filterText
parameter for Bitbucket Server
[0.2.0] - 2025-06-04
Added
- Complete implementation of all Bitbucket MCP tools
- Support for both Bitbucket Cloud and Server
- Core PR lifecycle tools:
create_pull_request
- Create new pull requestsupdate_pull_request
- Update PR detailsmerge_pull_request
- Merge pull requestslist_branches
- List repository branchesdelete_branch
- Delete branches
- Enhanced
add_comment
with inline comment support - Code review tools:
get_pull_request_diff
- Get PR diff/changesapprove_pull_request
- Approve PRsunapprove_pull_request
- Remove approvalrequest_changes
- Request changes on PRsremove_requested_changes
- Remove change requests
- npm package configuration for easy installation via npx
Fixed
- Author filter for Bitbucket Server (uses
role.1=AUTHOR
andusername.1=email
) - Branch deletion handling for 204 No Content responses
Changed
- Package name to
@nexus2520/bitbucket-mcp-server
for npm publishing
[0.1.0] - 2025-06-03
Added
- Initial implementation with basic tools:
get_pull_request
- Get PR detailslist_pull_requests
- List PRs with filters
- Support for Bitbucket Cloud with app passwords
- Support for Bitbucket Server with HTTP access tokens
- Authentication setup script
- Comprehensive documentation