Skip to content

Project legacy simplification#35

Merged
kentcdodds merged 3 commits into
mainfrom
cursor/project-legacy-simplification-0ae0
Feb 18, 2026
Merged

Project legacy simplification#35
kentcdodds merged 3 commits into
mainfrom
cursor/project-legacy-simplification-0ae0

Conversation

@kentcdodds

@kentcdodds kentcdodds commented Feb 18, 2026

Copy link
Copy Markdown
Member

Simplify the project generator by removing all legacy code paths, squashing D1 migrations, and updating documentation.

As this is a project generator, backwards compatibility is not a concern. This PR removes all historical and legacy code, including older D1 migrations, password hash compatibility, and unused build configurations, to ensure the generated project starts from a clean, current baseline. Documentation and CI are updated to reflect only the current practices.


Open in Cursor Open in Web


Note

Medium Risk
Touches authentication verification code paths and database migration history; mistakes could break logins or fresh/remote migration application. Changes are otherwise straightforward deletions/simplification with limited runtime surface area.

Overview
Simplifies the generated project baseline by removing legacy/unused tooling and compatibility paths.

D1 migrations are squashed by folding password_resets and mock_resend_messages into migrations/0001-init.sql and deleting 0002/0003, and the production deploy workflow now applies migrations against the APP_DB binding.

Legacy password-hash support is removed: verifyPassword now returns a boolean only and login/OAuth handlers no longer attempt on-login hash upgrades. Client bundling support via Vite is dropped by deleting vite.config.ts, removing @cloudflare/vite-plugin/cross-env from deps, and updating TS/docs to stop referencing the Vite config.

Written by Cursor Bugbot for commit 72155f1. This will update automatically on new commits. Configure here.

cursoragent and others added 3 commits February 18, 2026 23:28
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
@cursor

cursor Bot commented Feb 18, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@kentcdodds
kentcdodds marked this pull request as ready for review February 18, 2026 23:48
@github-actions

Copy link
Copy Markdown

🔎 Preview deployed: https://epicflare-pr-35.kentcdodds.workers.dev

Worker: epicflare-pr-35
D1: epicflare-pr-35-db
KV: epicflare-pr-35-oauth-kv

Mocks:

@kentcdodds
kentcdodds merged commit 276601f into main Feb 18, 2026
15 checks passed
@kentcdodds
kentcdodds deleted the cursor/project-legacy-simplification-0ae0 branch February 19, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants