Repository navigation
create-quickben@0.1.0
·
19 commits
to trunk
since this release
Minor Changes
- 664add0: First release of
create-quickben:pnpm create quickben my-appcreates a Next.js app with Quickben. Options:--db pglite|postgres|sqlite|memory,--example blank|blog,--pm,--no-install,--no-git,--yes.
Patch Changes
-
811793e: Fixes for new
create-next-appprojects.@quickben/db-drizzle: one entry point per dialect (@quickben/db-drizzle/postgres,/pglite,/sqlite), each exportingdrizzleAdapter. A bundler now sees only the driver you import, so Next.js builds withoutserverExternalPackagesfor drivers you did not install. The main entry no longer exportsdrizzleAdapter.@quickben/admin: the admin page renders inside<Suspense>, so it builds withcacheComponents: true. Utilities are no longer in a cascade layer, so unlayered app resets (* { margin: 0; padding: 0 }) do not override them. It reads the request before the database. Control ids are unique per form, because Next.js keeps visited pages mounted. NewgenerateAdminMetadata(config).LabelrequireshtmlFor.@quickben/next:getRequestContextcallsconnection(), so database reads after it never run while prerendering.@quickben/core:admin.meta(title,description) for the admin page metadata.create-quickben: templates use the dialect entry points and Cache Components, and no longer externalize the adapter.
-
745dd01: Polish before 0.1.
- Next:
createRouteHandlerslimitsPOSTandPATCHbodies tomaxBodyBytes(default 1 MB). Larger bodies get413 PAYLOAD_TOO_LARGE. - Next:
getQuickbenis no longer re-exported. Import it from@quickben/core. - Admin:
resolveRouteandAdminRouteare no longer exported. - Core:
QuickbenUser.emailVerified. Auth adapters should set it. - Tenancy:
acceptInvitationthrowsForbiddenErrorfor an invitation by email when the user hasemailVerified: false.listMyInvitationsand membership reads then ignore the email. - Tenancy: the organization cookie is
Secureonly on https requests, so it works onhttp://localhost.organizationCookie(qb, id, req)takes the request; newisSecureRequest(req). - Tenancy: guard rails throw
TenancyRuleError(aForbiddenError) with arule. - Tenancy admin: actions redirect with
?toast=and?error=codes that map to fixed messages. Text from the URL is never shown. - create-quickben: templates import
getQuickbenfrom@quickben/core.
- Next: