From 6e4f88cd1d3b9ec0e7f3eca272c8ad6cfbb448d4 Mon Sep 17 00:00:00 2001 From: David Leong <116610336+leongdl@users.noreply.github.com> Date: Tue, 25 Aug 2026 17:02:32 -0700 Subject: [PATCH] chore: raise the openjd-model floor to 0.11.6 0.11.6 is the first openjd-model release that accepts an environment defining only `onExit` (openjd-model 5b9c661, released in f7ca58f). This package enters and exits environments handed to it by a caller, so a template the model previously rejected at validation is one it can now be given. 0.11.5 carried only an openjd-rs crate dependency bump. The upper bound is unchanged: 0.11.6 is the newest release and `< 0.12` still holds. BREAKING CHANGE: `extra_let_bindings` was removed from `Session.enter_environment`, `Session.exit_environment` and `Session.run_task` in #357 (457a364). It was public in 0.11.0, so the removal is backwards incompatible for the public API. That squash commit landed without this footer, so semantic-release would otherwise cut the removal as a patch and anyone pinned `~=0.11.0` would pick it up. Callers should deliver step-scope EXPR `let` values through `resolved_symtab` instead. Per the README's versioning policy this bumps MINOR (0.12.0); `major_on_zero = false` keeps it inside 0.x. Signed-off-by: David Leong <116610336+leongdl@users.noreply.github.com> --- pyproject.toml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 75b0cbd7..379fe3a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,14 +31,17 @@ classifiers = [ "Topic :: Software Development :: Libraries" ] dependencies = [ - # 0.11.4 is the floor because it is the first release whose SerializedSymbolTable - # has a JSON transport form (to_json_str/from_json_str), which is how a caller - # gets a table across a process boundary and into the v1 Session's - # `resolved_symtab`. Do not drop below 0.11.2: the EXPR/WRAP_ACTIONS model - # surface this package imports (FormatString.whole_field_expression, - # evaluate_let_bindings, CancelationMethodDeferred, SymbolTable.expr_host_rules, - # `let` on StepTemplate/StepScript) does not exist before then. - "openjd-model >= 0.11.4,< 0.12", + # 0.11.6 is the floor: it is the first release that accepts an environment + # defining only `onExit`, a template this package is expected to enter and + # exit. Earlier floors, still load-bearing: 0.11.4 is where + # SerializedSymbolTable gained its JSON transport form + # (to_json_str/from_json_str), which is how a caller gets a table across a + # process boundary and into the v1 Session's `resolved_symtab`; and the + # EXPR/WRAP_ACTIONS model surface this package imports + # (FormatString.whole_field_expression, evaluate_let_bindings, + # CancelationMethodDeferred, SymbolTable.expr_host_rules, `let` on + # StepTemplate/StepScript) does not exist before 0.11.2. + "openjd-model >= 0.11.6,< 0.12", "pywin32 >= 307; platform_system == 'Windows'", "psutil >= 5.9,< 7.3; platform_system == 'Windows'", ]