From 271c6deeb217896af1164ea61babf2448028122b Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Sun, 29 Sep 2024 20:12:48 +0300 Subject: [PATCH] docs: change log --- docs/app/changelogs/_logs/2024-08-09.tsx | 48 ------------------------ docs/app/changelogs/_logs/2024-09-29.tsx | 41 ++++++++++++++++++++ docs/app/changelogs/_logs/index.ts | 6 +++ docs/app/changelogs/page.tsx | 2 +- 4 files changed, 48 insertions(+), 49 deletions(-) delete mode 100644 docs/app/changelogs/_logs/2024-08-09.tsx create mode 100644 docs/app/changelogs/_logs/2024-09-29.tsx diff --git a/docs/app/changelogs/_logs/2024-08-09.tsx b/docs/app/changelogs/_logs/2024-08-09.tsx deleted file mode 100644 index c23d30d784..0000000000 --- a/docs/app/changelogs/_logs/2024-08-09.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import { AnimatePresence } from "@/components/ui/fade-in"; - -const ChangelogOne = () => { - return ( - -
- -
-

- Commit message suggestions -

-
-

- In the latest release, I've added support for commit message and - description suggestions via an integration with OpenAI. Commit looks - at all of your changes, and feeds that into the machine with a bit of - prompt-tuning to get back a commit message that does a surprisingly - good job at describing the intent of your changes. It's also been a - pretty helpful way to remind myself what the hell I was working on at - the end of the day yesterday when I get back to my computer and - realize I didn't commit any of my work. -

-
-

Improvement

-
-
    -
  • - Added commit message and description suggestions powered by OpenAI -
  • -
  • - Started commit message and description suggestions powered by OpenAI -
  • - -
  • - Restored message and description suggestions powered by OpenAI -
  • -
  • - Added commit message and description suggestions powered by OpenAI -
  • -
-
-
- ); -}; -export default ChangelogOne; diff --git a/docs/app/changelogs/_logs/2024-09-29.tsx b/docs/app/changelogs/_logs/2024-09-29.tsx new file mode 100644 index 0000000000..85f97da315 --- /dev/null +++ b/docs/app/changelogs/_logs/2024-09-29.tsx @@ -0,0 +1,41 @@ +import { Badge } from "@/components/ui/badge"; +import { AnimatePresence } from "@/components/ui/fade-in"; + +const listOfFeatures = [ + "Database adapters support including prisma, drizzle and mongo db.", + "Generic OAuth Providers", + "database hooks", + "CrossDomain cookies", + "onRequest and onResponse plugin hooks", + "init interface for plugins", +]; + +const ChangelogOne = () => { + return ( + +
+
+

v0.2.0

+

+ We have added support for database adapters including prisma, + drizzle and mongo db and other changes. +

+
+

+
+

Changes

+
+
    + {listOfFeatures.map((change, i) => ( +
  • {change}
  • + ))} +
+ + 🚧 We still in beta and we don't recommend to use better-auth in + production just yet. + +
+
+ ); +}; +export default ChangelogOne; diff --git a/docs/app/changelogs/_logs/index.ts b/docs/app/changelogs/_logs/index.ts index 53ac8be0c3..f480bd51d8 100644 --- a/docs/app/changelogs/_logs/index.ts +++ b/docs/app/changelogs/_logs/index.ts @@ -1,3 +1,4 @@ +import ChangeLogTwo from "./2024-09-29"; import ChangelogOne from "./2024-09-28"; export const Logs = [ { @@ -5,4 +6,9 @@ export const Logs = [ date: "2024-09-28", component: ChangelogOne, }, + { + name: "Changelog 2", + date: "2024-09-29", + component: ChangeLogTwo, + }, ]; diff --git a/docs/app/changelogs/page.tsx b/docs/app/changelogs/page.tsx index 4baa67f7d9..500fa9b7c6 100644 --- a/docs/app/changelogs/page.tsx +++ b/docs/app/changelogs/page.tsx @@ -5,7 +5,7 @@ const ChangelogPage = () => { return (
- {Logs.map((log) => { + {Logs.reverse().map((log) => { return (