Files
leo-claude-mktplace/mcp-servers/gitea/CHANGELOG.md
lmiranda 9044fe28ec fix(gitea): fix 15 failing tests and update documentation
Test Fixes:
- Fix mock_config fixture to use 'owner/repo' format (was separate fields)
- Update test_client_initialization to match current client API
- Add required 'org' argument to get_org_labels, list_repos, aggregate_issues tests
- Update error message assertion in test_no_repo_specified_error
- Fix test_create_issue to mock is_org_repo and label resolution
- Update aggregate_issues tests in test_issues.py with org argument

Documentation Updates:
- Expand tools table from 8 to 36 tools (organized by category)
- Update directory structure to show all 6 tool files
- Remove unused GITEA_OWNER from configuration docs
- Add automatic repository detection documentation
- Add project directory detection strategies
- Update test count from 42 to 64
- Create CHANGELOG.md with full version history

All 64 tests now pass. No production code changes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:22:02 -05:00

3.4 KiB

Changelog

All notable changes to the Gitea MCP Server will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

1.3.0 - 2026-02-03

Added

  • Pull request tools (7 tools):
    • list_pull_requests - List PRs from repository
    • get_pull_request - Get specific PR details
    • get_pr_diff - Get PR diff content
    • get_pr_comments - Get comments on a PR
    • create_pr_review - Create PR review (approve/request changes/comment)
    • add_pr_comment - Add comment to PR
    • create_pull_request - Create new pull request
  • Label creation tools (3 tools):
    • create_label - Create repo-level label
    • create_org_label - Create organization-level label
    • create_label_smart - Auto-detect org vs repo for label creation
  • Validation tools (2 tools):
    • validate_repo_org - Check if repo belongs to organization
    • get_branch_protection - Get branch protection rules

Changed

  • Total tools increased from 20 to 36
  • Updated test suite to 64 tests (was 42)

Fixed

  • Test fixtures updated to use owner/repo format
  • Fixed aggregate_issues tests to pass required org argument

1.2.0 - 2026-01-28

Added

  • Milestone management tools (5 tools):
    • list_milestones - List all milestones
    • get_milestone - Get specific milestone
    • create_milestone - Create new milestone
    • update_milestone - Update existing milestone
    • delete_milestone - Delete a milestone
  • Issue dependency tools (4 tools):
    • list_issue_dependencies - List blocking issues
    • create_issue_dependency - Create dependency between issues
    • remove_issue_dependency - Remove dependency
    • get_execution_order - Calculate parallelizable execution order

1.1.0 - 2026-01-21

Added

  • Wiki and lessons learned tools (7 tools):
    • list_wiki_pages - List all wiki pages
    • get_wiki_page - Get specific wiki page content
    • create_wiki_page - Create new wiki page
    • update_wiki_page - Update existing wiki page
    • create_lesson - Create lessons learned entry
    • search_lessons - Search lessons by query/tags
    • allocate_rfc_number - Get next available RFC number
  • Automatic git remote URL detection for repository configuration
  • Support for SSH, HTTPS, and HTTP git URL formats

Changed

  • Configuration now uses owner/repo format exclusively
  • Removed separate GITEA_OWNER configuration (now derived from repo path)

1.0.0 - 2025-01-06

Added

  • Initial release with 8 core tools:
    • list_issues - List issues from repository
    • get_issue - Get specific issue details
    • create_issue - Create new issue with labels
    • update_issue - Update existing issue
    • add_comment - Add comment to issue
    • get_labels - Get all labels (org + repo)
    • suggest_labels - Intelligent label suggestion
    • aggregate_issues - Cross-repository issue aggregation (PMO mode)
  • Hybrid configuration system (system + project level)
  • Branch-aware security model
  • Mode detection (project vs company/PMO)
  • 42 unit tests with mocks
  • Comprehensive documentation