Skip to content

Releases: OpenJobDescription/openjd-sessions-for-python

0.12.1

Choose a tag to compare

@client-software-ci client-software-ci released this 04 Sep 01:40

0.12.1 (2026-09-04)

Bug Fixes

  • Render a PATH parameter in the host's path format (#364) (43b2640)

0.12.0

Choose a tag to compare

@client-software-ci client-software-ci released this 26 Aug 00:46

0.12.0 (2026-08-26)

Features

  • accept a resolved symbol table on the v0 session (#357) (457a364)
  • deliver step-scope let bindings to run_task (457a364)

Bug Fixes

  • drain exit step context before failures (457a364)
  • seed the resolved base into wrap hook scope (457a364)
  • replay a wrap env's own base into hook scope (457a364)
  • type the hook-scope capture stand-in exactly (457a364)

0.11.0

Choose a tag to compare

@client-software-ci client-software-ci released this 20 Aug 21:47
396b3c1

0.11.0 (2026-08-20)

⚠ BREAKING CHANGES

  • shorten the session working directory name for Windows MAX_PATH — session working dir is no longer prefixed with session ID; embedded_files<random> renamed to ef<random> (#348)

Bug Fixes

  • resolve system commands from trusted dirs, not PATH (#351)
  • do not cache failed command lookups (#351)
  • address automated review findings on the trusted-path resolver (#351)

0.10.14

Choose a tag to compare

@client-software-ci client-software-ci released this 11 Aug 22:15
5a80e92

0.10.14 (2026-08-11)

Features

  • support running Sessions as a jobRunAsUser on macOS (#335) (2df2d99)

0.10.13

Choose a tag to compare

@client-software-ci client-software-ci released this 07 Aug 17:29
ea9789a

0.10.13 (2026-08-06)

Bug Fixes

  • forward step_name through the _v1 Session.run_task wrapper (#345) (9ca3a4a)

0.10.12

Choose a tag to compare

@client-software-ci client-software-ci released this 05 Aug 00:02

0.10.12 (2026-08-04)

Bug Fixes

  • Do not load the native extension to build an empty rules list (80b1e70)
  • decode subprocess output with errors=backslashreplace (#343) (e2e60d3)
  • Resolve a legacy non-string argument instead of crashing (748629f)
  • Do not load the native EXPR extension unless EXPR is used (5c546b2)
  • Send the kill signal before announcing it (7bcac6e)
  • A failed launch must release wait_until_started() (f160a74)
  • run() must own its child from creation, not after logging (5e73e7f)
  • WrappedAction.Environment must be session-lifetime (RFC 0008 MUST) (26655b4)
  • Give _materialize_path_mapping a failure path (openjd-rs parity) (7585d4d)
  • cancel_info.json handler caught the wrong exception type (33cb7f0)
  • Do not gate terminate on leader liveness (openjd-rs parity) (4ffa320)
  • Anchor the openjd_env near-miss regex (openjd-rs parity) (b4ef573)

0.10.11

Choose a tag to compare

@client-software-ci client-software-ci released this 28 Jul 22:33
f3415d9

0.10.11 (2026-07-28)

Features

  • RFC 0008 environment wrap actions (#333) (df96902)
  • RFC 0008 environment wrap actions with EXPR runtime parity Implement the WRAP_ACTIONS extension (RFC 0008) in the v0 session, with EXPR (RFC 0007) runtime parity with openjd-rs: - Wrap-hook dispatch: an environment's onWrapEnvEnter / onWrapTaskRun / onWrapEnvExit runs in place of an inner environment's onEnter/onExit or a step's onRun, with WrappedAction.Command/Args/Environment/ Timeout/Cancelation.* and WrappedEnv.Name/WrappedStep.Name injected. At most one wrap-defining environment may be active (enforced at enter time). - Two strictly separated scopes (openjd-rs #277 parity): the wrapped action's values resolve against the INNER entity's own scope (its script-level let bindings and embedded files, materialized in runner order: paths, lets, contents); the hook script resolves against the wrap environment's own scope (its lets, evaluated by the runner) plus the WrappedAction.* overlay. Same-named lets on the two sides each resolve to their own value. - WrappedAction.Environment carries every session-defined variable: openjd_env definitions and entered environments' declarative variables: maps; host-inherited variables are excluded. - EXPR runtime: runner-evaluated script-level let bindings ordered around embedded-file materialization (paths before lets, contents after), typed symbol tables, enter_environment(extra_let_bindings=...) so a step's environments see the step-level lets. - Cancelation: WrappedAction.Cancelation.Mode/NotifyPeriodInSeconds resolved through the enforcement path, with Template Schemas 5.3.2 defaults (120s task onRun / 30s otherwise). (df96902)

Bug Fixes

  • Address review findings — let-binding crash paths, Step.Name, perf (df96902)
  • RFC 0005/0008 typed-arg and null-vs-empty parity with openjd-rs (df96902)
  • Close review findings on failure paths, timeout bounds and typing (df96902)
  • Narrow Optional script before setattr in wrap cancelation test (df96902)
  • Close wrap-hook scope gap, cancel races, and path-mapping parity (df96902)
  • Make wrap and URI tests host-independent on Windows (df96902)
  • Do not fail an action whose subprocess exits immediately (df96902)
  • Serialize the pending-cancel handoff against action launch (df96902)
  • concurrency: Close race windows in cancel and completion paths (df96902)
  • concurrency: Close round-4 review findings (R4-1, R4-5, R4-6, R4-G7, R4-G8) (df96902)
  • Close round-5 review findings R5-1 through R5-9 (df96902)
  • Close defects introduced by the round-5 fix commit (df96902)
  • wrap-actions: Isolate a wrap hook's scope from the wrapped entity's (df96902)
  • subprocess: Own the child on every exit path from run() (df96902)
  • Report chown and pgrep failures through the paths that handle them (df96902)
  • Silence Windows mypy on POSIX-only os and signal attributes (df96902)
  • Do not open a directory descriptor on Windows (df96902)
  • Address the live CodeQL alerts on this PR (df96902)
  • poll through CANCELING state to deliver terminal callback (#331) (d57e477)

0.10.10

Choose a tag to compare

@client-software-ci client-software-ci released this 03 Jul 17:56
3252190

0.10.10 (2026-07-03)

Features

  • sessions: Rust-backed openjd.sessions._v1 via PyO3 (#316) (06c30f1)

Bug Fixes

  • only allow basenames for embedded files (#326) (0c0bdb5)

0.10.9

Choose a tag to compare

@client-software-ci client-software-ci released this 25 May 20:33
fb7841f

0.10.9 (2026-05-25)

Features

0.10.8

Choose a tag to compare

@client-software-ci client-software-ci released this 11 May 23:10
26c1fee

0.10.8 (2026-05-11)

Features

  • Add OPENJD_SESSION_WORKING_DIR environment variable (#309) (9e28bc5)