Skip to content

release v2.21.0 to main#109

Merged
robaone-redshelf merged 6 commits into
mainfrom
release/v2.21.0
Sep 23, 2025
Merged

release v2.21.0 to main#109
robaone-redshelf merged 6 commits into
mainfrom
release/v2.21.0

Conversation

@robaone-redshelf

@robaone-redshelf robaone-redshelf commented Sep 23, 2025

Copy link
Copy Markdown
Contributor

-Tickets:

Remember to Merge. ❗️DO NOT SQUASH ❗️

Release Note Summary – v2.21.0


🔧 Infrastructure Changes

  • GitHub Actions Enhancements:
    • Updated .github/actions/auto-pr-description to improve PR diff generation using the GitHub CLI (gh pr diff) instead of raw git diff, enhancing reliability and reducing dependency on local Git history.
    • Added support for structured JSON output in layer_dependency_analysis.js, enabling better integration with downstream automation or reporting tools.
  • Version Bump:
    • package.json updated from v2.19.0 to v2.21.0.

🔐 Security Concerns

  • Secrets Handling:
    • Continued use of GitHub secrets (GEMINI_API_KEY, GITHUB_TOKEN) for secure API and PR operations.
    • No new secrets introduced; existing secrets usage remains scoped and appropriate.
  • Permission Checks:
    • Improved error handling for permission-related failures (e.g., pull-requests: write), ensuring workflows fail gracefully and provide actionable feedback.

Performance Implications

  • Diff Generation Optimization:
    • Replacing git diff with gh pr diff reduces overhead and improves performance in CI environments with shallow clones.
  • Static Analysis Output:
    • Conditional logging based on output format (console vs json) minimizes unnecessary verbosity, improving log clarity and reducing noise in automated pipelines.

New Features

  • Layer Dependency Analysis:
    • Enhanced with JSON output mode for structured reporting.
    • Now supports command-line flag --json to toggle output format.
  • Improved CLI UX:
    • More robust argument parsing and error messaging in layer_dependency_analysis.js.
    • Clearer usage instructions and test plan logging for developers.

Overall, this release strengthens automation reliability, improves developer experience, and lays groundwork for better integration with external tools and reporting systems.

- Create reusable GitHub Action for AI-powered PR description generation
- Support for Google Gemini API integration
- JIRA ticket integration with configurable URL prefix
- Image preservation in existing PR descriptions
- Comprehensive documentation and usage examples
- Structured output format with Description, Changes, and Verification sections

This action can be used across multiple repositories to automatically generate
meaningful pull request descriptions based on git diff analysis.
@robaone-redshelf robaone-redshelf merged commit 4322fa6 into main Sep 23, 2025
11 checks passed
@robaone-redshelf robaone-redshelf deleted the release/v2.21.0 branch September 23, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant