🔧 Stability & Bug Fixes
We've fixed several critical issues to make the Boilerplate setup more reliable.
Directory Traversal Bug in Rename Script
-
Fixed critical bug where directories were being skipped during traversal—the script was only processing files in the root directory
-
Split skip logic into separate functions for directories and files to ensure proper recursion
-
Added rename-project.ts to skip list to prevent the script from modifying itself
TypeScript Type Fixes
-
Fixed createClient type parameter issues in auth.ts
-
Corrected context types in rbac.ts and other modules to use proper DbCtx types
-
Fixed Headers conversion and member table queries via component adapter
-
Resolved type assertions in user handling code
Setup Documentation Improvements
-
Added clearer instructions for updating project name references during setup
-
Updated remote repository naming conventions
-
Enhanced betterAuth server setup documentation
Code Quality & UI Refinements
-
Refactored boilerplate update tracking system for better reliability
-
Auto-formatted components across the codebase for consistency
-
Improved production calculator and other UI components
📊 Analytics: DataFast + HumanBehavior
We now recommend two optional (but powerful) analytics tools with Yugen so you can see both the what and the why behind your user behavior.
DataFast shows you which channels drive actual revenue. It connects to Polar so you're not just tracking clicks; you're tracking what matters. Real-time insights let you watch conversion funnels live, and the setup is painless: drop a 4KB script and you're done.
HumanBehavior reveals why users leave. AI automatically watches and analyses session replays to see where friction happens in your checkout or onboarding. Ask behavioural questions like "Why did trial users churn?" and get data-driven answers. It's privacy-first, so you can redact sensitive information, and it automatically flags issues and creates tasks when users hit problems.
Together, they're really powerful: DataFast tells you that Twitter has low conversion. HumanBehavior shows you it's checkout friction. You fix it. DataFast confirms the improvement. No more guessing.
New 'Analytics' page in our Documentation has been published:
Automatic Boilerplate Update Detection
Yugen is now the only boilerplate with automatic update detection built in. Stay patched without the busywork.
Tag the check-boilerplate-updates.md file in any Agent conversation to pull the latest changes since you cloned it and get a detailed report. The report breaks down what's safe to apply, what needs your review, and what might conflict:
-
✅ Safe updates – Changes you can apply without worrying
-
⚠️ Medium-risk changes – Updates worth reviewing before applying
-
🔴 Conflicts – Changes that need your attention
Once you review the report, just ask the agent to apply what you want. It'll create a branch and intelligently apply all the right changes for you. No manual work needed.
The result: Clone once, stay patched forever. You'll save time and always have the latest without lifting a finger.