Skip to content

Releases: enixCode/light-runner

v0.17.0

03 Jun 12:52
7ce7849

Choose a tag to compare

What's Changed

  • chore(release): bump version to 0.16.2 by @enixCode in #18
  • feat: cleanup dangling images + arm version 0.17.0 by @enixCode in #19

Full Changelog: v0.16.2...v0.17.0

v0.16.2

02 Jun 15:12
992d6d4

Choose a tag to compare

What's Changed

  • docs(readme): document deleteState in the public API surface by @enixCode in #16
  • fix(extract): finalize detached runs that extract artifacts by @enixCode in #17

Full Changelog: v0.16.1...v0.16.2

v0.16.1

31 May 18:37
929e6dc

Choose a tag to compare

What's Changed

  • feat(docs): migrate the docs site to Fumadocs + shared landing package by @enixCode in #13
  • feat(state): export deleteState from the package entrypoint by @enixCode in #14
  • chore(release): bump version to 0.16.1 by @enixCode in #15

Full Changelog: v0.16.0...v0.16.1

v0.16.0

29 May 22:53

Choose a tag to compare

Breaking change. RunRequest.network (string) is replaced by RunRequest.networks (string[]). Migrate network: 'x' to networks: ['x'], and network: 'none' to networks: ['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.0

Liens

v0.15.0

29 May 14:40

Choose a tag to compare

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.0

Liens

v0.14.0

29 May 11:54

Choose a tag to compare

Highlights

  • Refactor architectural : DockerRunner shrinks from 747 to 188 lines. Orchestration extracts to 8 focused modules under src/runner/: attached.ts, detached.ts, reattach.ts, setup.ts, operator.ts, wait.ts, context.ts, stdio.ts. Public API surface unchanged, all DockerRunner.X static methods preserved as forwarders.
  • New network module (src/network.ts): Docker control-plane primitives createNetwork, deleteNetwork, networkExists, cleanupOrphanNetworks with IPAM config support (subnet, gateway, ipRange) and prefix-scoped, race-protected cleanup. Exposed publicly so light-process can allocate per-run subnets from a CGNAT pool.
  • OpenTelemetry integration (new in this release) : the library now emits spans via the optional @opentelemetry/api peer dependency. Spans include docker.run, container.setup with sub-spans (build_cache, create_volume, seed, network_ensure, create), container.exec, container.extract, docker.reattach for the resume path, and network.* on the public CRUD. parseImageRef and imageAttributes emit container.image.name + container.image.tag aligned with OTel semantic conventions. Custom (non-semconv) attributes are namespaced under lightrunner.* from the start.
  • @opentelemetry/api becomes an optional peerDependency (^1.9.0) : zero runtime cost when no SDK is registered (NoopTracer fallback).
  • Hardening fixes : cleanupOrphanVolumes age-guard against freshly-created volumes (race), cancelled-before-start short-circuit (an AbortSignal aborted before run() returns no longer executes the container).

Install

npm install light-runner@0.14.0

Liens

Full changelog: v0.13.0...v0.14.0

v0.13.0

17 May 12:02

Choose a tag to compare

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

11 May 12:24

Choose a tag to compare

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

10 May 23:27

Choose a tag to compare

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

07 May 12:14

Choose a tag to compare

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