Repository navigation
v2.3.5
📨 Bring your own email provider. Every email the kit sends now goes through one function, so moving from Resend to SMTP, Postmark or any other service means rewriting one file, and a new guide walks through two examples. Asked for in #48. This is a PATCH: git pull, npm install. Nothing to migrate and nothing to configure: Resend stays the default and works as before.
Added
sendEmail()andemailEnabled()insrc/lib/email-transport.ts. Every email goes through the first, and every "is email set up?" asks the second instead of readingRESEND_API_KEYin nine places. Email shows Nodemailer over SMTP and Postmark, the three behaviours to keep when you swap, and a note on text messages- A one-line signup in the footer of every public page, feeding the same double opt-in list as the pricing waitlist, with
footeras its source in the admin export. It stays off until you setWAITLIST_ENABLED="true", once your real privacy policy is live (the one that ships is a placeholder), and needs an email provider;WAITLIST_ENABLED, until now meaningful only on the kit's own site, is the gate for every form that collects addresses on its own. Disabled in demo mode. The line above the field is infooter.signup; to drop the form, delete its line infooter.tsx. See Newsletter & waitlist - Every code block in the docs and the blog has a header: the file name when the fence gives one, otherwise the language (Terminal, TypeScript, .env...), and the Copy button on the right
Changed
- One loading state for every page change in the dashboard and the admin: the page dims as behind a dialog, with the logo turning in the middle, after 120 ms. Pages without a
loading.tsxof their own no longer sit still while the next one loads, back and forward included - The account menu sits at the top of the sidebar, under the logo, in the dashboard and the admin, and opens downwards. Its items are unchanged
- The landing hero: the headline is two lines of the same size, a little bolder than medium, the subtitle runs wider, and from 1280 px up the dashboard preview scales to the full content width. The preview follows the real sidebar, with the account menu under the logo, and its theme switch turns only the preview light or dark: a
.lightclass now scopes the light theme inside a dark page, as.darkalready did the other way round. A clone without ahero.$product.trustline shows nothing under the buttons - The top menu is as wide as the footer's content, and from 1536 px up the public pages grow by 12% as a whole, so on a wide monitor the content no longer fills barely half the screen. The dashboard and the admin are not affected
- Dependencies:
react-hook-form7.89,vitestand@vitest/coverage-v85.0.3,@shikijs/rehype4.5,@types/node26.6,dotenv18.0.5,lucide-react1.50,pg8.23.1
Fixed
- Buttons and other clickable controls show the pointer cursor again. Tailwind 4 dropped the rule that gave it to them, so most of the app showed the arrow. One rule in
globals.cssputs it back for buttons, selects, checkboxes, radios, file inputs,summaryand labels, never on a disabled control, and acursor-*class still wins over it. The items of aSelectuse it too, like the dropdown menu's - A page change starts at the top again. From a scrolled page, the logo or a menu link could land halfway down the next one, often on a section: the smooth scrolling in
globals.cssanimated the jump, and since Next.js 16 the router turns it off during navigation only when<html>carriesdata-scroll-behavior="smooth", which the root layout now sets. The section links keep scrolling smoothly
Security
sharpandsource-map-jsmove to their fixed versions (two high advisories).sprintf-jshas no fixed version: it reaches the kit only throughargparse1, whichjs-yaml3 undergray-matteruses for its own command line and never while reading the docs. An override scoped to that chain moves it toargparse2. Production dependencies audit at zero
If you customised the layouts, the landing, the loading pages or the emails
Expect conflicts in src/app/(dashboard)/layout.tsx, src/app/(admin)/layout.tsx, the loading.tsx files, src/lib/email.ts, src/components/blog/code-block.tsx, src/components/landing/hero.tsx, src/components/landing/footer.tsx and src/app/globals.css: see Upgrading.