Skip to content

Release notes

Unreleased

This page describes the current publication candidate. Package versions in the source tree are candidate versions, not evidence that a release is available on PyPI. Netherframe remains pre-1.0; this candidate does not announce general availability. See the package catalogue for the version set and compatibility policy for upgrade expectations.

Breaking changes

  • Python 3.15 or later is required; Python 3.14 is no longer supported. Netherframe imports what a command does not use only when it is first used (lazy imports, PEP 810), so nf --version and nf --help start in about 70 ms instead of 400 (loguru and rich load only when a command logs or renders), and a plan or apply no longer loads the source parser drift detection uses. import netherframe.core loads the names it exports (App, Stack, ...) when they are first used: code that reaches a submodule as an attribute without importing it (netherframe.core.constructs.resources after import netherframe.core) must import it. The nf alias and the nf_autoid codec are registered by .start files (PEP 829) alone: their .pth fallbacks for Python 3.14 are gone. Regenerated provider packages require Python 3.15 too.
  • Hybrid execution is now the default and [tool.nf].apps is the unified app list (with terraform_apps / legacy_apps for Terraform synthesis apps). Which list an app is in decides how it runs, so ExecutionMode, App(execution_mode=...), the execution_mode property of constructs and App.synth(hybrid=...) are removed: drop the argument (synthesize with app.synth(), run directly with app.enable_hybrid_execution()). Resources with a provider argument named execution_mode (AWS CodePipeline, Fraud Detector) now build: the read-only property made them fail.
  • Synthesis and the engine are separate packages. netherframe.core.orchestration.phased_artifacts, app_script_generation and stack_ordering are now netherframe.core.synthesis.*; split_hybrid_meta and normalize_runtime_check_specs are in netherframe.core.runtime.hybrid_meta, and check_provider_configurations in netherframe.core.providers.provider_resolution. import netherframe.core no longer loads gRPC or the provider protocol, and synthesizing an app loads no engine module.
  • Modules moved in netherframe.core, so that its packages import each other in one direction (old path → new path; update imports of the old paths):
  • serialization.stack_config_builder → synthesis.stack_config_builder (build_stack_config is exported by netherframe.core.synthesis, no longer by netherframe.core.serialization)
  • serialization.caching_v2 → constructs.caching (AppCachingMixin, StackCachingMixin and ResourceVersionTracker are no longer exported by netherframe.core.serialization)
  • backends.graph_identity → providers.graph_identity (merged with it) and backends.graph_leases → providers.graph_leases: object identities and leases are what providers' identity contracts produce
  • infrastructure.validation → constructs.validation, infrastructure.resource_introspection → phases.resource_introspection
  • write_file_atomically from backends.local_backend → netherframe.core.files
  • execution.hybrid_runtime_checks → orchestration.hybrid_runtime_checks, execution.graph_inputs → orchestration.graph_inputs, and retain_rule, keep_retained, retained_notes and DestroyBlocked from execution.retention → orchestration.retention (verify_retained stays in execution.retention)
  • The logging_* modules are the package netherframe.core.logging: logging_wrapper → logging.wrapper, logging_setup → logging.configuration, logging_controls → logging.controls, logging_formatting → logging.formatting, logging_state → logging.state (from nf.core.logging import get_logger and the rest of its names are unchanged)
  • The state_migration_* modules are the package netherframe.core.state_migration: state_migration_backend → state_migration.backend, state_migration_conversion → state_migration.conversion, state_migration_inspection → state_migration.inspection, state_migration_types → state_migration.models (from nf.core.state_migration import ... is unchanged)
  • The graph state engine's modules are the package netherframe.core.backends.graph, named without their graph_ prefix: backends.graph_state → backends.graph.state, backends.graph_state_engine → backends.graph.state_engine, backends.graph_recovery → backends.graph.recovery, and so on for the 28 backends.graph_* modules (backends implementing GraphStateBackend, such as PostgreSQL's, import from the new paths)
  • constructs.utilities, which only re-exported ImportList and Move, is removed: import them from netherframe.core.constructs.infrastructure_support
  • Disambiguated CLI exit codes: 0 = ok, 1 = runtime/execution error, 2 = CLI usage error, 3 = changes or drift detected (nf plan --expect-no-changes, nf drift check/detect), 4 = incomplete/deferred apply (incomplete_exit_code default changed from 2 to 4).
  • Stricter configuration and user config: User config (~/.config/nf/config.toml or --user-config FILE) is scoped to TUI, logging, and machine-local provider settings (engine settings belong in [tool.nf.config] or code); conflicting [tool.nf.config] and code values now raise ConfigurationError, and invalid config values fail fast.
  • Safer defaults and plan integrity: deferred_approval now defaults to "each_round", legacy_type_system known-value drift fails closed unless allow_legacy_plan_drift=True, saved plans require SHA-256 content_digest + valid state_serial/state_fingerprint (optional HMAC signing supported), TUI recordings use allowlisted JSONL (nf-tui-recording/2, replacing pickle), and Expression.__bool__ raises TypeError.
  • Codegen and testing package changes: Generated nested block dataclasses are kw_only=True, Plugin Framework nested_type attributes generate typed dataclasses, and netherframe.core.testing + the netherframe-fakecloud pytest11 plugin have moved into netherframe.testing.
  • nf convert names loop instances validly: a for_each key a name cannot hold (example.com, 10.0.0.0/16) becomes nf.core.values.address.instance_name(key) (example_com_a379a6f6); keys of letters, digits, _ and - are unchanged. Adoption manifests resolve adopt_patterns keys the same way, so a key with other characters (/, :) now names a different instance than before: convert again or edit the manifest.
  • A project used through Project(root) from another directory runs its providers in the project's root, resolves relative path settings (provider_cache_dir, mirrors, adopt_from, the PostgreSQL password file...) against it, and keeps it on sys.path after loading the app, as nf run in the project does. App code that opens files by a relative path itself resolves them against the process's working directory: build such paths from Path(__file__).parent.
  • Netherframe no longer reads NF_* environment variables. Every setting is a flag, else a key of [tool.nf.config] in pyproject.toml, else the App's (or state backend's) argument, else its default; [tool.nf.config] now outranks App arguments. Settings every command uses are options of nf itself, grouped in nf --help and written before or after the command (nf --graph-lease-ttl 300 apply is nf apply --graph-lease-ttl 300), as are --log-level, --log-format and --trace; the others are options of their commands (nf apply --recovery-strategy, --run-status). Code that embeds Netherframe gives flags with nf.core.config.flags (set_flags({...}) or with flags(key=value):). The PostgreSQL password comes only from a file (--postgresql-password-file, postgresql_password_file, or the backend's password_file) or the graph backend's password_source; password_env is gone. App inputs never come from the environment either. Test-run knobs are pytest options named --nf-... (--nf-use-fakecloud, --nf-use-containers, --nf-update-golden). Move exported variables to flags or [tool.nf.config]: see Settings for every key, its flag and its default.

  • nf idiff is removed. nf tui shows plans (p, then d on a change for its attribute diff), saved plans (nf show --plan-file) and runs; poe idiff-demo and the idiff example went with it.

  • nf terraform, nf console, nf shell, nf cd and nf init-project are removed. They printed "not yet implemented" and did nothing. Terraform commands on a synthesized stack are nf plan/apply/destroy/output/state/import --stack, which pass extra arguments to it.

Authoring and installation

  • Python 3.15 or later is required.
  • Distribution names consistently use netherframe.*, such as netherframe.cli and netherframe.providers.hashicorp.aws. Package-manager normalization may display hyphens for those same distributions.
  • nf.* remains a permanent short import alias for netherframe.*. Both names return the same runtime modules and ship typing information.
  • from nf.core import autoscope, from nf.core.runtime import hybrid_runtime and from nf.core.config import flags return the decorator or context manager whatever was imported before them. Importing their modules under the nf.* name (from nf.core.config.flags import set_flags) used to replace them with the module. from nf.core.backends import state_backend now returns the decorator that registers a state backend, which it exports; it returned the module of the same name. Import names from such a module (from nf.core.backends.state_backend import StateBackend): its package's attribute is the export, so import nf.core.backends.state_backend as m binds the decorator too.
  • The obsolete purity distribution has been removed. Applications should not depend on netherframe.purity.
  • Runtime value modules live under nf.core.values; the old nf.core.runtime.runtime_value and related value-module paths are gone. Regenerate provider bindings produced before that move.
  • A hybrid plan or apply spends less time turning plans and states into JSON: a plan of 1,000 resources takes about 17% less time, and an apply replacing them about 12% less, measured without a profiler and with an in-process provider (provider calls dominate real runs).
  • Building and synthesizing an app is as fast as before core 0.11.0 again (about 12 µs per resource instead of 15 at 10,000 resources). Synthesis checked every resource for a provider that runs only in hybrid execution, and now checks each provider a stack uses once. Creating a resource validates its nf_id with a set lookup instead of a scan.

Your config file

  • $XDG_CONFIG_HOME/nf/config.toml, else ~/.config/nf/config.toml (%APPDATA%\nf on Windows), holds your defaults for nf's flags in every project, written as on the command line without the dashes: nf's settings, log-level/log-format/trace, and [tui]'s skin, keymap, graph-lines, refresh and readonly. A flag, the project's configuration and the app's arguments all win over it; nf --no-user-config leaves it out. See Settings.

An apply deletes the stacks the app no longer declares

  • A whole-app plan deletes what state holds of a stack the app no longer declares (renamed, removed, or named by an input given otherwise), as Terraform deletes a removed module's resources; it kept them before, unmanaged. The plan says so apart (undeclared_stacks), and an auto-approved apply refuses it: approve the plan, or apply it saved (nf apply --plan-file). Retained resources stay, and a removed stack's data source results and outputs go once its resources do. See nf apply.

Examples, and a quieter library

  • examples/ holds runnable hybrid apps, each with its README: six need no cloud account (rollback, environments and teardown, audited runs, guardrails, local programs, the Python API) and are registered in the repository's own [tool.nf]; the others show the same ideas on AWS, Google Cloud, Azure and Keycloak. The earlier demos are in examples/legacy/.
  • Embedded in a program, the library logs at WARNING unless told otherwise (configure_logging, or loguru's LOGURU_LEVEL); it logged its INFO progress before. The CLI is unchanged.
  • A failed apply's rollback is counted as 1 rolled back, not as created; a destroy that finds nothing applied where an app's inputs say its state is says which input to give.

A Charm skin for nf tui

  • nf tui --skin charm (or skin = "charm" under [tool.nf.tui]) draws the explorer in Charm's look: Bubble Tea's pink and purple, quiet borders and help, the view's name in a pill, a gradient logo. It is light or dark as the terminal's background is, asking the terminal at start without slowing it; charm-dark and charm-light choose. See Skins.
  • Every skin: a focused table or input is no longer drawn lighter than its frame (Textual's focus tint); the border and the cursor show the focus.

Runs the terminal can see, and a calmer explorer

  • nf plan, apply, destroy, deploy and nf tui tell the terminal what they are doing: Rex's Program Status Protocol (OSC 7501) in Rex, ConEmu's progress (OSC 9;4) in Ghostty, Windows Terminal and ConEmu; nothing elsewhere. A run waiting for approval shows as waiting for you in a tab you are not looking at. See Telling the terminal.
  • nf tui: a spinner while loading, planning or running, and a run's progress bar (Charm's gradient in the charm skins); runs that ended unseen are marked at the bottom right (● 1 failed :runs) until shown; the pane without the keys is drawn quieter; a filter marks what it matched and the title counts [2/14]; confirmations name what yes does (Taint net.random_pet.vpc <y>); the palette names each command's key or command. The charm skins list the keys on one line at the bottom, as Bubbles' help does.

Destroying what was applied, and teardown inputs

  • An apply records its deployment inputs in state (secrets as digests), and nf destroy builds the app with them: inputs it is not given take the last apply's values, not the defaults, and one given otherwise is refused. A destroy no longer quietly acts on another environment's app.
  • Teardown[T] marks an input that only decides how a run treats what is deployed (keep_data: Teardown[bool], adding retain): never recorded, free at destroy, and refused wherever it changes anything but lifecycle policy (retain, prevent_destroy). See nf vars.

Finalizers

  • app.check(phase="finalize") runs once an apply or destroy has run, still under its lock: after success, a partial failure or a stop, and after a run with nothing to change. It sees the run's outcome (ctx.run: id, attempt, each resource's outcome, prior identities, what a destroy kept) against the state it left; every failure it reports fails the run. It may keep Evidence references (never the evidence) in the run's record.
  • A run of an app with finalizers writes a run record beside its state before its first change (<state>.runs/, local and S3 state). A run stopped hard leaves it unresolved, never pruned: nf state verify finalizes it later under the lock, refusing when another run wrote state since (each run stamps state with its id, metadata.last_run); nf state abandon gives up on it; nf state runs lists them. nf apply --json gives run_id and finalization. See Finalizers.

Keeping resources through a destroy

  • LifecycleRules(retain="why it is kept") keeps a resource through nf destroy, its object and its state entry, instead of failing as prevent_destroy does. The preview, approval, result and --json ("retained") list each kept resource with its reason. What a retained resource depends on must be retained too, and so must what depends on it (its protection: a bucket's policy, encryption, public access block) unless it says retain=False; otherwise the destroy is refused before approval, naming the resource. Once the deletions are done the destroy reads each kept object and runs its retained runtime checks (retained_check); one that is gone, cannot be read or fails a check fails the destroy. The rule is recorded with the state entry: an apply keeps a removed resource that retains it rather than delete it, and a plan that would is refused. See Keeping resources.

Replacement order

  • A replacement now destroys old objects in reverse dependency order, as Terraform does. When a resource and one that depends on it are both replaced, the dependent's old object is destroyed first, then the parent's; the parent's new object is created, then the dependent's. A resource removed from the app that depends on a replaced one is deleted before the replaced one's old object too. Before, the parent's old object was destroyed first, while its dependents still existed: providers refused (a security group still in use) or took the dependents with it (a Kubernetes namespace). A failed delete of a dependent's old object now leaves the parent alone. An admitted graph plan (concurrent_applies, affected planning) still applies each replacement as one step.

Direct destroy

  • nf destroy refuses to destroy a resource with lifecycle.prevent_destroy, before approval and with nothing deleted, as terraform destroy does; it used to destroy it. The rule in the resource's code applies; a resource the app no longer declares is held to the rule its state entry recorded.
  • --recovery-strategy (and the app's recovery_strategy) now applies to a failed destroy, as documented: checkpoint saves the state before the destroy and reports where, rollback reports the deletions it cannot revert. A destroy used to keep no checkpoint.
  • On document state backends (local, S3, ...), the whole app's destroy also destroys what state holds of stacks the app no longer declares, as it already did on graph state; it used to leave them.

Provider installation

  • Providers are installed as terraform init installs them, reimplemented in nf.core.providers.installation: registries found by service discovery, and mirrors asked in order (--provider-mirror, repeated; provider_mirrors in [tool.nf.config]): provider network mirrors (Artifactory, Nexus) and filesystem mirrors, each with Terraform's include/exclude patterns, and whether registries are asked with --provider-direct. Tokens come from --provider-credentials-file (the shape of credentials.tfrc.json), extra certificates from --provider-ca-bundle, proxies from HTTPS_PROXY. Registry packages are checked against their checksum and the OpenPGP signature over the registry's SHA256SUMS, and reported as signed by HashiCorp, by a partner, or self-signed; mirror packages against their h1:/zh: hashes. See Install providers from registries and mirrors.
  • latest is the newest version that is not a pre-release, as in Terraform, and nf generate providers lists versions from the same sources.

Provider and function generation

  • Generated provider packages import their classes with lazy imports instead of lazy-loader, which they no longer depend on: import netherframe.providers.hashicorp.aws takes about 8 ms instead of 15. Regenerate a package to get this; packages generated earlier keep working, as they declare lazy-loader themselves. Type checkers still read each package's __init__.pyi.
  • Packaged provider regeneration with --clean stages the replacement before replacing the existing package. A generation failure preserves the previous package rather than leaving its pyproject.toml missing.
  • Generated providers record the provider pin, binding revision, generator/core compatibility information and schema fingerprint. A binding revision can fix Python bindings without changing the provider binary pin.
  • The Terraform function catalogue targets 1.15.9 and the OpenTofu catalogue targets 1.13.9. These distribution versions identify their source catalogues, not a Netherframe 1.x stability level.

Command line

  • nf tui learns from k9s's users: what is typed as a question appears is not an answer (an approval discards it; a confirmation takes y only after half a second); apps can be read-only per app ([tool.nf.tui] readonly, toggled with :readonly, asking before allowing changes), besides --readonly for every app; :messages keeps every message a flash showed, and the header counts unread errors; the graph pans with H J K L where Shift with the arrows does not reach it; ctrl-l draws the screen again.
  • nf tui keys are configurable: --keymap emacs (or keymap under [tool.nf.tui]) binds emacs's control and alt keys with magit's letters (n/p move, g refreshes, d plans, a applies, k destroys, $ shows the command log), and [tool.nf.tui.keys] moves single actions' keys or leaves one without a key. The header, help, palette and messages name the keys in use; keys that clash, or that a table would take first, stop the explorer saying why.
  • nf tui --record FILE records a session, and nf tui replay FILE plays it back: the same keys, reads, plans and runs through the explorer again, so the screen shows what it showed, without reading an app or changing anything. What state holds is masked in a recording, which can hold nothing but the explorer's records. Project().tui(record=...) and Project().tui.replay(path) in the API.
  • nf tui: large graphs (over 150 resources) are laid out in the background, the keys answered meanwhile; moving the graph's selection draws only the rows shown (its drawing about 5 ms a move instead of 30 at 250 resources); a run's events reach the explorer in bursts, one update each; and two rare failures are fixed: a view's records read after leaving it reached the view left for (p while :resources loads), and a sort queued as the view changed named a column it lacked.
  • nf tui keeps everything it shows in one immutable model that each key, event and result updates, and draws only what changed. A run's YAML (in :runs and a run's view) and a command's (:commands) now follow it as it changes, and a taint that fails is marked failed in :commands.
  • Moving the selection on nf tui's :graph no longer repaints the whole view: the frame's subtitle (what the selected box needs, and what needs it) changes with each move, and Textual repainted the frame whole, graph and all, for it. Only its border row is repainted now (Textual's work per move about 6 ms instead of 25 at 250 resources).
  • Following an apply in nf tui no longer slows it: each progress event used to wait until the explorer had redrawn (on the graph of 300 resources, about 50 seconds in all). Events are now posted without waiting and drawn at most 30 times a second, a run's table changes its rows in place, and the graph repaints only the boxes and lines whose status changed (2 ms an event instead of 62 at 300 resources).
  • nf tui's :graph redraws faster on large graphs: edges are routed once per layout, and moving the selection redraws only the boxes, edges and rows related to it (about 7 ms instead of 53 at 100 resources, 23 instead of 159 at 250). A run's status updates keep the layout and redraw only the boxes that changed (13 ms instead of 80 at 100 resources).
  • nf tui's :graph draws large graphs with fewer lines: boxes leading to the same boxes share a line, and beyond 3 rows of lines between two layers, the lines crossing the most others run as one double line (a bundle), whose lines the selection colors. On a 175-resource app the graph takes 34 rows instead of 55. b goes through bundled, all (a row each, as before) and shared; nf tui --graph-lines, graph_lines under [tool.nf.tui] or graph-lines under [tui] chooses the first. See Lines between layers.
  • nf tui's :graph shows the selected box's text in the skin's cursor colors, as a list shows its selected row (dimmed while another pane has the focus), even while a run's status colors its border, so where you are reads at a glance.
  • backend_s3_profile (nf --backend-s3-profile PROFILE, [tool.nf.config]) is the AWS profile the S3 state backend reads and writes state with, as profile= is in code: for hybrid state, a legacy stack's backend block, nf drift and nf backend show, and for nf backend bootstrap, which creates the bucket with it.
  • App-wide checks: @app.check(phase=...) declares a check of the whole run, given an AppCheckContext (from nf.core import AppCheckContext). prerequisites checks run before a plan, apply or destroy reads or creates state; plan checks see every change a plan makes, deletes of resources the code no longer declares among them; apply checks run under the apply (or destroy) lock, against state read under it, before approval, and again for a saved plan, which is refused when made with a check the app no longer declares. A check fails by returning False or a string, or by raising. See App Checks.
  • bootstrap_backend (nf apply --bootstrap-backend, [tool.nf.config]; default off) creates the state backend's storage (S3 bucket and lock table) on the first apply that needs it, with the app's own AWS provider (bootstrap_backend_provider names one, else the app's default) in the backend's region, and only as the account the backend uses. A backend that exists is checked reading only and needs no permission to create anything; a plan made before it exists plans against empty state, and a saved plan made then applies after the apply creates it. nf backend bootstrap no longer writes to a bucket whose settings are already as configured.
  • nf state mv SOURCE TARGET and nf state rm ADDRESS... work for a hybrid app in any state backend (local, S3, GCS, Azure, Consul, PostgreSQL, HCP Terraform), not only graph state, each in one conditional write (StateEngine.move_entries, forget_entries). A move rewrites the entries that depend on the moved one, as a graph state rewrites its consumers; a removal refuses to leave an entry depending on a removed one (name it too), as a graph state refuses a dangling consumer. The state backend contract suite (netherframe.testing.state_backend_contract) now covers both, so every backend package checks them: entries moved or removed in one write, moves in order, an edit state cannot make or one read before another run wrote storing nothing.
  • The state backend is the settings' (backend_type and its options, as flags of nf or in [tool.nf.config]), else local, for everything whose code names none: a hybrid app's state (nf apply --app with --backend-type s3 keeps it at s3://BUCKET/PREFIX/nf.tfstate), a legacy stack's backend block and the state nf drift reads. Hybrid runs used to ignore these settings: an app whose project sets backend_type = "s3" now keeps its state in S3, so move its .nf.out/nf.tfstate there first. Until then its runs (and nf drift) stop, saying how to move it: they never plan on a configured state that was never written while .nf.out/nf.tfstate still holds resources. Nothing is saved any more: .netherframe/backend.json is not read (a flag used to lose to the copy synthesis saved), and nf backend configure is removed. backend_s3_key_prefix is a prefix, as named: a legacy stack's state is PREFIX/STACK/terraform.tfstate (it was the whole key, shared by every stack). nf backend show shows the backend, where each value came from and where states go; nf backend bootstrap takes --tag KEY=VALUE, and neither it nor validate takes --config-file; nf backend validate exits 1 when the resources are missing. The settings auto_bootstrap_backend (App(auto_bootstrap_backend=)) and backend_auto_bootstrap are removed: neither created anything, and a stack without a backend always gets the configured one. See nf backend.
  • nf list-apps and nf list-stacks are now nf list apps and nf list stacks (in the API, Project().list.apps() and Project().list.stacks()). The old names are gone. See nf list.
  • nf discover list-providers and nf discover list-resources PROVIDER are now nf discover list providers and nf discover list resource-types PROVIDER (Project().discover.list.providers(), .resource_types(...)): the resource types a provider can discover, apart from nf discover resources, which discovers live resources.
  • nf generate list-sets is removed: nf providers list --sets-only lists the same sets (Project().providers.list().sets).
  • nf completion bash|zsh|fish prints the script that completes nf: commands and options, the settings of nf written after the command, --app to the configured apps, and app inputs (++ to the inputs the app takes, ++env= to their choices, ++@ to files; never a secret). See nf completion.
  • nf.sdk (new package netherframe.sdk): every nf command as a Python API. Project(root, settings=..., inputs=...) has a method for each command (nf drift check is project.drift.check(...)) taking its options as keyword arguments; commands return structured results (a --json document is their to_dict()) and raise NfError, never printing or exiting. Settings and inputs are per call, so calls in different threads keep theirs apart. The CLI is built on it, and a test keeps every command and option in it. See nf.sdk.
  • nf tui browses, plans, applies and destroys a project's apps in a k9s-style terminal UI: hybrid apps through their state backend and declared stacks (with operations, history and checkpoints on a graph state backend), legacy apps through their synthesized stacks and Terraform state. It shows plans with attribute diffs and masks sensitive values until revealed. It applies a plan exactly as reviewed and destroys an app or a stack, each only after typing yes in an approval that lists the changes, and follows the run resource by resource; ctrl-k stops a run cleanly. --readonly disables changes. See nf tui.
  • nf tui also has an app overview (its landing page: state, resources, the last plan and run, whether its sources changed), a dependency graph (:graph: resources as layered boxes under what they depend on, with the plan's changes and a run's progress on them; the selected resource's prerequisites and dependents in two colors; Enter focuses on them), a detail pane beside wide tables, marks (space) to plan only some resources (--target) or several stacks and to destroy, taint or copy several at once, a command palette (ctrl-p), a command log of the nf command each action amounts to (:commands), watching an app's sources to reload and re-plan it (w), opening a resource's declaration in $EDITOR (e), light and terminal skins (--skin, [tool.nf.tui] skin), mouse support, and columns that fit narrow terminals (ctrl-w shows them all).
  • netherframe.core.constructs.sources.recording() records the file and line declaring each resource built inside it (declared_at); off, it costs nothing.
  • nf follow follows an apply or destroy running elsewhere (another terminal, CI) as nf apply shows its own run, and exits with its outcome. A direct run keeps a small live status beside its state (<state>.run.json on local, S3, GCS, Azure Blob and Consul state; graph state's operation rows serve instead), rewritten from a background thread with a heartbeat; --no-run-status on nf apply, nf destroy and nf deploy, run_status = false in [tool.nf.config] or App(run_status=False) turns it off. nf tui lists such runs in :runs and follows them like its own. nf tui follow (or :follow) opens the TUI on the run in progress and follows each next one. See nf follow.
  • App inputs: an app spec naming a function takes its parameters as inputs, given as ++name=value anywhere on an nf command line or ++@file (TOML when named .toml, else JSON, so ++@<(...) passes secrets without a file on disk), converted by their annotations (dataclass parameters are groups; nf.core.Secret[str] is never taken from the command line nor shown). Nothing is read from the environment. Saved plans record them and nf apply --plan-file builds the app with them again; headers, --json documents and run status show them. nf vars lists each app's inputs and the values it would get. See nf vars.
  • nf synth APP no longer fails with UnboundLocalError when example scripts are configured for --all only.
  • nf tui's graph draws a run in the colors of how each resource went (completed green, failed red, running, waiting, skipped, deferred), greying what it does not touch; G draws a given run. Changes deferred to apply time are rows of their own in plans (… create, with why and what they wait for), a deferred status in runs, and … on the graph.
  • HybridExecutionMode.request_stop() stops an apply or destroy in progress as Terraform's first interrupt does: resources in flight finish and are recorded, nothing else starts, and the result is unsuccessful with ExecutionResult.stopped, the recovery strategy applying. See Rollback and Recovery.
  • Ctrl-C during nf apply, nf destroy and nf deploy works as Terraform's: once a direct run changes infrastructure, the first stops it cleanly (request_stop) and the second stops without waiting; before then, Ctrl-C aborts as it did. On the legacy --stack path, nf no longer kills Terraform/OpenTofu a quarter second after Ctrl-C: it leaves the interrupt to it. See nf apply.
  • Direct nf plan, nf apply, nf destroy and nf deploy show runs as Pulumi does: a header naming the app and backend; the changes as a tree of the app, its stacks and resources with one legend (+ ~ ± - → <, replacements counted apart from updates) and the attributes each update changes ([diff: ~length]), and a Resources: block with what stays unchanged; an approval that answers details with attribute diffs; live progress on a terminal (one line per event in CI); and a summary with counts, duration, outputs (secrets as [secret]) and diagnostics grouped by resource. nf plan adds --diff, --show-secrets, --json and --expect-no-changes (exit 2 on changes); nf apply and nf destroy add --json (one nf.run/1 document; with --auto-approve) and nf apply --show-secrets. The TUI uses the same legend and diffs, and its approval answers details too. See nf plan and nf apply.

AWS extensions and linting

  • AWS graph ownership qualifies provider 6.74.0 (previously 6.73.0) for SSM parameters, CloudWatch log groups and Secrets Manager secrets. Restricted SSM planning and refresh profiles use the same exact release; 6.73.0 no longer qualifies, so regenerate AWS bindings at 6.74.0 to keep resource grants and affected planning. Other types/configurations retain their documented fallbacks; upgrading bindings does not automatically qualify them. 6.74.0 warns ("Argument is computed") when tags_all is configured; see the 6.74.0 record.
  • Built-in generated values (nf_generated_value) are qualified for graph-state resource grants on core 0.13.0, requalified from 0.12.2 by the same evidence test. A core version without that qualification applies them under app-wide exclusion.
  • The optional netherframe.lint.hashicorp.aws pack adds offline AWS checks through nf lint and app.lint(). Its structural schema follows AWS provider 6.74.0, which adds five resource types and their schema rules. Executable policies are native Python. Installing the pack does not silently lint plans or configure providers.
  • Netherframe-owned code, including the rewritten AWS lint pack, is MIT licensed. The protocol distribution retains upstream protocol files and their license notices.

Before upgrading

Record the existing environment and back up state. Upgrade in a branch, regenerate affected bindings, inspect synthesis and create a fresh plan with the new versions. Review provider/schema changes separately from framework changes. Follow the upgrade procedure and keep recovery artifacts available before changing shared infrastructure.

Publication records

A published release entry should name the actual package versions, publication date, breaking changes and migration steps. Retain its release.json and exact distributions as described in release validation. Source validation, unit counts and local builds alone are not a PyPI publication record.

netherframe.core 0.11.0 — 2026-11-23

Published netherframe.core 0.11.0 from source f478260de30ad03e90ec8fe229c17d7b4815a294. Only core was published in this release; other workspace packages retain their independent versions.

Core now records deployment inputs for destroy, supports teardown-only inputs, and plans deletion of resources in stacks the app no longer declares. Review these deletions before applying; an auto-approved apply refuses them unless applying a saved plan. Destroy with the recorded deployment inputs; use Teardown[T] for inputs that only change lifecycle policy. See app inputs and apply behavior. The built-in provider uses netherframe.arsenal.sh/builtin/nf; regenerate bindings that still name its earlier address. Python 3.14 or later remains required.

Validation passed for metadata, licenses, strict package descriptions, isolated Python 3.14 installation and synthesis, and the core unit suite (6,009 passed, 13 skipped). Exact-hash installation from TestPyPI passed before production upload. Both published artifact hashes match the retained manifest, and a fresh PyPI installation passed dependency checks, import-alias identity and synthesis. Native integration gates were not rerun for this publication.

Retained artifacts and release.json are in .nf.out/releases/core-0.11.0-promotion-f478260d/; the complete dependency validation bundle is .nf.out/releases/core-0.11.0-f478260d/.

Workspace release — 2026-11-24

Published the following 20 independently versioned distributions from source 72c73a7985e5ebc8d10bddd135f49a60ddd3a17f. Framework packages remain pre-1.0.

Distribution Published version
netherframe.backends.aws 0.3.0
netherframe.backends.azure 0.3.0
netherframe.backends.consul 0.3.0
netherframe.backends.gcp 0.3.0
netherframe.backends.postgresql 0.3.0
netherframe.backends.remote 0.3.0
netherframe.cli 0.4.0
netherframe.codec.autoid 0.4.0
netherframe.core 0.12.2
netherframe.discovery.gitlabhq.gitlab 0.3.0
netherframe.discovery.hashicorp.aws 0.3.0
netherframe.discovery.keycloak.keycloak 0.3.0
netherframe.ext.aws 0.3.0
netherframe.generation 0.4.0
netherframe.legacy_functions.hashicorp.terraform 1.15.9.1
netherframe.legacy_functions.opentofu.tofu 1.13.9.1
netherframe.lint.hashicorp.aws 0.3.0
netherframe.protocol.tfplugin 0.4.0
netherframe.sdk 0.2.1
netherframe.testing 0.2.0

Core 0.12.2 fixes an unnecessary complete-state read before affected-scope applies without app checks and qualifies the built-in provider at this exact version. SDK 0.2.1 reports affected-scope runs without loading complete graph state. These patch revisions follow candidates rehearsed on TestPyPI; core 0.12.0/0.12.1 and SDK 0.2.0 were not published to production PyPI in this batch.

The function catalogue revisions keep their upstream catalogues unchanged: Terraform 1.15.9 and OpenTofu 1.13.9. The fourth version component identifies binding changes. Python 3.14 or later remains required.

The testing helpers and FakeCloud pytest plugin now ship in netherframe.testing; install that distribution and use nf.testing instead of nf.core.testing. Review the unreleased migration notes above for the other changes included here.

Retained wheels, source archives, release.json, publication verification and validation logs are in .nf.out/releases/workspace-20261124-final/.

Validation passed for package metadata, licenses, strict descriptions, isolated installs and installed-wheel typing. The final workspace unit run passed 43,262 tests (34 skipped), serial process tests passed 101, and native AWS/PostgreSQL qualification passed all 427 cases with zero skips. The comparison-tool suite passed 149 tests. Both Python 3.14 and 3.15 installed the exact candidate hashes from TestPyPI before publication; the installed CLI/Random-provider lifecycle consumer, lint and strict documentation build passed as well.

All 40 production artifact hashes match the retained manifest. Fresh PyPI installs on Python 3.14 and 3.15 passed dependency, namespace-alias and CLI checks. The change detector reports no remaining workspace package changes. PyPI initially rate-limited new-project creation; after its reported reset, netherframe.testing was published first, followed by the three discovery packages.

Workspace and provider releases — 2026-11-25

Published the following 20 workspace distributions from source d09c9c11470e8f813aa2012905f4c5be47bdfd29. Every one changed: they require Python 3.15, and core's modules moved (see the unreleased breaking changes above). Framework packages remain pre-1.0; each took a minor version and requires its siblings' new versions.

Distribution Published version
netherframe.backends.aws 0.4.0
netherframe.backends.azure 0.4.0
netherframe.backends.consul 0.4.0
netherframe.backends.gcp 0.4.0
netherframe.backends.postgresql 0.4.0
netherframe.backends.remote 0.4.0
netherframe.cli 0.5.0
netherframe.codec.autoid 0.5.0
netherframe.core 0.13.0
netherframe.discovery.gitlabhq.gitlab 0.4.0
netherframe.discovery.hashicorp.aws 0.4.0
netherframe.discovery.keycloak.keycloak 0.4.0
netherframe.ext.aws 0.4.0
netherframe.generation 0.5.0
netherframe.legacy_functions.hashicorp.terraform 1.15.9.2
netherframe.legacy_functions.opentofu.tofu 1.13.9.2
netherframe.lint.hashicorp.aws 0.4.0
netherframe.protocol.tfplugin 0.5.0
netherframe.sdk 0.3.0
netherframe.testing 0.3.0

The function catalogue revisions keep their upstream catalogues unchanged: Terraform 1.15.9 and OpenTofu 1.13.9; the fourth component is binding revision 2. Core 0.13.0 qualifies the built-in generated-value identity at this exact version.

Generated provider packages, built from the same source with generator 0.5.0:

Distribution Published version Provider binary
netherframe.providers.hashicorp.aws 6.73.0.1 hashicorp/aws 6.73.0
netherframe.providers.hashicorp.awscc 1.110.0 hashicorp/awscc 1.110.0
netherframe.providers.hashicorp.azurerm 5.14.0 hashicorp/azurerm 5.14.0
netherframe.providers.hashicorp.external 2.4.2 hashicorp/external 2.4.2
netherframe.providers.hashicorp.google 8.12.0 hashicorp/google 8.12.0
netherframe.providers.hashicorp.helm 3.3.0.1 hashicorp/helm 3.3.0
netherframe.providers.hashicorp.kubernetes 3.5.0.1 hashicorp/kubernetes 3.5.0
netherframe.providers.hashicorp.null 3.3.2 hashicorp/null 3.3.2
netherframe.providers.hashicorp.random 3.9.1 hashicorp/random 3.9.1
netherframe.providers.gitlabhq.gitlab 19.6.0 gitlabhq/gitlab 19.6.0
netherframe.providers.keycloak.keycloak 5.11.0.1 keycloak/keycloak 5.11.0

The four providers already on PyPI took binding revision 1; the others are published for the first time. Provider packages now import their classes lazily, require Python 3.15 and netherframe.core>=0.13.0; the AWS package requires netherframe.ext.aws>=0.4.0. PyPI rate-limited new-project creation after four new provider projects. Google 8.12.0, Null 3.3.2 and Random 3.9.1 were published on 2026-11-26 after the limit reset, using the same retained artifacts. Both artifact hashes for each package match its release manifest.

Retained wheels, source archives and release.json manifests are in .nf.out/releases/workspace-20261125/ and .nf.out/releases/providers-20261125/.

Validation passed for package metadata, licenses, strict descriptions, isolated installs and installed-wheel typing (poe release-check --require-clean). The workspace unit run passed 43,396 tests (44 skipped), serial process tests 101, core with FakeCloud integration 6,596 (22 skipped), and the strict documentation build. The native AWS/PostgreSQL graph qualification was not rerun for this batch. Python 3.15 installed the exact framework hashes from TestPyPI, with external dependencies from PyPI, before publication: every package imported, every plugin entry point loaded, and the CLI ran. The provider packages were installed by hash from TestPyPI over the published framework: all 12,967 exported names of the 11 providers resolved, and an app using the AWS and Random bindings synthesized through the nf.* alias.

All 40 framework artifact hashes on PyPI match the retained manifest, as do those of each published provider. A fresh Python 3.15 install from PyPI by hash passed the dependency, import, plugin and CLI checks.

After the remaining providers were published on 2026-11-26, a fresh Python 3.15 environment installed their wheels from PyPI by manifest hash over core 0.13.0. All dependencies were compatible, and all 2,082 exported names from Google, Null and Random resolved through their nf.* aliases.

Workspace release — 2026-11-29

Published all 20 distributions selected by poe release-changes from clean source 11b0e519e5102c446ea62ccea352c3707df5a000. Framework packages took a minor version and now require their siblings' new versions. The function catalogues retain their upstream versions and advance their binding revisions.

Distribution Published version
netherframe.backends.aws 0.5.0
netherframe.backends.azure 0.5.0
netherframe.backends.consul 0.5.0
netherframe.backends.gcp 0.5.0
netherframe.backends.postgresql 0.5.0
netherframe.backends.remote 0.5.0
netherframe.cli 0.6.0
netherframe.codec.autoid 0.6.0
netherframe.core 0.14.0
netherframe.discovery.gitlabhq.gitlab 0.5.0
netherframe.discovery.hashicorp.aws 0.5.0
netherframe.discovery.keycloak.keycloak 0.5.0
netherframe.ext.aws 0.5.0
netherframe.generation 0.6.0
netherframe.legacy_functions.hashicorp.terraform 1.15.9.3
netherframe.legacy_functions.opentofu.tofu 1.13.9.3
netherframe.lint.hashicorp.aws 0.5.0
netherframe.protocol.tfplugin 0.6.0
netherframe.sdk 0.4.0
netherframe.testing 0.4.0

This batch includes the stdlib/structlog logging migration and its regression fixes, PostgreSQL schema-setup locking, SDK async import and hybrid collaborator fixes, circular-reference introspection fixes, AWS 6.74.0 lint schemas and graph profiles, and dependency/type corrections. Loguru is no longer a dependency. Framework packages still require Python 3.15 or later and remain pre-1.0.

Terraform and OpenTofu catalogues remain 1.15.9 and 1.13.9 respectively; their fourth version component is a Netherframe binding revision. Generated providers are separate releases and were not uploaded in this workspace batch.

The retained wheel/sdist pairs and SHA-256 manifest are in .nf.out/releases/workspace-20261129-publish/ (local retained artifacts). All 20 packages passed poe release-check --require-clean, isolated installation, strict metadata/license checks and installed-wheel typing. The exact artifacts were rehearsed on TestPyPI with Python 3.15; an installed consumer synthesized, planned, applied and destroyed Random resources and verified convergence.

All 40 production PyPI artifact hashes match the retained manifest. A fresh Python 3.15 installation from PyPI by wheel hash passed dependency, module/alias, plugin-entry-point, CLI and synthesis checks. Ruff lint/format, ty, the AWS pin/profile/evidence alignment check and documentation example checks passed. Native Docker AWS qualification was not rerun.

The non-process unit run passed 43,417 tests with 44 skipped and exposed five version-only expectations (one dependency assertion and four generator golden comparisons). Those expectations were updated for this release; the affected suite rerun passed 14 tests with one optional check skipped. All 101 serial process tests passed. The final artifacts are byte-for-byte identical to the TestPyPI-rehearsed artifacts; the expectation updates affect only tests.