Skip to content

Releases: coder-ralph/RepoTree

v0.2.0

25 Mar 13:42
6e4db92

Choose a tag to compare

🌳 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/repos and /api/tree

🏗 Architecture

  • Added /api/repos for 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

Full Changelog: v0.1.2...v0.2.0

v0.1.2

14 Aug 04:58
9500938

Choose a tag to compare

🚀 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

Commits: 3d56a82 · 9500938

v0.1.1

11 Aug 04:29
e21a2ff

Choose a tag to compare

This is the initial release of RepoTree! 🎉

For details on features, setup, and usage, check out the README.