Skip to content

chore(release): 0.10.0 - simple health API + object checks - #23

Merged
vreshch merged 1 commit into
masterfrom
feature/health-simple-api
Aug 11, 2026
Merged

chore(release): 0.10.0 - simple health API + object checks#23
vreshch merged 1 commit into
masterfrom
feature/health-simple-api

Conversation

@vreshch

@vreshch vreshch commented Aug 10, 2026

Copy link
Copy Markdown
Member

Adds the simple public API on top of the existing one - nothing existing changes shape (research: vault research/health-kit-public-api).

  • health(options?) - fetch-native handler factory (Next routes, Hono, Workers, Deno, Bun). Zero-config = liveness probe; with checks = readiness.
  • nodeHealth / staticHealth - createHealthHandler / staticHealthJson under matching names.
  • checks also accepts a keyed object: { db: () => pool.query('SELECT 1') } or { cache: { run, timeoutMs, optional } }. Array form unchanged.
  • LICENSE file (manifest said MIT, file was missing) + CHANGELOG.md.
  • README health section now leads with the simple API.

Health module stays zero-import edge-safe; the source-scan test covers the additions.

Verified: npm run verify green locally - type-check, lint, format, 120 tests (incl. edge-safety + new simple-API block), build, dist smoke (extended to assert the new exports).

@vreshch
vreshch changed the base branch from feature/observability-kit to master August 11, 2026 01:58
@vreshch vreshch closed this Aug 11, 2026
@vreshch vreshch reopened this Aug 11, 2026
@vreshch
vreshch marked this pull request as ready for review August 11, 2026 02:10
@vreshch
vreshch merged commit 8572174 into master Aug 11, 2026
1 check passed
@vreshch
vreshch deleted the feature/health-simple-api branch August 11, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant