From b1a25d2a053536c4f7c94fb8252da4dff0df3ffb Mon Sep 17 00:00:00 2001 From: pdogra1299 Date: Sat, 21 Jun 2025 16:24:08 +0530 Subject: [PATCH] chore: Bump version to 0.4.0 for release - Updated package.json version to 0.4.0 - Updated CHANGELOG.md with new release notes - Updated version in index.ts --- CHANGELOG.md | 16 ++++++++++++++++ package.json | 2 +- src/index.ts | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 198fecb..cb19e73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,22 @@ 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). +## [0.4.0] - 2025-01-21 + +### Added +- **New `get_branch` tool for comprehensive branch information**: + - Returns detailed branch information including name, ID, and latest commit details + - Lists all open pull requests originating from the branch with approval status + - Optionally includes merged pull requests when `include_merged_prs` is true + - Provides useful statistics like PR counts and days since last commit + - Supports both Bitbucket Server and Cloud APIs + - Particularly useful for checking if a branch has open PRs before deletion +- Added TypeScript interfaces for `BitbucketServerBranch` and `BitbucketCloudBranch` +- Added type guard `isGetBranchArgs` for input validation + +### Changed +- Updated documentation to include the new `get_branch` tool with comprehensive examples + ## [0.3.0] - 2025-01-06 ### Added diff --git a/package.json b/package.json index 17227ca..faa0997 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nexus2520/bitbucket-mcp-server", - "version": "0.3.0", + "version": "0.4.0", "description": "MCP server for Bitbucket API integration - supports both Cloud and Server", "type": "module", "main": "./build/index.js", diff --git a/src/index.ts b/src/index.ts index 230ad33..b0a802f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -38,7 +38,7 @@ class BitbucketMCPServer { this.server = new Server( { name: 'bitbucket-mcp-server', - version: '0.3.0', + version: '0.4.0', }, { capabilities: {