diff --git a/docs/app/v1/page.tsx b/docs/app/v1/page.tsx index ad82e199d3..14db2069fb 100644 --- a/docs/app/v1/page.tsx +++ b/docs/app/v1/page.tsx @@ -1,11 +1,8 @@ "use client"; -import { motion } from "framer-motion"; -import { ArrowRight, GitCommit, Zap, Shield, Copy } from "lucide-react"; +import { ArrowRight } from "lucide-react"; import { Button } from "@/components/ui/button"; -import { Badge } from "@/components/ui/badge"; import { Card } from "@/components/ui/card"; -import { ShipText } from "./_components/v1-text"; import { ReactNode } from "react"; import { BackgroundLines } from "./bg-line"; import Link from "next/link"; @@ -53,27 +50,18 @@ export default function V1Ship() { What does V1 means?

- Hey there human! Thanks for stopping by. Since announcing Better - Auth, the community excitement has been incredibly motivating—thank - you!
-
- V1 is an important milestone for us, but it simply means we believe - you can use it in production. And we'll try to keep APIs stable - until next major version. We'll continue improving, adding new - features, and fixing bugs at the same pace as before. While we - strive to make this version as stable and secure as possible, we - don't expect it to be perfect.

- If you're using Better Auth, we recommend updating to V1 as soon as - possible. There are some breaking changes, but join us on{" "} - - Discord - - , and we'll gladly help if you've been using Better Auth in - production. + Since introducing Better Auth, the community's excitement has been + incredibly motivating—thank you!

+ V1 is an important milestone, but it simply means we believe you can + use it in production and that we'll strive to keep the APIs stable + until the next major version. However, we'll continue improving, + adding new features, and fixing bugs at the same pace as before. +

+ If you were using Better Auth for production, we recommend updating + to V1 as soon as possible. There are some breaking changes, feel + free to join us on{" "} + Discord, and we'll + gladly assist.

@@ -88,12 +76,15 @@ export default function V1Ship() { version="1.0.0" date="2024" changes={[ - "feat: Open API Docs Plugin", + "feat: Open API Docs", "docs: Sign In Box Builder", - "fix: Bug fixes and performance improvements", "feat: New server only endpoints for Organization and Two Factor plugins", "refactor: all core tables now have `createdAt` and `updatedAt` fields", - "refactor: session id and token are now stored in separate fields", + "refactor: accounts now store `expiresAt` for both refresh and access tokens", + "feat: Email OTP forget password flow", + "docs: NextAuth.js migration guide", + "feat: sensitive endpoints now check for fresh tokens", + "and a lot more bug fixes and improvements...", ]} /> diff --git a/docs/components/builder/sign-in.tsx b/docs/components/builder/sign-in.tsx index 5e5ed4d269..398d4ba878 100644 --- a/docs/components/builder/sign-in.tsx +++ b/docs/components/builder/sign-in.tsx @@ -198,7 +198,7 @@ export const signInString = (options: any) => `"use client" import { Loader2 } from "lucide-react"; import { signIn } from "@/lib/auth-client"; -function SignInCard() { +export default function SignIn() { const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); const [loading, setLoading] = useState(false);