Releases: coder-ralph/RepoTree
Releases · coder-ralph/RepoTree
v0.2.0
🌳 RepoTree v0.2.0
A major upgrade introducing secure OAuth authentication, a fully integrated repository browser, and a significantly improved UI/UX.
🚀 Highlights
🔐 OAuth-only authentication
- Removed PAT-based authentication entirely
- GitHub & GitLab login via NextAuth (Auth.js)
- JWT stored in encrypted httpOnly cookies
- Tokens never exposed to client-side code
📂 Authenticated repository browser
- New My Repositories tab inside generator
- Browse public & private repositories (OAuth scope-based)
- Search: name, description, full name
- Sorting: recently updated, A–Z, stars
- Pagination: 8 per page with smart ellipsis
- Click repo → instant tree generation (no URL paste)
🔗 Dual-source generator
- My Repositories (authenticated)
- Paste URL (public repos, no login required)
🎨 UI/UX improvements
- Cleaner user menu (avatar + sign out)
- Improved layout and interaction flow
- Integrated favicon and iOS icons
- Better responsiveness and usability
🔒 Security improvements
- Tokens stored in httpOnly cookies (not localStorage)
- No NEXT_PUBLIC_* tokens
- Server-side API handling only
- Secured
/api/reposand/api/tree
🏗 Architecture
- Added
/api/reposfor authenticated repo listing - Provider abstraction (GitHub + GitLab)
- Server-side tree fetching
- Dual data-source generator design
🧹 Removed
- token-status.tsx
- private-repos-dialog.tsx
- api/repo/route.ts
- github-signin/page.tsx
📄 Documentation
- Updated migration guide (OAuth + repo browser)
👉 See full migration guide: MIGRATION.md
🧠 Summary
This release completes the transition to a secure OAuth-only architecture and introduces a significantly improved post-login experience with direct repository browsing and generation.
What's Changed
- Fix React Server Components CVE vulnerabilities by @vercel[bot] in #3
- feat: OAuth-only auth, repo browser, UI/UX improvements by @coder-ralph in #4
- fix(gitlab): use OAuth Bearer token for API requests with PAT fallback by @coder-ralph in #5
New Contributors
- @vercel[bot] made their first contribution in #3
- @coder-ralph made their first contribution in #4
Full Changelog: v0.1.2...v0.2.0
v0.1.2
🚀 Changelog
Added
- GitHub API limits validation (100k entries, 7 MB size) with repository statistics and warnings for large repos
- Analysis View Mode tab with graphs and statistics
- Progress feedback with “continue” option after warnings
- Download button for repository summary as PNG
Changed
- Moved Repository Analysis into main view as a dedicated tab
- Conditional UI: Search/Download/Copy/Expand buttons only in ASCII & Interactive modes; Analysis button disabled until repo is loaded
- Enhanced Analysis view styling with headers, descriptions, and consistent layout
Improved
- Memoization for expensive operations
- CSS containment for better scroll performance
- Sorting and cache locality optimizations
- Limited tree depth to 20 levels for large repositories
- Caching of file/directory descriptions (max 1,000 entries)
Fixed
- Clearer error messages for API limit violations
- Stable rendering and memory usage for large repositories