Skip to content

Releases

create-quickben@0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:56
bd1382a

No changes in this release.

create-quickben@0.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:36
7b5474e

Minor Changes

  • 664add0: First release of create-quickben: pnpm create quickben my-app creates 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-app projects.

    • @quickben/db-drizzle: one entry point per dialect (@quickben/db-drizzle/postgres, /pglite, /sqlite), each exporting drizzleAdapter. A bundler now sees only the driver you import, so Next.js builds without serverExternalPackages for drivers you did not install. The main entry no longer exports drizzleAdapter.
    • @quickben/admin: the admin page renders inside <Suspense>, so it builds with cacheComponents: 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. New generateAdminMetadata(config). Label requires htmlFor.
    • @quickben/next: getRequestContext calls connection(), 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: createRouteHandlers limits POST and PATCH bodies to maxBodyBytes (default 1 MB). Larger bodies get 413 PAYLOAD_TOO_LARGE.
    • Next: getQuickben is no longer re-exported. Import it from @quickben/core.
    • Admin: resolveRoute and AdminRoute are no longer exported.
    • Core: QuickbenUser.emailVerified. Auth adapters should set it.
    • Tenancy: acceptInvitation throws ForbiddenError for an invitation by email when the user has emailVerified: false. listMyInvitations and membership reads then ignore the email.
    • Tenancy: the organization cookie is Secure only on https requests, so it works on http://localhost. organizationCookie(qb, id, req) takes the request; new isSecureRequest(req).
    • Tenancy: guard rails throw TenancyRuleError (a ForbiddenError) with a rule.
    • 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 getQuickben from @quickben/core.

@quickben/plugin-tenancy@0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:56
bd1382a

Patch Changes

  • @quickben/admin@0.2.0
    • @quickben/core@0.2.0
    • @quickben/next@0.2.0

@quickben/plugin-tenancy@0.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:37
7b5474e

Minor Changes

  • 991ab37: New @quickben/plugin-tenancy 0.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 get ctx and qb; hooks get ctx. RelationField takes a THasDefault parameter.

    Admin: extensions can add sidebar components.

  • 745dd01: Polish before 0.1.

    • Next: createRouteHandlers limits POST and PATCH bodies to maxBodyBytes (default 1 MB). Larger bodies get 413 PAYLOAD_TOO_LARGE.
    • Next: getQuickben is no longer re-exported. Import it from @quickben/core.
    • Admin: resolveRoute and AdminRoute are no longer exported.
    • Core: QuickbenUser.emailVerified. Auth adapters should set it.
    • Tenancy: acceptInvitation throws ForbiddenError for an invitation by email when the user has emailVerified: false. listMyInvitations and membership reads then ignore the email.
    • Tenancy: the organization cookie is Secure only on https requests, so it works on http://localhost. organizationCookie(qb, id, req) takes the request; new isSecureRequest(req).
    • Tenancy: guard rails throw TenancyRuleError (a ForbiddenError) with a rule.
    • 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 getQuickben from @quickben/core.
  • eb5c707: Access hardening and one API change before 0.1.

    • Core: findById(slug, id, query, ctx). The context is no longer merged with select and depth.
    • 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: update and delete of a document the user cannot read throw NotFoundError.
    • Core: cursor values are validated against the sort fields.
    • Core: getQuickben caches on globalThis, 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 as INTERNAL without 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.

Patch Changes

  • Updated dependencies [e70ef29]
  • Updated dependencies [d62a1a8]
  • Updated dependencies [811793e]
  • Updated dependencies [991ab37]
  • Updated dependencies [745dd01]
  • Updated dependencies [eb5c707]
    • @quickben/core@0.1.0
    • @quickben/next@0.1.0
    • @quickben/admin@0.1.0

@quickben/plugin-templates@0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:56
bd1382a

Patch Changes

  • @quickben/admin@0.2.0
    • @quickben/core@0.2.0
    • @quickben/next@0.2.0

@quickben/plugin-templates@0.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:36
7b5474e

Minor Changes

  • 773a6c8: New @quickben/plugin-templates 0.1.0: brands, versioned document templates per kind (one draft and one immutable published version), kinds registered with defineTemplateKind, 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

  • Updated dependencies [e70ef29]
  • Updated dependencies [d62a1a8]
  • Updated dependencies [811793e]
  • Updated dependencies [991ab37]
  • Updated dependencies [745dd01]
  • Updated dependencies [eb5c707]
    • @quickben/core@0.1.0
    • @quickben/next@0.1.0
    • @quickben/admin@0.1.0

@quickben/plugin-doc-reader@0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:56
bd1382a

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

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:56
bd1382a

Patch Changes

  • @quickben/admin@0.2.0
    • @quickben/core@0.2.0
    • @quickben/next@0.2.0

@quickben/plugin-connections@0.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:36
7b5474e

Minor Changes

  • ade0d6a: New @quickben/plugin-connections: credentials (AES-256-GCM encrypted, write-only secrets) and connections collections, 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

  • Updated dependencies [e70ef29]
  • Updated dependencies [d62a1a8]
  • Updated dependencies [811793e]
  • Updated dependencies [991ab37]
  • Updated dependencies [745dd01]
  • Updated dependencies [eb5c707]
    • @quickben/core@0.1.0
    • @quickben/next@0.1.0
    • @quickben/admin@0.1.0

@quickben/next@0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:56
bd1382a

Patch Changes

  • @quickben/core@0.2.0