Releases: enixCode/light-runner
Releases · enixCode/light-runner
v0.17.0
v0.16.2
v0.16.1
v0.16.0
Breaking change.
RunRequest.network(string) is replaced byRunRequest.networks(string[]). Migratenetwork: 'x'tonetworks: ['x'], andnetwork: 'none'tonetworks: ['none']. Omitting the field keeps the isolated-bridge default. The first entry is the primary network; any further entries are additionally connected (multi-network support).
What's Changed
- build(release): run only docs:typedoc in preversion by @enixCode in #10
- docs(site): derive nav version label from package.json by @enixCode in #11
- feat(network)!: support multiple networks via networks[] by @enixCode in #12
Full Changelog: v0.15.0...v0.16.0
Install
npm install light-runner@0.16.0Liens
v0.15.0
What's Changed
- fix(docs): set GitHub Pages base path so the site loads by @enixCode in #9
- feat(state): persist attached runs and cap state dir by size by @enixCode in #8
Full Changelog: v0.14.0...v0.15.0
Install
npm install light-runner@0.15.0Liens
v0.14.0
Highlights
- Refactor architectural :
DockerRunnershrinks from 747 to 188 lines. Orchestration extracts to 8 focused modules undersrc/runner/:attached.ts,detached.ts,reattach.ts,setup.ts,operator.ts,wait.ts,context.ts,stdio.ts. Public API surface unchanged, allDockerRunner.Xstatic methods preserved as forwarders. - New network module (
src/network.ts): Docker control-plane primitivescreateNetwork,deleteNetwork,networkExists,cleanupOrphanNetworkswith IPAM config support (subnet, gateway, ipRange) and prefix-scoped, race-protected cleanup. Exposed publicly solight-processcan allocate per-run subnets from a CGNAT pool. - OpenTelemetry integration (new in this release) : the library now emits spans via the optional
@opentelemetry/apipeer dependency. Spans includedocker.run,container.setupwith sub-spans (build_cache,create_volume,seed,network_ensure,create),container.exec,container.extract,docker.reattachfor the resume path, andnetwork.*on the public CRUD.parseImageRefandimageAttributesemitcontainer.image.name+container.image.tagaligned with OTel semantic conventions. Custom (non-semconv) attributes are namespaced underlightrunner.*from the start. @opentelemetry/apibecomes an optional peerDependency (^1.9.0) : zero runtime cost when no SDK is registered (NoopTracer fallback).- Hardening fixes :
cleanupOrphanVolumesage-guard against freshly-created volumes (race), cancelled-before-start short-circuit (anAbortSignalaborted beforerun()returns no longer executes the container).
Install
npm install light-runner@0.14.0Liens
Full changelog: v0.13.0...v0.14.0
v0.13.0
What's changed in v0.13.0
Features
- feat(cache): evict orphan cache by last-used, not by build date (2fb3ddc)
Full changelog: v0.12.0...v0.13.0
v0.12.0
What's changed in v0.12.0
Features
- feat(api)!: rename RunRequest.command to RunRequest.entrypoint (ca6a92b)
Full changelog: v0.11.0...v0.12.0
v0.11.0
What's changed in v0.11.0
Features
- feat(run): add RunRequest.run[] for cached setup-step image builds (1369857)
Full changelog: v0.10.5...v0.11.0
v0.10.5
What's changed in v0.10.5
Fixes
- fix(detached): stream onLog and enforce timeout in executeDetached (e95074b)
Full changelog: v0.10.4...v0.10.5