Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/bump-better-auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'sv': patch
---

chore(better-auth): bump better-auth to 1.6
6 changes: 4 additions & 2 deletions packages/sv/src/addons/better-auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ export default defineAddon({
let drizzleDialect: Dialect;
let d1 = false;

sv.devDependency('better-auth', '~1.4.21');
sv.devDependency('@better-auth/cli', '~1.4.21');
sv.devDependency('better-auth', '~1.6.0');
// waiting for https://github.com/better-auth/better-auth/issues/8933 to be resolved to bump to the new @better-auth/cli
sv.devDependency('@better-auth/cli', '~1.4.22');

// Read-only: extract dialect info from drizzle config without modifying it
sv.file(
Expand Down Expand Up @@ -190,6 +191,7 @@ export default defineAddon({
if (content) return false;
return dedent`
// If you see this file, you have not run the auth:schema script yet, but you should!
export {};
`;
})
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"auth:schema": "better-auth generate --config src/lib/server/auth.ts --output src/lib/server/db/auth.schema.ts --yes"
},
"devDependencies": {
"@better-auth/cli": "~1.4.21",
"@better-auth/cli": "~1.4.22",
"@eslint/compat": "^2.0.4",
"@eslint/js": "^10.0.1",
"@inlang/paraglide-js": "^2.15.2",
Expand All @@ -35,7 +35,7 @@
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.2.2",
"@vitest/browser-playwright": "^4.1.3",
"better-auth": "~1.4.21",
"better-auth": "~1.6.0",
"drizzle-kit": "^0.31.10",
"drizzle-orm": "^0.45.2",
"eslint": "^10.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// If you see this file, you have not run the auth:schema script yet, but you should!
export {};
Loading