Changelog¶
All notable changes to this project are documented here. The format follows Keep a Changelog and the project adheres to SemVer.
Full history
This page lists recent highlights. The full version-by-version history
(0.2.0–0.11.0) lives in the repository's
CHANGELOG.md.
[0.20.1] — 2026-07-09¶
Changed¶
- deps: bump
tempest-db-jsto>=0.4.0(peer),^0.4.0(dev) and the CLI scaffold template. No API changes; build and full suite green on 0.4.0.
Fixed¶
- api: Swagger UI now loads its assets when visited at
/docs(no trailing slash), not only/docs/. The bootstrap HTML referenced assets with a relative path (./assets/…), which the browser resolved against/docsto/assets/…— a 404 that left the UI blank/unstyled. Asset URLs are now absolute (/docs/assets/…) and resolve at both paths.
Docs¶
- New recipe Schemas (base, response and pagination) —
toDict,baseResponseSchema, the Create/Update/Response pattern, and offset vs. cursor pagination. - New recipe API:
createApp, OpenAPI, Swagger and Redoc — fullcreateAppoption reference, theconfigurehook, and the 3-step OpenAPI wiring.
[0.20.0] — 2026-07-06¶
Added¶
- db:
wrapWithSlowQueryLog(slow-query logging via a driver wrap) andbackupDatabase(dialect-aware:pg_dump/ SQLite copy). auth:renderAuthResultPage/renderPasswordResetFormPage(optional HTML pages).
[0.19.0] — 2026-07-06¶
Added¶
- storage:
S3UploadStorage(sameUploadStorageinterface over MinIO/S3, optionalminiopeer). cli:lint,configanduser.
[0.18.0] — 2026-07-06¶
Added¶
- utils:
sendFileDownload(Range/206),sendBytesDownload,resolveDownloadPath(traversal-safe) andconfigureFileLogging(per-level files +500.log); coreaddLogSink; apimakeLogsRouter.
[0.17.0] — 2026-07-06¶
Added¶
- schemas: validated field types (
centsField,priceField,slugField,hexColorField,percentField,latitudeField, …), delta-sync pagination (syncFilterSchema/syncPaginationSchema),buildPaginationLinkHeader(RFC-5988) andlogEntrySchema.
[0.16.0] — 2026-07-06¶
Added¶
- api: OAuth2/OIDC clients (
GoogleOAuthClient,GitHubOAuthClient,OIDCProvider) +generateOAuthState,WebhookSignatureVerifier(constant-time HMAC over the raw body) andmakeToolSpecRouter(a/tool-specmanifest endpoint).
[0.15.0] — 2026-07-06¶
Added¶
- db: advanced layer —
TenantScopedRepository(multi-tenant isolation),BaseOutboxModel+OutboxRelay(transactional outbox),BaseAuditLogModel+snapshot/diffSnapshots(audit trail) and opt-in base modelsBaseUserModel/BaseUserTokenModel/BaseUserRefreshTokenModel.
[0.14.0] — 2026-07-06¶
Added¶
- testing: framework-agnostic in-memory test-database helpers —
createTestDatabase(models)stands up atempest-db-jsengine over in-memory SQLite with tables reflected from the models;withTestDatabase(models, fn)scopes it to a block and always disposes.
[0.13.0] — 2026-07-06¶
Added¶
- api/middlewares: HTTP hardening middlewares —
rateLimitMiddleware(sliding window; memory + Redis stores; key by IP/header/JWT),bodySizeLimitMiddleware(413),csrfMiddleware+generateCsrfToken,idempotencyMiddleware(memory + Redis stores),GracefulShutdown,requestTracingMiddlewareandprometheusMiddleware/HttpMetrics.
Changed¶
- api:
requestIdMiddlewarevalidates the inboundX-Request-IDagainst an ASCII whitelist before reusing it (prevents CRLF/log injection).
[0.12.0] — 2026-07-06¶
Added¶
- settings: composable domain settings fragments mirroring the
tempest-fastapi-sdkmixins —authSettingsShape,jwtSettingsShape,emailSettingsShape,redisSettingsShape,rabbitmqSettingsShape,sessionSettingsShape,uploadSettingsShape,minioSettingsShape,webPushSettingsShape,webSocketSettingsShape,logSettingsShape,tokenSettingsShape(same env var names + defaults). PlusenvBoolean(parses"false"asfalse) andenvList(CSV →string[]) helpers.
Docs¶
- recipes/settings: new bilingual guide for typed settings.
- recipes/database: new bilingual guide (models + repositories).
[0.1.0] — 2026-06-29¶
Added¶
- Foundation: strict TypeScript tooling,
@alias (no.js), dual ESM + CJS +.d.tsbuild (tsup), Biome and Vitest. - core:
JSONLogger, request-id context (AsyncLocalStorage),defineEnum. - exceptions:
AppException+ HTTP subclasses (Conflict,NotFound,Unauthorized,Forbidden,Validation,TooManyRequests,InvalidToken,ExpiredToken),MessageCatalog(i18n) andregisterExceptionHandlers. - schemas: OpenAPI-augmented
z,baseResponseSchema, offset + cursor pagination. - settings:
loadSettings,baseAppSettingsShape. - db: re-exports
tempest-db-js,BaseModeland column helpers. - services / controllers:
BaseService,BaseController. - utils: CPF/CNPJ/CEP/phone/UF + cities, datetime, dict, opaque tokens,
AttemptThrottle,PasswordUtils(bcrypt),JWTUtils. - auth: schemas,
UserAuthService, JWT middleware, role guards,makeAuthRouter. - api:
createApp,runServer, native Swagger UI + Redoc, health. - CLI:
new,generate,secret,docker-compose,db.
Pending¶
Not yet ported from tempest-fastapi-sdk: sessions, cache (Redis),
queue (RabbitMQ), tasks, webpush, websockets, feature flags, storage, metrics,
admin, SSE, and the MFA / email / password-reset flows.