next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

chore(docs): update `migrating-to-v5` docs

Open halvaradop opened this issue 9 months ago • 2 comments

☕️ Reasoning

This pull request updates the documentation in the migrating-to-v5 section by expanding and improving the existing content. A new Route Handlers tab was added to the details section, providing guidance on how to use NextAuth.js v5 with Route Handlers. Additionally, the Client Component section was revised to address multiple issues raised by the community regarding unclear documentation.

The format:write script was also run to ensure consistent formatting across the documentation files.

It’s been a while since my last contribution to the project, so I’m glad to be back and help improve the docs.

Key Changes

  • Updated the Client Component section
  • Added a new Route Handlers section
  • Ran the format:write script

🧢 Checklist

  • [x] Documentation
  • [ ] Tests
  • [ ] Ready to be merged

🎫 Affected issues

#12767

📌 Resources

halvaradop avatar Apr 14 '25 04:04 halvaradop

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
auth-docs Ready Ready Preview Comment Aug 24, 2025 10:46pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
next-auth-docs Ignored Ignored Preview Aug 24, 2025 10:46pm

vercel[bot] avatar Apr 14 '25 04:04 vercel[bot]

@halvaradop is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 14 '25 04:04 vercel[bot]

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 37.89%. Comparing base (39dd3b9) to head (202b3ee).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12872      +/-   ##
==========================================
- Coverage   38.76%   37.89%   -0.87%     
==========================================
  Files         200      195       -5     
  Lines       32323    31137    -1186     
  Branches     1393     1298      -95     
==========================================
- Hits        12529    11799     -730     
+ Misses      19794    19338     -456     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Aug 24 '25 22:08 codecov[bot]