Releases: ucejtech/kweri
Releases · ucejtech/kweri
kweri: v0.5.1
kweri: v0.5.0
0.5.0 (2026-06-10)
⚠ BREAKING CHANGES
- the built-in fetcher now rejects on 4xx/5xx (previously resolved with the error body as data). Custom fetchers are unaffected.
Features
kweri: v0.4.4
v0.3.0
Minor Changes
-
#9
d768da1Thanks @ucejtech! - Rearchitect OpenAPI code generation.Breaking changes:
kweri-gennow writes a singleclient.tsinto your source tree
(--out, defaultsrc/api/kweri/client.ts) instead of into
node_modules/kweri/.generated/. Commit it like any other source file.- The
kweri/generatedpackage export has been removed — import from your
generated file instead (e.g.import { EndpointByMethod } from '@/api/kweri/client'). createClientnow takes aKweriinstance and routes every call through the
runtime, so generated clients get caching, request deduplication, and
stale-while-revalidate. Previously it made rawfetchcalls that bypassed the
cache entirely. MigratecreateClient({ baseURL })→createClient(kweri).- The
--bundleflag is gone;$refpointers are resolved automatically. - Use an explicit
genscript and commit the output instead of apostinstall
hook — the output now lives in your tree and survives reinstalls under npm,
pnpm, and Yarn PnP.
Internal:
- Generation is driven by typed-openapi's programmatic API
(mapOpenApiEndpoints+generateFile) rather than shelling out to its CLI
and regex-scraping the output. No more marker slicing, no more@ts-nocheck—
the generated code type-checks cleanly. - Removed the install-time
npx tscstep, temp-dir handling,node_modules
resolution hacks, and the bundle-runner written intonode_modules. Deleted
two dead generator modules. Added a generator test suite (IR units, emitter
snapshots, and a runtime integration test proving the client dedupes and
caches through kweri).
This changelog is generated by Changesets.
Each release's notes come from the changesets included in its "version packages" PR.
v0.2.2
kweri: v0.4.3
kweri: v0.4.2
kweri: v0.4.1
kweri: v0.4.0
0.4.0 (2026-06-09)
⚠ BREAKING CHANGES
kweri-gennow generates clients in your source tree (default:src/api/kweri/client.ts) instead ofnode_modules/kweri/.generated/. Update imports accordingly.
Features
- add Dockerfile for mintlify build and serve configuration (60fd250)
- add formatSource function for formatting generated TypeScript a… (de5e85c)
- add formatSource function for formatting generated TypeScript and corresponding tests (4e475cd)
- add GitHub Actions workflow for publishing to npm (934754d)
- add installation and introduction documentation (71b4bdf)
- add railway configuration file for deployment and build settings (c7ddb36)
- add step to set version from tag in publish workflow (3b444dd)
- add version generation step to GitHub Actions workflow (2197588)
- add version generation step to test workflow (a26ce4d)
- adds cache store, cleanup cache-entry (a848513)
- adds cache store, cleanup cache-entry (c93953d)
- enhance cache store functionality and improve entry management (41d8f3e)
- implement kweri API client generation and enhance project structure (b04908b)
- optimize cache entry retrieval and enhance error handling (6111aab)
- rearchitect code generation to write OpenAPI clients into source tree (145f02a)
- rearchitect OpenAPI code generation with breaking changes (d768da1)
Bug Fixes
- add logo configuration to docs.json (74eccef)
- add logo configuration to docs.json (499081d)
- add repository, homepage, and bugs fields to package.json (3feef3e)
- add repository, homepage, and bugs fields to package.json (8f8281b)
- add version generation step before running tests in publish work… (54caa0f)
- add version generation step before running tests in publish workflow (35f49a8)
- add vue as a devDependency in package.json (538aa6e)
- add vue as a devDependency in package.json (1378950)
- change executeQuery to non-async in Vue adapter to avoid unhandled promise rejections (4cb56d4)
- correct path for kweri-gen in package.json and add .npmignore for generator artifacts (e19e90f)
- remove strict response validatio and support auto ref unwrapping in templates for vue. (88405d5)
- remove strict response validatio and support auto ref unwrapping… (38f7228)
- update build and start commands in railway configuration for consistency (d38b3fc)
- update Dockerfile to streamline mintlify installation and configure Nginx for serving (87cc42e)
- update Dockerfile to use 'mintlify export' instead of 'mintlify build' (f576b9f)
- update documentation link to new URL (60368d1)
- update documentation link to new URL (1dbbc78)
- update import path for generated client in README (a03cc73)
- update publish workflow to include permissions and upgrade npm (209063f)
- update publish workflow to include permissions and upgrade npm (25b8eba)
- update versioning logic in publish workflow and correct version in package.json (92f37e5)