[ CHANGELOG ]
Changelog
51 stable releases and 493 canary builds of 33 packages, newest first. Stable releases carry the notes from the package changelog.
Releases
Showing 50 of 51 stable releases
First stable release. Earlier
0.1.0-canary.*builds (npmlatestpointed at the oldest one, from 2026-06-17) were prereleases and are superseded by this version.Added
- First stable release of
@vllnt/next-llms. generateLlmsText(config)— generate a spec-compliantllms.txtindex: an#title, a>blockquote, optional free prose,## Sectionlink lists, and a droppable## Optionalsection (per the llmstxt.org specification).createMarkdownRoute(resolver, options?)— a Web-standard(request) => Promise<Response>App Router route handler that strips a trailing.md, resolves the slug, and returnstext/markdownwith aCache-Controlheader (overridable), or404when the resolver returnsnull.- Zero runtime dependencies and no peer dependencies (the package imports
nothing from
nextorreact); typed end to end.
Security
createMarkdownRoutenow answers400without calling the resolver when the path has malformed percent-encoding (previously an unhandledURIError) or a decoded segment that is empty,.,.., or contains/,\or a NUL byte (for example..%2F..%2Fsecret), so resolvers that map slugs to files never receive a traversal sequence.createMarkdownRouteanswers404when the resolver returns a non-string value such asundefined(previously an empty200), setsX-Content-Type-Options: nosniff, and throws aTypeErrorat creation for an invalidcacheControlvalue instead of failing on every request.generateLlmsTextcollapses line breaks in titles, summaries and notes, escapes[,]and\in link titles, percent-encodes whitespace,(,),<,>and\in URLs, and throws aTypeErrorfor blank titles, blank URLs, andjavascript:,data:orvbscript:URLs, so values cannot inject Markdown structure.
Changed
- Clarify installation and release channels, document explicit private caching
for personalized content, and expand the maintained
llms.txtindex. - Releases are published only from a
vX.Y.Ztag onmainthrough trusted publishing with provenance.
Removed
- Relative to the canary builds only:
generateLlmsFullTextand theLlmsFullConfig,LlmsFullPage, andLlmsFullSectiontypes are not part of the stable API. UsegenerateLlmsTextto link to pages served bycreateMarkdownRouteinstead.
- First stable release of
First stable release. Earlier builds were published only to the
canarydist-tag.Added
- XP, levels and streaks per opaque
(scope, subjectRef, key):accrueadds XP and reportsleveledUp/previousLevel.levelis the number of host-suppliedthresholdsthe XP has reached.recordActivityrecords a hostperiodKey. A matchingexpectedPreviouscontinues the streak, the same period leaves it unchanged, anything else restarts it at 1. It tracksmaxStreak.getreturns the state ornull, and recomputeslevelwhenthresholdsare passed.resetdeletes one row;eraseSubjectdeletes a subject in bounded batches (default 200, clamped to 500) and reschedules until clean.
- Host-wrapper design: the component stores one sandboxed
progresstable and never reads host tables or environment. The host owns auth, refs, thresholds and period keys. - Multiple named mounts with isolated tables and scheduled work.
@vllnt/convex-progression/testexportsregisterforconvex-test.
Guarantees and limits
- Fail closed: invalid input throws a
ConvexErrorwith a code (INVALID_REF,INVALID_THRESHOLDS,INVALID_DELTA,INVALID_BATCH,XP_OVERFLOW,STREAK_OVERFLOW). XP and streaks stay withinMAX_SAFE_INTEGER, and an award that would be silently lost to floating-point precision is rejected. getreturnsnullfor an empty or over-long ref so reactive queries with placeholder values do not error; mutations reject them withINVALID_REF.- Awards are not event-idempotent, periods are opaque and unordered, and erasure has no write fence or completion token: the host deduplicates, orders and fences. See docs/API.md.
- Tests use the
convex-testsimulation, not a real Convex backend.
Release process
- Stable releases are published only from a
vX.Y.Ztag onmainthrough npm trusted publishing with provenance. Test files are not shipped.
- XP, levels and streaks per opaque
First stable release.
Added
Quotaclient withconsume,remaining,refundanderaseSubject(batched, reschedules until clean).consumereturns{ allowed, used, remaining, limit, periodKey, resetsAt },remainingthe same withoutallowed,refund{ refunded, used, remaining }, anderaseSubjectthe number of rows deleted in that pass.- Window kinds: calendar (
day/week/monthin an IANA timezone, Monday or Sunday week start), rolling (starts at the first allowed consume) and epoch. Time is read on the server. Skipped and repeated civil midnights resolve deterministically. - A fixed window policy per
(scope, subjectRef, key); changing it throwsPOLICY_MISMATCH. The limit may change without resetting usage. - Fail-closed input validation with
ConvexErrorcodes:INVALID_REF,INVALID_LIMIT,INVALID_AMOUNT,INVALID_DURATION,INVALID_TIME_ZONE,INVALID_BATCH. Refs and scopes are 1..256 UTF-16 code units; limits, amounts and durations are positive safe integers. refundonly applies to the stored, unexpired period; otherwise it returnsrefunded: false.@vllnt/convex-quota/testregisters the component withconvex-test; the consuming app needsconvex-testandvitest. It type-checks under bothbundlerandnodenextmodule resolution.- Multiple named mounts and runtime scopes.
Notes
consumeandrefundare not idempotent. See the README host rules.- Releases are published only from
v*.*.*tags through npm trusted publishing with provenance. Builds frommainuse thecanarydist-tag.
First stable release. Earlier builds were published only under the
canarydist-tag (0.1.0-canary.*).What you get
- A Convex component for ephemeral groups of opaque
subjectRefs (matches, lobbies, cohorts), mounted withapp.use(bucketsConfig). Named mounts are isolated from each other, including scheduled cleanup. - Lifecycle
open→locked(no new joins) →closed(terminal), through theBucketsclient:open,join,leave,lock,close,get,listMembers,paginateMembers,eraseBucket,eraseSubject. - Capacity enforced on the bucket row (
memberCount), so concurrent joins retry instead of overfilling.joinreturns{ joined: true }or{ joined: false, reason }withmissing,locked,closed,already_memberorfull. listMembersis a bounded preview (default 100, max 500) and does not signal truncation;paginateMemberstraverses every member with a cursor (numItems1..500).@vllnt/convex-buckets/testexportsregisterforconvex-test.- Every component function validates its arguments and return value. Refs and scopes must be 1..256 characters, including on reads.
Errors
Invalid input throws a
ConvexErrorwhosedatais{ code, message }:INVALID_REF,INVALID_CAPACITY(non-positive or unsafe integer),INVALID_BATCH,INVALID_LIMIT(also invalid paginationnumItems) andBUCKET_EXISTS(a suppliedbucketRefis already in use in the scope).Erasure semantics
eraseBucketcloses the bucket and recounts it in the first transaction, deletes members in bounded batches (default 200, max 500) and reschedules itself by document ID, so a stale job can never remove a replacement bucket. The ref stays reserved until cleanup finishes; observe completion withgetreturningnull.eraseSubjectdeletes one caller-driven batch per call and schedules nothing. Block new joins, repeat until it returns zero, then allow joins again. Zero is an observation, not a permanent ban; no latent subject job can remove a later rejoin.
- A Convex component for ephemeral groups of opaque
Added
- TypeScript declarations for every preset entry point, so TypeScript consumers no longer get TS7016 on
import { nextjs } from "@vllnt/eslint-config"or the subpath imports understrict. A type-check test covers every export. @vllnt/eslint-config/playwright, an opt-in overlay for**/tests/e2e/**/*.{spec,setup}.ts,**/e2e/**/*.spec.tsand**/playwright.config.{ts,mts}. It turns offfunctional/no-loop-statementsandmax-lines-per-functionthere and stops checking object literal key names in@typescript-eslint/naming-convention; every other rule, includingwrite-good-commentsandunicorn/prevent-abbreviations, stays on. Spread it after a language preset ([...nextjs, ...playwright]).@vllnt/eslint-config/ignores, a shared list of tool output to ignore (coverage/,playwright-report/,test-results/,.turbo/,.worktrees/at any depth;dist/andbuild/at the config root), so repos stop copying and drifting from the same list (part of #16; the React Native entry and the formatter choice remain open).- Lint-behavior tests that run real ESLint over fixture files with the Node API, covering the Next.js route handler conventions, the Playwright overlay and the ignores, each with a clean fixture and a near-miss that must still fail (part of #4; the base, nodejs, react and convex presets still need their own lint runs).
Fixed
- Convex
standard-filenamesandnamespace-separationnow acceptnode_actions.tsfor actions that run in the Node.js runtime. - Convex custom rules (
standard-filenames,namespace-separation,snake-case-filenames,no-bare-v-any) now normalise Windows path separators, soqueries.ts-style files are no longer reported as misplaced on Windows.
Changed
-
Next.js preset: route files (
app/**/route.{js,jsx,ts}) acceptGET,HEAD,POST,PUT,PATCH,DELETEandOPTIONSas exported function names through a narrow@typescript-eslint/naming-conventionselector, so apps no longer turn the rule off for them. Any other name still follows the base convention, andfunctional/no-loop-statementsstays on in route handlers.route.tsxkeeps the.tsxnaming rule, which already accepts PascalCase functions such asGETand JSX helpers.- Under
app/api/**/route.*,@typescript-eslint/naming-conventionstays off, as before. The exported-function allowlist there now also acceptsHEAD,PATCH,OPTIONSandgenerateStaticParams, which it used to reject. Turning the naming rule on there is tracked for 3.0.0 in #31.
- Under
-
Every preset: object and type property names that need quotes (
'content-type','@type','x-default') are exempt from@typescript-eslint/naming-convention, because an external format fixes their spelling. Names that do not need quotes (user_id) are still checked. -
Next.js preset: ignore
.next/,out/,build/andnext-env.d.tsby default, as Next.js does. -
typescript-eslint 8.73.0 adds
@typescript-eslint/no-unsafe-class-instance-assignmenttostrictTypeChecked; it stays off so the upgrade adds no errors. Turning it on is tracked for 3.0.0 in #31. -
Upgrade dependencies:
typescript-eslint8.73.0,@next/eslint-plugin-next16.4.3,eslint-plugin-functional10.0.1,eslint-plugin-perfectionist5.13.0,eslint-plugin-prettier5.5.7,eslint-plugin-turbo2.11.10,eslint-plugin-simple-import-sort14.0.0,eslint-plugin-unicorn65.0.1 and@convex-dev/eslint-plugin5.0.0; refresh the lockfile. Thetypescript-eslintupgrade enables two more strict rules at error level:@typescript-eslint/no-generated-empty-object-typeand@typescript-eslint/no-unsafe-enum-assignment. Peer dependency ranges are unchanged;eslintand@eslint/jsstay on 9. Theeslint-plugin-unicornupgrade (62 to 65) can report errors on code that passed 2.0.0;eslint --fixfixes both cases seen in vllnt consumers:unicorn/numeric-separators-stylenow checks the digits after the decimal point (0.040_45becomes0.04045), andunicorn/prefer-set-hasflags more constant arrays that are only used for membership checks (['ui', 'dig'].includes(slug)becomes aSetwith.has()). -
Run the org leak gate on pull requests and pushes to main to block secrets and private references.
-
Test on the patched Node 22.23.4 and 24.22.1 in CI instead of end-of-life Node 20, and publish with Node 24.22.1 from
.node-version(October 2026 security release).engines.nodeis unchanged. -
Correct README preset guidance and security release-line documentation; remove
llms-full.txtand retainllms.txtas the maintained LLM documentation index. -
Publish
@latestonly from a pushedvX.Y.Ztag onmain(version and changelog entry must match) instead of on every version change; pin workflow actions to commit SHAs, use least-privilege permissions, and enforce pnpm 10 install policies (minimum release age, blocked install scripts). -
Test every custom Convex rule and assert that every configured rule id resolves to a registered rule in each preset, so a plugin upgrade that removes a rule fails CI instead of crashing consumers.
-
Consolidate repository contributor guidance in
AGENTS.mdand enforce that it remains the sole agent instruction surface. -
Document ESLint Config Inspector, aggregate rule timing, granular per-file stats, and repeatable profiling practices.
-
Require agents to verify inherited rules against the lockfile-pinned plugin version and the composed preset source in
AGENTS.md.
Removed
- The
eslint-config-prettierdependency. No preset imported it, so it never disabled a rule; lint behavior is unchanged.
Security
- Pin
typescript-eslintto 8.73.0, whose@typescript-eslint/typescript-estreedepends onminimatch^11.0.1, so that path no longer installsminimatch10.2.6 (GHSA-g3hv-75wg-m249, a denial of service through glob pattern amplification, fixed in 11.0.1). Consumers still get the affected version through@convex-dev/eslint-plugin, a dependency of this package whatever preset is used: every 5.x release pins@typescript-eslint/*~8.58, which needsminimatch^10. Until that plugin updates, force the fixed version in the consuming project:"minimatch@>=7.0.0 <11.0.1": "^11.0.1"underpnpm.overrides(as this repository does),overridesfor npm orresolutionsfor Yarn. The glob patterns come from the project's own ESLint and TypeScript configuration, so the practical risk is a slow lint run.
- TypeScript declarations for every preset entry point, so TypeScript consumers no longer get TS7016 on
Added
base.jsonenablesnoImplicitOverride,noImplicitReturns,noFallthroughCasesInSwitchandexactOptionalPropertyTypes, so every preset inherits them. Fixtures intests/fixtures/flagsprove under TypeScript 6 and 7, in every preset, that each flag is active and is the only cause of its diagnostic, and that JavaScript output is the same with the flags on and off.
Changed
- Bumped the Next.js integration fixture from 16.4.3 to 16.4.5. Next 16.4.3 is inside the range of a published security advisory (
>=16.3.0 <=16.4.4), and Next refuses to build with it.
Breaking
The flags add diagnostics and leave JavaScript output unchanged, but inferred declarations can differ (see the last flag below). This is a major change under the Versioning policy. See Migrating from version 2.
noImplicitOverride: a method that replaces a base-class method needs theoverridemodifier (TS4114).noImplicitReturns: a function that returns a value on some paths must return on all of them (TS7030). Add the missingreturn, orreturn undefined;.noFallthroughCasesInSwitch: a non-emptycasemust end withbreak,returnorthrow(TS7029). Empty cases that share a body are unaffected.exactOptionalPropertyTypes:prop?: Tno longer accepts an explicitundefined(TS2375, TS2379, TS2322). Writeprop?: T | undefined, or leave the key out.- Declaration emit under
exactOptionalPropertyTypes: the.d.tsthat TypeScript infers can differ. For example, an inferredcount?: number | undefinedis emitted ascount?: number. Libraries that publish declarations should compare their.d.tsoutput when upgrading. - To adopt them one at a time, set a flag to
falsein your owncompilerOptionsafterextends.
Changed
- Clarified standalone preset usage and release channels; retained
llms.txtas the maintained LLM index and removedllms-full.txtfrom the repository and package contents. - Corrected the documented Next.js and React integration versions and the development pnpm version.
- Stable releases are now published only from a
vX.Y.Ztag onmainthat matchespackage.jsonand this changelog; canary releases still publish on every push tomain. Workflows pin actions, avoid credential persistence, and narrow the secrets passed to the leak gate. - Set the pnpm release-age policy in
pnpm-workspace.yaml, moved to pnpm 11.28.8, and added low-memory development defaults. - Upgraded the development lint configuration to
@vllnt/eslint-config2.0.0 and refreshed development and integration-test dependencies, with scoped overrides for patched releases of two transitive development dependencies (handlebars,deepmerge-ts).
Fixed
nodejs.jsonandreact.jsonno longer enableincremental. With it, a clean build that deleted only the output directory could reuse a leftover.tsbuildinfoand emit nothing, so a package could be published empty. JavaScript, declaration, and source-map output of a clean build is unchanged; only build caching changes, so this ships as a patch under the README's build-cache exception. Ordinarytscandtsc --projectbuilds using these presets are no longer incremental and no longer write a.tsbuildinfo;tsc --buildandcompositeprojects still write one. To restore caching for ordinary builds, setincremental: truein your project; setting onlytsBuildInfoFileis not enough.nextjs.jsonkeepsincrementalbecause it does not emit.
- Clarified standalone preset usage and release channels; retained
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56. - Bound ledger history reads to integer limits from 1 through 1000.
Breaking (relative to the 0.1.0 canaries)
historynow throwsINVALID_LIMITfor limits outside 1 through 1000 or for non-finite/non-integer values. Clamp explicit limits anddefaultHistoryLimitto this range before upgrading.
Fixed
-
Skip redundant balance patches when a failed spend or transfer did not advance regeneration.
-
Ledger delta correctness —
earnand the receiver leg oftransfernow record the actual balance change indelta, not the requested amount. When a credit is clamped bymax,deltaequals the real increase only. -
Regen config validation —
applyRegennow throwsINVALID_REGENwhenintervalMs,amount, orcapis non-finite or non-positive, preventing0 * Infinity = NaNfrom corruptinglastRegenAt. -
Regen below-stored guard —
applyRegennow ensures the projected balance is never reduced belowstored(fixes the case wherestored > regen.cappreviously silently destroyed funds).
Added
-
Idempotent spend —
spendnow accepts an optionalidempotencyKey. A replay of an already-recorded key returns the current balance without a second debit or ledger row, preventing double-charges on host retries. -
First release of
@vllnt/convex-wallet. -
Per-currency
maxceiling — credits clamp to it onearn,grant, and the receiver leg oftransfer. -
Internal hourly
pruneLedgercron (idempotent / at-least-once) that deletes ledger rows past the retention window and expires idempotency keys past the idempotency window; configurable windows on direct call.
Security / Fixed
- Amount guards (abuse) —
earn/grant/spend/transfernow reject non-finite or non-positive amounts withINVALID_AMOUNT. Closes a mint exploit where a negativespendcredited funds, and balance corruption fromNaN/Infinity. - Server-sourced time — the host no longer supplies
now; every mutation and query readsDate.now()server-side, so a forged/stale clock cannot drive extra regen. Removed the*Atexample wrappers. - Monotonic regen —
applyRegennever advances the regen pointer pastnowand treats a backwards/equal clock as a no-op (no over-regen, no rewind). - Per-
(subject, currency)idempotency — theby_idemindex is re-keyed to(subjectRef, currency, idempotencyKey)so a key reused across subjects or currencies is independent and no longer silently drops a legitimate grant. - Self-transfer guard —
transferwithfromRef === toRefreturnsSELF_TRANSFERinstead of debiting-then-crediting one row. - Regen-aware
balances()— the multi-currency overview now applies each currency's regen (via a client-passed map), matchingbalance()(no stale divergence).
Changed
- Failure results carry a typed
code(INSUFFICIENT|SELF_TRANSFER) instead of a free-textreason;reasonremains the human ledger note.
- Treat Convex
Added
- First release of
@vllnt/convex-music— a provider-neutral, cached music catalog as a sandboxed Convex component. - Durable catalog store: unified
artists/tracks/playlists/albumstables with per-providerproviders[]provenance, identity merge, the field-source projection policy, and a daily-rotationselectEligibleprimitive. - Provider adapters behind one interface — Spotify, Apple Music (V8 Web-Crypto ES256 developer
token), Deezer, MusicBrainz, Wikidata — plus a resilient
fetchJson(429 + overload retry,Retry-After, capped backoff + jitter, per-request timeout) and boundedmapWithConcurrency. - Read-through fetch (
fetch,search,resolveByIsrc) and the import engine (importArtist/importTrack/importPlaylist/importAlbum) over a component-owned, guarded request control-plane with dedup. - Sync lifecycle (freshness
mark-stale→ atomicclaimNextStalerefresh → stuck-sync recovery), opt-in auto-import with per-budget rate limiting, and a runtimesourcesregistry. - Credential seam (
configure) storing provider secrets in a sandboxedproviderConfigtable, read only inside the component's token actions; optional tree-shakeable./reacthooks. - Cache core: a sandboxed
cacheEntriestable holding normalized track / artist / album facts, keyed by(kind, provider, externalId)with aby_isrccross-reference and aby_expiryindex. Musicclient class:put,get,getByIsrc,invalidate,pruneExpired,stats.- Per-entry TTL (
ttlMs) with a never-expires sentinel; expired entries read as cache misses and are reclaimed by the idempotentpruneExpiredsweep. example/convex/host-app harness with 100% end-to-end coverage viaconvex-test(happy path plus expired-entry, unknown-key, and cross-provider ISRC paths).
Changed
- Make freshness maintenance query indexed
nextSyncAtdue rows so fresh rows cannot starve stale detection, and make cache pruning/stats bounded via self-draining batches plus a maintained count. - Track facts now carry
genres(Apple) +popularity(Spotify), folded across providers; trackpopularityscales sync staleness. - Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0, updateconvex-testto^0.0.56, and update@convex-dev/action-cacheto^0.3.1.
Fixed
- Dispatch registered sources only to compatible import APIs, including albums, and leave failed imports due for retry instead of marking them imported.
- Recover abandoned import requests so dead deduplication rows cannot block future work, prune terminal request history after 30 days, and rotate provider token-cache keys with credentials.
- Detect truncated provider album/playlist membership and merge newly observed tracks into existing membership instead of destructively replacing it with a partial page or caller-limited import.
- Reconcile the maintained cache counter for pre-upgrade rows in bounded batches, and heartbeat running imports so abandoned-request recovery does not invalidate healthy traversals.
- First release of
Added
- First release of
@vllnt/convex-tokens— a hashed-secret token primitive. Tokensclient:mint(mint-once, raw returned a single time),validate,revoke,prune, and the safe management readslistandgetMetadata(token metadata only — nevertokenHash).- Hash-at-rest: only the digest of a token is stored; the raw secret is
generated and hashed client-side with Web Crypto and never reaches the
component. Digest algorithm is configurable per mount (
hashAlgo:"SHA-256"default or"SHA-512"). - Server-sourced time: the component computes
expiresAtfrom a requestedttlMsand readsDate.now()insidevalidate— the client never sends a timestamp, so expiry cannot be forged. A non-finitettlMsfalls back to the default, so no non-expiring token can be minted. - TTL clamped server-side into
[MIN_TTL_MS, maxTtlMs], scoping via an opaquescope, and an opaque host-ownedresourceRefcarried on each token. - A built-in daily cron prunes expired tokens and revoked tokens past a retention window, in bounded self-rescheduling batches.
- Configurable client options:
defaultScope,defaultTtlMs,maxTtlMs,tokenBytes,hashAlgo.
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56.
Security
- Expiry is enforced from the component's own clock; there is no client-supplied
noworexpiresAtto bypass it. - The management surface (
list,getMetadata) never exposestokenHash. - Server-side hash guard on
mint: the component now rejects atokenHashargument that is not a plausible hex digest (minimum 64 characters, lowercase hex only — SHA-256 minimum). A misconfigured or adversarial direct caller cannot persist a raw token or garbage string as the stored digest. ThrowsConvexError({ code: "INVALID_TOKEN_HASH" }). - Discriminated union on
validatereturn:{ valid: false }structurally cannot carryresourceRef— the failed branch has no such key at the type level.ValidateResultis now a discriminated union onvalid. revokesemantics clarified (transition contract):revokereturnstrueonly if this call transitioned a token from active to revoked. A second call on the same token returnsfalse(already revoked). This distinguishes "successfully revoked" from "token was already revoked".listceiling: thelimitargument is clamped to a hard ceiling of 1000 rows. Values above the ceiling are silently clamped;limit: 0returns an empty array.
- First release of
Added
- First release of
@vllnt/convex-reactions— reactions, votes, and likes on any resource, modeled as the opaque edge(authorRef, resourceRef, kind). react(authorRef, resourceRef, kind)toggles the edge in one transaction (add if absent, remove if present), returning{ reacted, action }. One edge per subject per kind per resource is enforced inside the mutation transaction.unreact(authorRef, resourceRef, kind)removes the edge; removing one that does not exist is an idempotent no-op returningfalse.counts(resourceRef)tallies edges per kind (sorted by kind);reactors( resourceRef, kind, paginationOpts)pages the subjects who reacted oldest-first via the standard Convex pagination envelope.hasReacted(authorRef, resourceRef, kind)andmyReactions(authorRef, resourceRef)expose a subject's own reaction state.- Configurable reaction vocabulary:
new Reactions(component, { allowedKinds })rejects an unknownkindat the client boundary before the component is called. - Server-sourced time:
createdAtis stamped fromDate.now()inside the mutation — no caller-supplied clock. - Opaque refs:
authorRef,resourceRef, andkindare plain strings the component never de-references; it never reads host or sibling tables. - Mount-safe: correct under multiple
app.use(component, { name })mounts — each instance is sandboxed. reactorsbounds pagination:numItemsmust be an integer from 1 through 1000 (otherwise it throwsConvexErrorINVALID_PAGE_SIZE), andmaximumRowsReadis validated and capped at 1000 for reactive cursor ranges.- Requires
convex@^1.45.0.
- First release of
Added
- First release of
@vllnt/convex-slugs.
Hardened (in-place review fixes, 0.1.0)
- Configurable input rules on the client:
minLength(1),maxLength(256),pattern?(charset), andreservedWords([]); empty/whitespace slugs are rejected. The component re-guards length at the trust boundary. - Typed rejection reasons as a string-literal union —
SLUG_TAKEN,SLUG_NOT_FOUND,SLUG_INVALID,SLUG_RESERVED— on both the Convex validator and the clientSlugWriteResult. - Redirect chains collapse:
renamerepoints existing redirects to the live slug (A→B→C ⇒redirectFor(A) === C), keeping one row per(scope, fromSlug)via a newby_scope_toindex. Reserving a renamed-away slug clears its dangling redirect. - Registry reads use
.first()instead of.unique()so a stray duplicate row degrades to a value rather than throwing.
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Require
convex@^1.45.0and updateconvex-testto^0.0.56.
Fixed
releasedeletes allredirectsrows whosetoSlugequals the released slug, soredirectFor(old)returnsnullinstead of a dead target after release.renamerejects a self-rename (fromSlug === toSlug) withSLUG_TAKENbefore any DB read.normalizeSlugapplies Unicode NFC before trimming, so visually-identical slugs with different compositions collide as expected.redirectForno longer carries a dead.order("desc")call.
- First release of
Added
- First release of
@vllnt/convex-suppression— the hash-keyed do-not-contact suppression list + opt-in proof (GDPR opt-out / CAN-SPAM). suppress(contactHash, reason, { channel? })adds a(contactHash, channel)anti-membership tombstone;reasonisunsubscribe/bounce/complaint/manual/global. Omittingchannelmarks a global all-channel suppression.unsuppress(contactHash, channel?)removes an entry (a rare, audited re-subscribe); returns whether an entry was removed.isSuppressed(contactHash, channel?)returns the matching suppression (a global tombstone matches every channel and wins) ornull.recordOptIn(contactHash, { listKey?, source, proof? })records an opt-in proof;getOptInProof(contactHash, listKey?)fetches it.isEligible(contactHash, { channel?, listKey?, requireOptIn? })— the single send gate:¬suppressed [∧ confirmed]. Suppression always blocks; the opt-in requirement is per call.- Hash-keyed: the component stores only the host's opaque
contactHash, never raw PII, so a suppression survives erasure of the subject. - Idempotent writes: re-suppressing or re-recording an opt-in on its key tuple updates in place — a replayed bounce/complaint/confirmation webhook never duplicates a row.
- Typed generics:
Suppression<TProof>with an optionalproofValidatorhost parser narrowing the opaque stored opt-inproofat the client boundary on write and read — nov.any()dump, no unchecked cast. - Server-sourced time: every handler stamps
createdAt/confirmedAtfromDate.now()inside the mutation — no caller-supplied clock. - Mount-safe: correct under multiple
app.use(component, { name })mounts — each instance is a sandboxed, independent do-not-contact list.
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56.
- First release of
Added
./mcpentry — expose Convex functions as MCP tools (createMCPServer+query/mutation/action/resource), default-deny auth, lifecycle hooks, validator→zod conversion, and optional HMAC-signed cursor pagination. Absorbed from@vllnt/convex-mcp(see ROADMAPabsorb-convex-mcp).@modelcontextprotocol/sdkandzodare optional peer deps — the./mcpentry is tree-shakeable, so backend-only consumers pull neither. 100% test coverage retained (161 tests).- Scaffolded to fleet Universal standard (type-B helpers library)
- Seed root utilities:
asyncMap,pruneNull,nullThrows,NullDocumentError - 100% test coverage gate via vitest thresholds
- CI workflow, publish workflow, email-guard workflow
- Full docs set: README, CHANGELOG, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT
llms.txtandllms-full.txtfor AI agent discovery
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Require
convex@^1.45.0. - Bound all paginated membership reads to integer page sizes from 1 through 1000
and cap
maximumRowsReadat 1000 for reactive cursor ranges. Listing queries throwINVALID_PAGE_SIZEfor invalid numeric pagination options.
Fixed
- Skip redundant document patches when an idempotent
addleaves classification and status unchanged.
Added
- First release of
@vllnt/convex-memberships— an auth-agnostic flat ReBAC relationship graph. - Sandboxed
membershipstable holding(memberRef, resourceRef, relation)edges with an opaque, host-classifiedmemberKindand an optional opaquestatuslifecycle marker. Membershipsclient:add(idempotent, patchesmemberKind/statuson re-add),remove(returns{ removed }),setRelation,listMembers(paginated),members(paginated),isMember(boundedby_member_resourcelookup), anddocuments(paginated doc view exposingcreatedAt+status).- Configurable
defaultRelationanddefaultMemberKind. - Indexes:
by_member,by_resource,by_resource_relation,by_member_resource,by_tuple.
Notes
memberKindis an opaquev.string()(default"user") — no closed union, so it makes no domain assumption.addis tuple-idempotent: if the exact(memberRef, resourceRef, relation)tuple already exists, the existing id is returned andmemberKind/statusare patched to the incoming values. Re-adding with a differentmemberKindupdates the stored classification.setRelationchecks whether the sourcefromRelationedge exists before applying the same-relation no-op. CallingsetRelation(m, r, "x", "x")on a non-existent edge returns{ ok: false, reason: "NOT_FOUND" }, not{ ok: true }. The{ ok: true }no-op only fires when the edge exists andfromRelation === toRelation.reasonis the typed union"NOT_FOUND" | "EXISTS".- Security — unscoped
isMember: when called withoutrelation,isMemberreturnstruefor any stored relation between the pair. Do not use the unscoped path as an authz gate without enumerating acceptable relations. The scoped path (relationprovided) is safe for exact-relation authz checks. MembersRef/ListMembersRefhook-ref types are now typed with concretePage<ResourceEntry>/Page<MemberEntry>return generics (previouslyunknown), giving hosts full type safety.- Tuple reads use
.first()so a stray duplicate row degrades gracefully rather than hard-throwing. - Transitive expansion (
expandMembers/resolve) is deferred to vNext; edges are flat.
- Treat Convex
Fixed
- Apply the documented 30-day default retention window instead of deleting newly read notifications on the next daily sweep.
- Reject invalid maintenance batches and fan-out limits, with absolute 500-row transaction caps, to prevent scheduler loops and unbounded write amplification.
- Maintain unread counts transactionally with the official aggregate component instead of an unbounded inbox scan.
- Require a payload parser for typed clients so stored opaque values cannot violate
TPayload.
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Require
convex@^1.45.0and updateconvex-testto^0.0.56.
Added
- First release of
@vllnt/convex-notifications— a per-subject directed inbox with read/unread state and fan-out. deliver(subjectRef | subjectRefs[], type, payload?)fans one notification out to each recipient, minting anotificationIdper row and inserting it unread; rejects an empty fan-out (EMPTY_FANOUT) and one overmaxFanOut(FANOUT_TOO_LARGE).markRead(notificationId)marks one notification read (idempotent), stampingreadAt;markAllRead(subjectRef)marks a subject's whole unread inbox in bounded, self-rescheduling batches.get(notificationId)returns the current notification (ornull);list(subjectRef, paginationOpts, { unreadOnly? })pages a subject's inbox newest-first via the standard Convex pagination envelope;unreadCount(subjectRef)returns the unread total.- Subject-bounded reads: a
list/unreadCountfor one subject never spans another subject's rows (the indexes are subject-keyed). - Server-sourced time: every handler stamps
createdAt/readAtfromDate.now()inside the mutation — no caller-supplied clock. - Typed generics:
Notifications<TPayload>with an optionalpayloadValidatorhost parser narrowing the opaque storedpayloadat the client boundary on write and read — nov.any()dump, no unchecked cast. - Bounded, self-rescheduling
purge(take(batch)+ scheduler) that removes only read notifications past theircreatedAtcutoff, plus a built-in daily purge cron (crons.ts); unread notifications are never purged. Default retention 30 days. - Mount-safe: correct under multiple
app.use(component, { name })mounts — each instance is sandboxed, the cron is registered per instance.
Added
- Initial release of
@vllnt/convex-permissions— stored, runtime-editable role-based access control as a Convex component. Permissions<TRole, TAction>client class, generic over the host's role and action unions:defineRole,removeRole,assign,revoke,check,require,rolesFor,permissionsFor,listRoles.- Sandboxed
rolesandassignmentstables keyed by opaquesubjectRef/scopeRef; the host never reads them directly. - Wildcard grants (
"doc.*","*"), scoped / multi-tenant assignments, default-deny semantics, and a structuredConvexError<PermissionDenied>fromrequire. - Boundary validation of role names and subject refs.
- 100% end-to-end test coverage via
convex-testagainst the real component runtime.
Changed
- Resolve scoped assignments through a
(subjectRef, scopeRef)index and fetch only assigned role definitions, avoiding full per-subject assignment and global role-table scans on access checks. - Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56.
- Initial release of
Added
- First release of
@vllnt/convex-metering. defineMeterregisters a meter with a per-meter aggregation rule (sum|max|last) and a display unit;recordwrites a usage event and folds it into the(meter, subject, period)rollup on write.- Idempotent recording: passing an
idempotencyKeymakes a retriedrecorda safe no-op ({ recorded: false, reason: "duplicate" }), so at-least-once delivery never double-counts. - Records + rollups split: raw
recordsare the append-only audit trail and idempotency source;rollupsare the O(1) per-period read for billing and limit checks (the billable truth, never pruned). usage/listUsageread a subject's rollups;resetclears one(meter, subject, period).pruneRecordsdeletes raw records older than a requiredbeforecutoff (no default-to-now footgun), bounded and self-rescheduling; rollups are untouched.periodis a host-supplied opaque string — the component never parses dates, keeping it locale- and calendar-agnostic. Scopes namespace meters per tenant; server-sourced timestamps throughout.- Fully typed end to end — quantities, periods, units, and refs are concrete types; no
v.any(). recordrejects a negative or non-finitequantitywithINVALID_QUANTITY, and an undefined meter withMETER_NOT_FOUND.- Optional
@vllnt/convex-metering/reactentry —useUsage(a live usage meter derivingremaining/fraction/exceededfrom an optionallimit) anduseUsageList. ThinuseQuerywrappers over the host's re-exported refs;reactis an optional peer dep; render-tested in jsdom at 100%. adjust— signed corrections (refund/credit/void) onsummeters; appends a reversing record, keeps the rollup equal to the sum of records and never negative (ADJUST_BELOW_ZERO).recordWithLimit— atomic check-and-record against alimit(closes the read-then-write overage race); returnslimit_exceededwithout recording when it would cross.closePeriod+closedon the usage reads — freeze a billed period so a late event can't restate it (record/adjust/recordWithLimitthen throwPERIOD_CLOSED).eraseSubject(GDPR, across all meters/periods),listMeters,listSubjectUsage, andverify(reconcile the rollup against surviving records).resetis now bounded + self-rescheduling (returns a count) andpruneSeenprunes the idempotency ledger. OptionalactorRefon records.
Changed
- Idempotency dedup moved to a dedicated
seentable. A meter's aggregation is now locked once usage exists (AGGREGATION_LOCKED), and anidempotencyKeyon a non-sumgauge is rejected (IDEMPOTENCY_NOT_SUPPORTED). - Treat Convex
_generatedoutput as CLI-owned and expose a dedicated codegen script. - Require
convex@^1.45.0.
Fixed
- Prune-vs-dedup double-count. Dedup previously read the
recordstable thatpruneRecordsdeletes, so a redelivered event after a prune re-counted the billable rollup. Dedup now lives in the separateseenledger (pruned independently viapruneSeen), so pruning audit rows never re-opens a duplicate. The earlier docs ("retried record is a safe no-op", "rollups never touched") implied prune was consequence-free; corrected. - Return
duplicatebefore quota projection for retried limited records, even when later usage would now exceed the supplied limit. - Reject negative or non-finite quota limits and unsafe maintenance batch/cutoff values, preventing stalled self-scheduling loops and oversized transactions.
- First release of
Added
- First release of
@vllnt/convex-invitations— the invite → accept → expire flow as a Convex component. issue(resourceRef, { role?, inviterRef?, inviteeRef?, payload?, ttlMs?, expiresAt? })records apendinginvitation and returns its single-usetoken(to deliver out of band) plus its absoluteexpiresAt; the token must be unique.accept(token, acceptedBy)consumes the invite (single-use,pending → accepted) and returns the grant (resourceRef+ opaquerole/payload) the host applies; two racing accepts yield exactly one winner.revoke(token)cancels a still-pendinginvite;peek(token)reads with read-time TTL enforcement (flips a stale pending invite toexpired);getByToken(token)is a pure reactive read;listPending(resourceRef, paginationOpts)andlistByResourceStatepage an org's invites.- Single-use + terminal states are final: accepting or revoking an
accepted/revoked/expiredinvite is rejected with a codedConvexError, so a replayed link can never double-grant. - TTL enforced on read: accepting a past-
expiresAtinvite is rejected withEXPIRED(a thrown accept does not persist a flip —peek/the cron sweeppending → expiredinstead). - Server-sourced time: every handler stamps
createdAt/acceptedAt/revokedAtfromDate.now()inside the mutation — no caller-supplied clock. - Typed generics:
Invitations<TRole, TPayload>with optionalroleValidator/payloadValidatorhost parsers narrowing the opaque storedrole/payloadat the client boundary on write and read — nov.any()dump, no unchecked cast. ConfigurablettlMsandgenerateToken. - Bounded, self-rescheduling
prune(retention delete of terminal invites + TTL sweep of stale pending invites) plus a built-in daily prune cron (crons.ts); idempotent. Default TTL 7 days, default retention 30 days. - Mount-safe: correct under multiple
app.use(component, { name })mounts — each instance is sandboxed, the cron is registered per instance. - Minimal stage: the invite (including its token) is modelled self-contained; a
later version delegates the hashed token to
@vllnt/convex-tokensand the granted membership to@vllnt/convex-memberships.
Breaking
- Pending/history list pages now return token-free
InvitationMetadataprojections. Consumers that previously readpage[].tokenmust retain the one-timeissue()result for delivery and usepeek(token)/getByToken(token)for direct token lookup.
Fixed
- Apply the documented 30-day default retention window to terminal invitations instead of deleting them on the next daily sweep.
- Reject invalid prune batch sizes to prevent infinite self-scheduling and oversized transactions.
- Store only SHA-256 invitation-token digests and remove bearer tokens from pending/history list projections; raw tokens are returned only when issued and accepted only for direct lookup.
- Migrate pre-upgrade raw bearer tokens opportunistically on mutation and through a bounded daily backfill while preserving direct lookup and duplicate detection during the transition.
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56.
- First release of
Added
- First release of
@vllnt/convex-idempotency. - Server-sourced time:
begin/complete/purgereadDate.now()inside each handler — no caller-suppliednow— so a hostile clock cannot force a key to look live or expired. - Optional host
resultValidatoron the client, narrowing the opaque storedresulttoTResultat the boundary oncomplete(write),begin/get(read). Removes the previous uncheckedas TResultcast. - Split TTLs: a short inflight lease (
inflightTtlMs, default 60s) so a crashed worker's claim self-heals fast, and a longer done grace (doneTtlMs, default 24h).beginreturnsexpiresAt/retryAfterMson theinflightbranch. completenow returns a discriminated{ recorded: true } | { recorded: false, reason: "missing" | "expired" | "already_done" }, plus anupsertOnMissingoption to record finished work whose inflight row had vanished.- Expired keys are re-minted in place (
db.patch, reusing the row id) instead of delete-and-insert. - Bounded, self-rescheduling
purge(take(batch)+ scheduler) and a built-in daily prune cron (crons.ts); idempotent.
Fixed
beginandcompletenow reject a TTL argument that is ≤ 0 or non-finite withConvexError({ code: "INVALID_TTL" }). A zero or negativeinflightTtlMswould have producedexpiresAt ≤ now, immediately expiring the key on creation and breaking the dedup claim window. Same guard added fordoneTtlMsincomplete.
Documented
- Expiry check order asymmetry between
beginandcompleteis now documented in TSDoc on both mutations.beginchecks expiry before the done-state (an expired done key re-mints fresh — the grace window elapsed, the operation may re-run).completechecks the done-state before expiry (an expired done key returnsalready_done— a prior winner's recorded outcome must not be overwritten).
Fixed (since the first canary)
- Fence re-minted leases with opaque claim IDs so a stale worker cannot overwrite the newer claim's result, including when lost-claim upsert is enabled.
- Reject invalid purge batches and non-finite cutoffs before they can create scheduler loops or oversized transactions.
Changed (since the first canary)
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Require
convex@^1.45.0.
- First release of
Added
-
First release of
@vllnt/convex-flags— feature flags as a sandboxed Convex component, evaluated on the backend and streamed to clients over Convex's reactive queries. -
Flagsclient class:define,enable,disable,remove,get,list,evaluate,isEnabled, andall. -
Sandboxed
flagstable keyed by an opaque, host-chosen flag key (by_keyindex). -
example/convex/host-app harness with 100% end-to-end coverage viaconvex-test. -
Multivariate variants — a flag value is now a typed primitive (
boolean | string | number);defineacceptsvariantsmetadata. Addedvariant(ctx, key, options?)returning just the value. -
Attribute targeting —
defineaccepts orderedrules({ conditions, value | rollout }) with operatorseq,neq,in,nin,contains,gt,gte,lt,lte. First matching rule wins; conditions within a rule AND together; an empty condition list is a catch-all. -
Percentage rollouts —
defineaccepts arolloutof weightedsplits, bucketed deterministically (FNV-1a) bycontext.subjectRefor a namedbyattribute, so a subject always resolves to the same value. -
Evaluation context —
evaluate/isEnabled/all/varianttake an optional host-suppliedEvalContext({ subjectRef?, attributes? });evaluatetakes an optionaldefaultfor unknown keys. -
Per-subject overrides —
setOverride(key, subjectRef, value)/clearOverride(key, subjectRef); an override wins over targeting inevaluateandall. -
Lifecycle —
archive(key)(reversible; serves the base value with reasondisabled) andrestore(key), distinct fromremove(which now also deletes a flag's overrides). -
React — optional
@vllnt/convex-flags/reactentry exportinguseFlag/useFlags;reactis an optional peer dependency. -
New evaluation reason codes:
rule,rollout,override,disabled,default(alongsideflag,unknown). -
Partial update —
update(ctx, key, patch)patches only the supplied fields, leaving the rest untouched (the opposite ofdefine, which fully replaces a definition).
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56. - Docs polish — refreshed the package tagline; the README Usage section now shows a complete
convex/flags.tshost module (theevaluate/allqueries the React hooks consume, plus gated management wrappers); documenteddefine(full replace) vsupdate(partial) and thatenable/disableare boolean convenience.
Fixed
- Backward-compatible
status— the storedflags.statuscolumn is now optional, so a deployment holding flag rows written beforestatusexisted no longer fails schema validation on the nextconvex deploy(Object is missing the required field status). Reads materialize an absent status as"active"—get/listreturn a concretestatusand evaluation treats a legacy flag as active — so the publicFlagDocshape is unchanged.definestill writesstatus: "active"for new flags;restore(key)stamps it onto legacy rows in storage. (#5)
Notes
- Backward compatible: the boolean kill-switch API (
define({ key, value }),enable/disable,isEnabled(key),evaluate(key),get/list/all/remove) is unchanged. - Deferred: named reusable segments, JSON-object variant values, scheduled/progressive rollouts,
stale-flag detection, and audit-event emission — see
ROADMAP.md.
-
Added
- First release of
@vllnt/convex-events: append-only per-subject activity ledger withrecord/list/count/purgeand a typed-generic client. paginate— cursor pagination returning Convex's{ page, isDone, continueCursor }, honoring thetype/sincefilters; feeds page past any single-call limit.- Bounded
count— scans at mostmaxCount + 1rows and returns{ count, isExact }instead of loading the whole feed. - Batched, self-rescheduling
purge— drains arbitrarily large feeds without a single huge transaction. - Retention —
configure(retentionMs)plus an internal idempotent daily cron (prune-expired-events/pruneExpired) that prunes events past the window; a no-op until configured. - Client value guards — optional
allowedTypes,maxTypeLength,maxMetadataBytes, and a hostmetadataValidator, validated at therecordboundary and throwing a code-taggedEventValidationError.
Changed
countnow returns{ count, isExact }(was a barenumber).purgeandcounttake an options object;purgereturns the count deleted in the first batch.EventDoc.metadatais now optional (metadata?: TMeta) — an event recorded without metadata round-trips as absent, so the shape never lies to a host with a non-nullableTMeta.- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Require
convex@^1.45.0and updateconvex-testto^0.0.56.
Fixed
- Reject unsafe purge/prune batches, non-finite cutoffs, and negative or non-finite retention windows before they can trigger scheduler loops or destructive retention.
- Bound and validate list/count controls so malformed values cannot produce invalid results or caller-controlled read amplification.
- Add optional per-subject idempotency keys so ambiguous host retries replay the original event ID instead of duplicating ledger entries.
metadataValidatorerrors are now wrapped asEventValidationErrorwith codeEVENTS_METADATA_INVALID(preserving the original message), making the error contract real and catchable by consumers. Previously the host's plainErrorsurfaced unwrapped, soEVENTS_METADATA_INVALIDwas never thrown.
- First release of
Added
- First release of
@vllnt/convex-experiments. - Deterministic, sticky variant assignment:
pickVarianthashes(salt, subjectRef)with FNV-1a onto the cumulative-weight line, so the same subject always lands in the same weighted bucket — sticky before persistence, weight-respecting, and stable across concurrent first-assigncalls. define/setStatuslifecycle (draft → running → stopped); onlyrunningenrolls, and stopping freezes new enrollment while preserving recorded assignments and exposures.assignreturns{ variant: null }(not enrolled) or{ variant, isNew }, persisting the pick on first sight and replaying it afterwards.logExposurededups exposures into one tallied row per subject;resultsreports distinct subjects and total exposures per variant.saltdefaults to the experiment key and seeds the assignment hash.- Scopes namespace experiments per tenant / surface; server-sourced timestamps throughout.
- Fully typed end to end — variant keys, weights, statuses, and refs are concrete types; no
v.any(). definerejects an empty variant set, a non-positive/non-finite weight, or a duplicate variant key withConvexError({ code: "INVALID_VARIANTS" }).- Optional
@vllnt/convex-experiments/reactentry —useVariant(flicker-free, onpeek),useAssignment,useExperimentResults. ThinuseQuerywrappers over the host's re-exported refs;reactis an optional peer dep; render-tested in jsdom at 100%. peek— a read-only, deterministic query that returns a subject's sticky variant without persisting (the SSR / flicker-free first-paint path).listExperiments(scope, status?)— discovery / management surface.forgetSubject— erase one subject's assignment + exposure (GDPR right-to-erasure), decrementing tallies;deleteExperiment— bounded, self-rescheduling cascade delete of an experiment + all data.resultsnow returnsassignedandweightper variant (alongsidesubjects/exposures) so a host can check sample-ratio-mismatch, and reads maintainedvariantTalliesin O(variants) instead of scanning every exposure row.INVALID_VARIANTSerrors now carry areason(empty/non_positive_weight/duplicate_key).
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56. scopeis folded into the assignment hash (${scope}:${salt}) so the samesubjectRefbuckets independently per scope — fixes cross-tenant assignment correlation.
Fixed
- Reject zero, fractional, non-finite, negative, and oversized experiment-deletion batches to prevent infinite self-scheduling and oversized transactions.
- Definition immutability (
EXPERIMENT_LOCKED). Changingvariantsorsaltafter a subject is assigned now throws instead of silently splitting the population across two randomizations. The earlier "change salt to re-randomize" claim was incorrect for enrolled subjects and is removed from the docs; re-randomize by defining a new experiment key.
- First release of
Added
- First release of
@vllnt/convex-comments— threaded comments / annotations on any resource. post(resourceRef, authorRef, body, parentId?)attaches anopencomment to an opaque resource and returns its id;parentIdthreads it as a reply to an existing, non-deleted comment on the same resource.edit(commentId, authorRef, body),remove(commentId, authorRef)(soft-delete), andresolve(commentId, authorRef, resolved?)(toggle) all require the original author — a non-author caller is rejected withConvexError({ code: "NOT_AUTHOR" }).get(commentId)returns the current view (ornull);list(resourceRef, paginationOpts, { parentId?, includeDeleted? })pages a resource's thread (or one comment's replies) oldest-first via the standard Convex pagination envelope;count(resourceRef)tallies the visible comments.- Soft-delete preserves the reply subtree: the row is kept, marked
deleted, and its body cleared; a defaultlistexcludes it. - Threading integrity: a reply's parent must exist (
PARENT_NOT_FOUND), be non-deleted (PARENT_DELETED), and live on the same resource (PARENT_MISMATCH). - Server-sourced time: every handler stamps
createdAt/updatedAt/editedAtfromDate.now()inside the mutation — no caller-supplied clock. - Typed generics:
Comments<TBody>with an optionalbodyValidatorhost parser narrowing the opaque storedbodyat the client boundary on write and read — nov.any()dump, no unchecked cast. - Bounded, self-rescheduling
prune(take(batch)+ scheduler) that removes only soft-deleted comments past theirupdatedAtcutoff, plus a built-in daily prune cron (crons.ts); idempotent. Default retention 30 days. - Mount-safe: correct under multiple
app.use(component, { name })mounts — each instance is sandboxed, the cron is registered per instance.
Fixed
- Apply the documented 30-day default retention window instead of pruning newly deleted comments immediately.
- Preserve deleted parent tombstones while replies exist and paginate retention scans so blocked parents cannot starve later eligible rows.
- Reject invalid prune batch sizes before querying or self-scheduling.
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56.
- First release of
Added
- First release of
@vllnt/convex-consent— an append-only consent ledger (GDPR Art. 6/7) per(subjectRef, purpose). record(subjectRef, purpose, decision, { version?, proof? })appends an immutableconsentEventsrow (the legal proof) and updates the O(1)consentStateprojection;decisionisgranted/denied/withdrawn.withdraw(subjectRef, purpose, proof?)(GDPR Art. 7(3)) revokes a grant by appending awithdrawnevent — only when a grant is currently held, else throwsConvexError({ code: "NO_CONSENT" })orConvexError({ code: "NOT_GRANTED" }).check(subjectRef, purpose, requiredVersion?)is the runtime gate, returning{ granted, stale, decision, version, at }; a grant for an older policy version returnsstale: trueso the host re-prompts.getState,getStatesForSubject, and paginatedhistoryread the record;historypages the immutable ledger newest-first for an audit or data subject request.- Append-only ledger: a recorded decision is never mutated — withdrawal is a new event, not an edit — so the proof trail can't be silently rewritten.
- Server-sourced time: every event's
atis stamped fromDate.now()inside the handler — no caller-supplied clock. - Typed generics:
Consent<TProof>with an optionalproofValidatorhost parser narrowing the opaque storedproofat the client boundary on write and read — nov.any()dump, no unchecked cast — plus a configurabledefaultVersion. - Bounded, self-rescheduling
prune(take(batch)+ scheduler) that removes only superseded ledger events past the cutoff, plus a built-in daily prune cron (crons.ts); idempotent. The current-state projection is never pruned. Default retention 365 days. - Mount-safe: correct under multiple
app.use(component, { name })mounts — each instance is sandboxed, the cron is registered per instance.
Fixed
- Apply the documented 365-day default ledger retention and reject invalid prune batches to prevent premature proof deletion and scheduler loops.
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56.
- First release of
First stable release (the earlier
0.1.0-canary.*builds were published from June 2026). The component is a generic, domain-neutral analytics core — the earlier web-locked draft was replaced before any public release, so the generic rebuild is folded into this single0.1.0entry.Added
- Generic core — free-string event
name, opaquesubjectRef/sessionRef, host-typed scalarprops(nov.any()), and host-declareddimensions. Zero hardcoded domain. - Rollup-on-write — counts are incremented as events land, so
metric/top/timeseriesread in O(1) (backed by@convex-dev/aggregate+@convex-dev/sharded-counter). - Verb set —
track,metric,top,timeseries,uniques,funnel,retention,distribution,list,configure; all generic across any event / dimension / domain. - Distribution —
distribution(name, measure, { buckets })is a histogram over a numericpropsmeasure (declared upper-bound bins + overflow, withcount/sum), computed from raw events in range (index-backed, bounded). - Granularities —
minute/hour/dayrollup buckets (minuteopt-in for short live windows), end-to-end throughtrack, the read verbs, and the REST routes. - Config surface —
scope,dimensions,granularities,retentionDays,sampleRate,sessionIdleMs,propsValidator; sensible defaults, zero config required. Config is applied (not ignored) —dimensions/granularities/sampleRateper call, retention / sampling / idle persisted for the crons viaconfigure. - Opaque
scopepartition on every table, mutation, and query for multi-tenant isolation. - Per-session rate limiting, dedupe, and sampling built into
track. - Schema — five sandboxed tables (events, rollups, subjects, sessions, config); raw events TTL-pruned, rollups kept forever.
- Crons — daily
prune(raw-event TTL) andcloseSessions(idle close), idempotent; plus abackfillmutation to re-derive rollups. - Web preset — opt-in
@vllnt/convex-analytics/web:webDimensions,parseUserAgent,geoFromHeaders,trackPageview. The generic core carries no web fields. - React hooks — optional
@vllnt/convex-analytics/react:useMetric,useTop,useTimeseries,useUniquesover the host's re-exported aggregate query refs. - REST API — five generic
x-api-key-authed routes (/track, /metric, /top, /timeseries, /uniques), timing-safe key comparison. - Testing —
@vllnt/convex-analytics/testexport for convex-test, registering the child components sotrackis exercised end-to-end.
Fixed (since the first canary)
- Register automatic session-closing and event-retention cron jobs, including zero-config scopes.
- Seek expired events by
(scope, ts), page scope discovery, and bound/reschedule maintenance at 500 rows per transaction. - Preserve valid rollups when backfill input exceeds its supported 50,000-event bound instead of deleting them and silently rebuilding from truncated input.
- Count funnel subjects through later valid repeated steps, isolate rate limits and counters with
collision-safe tuple keys, and reopen sessions without moving
lastTsbackward.
Changed (since the first canary)
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Adopt the stable v2 vllnt toolchain, TypeScript 7 validation, Convex 1.45,
convex-test0.0.56, and the latest compatible direct dependencies. - Use explicit table names for Convex database patch/delete operations.
- Generic core — free-string event
Added
- First release of
@vllnt/convex-email— a durable, transport-agnostic outbound transactional email queue. - Provider-neutral: the transport is a host-configured, host-driven adapter
(
transportis an opaque string tag). The component records send intent and per-message status and never calls a mail provider. enqueue(messageId, to, from, transport, opts?)records a message inqueuedand returns its id immediately;messageIdis host-supplied and must be unique. AnidempotencyKeydedups a re-enqueue (deduplicated: true) so a retry never double-sends.markSending(messageId)claims aqueuedmessage for a send attempt (incrementsattempts);markSent(messageId, { providerId? })records a terminal success;markFailed(messageId, { error? })re-queues whileattempts < maxAttemptselse lands in terminalfailed.get(messageId)returns the current envelope (ornull);listByStatus(status, paginationOpts)pages messages in one status oldest-first via the standard Convex pagination envelope.- Terminal states are final: any transition out of
sent/failedis rejected withConvexError({ code: "TERMINAL_STATE" }), so a late or duplicate delivery callback can never overwrite a recorded outcome;markSentis idempotent. - Server-sourced time: every handler stamps
createdAt/updatedAtfromDate.now()inside the mutation — no caller-supplied clock. - Typed generics:
Email<TPayload>with an optionalpayloadValidatorhost parser narrowing the opaque storedpayloadat the client boundary on write and read — nov.any()dump, no unchecked cast. - Bounded, self-rescheduling
prune(take(batch)+ scheduler) that removes only terminal messages past theirupdatedAtcutoff, plus a built-in daily prune cron (crons.ts); idempotent. Default retention 30 days. - Mount-safe: correct under multiple
app.use(component, { name })mounts — each instance is sandboxed, the cron is registered per instance. - Optional generic SMTP transport (
@vllnt/convex-email/smtp) — sends a queued message over any SMTP server (Stalwart, Postfix, any provider's relay). The server is host config.sendViaSmtp(transport, message, config?)— the pure, injectable send core (driven by an injectedSmtpTransport), plusvalidateSmtpConfigandtoMailOptions. The validators reject CR/LF (SMTP header) injection in every address, subject, and header value.createSmtpTransport(config)/createSmtpSender(config)— the thinnodemailerwrapper, called from the host's own"use node"action.example/convex/includesflushQueuedOverSmtp— the queue→send wiring (listByStatus("queued")→markSending→ send →markSent/markFailed) exercised end to end against the component runtime with a fake transport.
nodemaileris an optional peer dependency (^8.0.4— the floor that fixes theenvelope.sizeCRLF injection advisory GHSA-c7w3-x93f-qmm8 / CVE-2025-14874). The queue core still installs and runs with zero third-party runtime deps; only a host importing@vllnt/convex-email/smtppullsnodemailer.- Optional generic JMAP transport (
@vllnt/convex-email/jmap) — sends a queued message over any JMAP server's HTTP API (Stalwart, Fastmail, Cyrus, Apache James). JMAP is the protocol (RFC 8620/8621); the server is host config, so no vendor is baked in — the adapter is./jmap, never./stalwart.- Runs in a plain Convex action — JMAP is HTTP, so
fetchworks in V8: no"use node", nonodemailer, zero extra dependencies (unlike the SMTP adapter's raw socket). - Pure, injected-
fetchcore —sendViaJmap(fetchFn, message, config),discoverJmapSession(fetchFn, opts)(resolves account / identity / Sent mailbox from the JMAP session),createJmapSender(config, fetchFn), plusvalidateJmapConfig/buildEmailCreate/buildSubmitRequest/parseSubmitResponse. The whole adapter is 100% covered with a fakefetch(no excluded wrapper); it rejects CR/LF header injection in every address, subject, and header value. example/convex/addsflushQueuedOverJmap(the queue→JMAP wiring) andflushQueuedRouted(one queue routed per message by itstransporttag —smtpvsjmap), exercised end to end against the component runtime with a fakefetch.
- Runs in a plain Convex action — JMAP is HTTP, so
Fixed
- Apply the documented 30-day terminal-message retention and reject invalid prune batches to prevent premature audit deletion and scheduler loops.
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases .
- Require
convex@^1.45.0and updateconvex-testto^0.0.56.
- First release of
Changed
- Require the TypeScript 6 compatibility API (
>=6.0.2 <6.1) for type-aware linting and validate the official side-by-side TypeScript 7 compiler setup. - Upgrade and pin
typescript-eslintto8.68.0so package managers cannot select an unpublished companion package, upgradeeslint-plugin-functionalto its TypeScript 6-compatible major, and refresh compatible lint plugins. - Upgrade
@convex-dev/eslint-pluginto^4.0.0, retain the four established official rules, and apply the Convex preset directly to sandboxedsrc/component/**sources. - Correct the documented Node.js runtime floor to 20.
Breaking Changes
- TypeScript 5 is no longer supported. Install TypeScript 7 through
@typescript/nativeand TypeScript 6 under the canonicaltypescriptpackage name when using JavaScript-API tooling. - Sandboxed
src/component/**sources now receive the official Convex rules directly from the preset.
- Require the TypeScript 6 compatibility API (
Added
- Added compiler-backed fixtures for every preset under TypeScript 6 and TypeScript 7.
- Added installed-tarball, declaration-emit, React/Vite, and Next.js integration checks.
- Added pnpm, formatting, linting, Vitest, and 100% test-helper coverage gates.
- Added explicit JSON package exports and public package documentation.
Changed
- Prepared the package as version
2.0.0so merges publish2.0.0-canary.<sha>to the npmcanarytag. - Upgraded the primary compiler to TypeScript 7.0.2 while retaining the TypeScript 6 compatibility API for dependent tooling.
- Made ambient types explicit with
types: [], enablednoUncheckedSideEffectImportsand stable type ordering, and disabled library replacement. - Updated CI and trusted publishing workflows for deterministic pnpm installs, current actions, pinned OIDC-capable npm, provenance, and generated GitHub release notes.
Breaking
- Dropped TypeScript 5; supported compilers are now TypeScript
>=6.0.2 <8. - Ambient
@typespackages must be listed explicitly by consumers. - Emitting projects must set
rootDirexplicitly to retain their intended output layout.
Added
-
Release intelligence surface —
/changelog,/releases,/rss.xml, and/atom.xmlexpose one changelog source through HTML, GitHub release cards, and feed readers./docs/changelogredirects to/changelog. -
Hooks + utility primitives —
CopyButton(+useCopyToClipboardhook),Banner+BannerAction,Kbd,EmptyState,DocumentSiblingNav. -
Pricing + identity cards —
PricingTable+PricingPlan,HistoricalFigureCard,CivilizationCard(+CivilizationComparison). -
Newsletter —
NewsletterSignup(state-machine driven submit flow). -
AI compound families —
ModelComparison(+Column,Meta,Vote),PromptTemplates,AgentActivity,AISidebar,AIArtifact. -
Era / financial —
EraComparison,TransactionList. -
Forms —
Form,MultiSelect,SegmentedControl,TagsInput,AutoReload. -
Educational —
KnowledgeCheck(inline question runner). -
Charts + timelines —
GanttChart,ParallelTimeline,Timeline+TimelineItem,HistoricTimeline,InteractiveTimeline,ChronologicalTimeline,TreeView. -
Document + reading —
PrimarySourceViewercompound family. -
Maps + geography —
Map2D,ChoroplethMap,RouteMap,HeatMapOverlay,GeographyQuizMap,MapTimeline,StoryMap,Globe3D. -
Canvas foundation —
CanvasShell,CanvasView,InfinitePlane,ViewportBookmarks,WorldBreadcrumbs,TopBar,LeftRail,RightDock,ZoomHud,MiniMapPanel,WorkspaceSwitcher. -
Canvas selection + manipulation —
SelectionHalo,SnapGuides,FloatingToolbar,MultiSelectLasso,FollowMode,HandoffBeacon. -
Canvas spatial objects —
ObjectCard,ObjectHandle,AnchorPort,ConnectorEdge,EdgeLabel,GroupHull. -
Canvas collaboration primitives —
LiveCursor,CommentPin,PresenceSyncIndicator,PresenceStack,SelectionPresence,ThreadBubble. -
Inspector + dock panels —
PropertySection,ObjectInspector,RelationshipInspector,RuntimeOverviewPanel,RoutingAssignmentPanel,PolicyDeliveryPanel. -
Runtime overlays —
AlertPulse,ThresholdRing,StickyMetric,HeatOverlay,StateBadgeOverlay,MetricCluster,JarvisDock,ContextLens. -
Time navigation —
TimelineScrubber,PlaybackGhost,BottomActivityStrip,RunTimeline. -
Form primitives (18) —
ButtonGroup,InputGroup,Field,Fieldset,Item,ColorPicker,CheckboxGroup,NativeSelect,ListBox,SearchField,TextField,PhoneInput,TimePicker,TimeField,DateField,DateRangePicker,RangeCalendar,TagGroup. -
Charts / dataviz (5) —
PieChart,RadarChart,GaugeChart,SankeyChart,ContributionGraph(joining the existingBarChart/LineChart/AreaChart). -
AI primitives (3) —
Reasoning,ChainOfThought,PromptInput. -
Core primitives (7) —
Typography,Link,Toolbar,Meter,QrCode,Grid,Panel. -
Motion / effects (37) —
BentoGrid,Sparkles,Typewriter,AnimatedList,Dock,MagneticButton,TextShimmer,AnimatedBeam,AnimatedTabs,ScrollProgress,ShimmerButton,ShimmerText,AnimatedGridPattern,AnimatedTestimonials,AnimatedTooltip,BlurReveal,CardFlip,Cursor,DotPattern,ExpandableCards,FloatingNavbar,GlassCard,GlassProgress,LiquidGlass,Magnetic,Meteors,Particles,ProgressiveBlur,RevealText,ScrambleText,ShineBorder,ShinyButton,SpinningText,SpotlightCard,TextAnimate,TextReveal,TiltCard. -
Total component count: 309 (up from 140).
-
OKLCH theming system — color tokens migrated to the OKLCH color space, with 13 runtime theme presets (
default,matrix,dracula,synthwave,tron,cyberpunk,nord,claude,chatgpt,gemini,dusk,cyberlime,aura). New public theme exports from@vllnt/ui:THEME_PRESETS,DEFAULT_THEME_PRESET,CUSTOM_THEME_NAME,isThemePresetName, theThemePresetandThemePresetNametypes, plus theuseThemePresethook (withUseThemePresetResult),setThemePreset, andsetCustomThemefor runtime preset switching and user-supplied custom themes. -
A11y heading-level override — every title-bearing component (
ProfileSection,FAQ,Slideshow,WorldClockBar,TableOfContentsPanel,TableOfContents,KeyboardShortcutsHelp,Watchlist,OrderBook,HorizontalScrollRow,MarketTreemap,ActivityHeatmap,Glossary,StatusBoard,CodePlayground,Comparison,Quiz,Exercise,ShareSection,CompletionDialog,Checklist,LearningObjectives,CandlestickChart,StepByStep) accepts anasprop ("h1"–"h6"); multi-title components (ContentIntro,TutorialComplete) exposetitleAs+tocLabelAs/sectionLabelAs. Defaults preserve existing heading tags.HeadingTagis re-exported from@vllnt/ui.
Changed
- BREAKING — React 19 required. The peer dependency moved to
react/react-dom>=19; React 18 is no longer supported. Components migrated fromReact.forwardRefto the React 19 ref-as-prop pattern, anduseContext→use(). React-18 consumers must upgrade to React 19. - Internal quality sweep — cleared the react-doctor backlog:
no-react19-deprecated-apis456 → 0, plus state/effect warnings (useEffectEventfor effect-captured handlers, derived-state, cascadingsetState) and structural warnings (giant-component splits, render-in-render, polymorphic children, passive listeners). - Shared internals — extracted reusable hooks/utilities (reference-counted body-scroll-lock that fixes a multi-overlay unlock bug, escape-key, live-date, cached
Intlformatters, clipboard migration) and a Zod parse seam for the registry shape. - Registry installs use a hybrid CLI strategy — leaf component source is inlined, sibling registry items resolve via
@vllnt/uito keep installs minimal and dedupe shared primitives.
Fixed
- Docs sidebar dropped components — the registry category union omitted four categories (
ai,billing,data-display,educational), silently hiding ~32 components from the docs sidebar; all now render, with a structural fallback so a missing category can no longer regress. - Theme-adaptive chart colors —
CandlestickChartandSparklineGridseries colors now follow the active theme and dark mode instead of hardcoded values.
-
Breaking Changes
- Convex compatibility: this release targets
convex@^1.36.1andconvex-test@^0.0.50. create()/rotate(): Secret material (lookupPrefix, secretHex, hash) now generated server-side. Remove these from client args.- Admin mutations (
revoke,disable,enable,update,rotate,getUsage):ownerIdis now a required argument for auth boundary enforcement. apiKeyEventstable removed: Audit trail replaced with structured logging (Convex dashboard). Export existing event data before upgrading.@convex-dev/rate-limiterremoved: Rate limiting is now the integrator's responsibility at their HTTP action/mutation layer. RemoverateLimiterTest.register()from test setup.@convex-dev/aggregateand@convex-dev/cronsremoved: RemoveaggregateTest.register()andcronsTest.register()from test setup.getUsage():periodparam removed (counter-only).lastUsedAtremoved from return type.validate():retryAfterremoved from failure response (no internal rate limiting).list()/listByTag(): Now paginated withlimitparam (default 100).
Migration Guide
// BEFORE (v0.1) const { key } = await apiKeys.create(ctx, { name: "My Key", ownerId: "org_1", lookupPrefix, secretHex, hash, // ← REMOVE these }); await apiKeys.revoke(ctx, { keyId }); await apiKeys.rotate(ctx, { keyId, lookupPrefix, secretHex }); const usage = await apiKeys.getUsage(ctx, { keyId, period: { start, end } }); // AFTER (v0.2) const { key } = await apiKeys.create(ctx, { name: "My Key", ownerId: "org_1", // secret material generated server-side }); await apiKeys.revoke(ctx, { keyId, ownerId: "org_1" }); // ← ADD ownerId await apiKeys.rotate(ctx, { keyId, ownerId: "org_1" }); // ← ADD ownerId const usage = await apiKeys.getUsage(ctx, { keyId, ownerId: "org_1" }); // ← ADD ownerId, REMOVE periodTest setup:
// BEFORE import rateLimiterTest from "@convex-dev/rate-limiter/test"; import aggregateTest from "@convex-dev/aggregate/test"; import cronsTest from "@convex-dev/crons/test"; rateLimiterTest.register(t, "apiKeys/rateLimiter"); aggregateTest.register(t, "apiKeys/usageAggregate"); cronsTest.register(t, "apiKeys/crons"); // AFTER — only shardedCounter remains import shardedCounterTest from "@convex-dev/sharded-counter/test"; shardedCounterTest.register(t, "apiKeys/shardedCounter");New Features
- Public client wrapper now forwards optional
limittolist()andlistByTag() ValidationFailureno longer advertises the removedretryAfterfield- Auth boundary:
ownerIdcross-check on all admin mutations - Server-side secret generation for
create()androtate() - Input validation: keyPrefix charset, env charset, gracePeriodMs bounds (60s–30d), metadata size (4KB), scopes (50), tags (20)
- Configure bounds validation (reject negative/zero)
- Structured audit logging on all mutation outcomes
- lastUsedAt throttled to 60s (reduces OCC contention)
- Remaining decrement decoupled from lastUsedAt write (single merged patch)
- revokeByTag expanded to include
rotatinganddisabledstatuses - Paginated list/listByTag with configurable limit
- Convex compatibility: this release targets
Fixed
- Public API:
ProgressCardnow re-exported from@vllnt/ui— it shipped in0.2.0's tarball but was missing from the barrel, soimport { ProgressCard } from "@vllnt/ui"resolved toundefined.
Docs
- Correct casing for the AI family (
AIChatInput,AIMessageBubble,AISourceCitation,AIStreamingText,AIToolCallDisplay) andSocialFABacross README, package README, CHANGELOG, andllms-full.txt.
- Public API:
Added
- AI family —
AIChatInput,AIMessageBubble,AISourceCitation,AIStreamingText,AIToolCallDisplay,ThinkingBlock,ModelSelector. - Financial family —
CandlestickChart,MarketTreemap,OrderBook,TickerTape,SparklineGrid,WalletCard,Watchlist. - Ops / Status family —
StatusBoard,StatusIndicator,LiveFeed,WorldClockBar,SeverityBadge,RoleBadge,ScopeSelector. - Billing & Plans family —
SubscriptionCard,PlanBadge,CreditBadge,UsageBreakdown. - Animation family —
AnimatedText,BorderBeam,Marquee,NumberTicker, and a standalone spinner library exported viaSpinner. - Educational family —
Flashcard,Stepper,Tour,Annotation,CompletionDialog,TruncatedText,TableOfContentsPanel. - Form additions —
DatePicker,FileUpload,NumberInput,PasswordInput,InlineInput,Combobox,Rating. - Data / metric additions —
DataTable,DataList,StatCard,MetricGauge,ActivityHeatmap,ActivityLog. - App shell additions —
CategoryFilter,FilterBar,CookieConsent,Slideshow,CountdownTimer,AvatarGroup,FloatingActionButton,SocialFab,KeyboardShortcutsHelp,ShareDialog,HorizontalScrollRow,ViewSwitcher. - Total component count: 144 (up from 93).
- Full Storybook integration with E2E smoke tests in CI.
- OG image generation for every registry page.
- Signed provenance attestations on every published artifact (sigstore).
Changed
- Documentation domain moved to
ui.vllnt.com/storybook.vllnt.ai. - Default package registry is the public npm registry (no longer GitHub Packages).
- README component tables expanded to cover all 144 components organized by family.
Fixed
- Publish workflow now uses
npx --yes npm@latest publishso OIDC trusted publishing survives GitHub runners that ship pre-11.5.1 npm.
- AI family —
Changed
- CI: auto-release on push to main when new version detected (replaces manual workflow_dispatch)
- CI: enforce CHANGELOG.md updated in every PR with version match check
Fixed
- Resolve 23 transitive dependency vulnerabilities (1 critical, 14 high, 7 moderate, 1 low) (#12)
- Bump
@convex-dev/eslint-plugin^1.1.1 to ^1.2.1 - Bump
eslint(dev) ^9.39.2 to ^9.39.4 - Add
pnpm.overridesforhandlebars(pinned by upstream@boundaries/elements) - Refresh lockfile to resolve minimatch, picomatch, flatted, brace-expansion to patched versions
- Initial release
- Key creation with SHA-256 hashing, prefix-indexed lookup
- Key validation with status/expiry/remaining checks
- Key revocation (single + bulk by tag)
- Key rotation with configurable grace period
- Key listing by owner, tag, environment
- Key update (name, scopes, tags, metadata) without rotation
- Key disable/enable (reversible pause)
- Finite-use keys (remaining counter with atomic decrement)
- Key types (secret / publishable) with type-encoded prefix
- Environment-aware key format
- Multi-tenant isolation (ownerId-scoped queries)
- Audit event log (apiKeyEvents table)
- Usage analytics via event counting
- Child components: @convex-dev/rate-limiter, sharded-counter, aggregate, crons
Added
- CI and publish workflows.
Changed
- Publish workflow and CI refinements.
Changed
- Added the publish workflow (trusted publishing, canary and release jobs) and refined CI.
Fixed
- Re-extract tarball path from
pnpm packoutput for publish step.
- Re-extract tarball path from
Fixed
- Annotated tags +
--notes-filefor release creation.
- Annotated tags +
Added
- Initial release: core logger (
createLogger,createExtendedLogger,composeOutputs,consoleOutput,formatLogEntry,parseLogLevel), Node.js backend preset, and the/convex,/posthogand/testingentry points.
- Initial release: core logger (
Added
HorizontalScrollRow,ViewSwitcher, anduseHorizontalScrollhook.
Fixed
Comparison: defensive prop validation to prevent runtime crash on malformed input.
Fixed
- Bundle-free build to preserve per-file
"use client"directives in published chunks.
- Bundle-free build to preserve per-file
Fixed
- Exclude
index.jsfrom"use client"banner.
- Exclude
Fixed
- Add
"use client"directive to published dist chunks.
- Add
Added
- Initial public publish to the public npm registry.
No notes for this version in the package changelog.
No notes for this version in the package changelog.
Added
- Initial release: event tracking with a pre-initialization queue, two-category consent management
(localStorage and SSR cookie), versioned consent re-prompts, Do Not Track support, tutorial
tracking helpers, and React integration (
AnalyticsProvider,useAnalytics,useConsent).
- Initial release: event tracking with a pre-initialization queue, two-category consent management
(localStorage and SSR cookie), versioned consent re-prompts, Do Not Track support, tutorial
tracking helpers, and React integration (
Added
- Initial public release of shared TypeScript configuration presets for VLLNT projects.
- Added
base.json,nodejs.json,node-library.json,react.json, andnextjs.jsonpresets. - Documented Node.js 22+ and TypeScript 5+ expectations.
[ FEEDS ]
Subscribe.
One feed per format, in your reader. Stable releases carry the notes; canary builds list the version and the date.
- One package
- Every package has its own feeds, at /packages/<name>/ for stable releases and /packages/<name>/canary/ for canary builds, each with rss.xml, atom.xml and feed.json.