Skip to content

v2.6.0

Choose a tag to compare

@michelecanini michelecanini released this 11 Nov 10:20
· 1 commit to main since this release

🧩 A cookie consent banner you can switch on, and a GitLab mirror of the kit. The banner ships off, because the kit sets no cookies that need consent; turn it on the day you add analytics with cookies or an ad pixel, and those scripts wait for a yes. The repository is now also on GitLab, for anyone who does not use GitHub or cannot reach it. A MINOR: git pull, npm install. Nothing to migrate, and both new variables are optional: leave them unset and nothing changes.

Added

  • Cookie consent, off by default, behind NEXT_PUBLIC_COOKIE_CONSENT="true": a banner with Accept and Reject that look the same, where closing counts as a rejection and the choice holds for six months; Cookie settings in the footer opens it again. Load scripts that set cookies through <ConsentScript> instead of next/script and they run only after Accept; with the variable off it is plain next/script. The sample /cookies page follows the switch. Configuration has the details and a screenshot
  • A GitLab mirror at gitlab.com/openstarterkit/nextjs-saas-starter-kit, with the same commits and tags. Getting started and the README give its clone command
  • NEXT_PUBLIC_GITLAB_URL: a second button, Get it on GitLab, next to the GitHub one on the pricing page, both now with their logos. Unset, the button does not show

Changed

  • A live demo on another domain opens in a new tab, from the hero, the navbar, the footer and the mobile menu, so the visitor keeps your page. The local sign-in a clone falls back to stays in the same tab
  • Getting started explains the install scripts npm skips. Recent npm versions list the ones from Prisma and unrs-resolver at the end of npm install: the kit does not need them, and there is nothing to approve
  • Dependencies: minimatch 11.0.1 or later through an override, for a moderate advisory under typescript-eslint that only runs while linting; npm audit is clean, development tools included. Minor updates to lucide-react, resend, tailwindcss, vitest, Playwright, @shikijs/rehype and @types/node