v2.0.0
GitBrancher 2.0.0 marks a major leap in capabilities, user experience, and architecture.
This release introduces modern authentication with GitHub OAuth, AI-powered Pull Request analysis, advanced interactive visualization, and a more consistent and robust CLI experience.
This is a MAJOR release and includes significant behavioral changes.
Key New Features
AI-Powered Pull Request Analysis
-
New
pr analyzecommand with intelligent impact analysis. -
Support for:
--ai(standard analysis)--ai-full(in-depth analysis)
-
Detailed insights per file, affected dependencies, and change context.
-
Standardized and consistent analysis sections across CLI and HTML output.
Advanced Interactive Visualization
-
Automatic generation of interactive HTML visualizations.
-
Impact graph featuring:
- Automatic base branch detection (main/master).
- Inline diff with syntax highlighting and quick copy.
- Detailed view of affected files and dependencies with line numbers.
-
Additional export to Mermaid.
-
Modernized UI with a details panel, interactive legend, and improved navigation.
Modern Authentication with GitHub OAuth
-
Traditional email/password login has been removed.
-
New 100% GitHub OAuth authentication flow:
- Automatic browser launch.
- Local HTTP server to capture the OAuth callback.
- Automatic token capture (no copy/paste required).
-
New
--tokenparameter for manual or automated workflows. -
Styled success/error pages displayed during the login process.
AI Credits System
-
New
creditscommand to check the available balance. -
Automatic credit consumption when running AI analysis:
--ai→ 1 credit--ai-full→ 3 credits
-
Pre-validation of available credits before executing analysis.
-
Clear messaging showing before/after balances and upgrade suggestions for free-tier users.
More Consistent CLI Experience
-
Global replacement of emojis with text-based status indicators:
[SUCCESS],[ERROR],[WARNING],[AI],[NOTE], etc.
-
Output that is more compatible with all terminals, CI/CD environments, and logs.
-
Consistent behavior across commands (
login,register,info,credits,pr analyze, etc.).
Technical Changes and Internal Improvements
- Integrated local HTTP server for OAuth callbacks.
- Removal of legacy branch name validation test suite.
- Standardization of analysis headers and sections.
- Improved separation between CLI logic, visualization, and backend.
- Foundation prepared for plans, limits, and future AI extensions.
Breaking Changes
- Email/password authentication has been removed.
- AI-powered analysis requires authentication.
- Some commands now automatically open the browser.
- CLI output format has changed (emojis → text).
If you were using previous versions:
- You will need to sign in again with GitHub.
- Scripts that relied on emoji-based output may require updates.
Recommended Migration
-
Update GitBrancher:
npm install -g @livrasand/gitbrancher
-
Sign in again:
gitbrancher login
-
Check your credits:
gitbrancher credits
Thank you for using GitBrancher and being part of this new chapter.
Welcome to GitBrancher 2.0.0.