Skip to content

Releases

skeld 0.4.5

Choose a tag to compare

@ul0gic ul0gic released this 27 Nov 17:57
c286df5

Adds createWorker to @skeld/core and moves all four packages to 0.4.5.

createWorker, from @skeld/core/worker, runs a service's plugins without an HTTP listener. It registers and boots plugins and a gate as a server does, and opens no port. A migration script, a background process or a command-line tool can then use the same database handle, logger and shutdown as the service. A worker has no listen, routes or hooks, and a plugin that declares a route makes start() reject, so it cannot serve by mistake. close() runs every onClose callback in reverse order, as on a server. The framework adds no signal handler; the guide shows how to wire SIGTERM and SIGINT to close.

@skeld/core also fixes a detail in logging. With errorFrames: true, an error logged while a plugin or the gate was still booting kept the process's working directory in its stack frames. The directory is now removed from the first record on.

The data example has a migration script built on createWorker, and its service no longer creates its own tables.

@skeld/auth, @skeld/openapi and @skeld/data are unchanged in behavior. @skeld/openapi needs @skeld/core ^0.4.5.

Install: npm install @skeld/core@0.4.5

Verified release workflow.

skeld 0.4.0

Choose a tag to compare

@ul0gic ul0gic released this 26 Nov 19:08
83e9d67

Adds a new package, @skeld/data, and moves all four packages to 0.4.0.

@skeld/data connects a service to PostgreSQL or SQLite through one API. Queries are written with the sql tagged template, so every value is sent as a parameter and never as query text. Rows can be checked against a schema, and transactions and reserved connections are callbacks. It has its own PostgreSQL client for PostgreSQL 19, with no pg dependency: every TLS connection has its certificate and host name verified, and sign-in is SCRAM-SHA-256. SQLite runs on Node's built-in node:sqlite. Pool size, waiting time, result memory and parameter size are bounded by default. It also has a rate limiter, @skeld/data/limit, and toPgPool, which runs @skeld/auth's PostgreSQL store on the same connections. Its only dependency is @skeld/core.

@skeld/core: Scope gains closeTimeoutMs, event() and onRoutes(), so a plugin can bound its own shutdown, write security events and check the routes it will serve before the server starts.

@skeld/auth and @skeld/openapi are unchanged in behavior. @skeld/auth is now tested on PostgreSQL 19.

Install: npm install @skeld/core@0.4.0 @skeld/data@0.4.0

Verified release workflow.

skeld 0.3.0

Choose a tag to compare

@ul0gic ul0gic released this 25 Nov 22:09
0ea004b

Adds a new package, @skeld/openapi, and moves all packages to one shared version.

@skeld/openapi generates an OpenAPI 3.1.2 document from a contract. createOpenApi(contract, options) runs offline, performs no I/O and returns the document with a list of diagnostics. A declaration it cannot describe faithfully is refused with a located error. Where OpenAPI cannot express a rule the server enforces, the document carries an x-skeld-* extension and the result carries a diagnostic. Its only dependency is @skeld/core, as a peer.

@skeld/core and @skeld/auth are unchanged in behavior. From this release the packages share one version and are released together.

Install: npm install @skeld/core@0.3.0 @skeld/openapi@0.3.0

Verified release workflow.

skeld 0.2.0

Choose a tag to compare

@ul0gic ul0gic released this 16 Nov 16:47
bc90649

Adds a route gate to @skeld/core and a new package, @skeld/auth.

On a gated server every route declares its access (public, optional, or a policy and an action) or listen rejects. Identification runs before the body is read; authorization runs after validation, before the handler. A server without a gate behaves as before.

@skeld/auth supplies policies with request-bound grants, sessions with a session-bound CSRF token, API keys, JWT verification, generic OpenID Connect sign-in, shared rate limits and Argon2id password helpers, over SQLite or PostgreSQL. Its only runtime dependency is @skeld/core. Users, credentials and account recovery stay with the application.

Install: npm install @skeld/core@0.2.0 @skeld/auth@0.2.0

Verified release workflow.

skeld core 0.1.2

Choose a tag to compare

@ul0gic ul0gic released this 14 Nov 21:58

The typed client no longer follows redirects: a 301, 302, 303, 307 or 308 answer rejects with HttpError code REDIRECT_NOT_SUPPORTED, and 304 is unaffected. Engine-fault log records carry one bounded detail key (skeld.returned_status, skeld.redirect_refusal or skeld.reserved_header), and the skeld.server.closed record is written even when the log queue is past its reserve. Malformed route shapes are refused at declaration with a clear message. Internally, the request id is written with the response head and waiting requests are tracked in a linked queue. Adds an npm install guide to the documentation.

Install: npm install @skeld/core@0.1.2

Verified release workflow. The attached archive matches the package published on npm; its checksum is in SHA256SUMS.

skeld core 0.1.1

Choose a tag to compare

@ul0gic ul0gic released this 14 Nov 02:49
v0.1.1
a6149cd

Shortens the npm README to installation instructions and links to the website and repository. Adds automated npm trusted publishing with provenance and release checks that block unresolved CodeQL alerts and dependency advisories. Includes test/build tooling hardening and a patched benchmark dependency.

Install: npm install @skeld/core@0.1.1

Verified release workflow. The attached archive matches the package published on npm; its checksum is in SHA256SUMS.

skeld core 0.1.0

Choose a tag to compare

@ul0gic ul0gic released this 14 Nov 02:00
v0.1.0
365371b

First public development release of @skeld/core.

  • Contract-defined HTTP routes, request validation, response serialization and a typed client.
  • Cookie, redirect, CORS and cross-site request controls.
  • Scoped plugins and resource cleanup, structured logging and classified-data handling.
  • ESM JavaScript and TypeScript declarations; requires Node.js 26.12.0 or newer.

Install with npm install @skeld/core@0.1.0.

Authentication and durable storage are application responsibilities; the planned auth module is not part of this release. Diagnostic recorder code, tests, benchmarks and the website are excluded from the npm package.

The first package is bootstrapped through a verified local tarball and npm staged approval. It does not carry GitHub build provenance. Subsequent automated releases use the configured release workflow after npm trusted publishing is established.

Release commit: 365371b6306d6e7854e839547b80fee7fb5c0ab8.

Validation: full CI run 43542688951, security run 43542687510, clean package build, tarball exclusion check, consumer declaration checks and an installed-tarball HTTP smoke check passed. The merged commit has the same source tree as the tested PR commit.

SHA-256: a9334ef7d1752fb5167030f6d245a9978181c7e84776391c0476f175781861b0

Security review: the confirmed benchmark temporary-file overwrite was fixed before release; the Fastify benchmark was removed. The remaining 12 CodeQL findings were reviewed as intentional test/build behavior or guarded core operations; they remain visible. One medium dependency advisory remains in benchmark tooling, outside this package. This review is not a claim of exhaustive security coverage.