Repository navigation
Releases
Releases · vialabs-net/quickben
create-quickben@0.2.0
No changes in this release.
create-quickben@0.1.0
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:
@quickben/plugin-tenancy@0.2.0
Patch Changes
- @quickben/admin@0.2.0
- @quickben/core@0.2.0
- @quickben/next@0.2.0
@quickben/plugin-tenancy@0.1.0
Minor Changes
-
991ab37: New
@quickben/plugin-tenancy0.1.0: organizations, memberships, roles, module entitlements, tenant-scoped collections, membership guard rails, local API helpers and an admin extension (@quickben/plugin-tenancy/admin).Core:
definePlugin({ addFields })adds typed fields to existing collections. Access rules getctxandqb; hooks getctx.RelationFieldtakes aTHasDefaultparameter.Admin: extensions can add
sidebarcomponents. -
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:
-
eb5c707: Access hardening and one API change before 0.1.
- Core:
findById(slug, id, query, ctx). The context is no longer merged withselectanddepth. - Core: relation values must point to documents the user can read (
overrideAccess: they must exist). - Core: an update filter also applies to the updated document, so a document cannot leave the filter.
- Core:
updateanddeleteof a document the user cannot read throwNotFoundError. - Core: cursor values are validated against the sort fields.
- Core:
getQuickbencaches onglobalThis, so every copy of the package shares one instance per config. - Core: field names must be unique without case; reserved names match in any case.
- Next: 5xx Quickben errors (such as
ConfigError) are returned asINTERNALwithout their message. - Memory adapter: an update no longer brings back a document deleted by a concurrent commit.
- Tenancy: a suspended organization is read-only for its members.
- Core:
Patch Changes
@quickben/plugin-templates@0.2.0
Patch Changes
- @quickben/admin@0.2.0
- @quickben/core@0.2.0
- @quickben/next@0.2.0
@quickben/plugin-templates@0.1.0
Minor Changes
- 773a6c8: New
@quickben/plugin-templates0.1.0: brands, versioned document templates per kind (one draft and one immutable published version), kinds registered withdefineTemplateKind, a condition language without eval, validation that points at nodes, HTML rendering with a letterhead, a pluggable PDF renderer with a Chromium implementation (@quickben/plugin-templates/chromium), and an admin extension with a lazy-loaded TipTap editor, live preview, publishing and a Brand page (@quickben/plugin-templates/admin).
Patch Changes
@quickben/plugin-doc-reader@0.2.0
Minor Changes
- 56a76c0: New
@quickben/plugin-doc-reader: versioned document types, a pipeline of text-layer (regex templates, reader functions) and vision-LLM extractors (AI SDK, prices from the connection), a test bench with model comparison, monthly budgets and a platform cap, usage reports, a job queue with an in-process runner and a BullMQ runner (@quickben/plugin-doc-reader/bullmq), models from@quickben/plugin-connections(@quickben/plugin-doc-reader/connections), and an admin extension (@quickben/plugin-doc-reader/admin).
Patch Changes
- @quickben/admin@0.2.0
- @quickben/core@0.2.0
- @quickben/next@0.2.0
- @quickben/plugin-connections@0.2.0
@quickben/plugin-connections@0.2.0
Patch Changes
- @quickben/admin@0.2.0
- @quickben/core@0.2.0
- @quickben/next@0.2.0
@quickben/plugin-connections@0.1.0
Minor Changes
- ade0d6a: New
@quickben/plugin-connections:credentials(AES-256-GCM encrypted, write-only secrets) andconnectionscollections, a provider registry (defineProvider) with built-in Anthropic, OpenAI-compatible, Gemini, Vertex AI and HTTP providers, connection and credential tests, master key rotation, AI SDK models (/ai) and an admin extension (/admin).
Patch Changes
@quickben/next@0.2.0
Patch Changes
- @quickben/core@0.2.0