Engine release history¶
What changed in each engine release, oldest first, and what a consumer repository had to do about it. The pins the platform runs today are on Versions; the procedures are on Upgrades. The release notes on the public nrit-solutions/tfpr releases page carry the same record per tag.
Engine releases before v9.0.0 built the tfpr binary inside the run from the
pinned checkout. v1.12.0 started that port: project discovery (v1.12.0),
the run report renderer (v1.13.0), the pull-request comment surface with
the moved-head verification (v1.14.0), the per-project check runs on
comment-triggered plans and applies (v1.15.0), the merge-gate and
approval commit statuses (v1.16.0), and command authorization, the apply
approval gate, and drift-issue reporting (v1.17.0), at which point every
GitHub call the engine makes is compiled. v2.0.0 closes the port: the
cross-PR unit lock runs compiled, a pull request plan runs as a thin
dispatcher so every per-unit check on the PR is engine-named
(<command> / <label> #<run> on all triggers, the form of that era), and the
last shell fallbacks are retired. The major carries two caller edits, both in the canonical caller:
the permissions ceiling gains actions: write, and workflow_dispatch
declares and forwards four engine-set dispatch inputs. The merge-gate and
approval status contexts are unchanged. v2.1.0 adds the dedicated
checks App: with TFPR_CHECKS_APP_CLIENT_ID and
TFPR_CHECKS_APP_PRIVATE_KEY configured, the engine's checks are created
with that App's token and render under its heading (tf-pr-ops). v3.0.x
is the v3 PR surface: the pull_request path becomes the dispatch composite
action in its own caller (tf-pr-ops-pr.yml, with the repository's
pre-commit hooks as the gating first job), the merge gate and approval move
from commit statuses to App check runs with unchanged names, per-unit
checks read tf-pr-ops / plan (<label>) #<run>, the five TF_PR_OPS_*
consumer variables rename to TFPR_*, and the checks App graduates from
optional to part of onboarding. v4.0.0 renames the engine App credentials
to ENGINE_APP_CLIENT_ID and ENGINE_APP_PRIVATE_KEY (the previous names
are in the v4.0.0 release notes) and drops the git credential rewrite for
private module sources, which no unit uses; the bootstrap sets the new
names. v5.0.0 moves every uses: line to the public entrypoint
repository nrit-solutions/tf-pr-ops, which the engine's release job writes
from the private core under the same tag; the core stays private and is
checked out by the jobs with the engine App token, so a landing-zone
repository in any organization can run the engine. The variables and secrets
do not change. v5.1.0 counts imports as changes, so /apply lands an
import-only plan and the per-unit check titles carry the import count
(Plan: 1 to import, 0 to add, 0 to change, 0 to destroy, Resources: 1
imported, 0 added, 0 changed, 0 destroyed), and the apply job receives
INFRACOST_API_KEY, so the cost gate runs on apply. No caller change. v6.0.0
is the pipeline speed release. The steps: block in projects.yml gains a
plan stage and an apply stage, and apply runs no hooks unless its own stage
lists them: the plan run already gated the plan, and the reviewed-plan guard
refuses an apply whose plan differs, so the apply report carries a one-line
note instead of the gate sections (the flat steps: form keeps working and
means the plan stage only). A push starts the plan directly at the plan job
instead of through a resolve job, the runner restores its tool installs and
Terraform providers from the Actions cache, and the merge-gate job runs
without checkouts. Two caller edits, both in the canonical callers: the ops
caller declares and forwards a context workflow_dispatch input, and its
actions: read permission goes. v6.0.1 fixes the provider cache on
self-hosted runners, whose temp path carries the runner instance name; the
cache now lives under a path that is the same on every instance. v6.1.0
links each per-unit check to the job that ran the unit, so its "View more
details" opens the live log instead of the run overview. v6.2.0 fences a
pull request's plan behind its running apply: the plan and apply jobs of
one PR share a concurrency group, so a push mid-apply queues its plan until
the apply finishes, and the new head's plan checks open as "Waiting for
apply #N on secrets: inherit, which GitHub drops when the caller is in another
organization than nrit-solutions; copy the secrets: block from the
example callers when bumping. v7.0.0 is breaking for projects.yml: a
hook is now a mapping with a name, a run and an optional on_failure
(block or warn), discovery refuses the old command string, and
CHECKOV_SOFT_FAIL=1 becomes on_failure: warn (see
the hook and step model). The same
release redesigns the PR comment (a headline with the counts, one
collapsed row per step in run order, instructions last), continues long
output in follow-up comments, and renders the gates as compact lists. No
caller workflow change. v7.0.1 discovers the base branch's tree without
reading its hooks, so the pull request that migrates projects.yml can
plan, and v7.0.2 lets that projects.yml-only pull request pass the
merge gate as "Configuration only: no unit selected". Bump the pins and
migrate the hooks in one pull request, on v7.0.2 or later.
v7.1.0 shows a failed or warned hook row's status in colour in its title
(warning in yellow, failed in red), renders the line under the comment
headline at body size, starts an opened row's body one line down, and writes
the bundled gates' verdicts in lowercase without a full stop. No caller
workflow change.
v7.2.0 titles the tf-pr-ops / approval row "Apply blocked: add a review ruleset or set TFPR_ALLOW_UNREVIEWED_APPLY" when the
repository requires no reviews and has not opted in, and posts no approval
row on a run that selects no unit. No caller workflow change.
v7.3.0 shows a unit's live progress in its check row while it runs, with an
opt-in log tail in the check text (TFPR_CHECK_LIVE_LOG), and leads a failed
report with a one-line error headline and an Error section. v7.3.1 ends that
section before terraform's state lock release line, and v7.3.2 names a lock
holder once; v7.3.3 rewrites the lock report as cause, action and retry
("PR #n has an unapplied plan for this unit…"). No caller workflow change.
v7.4.0 names the first error of a failed run and counts the rest ("failed:
terragrunt.hcl.
v7.4.1 keeps terraform's progress lines out of the last error's block. No
caller workflow change.
v8.0.0 is a security release: only default-branch runs are trusted. A
pull_request run executes the branch's own copy of the caller, so the
dispatch action now only dispatches the ops caller on the default branch,
which resolves the pull request from the API and writes every check; a push
takes the /plan comment path again, with a resolve job in front of the
plan legs. The checks App key moves to the plan and apply
environments, which accept only the default branch. Caller edits: the ops
caller's dispatch inputs head_sha, dispatch_run_id,
dispatch_run_number and context become the before_sha and
trigger_actor hints, the dispatch action takes no inputs, and the PR
caller drops pull-requests: write and checks: write. Bump in two pull
requests, then re-apply the bootstrap; see
Upgrading to v8.
The version of everything the
engine runs is still decided by the pins above.
v8.0.1 makes the merge gate say what it waits for and how to clear a red
verdict. It opens in progress with the command and unit count ("Applying 1
unit") instead of "Waiting for plan"; red titles name the cause, then the next
action ("Plan failed: fix the error, then comment /plan"); a lock names the
holding PR; and a cancelled plan step reads as cancelled, not as a plan error.
No caller workflow change.
v8.1.0 lets a filtered run (/plan -p, /apply -p) decide the merge gate
from every impacted unit's newest row on the head commit, so applying unit by
unit turns the gate green. No caller workflow change.
v9.0.0 drops the engine App and adds the license. Every job installs the
engine runtime from the public release its uses: ref names, with no token,
so the engine_ref input, the ENGINE_APP_* credentials and the private core
checkout are gone, and the Azure identity comes from the AZURE_* variables
only (the ARM_* secret fallback is removed). /apply needs a license and an
entitlement in the TFPR_LICENSE and TFPR_ENTITLEMENT repository variables;
without them plan, drift and /unlock keep working and /apply is refused.
See License and
Upgrading to v9.
v9.1.0 adds two more entitlement kinds in the same TFPR_ENTITLEMENT
variable: an exit entitlement, which applies without the license and without
the revocation list on the release it covers and earlier, and a temporary
entitlement, which skips the revocation list age rule until its end date. See
Exit entitlement and
Temporary entitlement. No
caller workflow change.
v9.1.1 makes the cost estimate read "skipped, no INFRACOST_API_KEY" when the
repository has no Infracost key, also when infracost is not in
TFPR_EXTRA_TOOLS. Before, such a repository saw "infracost is not installed"
on every unit. No caller workflow change.
v9.1.2 completes a plan row as "Failed", linked to the job, when the plan
stops before Terraform runs, for example on a tool install. Before, the row
read "Not run" and hid the cause. No caller workflow change.
v9.1.3 moves the fallback toolchain, used only when a repository has no
mise.toml or .tool-versions, to Terraform 1.16.5 and Terragrunt 1.1.6, the
versions the platform pins. No caller workflow change.
v10.0.0 is a security release that closes the paths by which a repository
writer could forge the merge gate from a pull request. Discovery, which
evaluates the pull request's HCL, runs in its own discover job with no
identity; a floor job maps the default branch's shared files, and resolve
checks the discovered selection against the changed files without evaluating
anything ("Discovery disagrees with the changed files"). Terraform,
Terragrunt and hooks run with an allow-listed environment: hooks no longer
receive GH_TOKEN, GH_CHECKS_TOKEN or INFRACOST_API_KEY, and hooks are
read from projects.yml on the default branch, not the pull request. A
repository that runs the cost gate lists INFRACOST_API_KEY under a
top-level extra_env in projects.yml (see
Upgrading to v10). Gate results come from the engine's
own files, never from the checkout; /plan, /apply and /unlock are
refused on a closed pull request; an approval counts only when an approving
review sits on the head commit; the reviewed plan is stored in the unit's
check run; and every retry text names the command. Releases are immutable
and the runtime is verified against checksums committed in the tagged tree.
v10.1.0 replaces the hand-written shared-file declarations that v10.0.0
introduced with the reading map Terragrunt already produces: nothing is
declared for a tenant.hcl or region.hcl, the floor job reads which
units read it on the default branch. Pin v10.1.0 or later, never v10.0.0.
v10.1.1 builds the runtime with Go 1.26.9 and runs govulncheck in CI. No
caller workflow change.
v10.2.0 runs terraform plan with -lock=false, so the plan identity needs
only read access to state; the cross-PR unit lock already keeps a plan from
running against an apply, and apply still takes the state lock. No caller
workflow change.
v10.2.1 keeps an apply walking to the next unit when a unit's gate status
file cannot be written. That unit counts as failed and still blocks the merge
gate. No caller workflow change.
v10.2.2 lets a shared file the default branch does not read yet pass the
unattributed-path rule when every unit planned in the same pull request, so a
new ancestor .hcl file such as env.hcl lands without a gate_ignore
detour. No caller workflow change.
v10.2.3 leaves a path gate_ignore names out of the "Terraform changed"
test, so a pull request that only adds such files (the .claude/ skill
templates a repository takes from the template, for example) is mergeable
instead of refused with "Terraform changed but no unit was selected". No
caller workflow change.
v11.0.0 refreshes the tf-pr-ops / approval row when a review is submitted
or dismissed, through a new review caller and a new review command, so the
row turns green within about 20 seconds of an approval instead of at the
next run. It also fails the merge gate with the reason when the engine
refuses a run before planning (engine paths in the pull request, a head that
moved during discovery), where earlier releases left no gate row. Caller
change, see Upgrading to v11.
v11.0.1 uses neutral example names in the public caller workflows and ships
ENGINE-LICENSE.txt with the runtime release assets, the notice that covers
the proprietary engine binaries and gate scripts. No caller workflow change.
v11.0.2 fixes the removal report: it names the base branch again ("Discovered
on main, but not here"), which v10.0.0 had left empty. No caller workflow
change.
v12.0.0 renames the engine to tfpr, Terraform PR operations: the public
repository becomes nrit-solutions/tfpr, the checks read
tfpr / <command> (<label>) #<run>, tfpr / merge-gate and
tfpr / approval, the comment commands are tfpr plan, tfpr apply,
tfpr unlock and tfpr help, and the example callers are tfpr*.yml. A
slash command gets a reply naming the new form for this major. It also builds
with Go 1.26.10. Caller change and a ruleset change, see
Upgrading to v12.
v12.1.0 names the review and unlock callers tfpr, and the review job
review, so their check rows read tfpr / review and tfpr / unlock
like every other row instead of tfpr review / refresh. Take
tfpr-review.yml and tfpr-unlock.yml from the template when bumping; the
old files keep working.
v12.1.1 redacts credential-like values that Terraform does not mark
sensitive, such as connection strings, instrumentation and access keys,
secrets, passwords, tokens and SAS values, in the plan report, the drift
issue and the job log. A changed value reads (redacted) -> (redacted).
The public entrypoint now carries a SECURITY.md. No caller change.
v12.2.0 also trusts the license portal's standby signing key. A later rotation of the license signing key then needs no engine bump in customer repositories. No caller change.
v12.3.0 ships a signed SPDX SBOM with every release, tfpr.spdx.json and
its cosign bundle, both listed in SHA256SUMS. Jobs do not download them.
See Software bill of materials.
No caller change.
v12.3.1 counts imports in the plan and apply report headings
(1 to import, 0 to add, ..., 1 imported, 0 added, ...), as the check rows
already did. The removed-unit comment and merge-gate title no longer claim the
resources keep running, which was wrong after a decommission had destroyed
them: the pull request destroys nothing, and anything still in the unit's
state keeps running. No caller change.
v12.4.0 lets one pull request decommission a unit. Deleting a unit folder
plans the unit's destroy from the base branch's copy of the repository, so the
pull request's code cannot shape it. tfpr apply -p <unit> destroys it;
merging without applying keeps the resources and their state, and a plain
tfpr apply never destroys a removed unit. A unit another unit still depends
on gets no destroy plan, and a removal that matches a unit added in the same
pull request is reported as a likely move, with no apply. No caller change.
v12.4.1 stops a deleted shared .hcl that no unit on the base branch reads
from blocking a folder move or rename. No caller change.
v12.5.0 warns when a caller workflow drifts from the canonical example for the running version: the triggers and their types, the top-level permissions, and every job that calls the engine. Each difference is a warning on the run's resolve job, and the merge-gate text gets one line; nothing blocks. Jobs that do not call the engine, such as the pre-commit job, are the repository's own and are not compared. No caller change.
v12.5.1 refuses tfpr apply when a ruleset dismissed the only approval after a
later push, as it already did for a stale approval. The check row names
Terraform's forget action, and a lock that another run already released no
longer fails the run. No caller change.
v12.5.2 makes a tfpr unlock comment release the pull request's unit locks
again. Since v10.1.0 the comment had reported success and released nothing;
closing the pull request still released them. No caller change.
v12.5.3 rides out short GitHub outages. Runtime downloads and GitHub API reads retry for about 50 seconds, where both gave up after a few seconds. A run whose runtime install still fails now closes its check rows instead of leaving them in progress, and a failed head check says nothing was applied. No caller change.
v12.8.1 shortens every run. resolve starts with the run and waits for
discover only where it reads the selection, where it used to queue behind
it. The floor job is gone: its steps run inside resolve, before any step
that holds the checks App token. The checkov gate reads only the unit's own
files, not the downloaded module sources, and the tool setup no longer starts
checkov to print its version. No caller change.
v12.9.0 applies independent units side by side. tfpr apply still runs in one
job and a unit still waits for every unit it depends on, but units with no
dependency between them now apply at the same time, two at once by default.
The optional repository variable TFPR_APPLY_PARALLELISM changes the cap, and
1 applies one unit at a time as before. A failed unit still skips only its
dependents, and removed units are still destroyed one at a time, last. No
caller change.
v12.9.1 changes the example PR caller, not the engine. tfpr-pr.yml now runs
the dispatch action as the last step of the pre-commit job; the separate
dispatch job waited for its own runner on every push, about 10 seconds. A
pull request shows one caller row, tfpr / pre-commit. Copy the new
tfpr-pr.yml when you bump. The old two-job file keeps working and shows a
caller drift note on the merge gate.
v12.9.2 moves the template guard in the example PR caller from the
pre-commit job to the dispatch step, and the caller check compares it
there. A template repository now lints its own pull requests and still never
dispatches. Nothing changes for a repository that is not a template. Take
tfpr-pr.yml from v12.9.2, not v12.9.1.
v12.9.3 takes the provider cache save out of the plan job. Plan, apply and
drift jobs only restore the cache. When a plan run finds no cache for the
current lock files, a separate provider-cache job in the same ops run saves
one, and the merge gate does not wait for it. That job installs exactly the
providers the lock files name, so the cache holds no older provider versions,
and it is no longer written by a job that ran project code. A repository with
no lock files gets no provider cache. No caller change.
v12.9.4 applies a plan whose only change is a moved address. Terraform marks
a moved resource as a no-op, so a module bump that only moves addresses (a
moved block inside the module) counted as no changes: tfpr apply skipped
the unit, the merge gate read Applied, the move never reached state, and the
next drift run reported it. A move now counts as a change (move, or
move,update when the same plan also changes the resource), and headlines
and check titles carry the move count, which Terraform's own counts line
leaves out. No caller change.