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 (
lazyimports, PEP 810), sonf --versionandnf --helpstart 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.coreloads 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.resourcesafterimport netherframe.core) must import it. Thenfalias and thenf_autoidcodec are registered by.startfiles (PEP 829) alone: their.pthfallbacks for Python 3.14 are gone. Regenerated provider packages require Python 3.15 too. - Hybrid execution is now the default and
[tool.nf].appsis the unified app list (withterraform_apps/legacy_appsfor Terraform synthesis apps). Which list an app is in decides how it runs, soExecutionMode,App(execution_mode=...), theexecution_modeproperty of constructs andApp.synth(hybrid=...)are removed: drop the argument (synthesize withapp.synth(), run directly withapp.enable_hybrid_execution()). Resources with a provider argument namedexecution_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_generationandstack_orderingare nownetherframe.core.synthesis.*;split_hybrid_metaandnormalize_runtime_check_specsare innetherframe.core.runtime.hybrid_meta, andcheck_provider_configurationsinnetherframe.core.providers.provider_resolution.import netherframe.coreno 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_configis exported bynetherframe.core.synthesis, no longer bynetherframe.core.serialization)serialization.caching_v2→constructs.caching(AppCachingMixin,StackCachingMixinandResourceVersionTrackerare no longer exported bynetherframe.core.serialization)backends.graph_identity→providers.graph_identity(merged with it) andbackends.graph_leases→providers.graph_leases: object identities and leases are what providers' identity contracts produceinfrastructure.validation→constructs.validation,infrastructure.resource_introspection→phases.resource_introspectionwrite_file_atomicallyfrombackends.local_backend→netherframe.core.filesexecution.hybrid_runtime_checks→orchestration.hybrid_runtime_checks,execution.graph_inputs→orchestration.graph_inputs, andretain_rule,keep_retained,retained_notesandDestroyBlockedfromexecution.retention→orchestration.retention(verify_retainedstays inexecution.retention)- The
logging_*modules are the packagenetherframe.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_loggerand the rest of its names are unchanged) - The
state_migration_*modules are the packagenetherframe.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 theirgraph_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 28backends.graph_*modules (backends implementingGraphStateBackend, such as PostgreSQL's, import from the new paths) constructs.utilities, which only re-exportedImportListandMove, is removed: import them fromnetherframe.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_codedefault changed from2to4). - Stricter configuration and user config: User config (
~/.config/nf/config.tomlor--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 raiseConfigurationError, and invalid config values fail fast. - Safer defaults and plan integrity:
deferred_approvalnow defaults to"each_round",legacy_type_systemknown-value drift fails closed unlessallow_legacy_plan_drift=True, saved plans require SHA-256content_digest+ validstate_serial/state_fingerprint(optional HMAC signing supported), TUI recordings use allowlisted JSONL (nf-tui-recording/2, replacingpickle), andExpression.__bool__raisesTypeError. - Codegen and testing package changes: Generated nested block dataclasses are
kw_only=True, Plugin Frameworknested_typeattributes generate typed dataclasses, andnetherframe.core.testing+ thenetherframe-fakecloudpytest11plugin have moved intonetherframe.testing. nf convertnames loop instances validly: afor_eachkey a name cannot hold (example.com,10.0.0.0/16) becomesnf.core.values.address.instance_name(key)(example_com_a379a6f6); keys of letters, digits,_and-are unchanged. Adoption manifests resolveadopt_patternskeys 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 onsys.pathafter loading the app, asnfrun 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 fromPath(__file__).parent. -
Netherframe no longer reads
NF_*environment variables. Every setting is a flag, else a key of[tool.nf.config]inpyproject.toml, else theApp's (or state backend's) argument, else its default;[tool.nf.config]now outranksApparguments. Settings every command uses are options ofnfitself, grouped innf --helpand written before or after the command (nf --graph-lease-ttl 300 applyisnf apply --graph-lease-ttl 300), as are--log-level,--log-formatand--trace; the others are options of their commands (nf apply --recovery-strategy,--run-status). Code that embeds Netherframe gives flags withnf.core.config.flags(set_flags({...})orwith flags(key=value):). The PostgreSQL password comes only from a file (--postgresql-password-file,postgresql_password_file, or the backend'spassword_file) or the graph backend'spassword_source;password_envis 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 idiffis removed.nf tuishows plans (p, thendon a change for its attribute diff), saved plans (nf show --plan-file) and runs;poe idiff-demoand the idiff example went with it. nf terraform,nf console,nf shell,nf cdandnf init-projectare removed. They printed "not yet implemented" and did nothing. Terraform commands on a synthesized stack arenf 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 asnetherframe.cliandnetherframe.providers.hashicorp.aws. Package-manager normalization may display hyphens for those same distributions. nf.*remains a permanent short import alias fornetherframe.*. Both names return the same runtime modules and ship typing information.from nf.core import autoscope,from nf.core.runtime import hybrid_runtimeandfrom nf.core.config import flagsreturn the decorator or context manager whatever was imported before them. Importing their modules under thenf.*name (from nf.core.config.flags import set_flags) used to replace them with the module.from nf.core.backends import state_backendnow 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, soimport nf.core.backends.state_backend as mbinds 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 oldnf.core.runtime.runtime_valueand 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_idwith a set lookup instead of a scan.
Your config file
$XDG_CONFIG_HOME/nf/config.toml, else~/.config/nf/config.toml(%APPDATA%\nfon 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]'sskin,keymap,graph-lines,refreshandreadonly. A flag, the project's configuration and the app's arguments all win over it;nf --no-user-configleaves 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 inexamples/legacy/.- Embedded in a program, the library logs at WARNING unless told otherwise (
configure_logging, or loguru'sLOGURU_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(orskin = "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-darkandcharm-lightchoose. 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,deployandnf tuitell 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 thecharmskins); 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. Thecharmskins 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 destroybuilds 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], addingretain): 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 keepEvidencereferences (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 verifyfinalizes it later under the lock, refusing when another run wrote state since (each run stamps state with its id,metadata.last_run);nf state abandongives up on it;nf state runslists them.nf apply --jsongivesrun_idandfinalization. See Finalizers.
Keeping resources through a destroy
LifecycleRules(retain="why it is kept")keeps a resource throughnf destroy, its object and its state entry, instead of failing asprevent_destroydoes. 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 saysretain=False; otherwise the destroy is refused before approval, naming the resource. Once the deletions are done the destroy reads each kept object and runs itsretainedruntime 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 destroyrefuses to destroy a resource withlifecycle.prevent_destroy, before approval and with nothing deleted, asterraform destroydoes; 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'srecovery_strategy) now applies to a failed destroy, as documented:checkpointsaves the state before the destroy and reports where,rollbackreports 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 initinstalls them, reimplemented innf.core.providers.installation: registries found by service discovery, and mirrors asked in order (--provider-mirror, repeated;provider_mirrorsin[tool.nf.config]): provider network mirrors (Artifactory, Nexus) and filesystem mirrors, each with Terraform'sinclude/excludepatterns, and whether registries are asked with--provider-direct. Tokens come from--provider-credentials-file(the shape ofcredentials.tfrc.json), extra certificates from--provider-ca-bundle, proxies fromHTTPS_PROXY. Registry packages are checked against their checksum and the OpenPGP signature over the registry'sSHA256SUMS, and reported as signed by HashiCorp, by a partner, or self-signed; mirror packages against theirh1:/zh:hashes. See Install providers from registries and mirrors. latestis the newest version that is not a pre-release, as in Terraform, andnf generate providerslists versions from the same sources.
Provider and function generation
- Generated provider packages import their classes with
lazyimports instead oflazy-loader, which they no longer depend on:import netherframe.providers.hashicorp.awstakes about 8 ms instead of 15. Regenerate a package to get this; packages generated earlier keep working, as they declarelazy-loaderthemselves. Type checkers still read each package's__init__.pyi. - Packaged provider regeneration with
--cleanstages the replacement before replacing the existing package. A generation failure preserves the previous package rather than leaving itspyproject.tomlmissing. - 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 tuilearns from k9s's users: what is typed as a question appears is not an answer (an approval discards it; a confirmation takesyonly after half a second); apps can be read-only per app ([tool.nf.tui] readonly, toggled with:readonly, asking before allowing changes), besides--readonlyfor every app;:messageskeeps every message a flash showed, and the header counts unread errors; the graph pans withHJKLwhere Shift with the arrows does not reach it;ctrl-ldraws the screen again.nf tuikeys are configurable:--keymap emacs(orkeymapunder[tool.nf.tui]) binds emacs's control and alt keys with magit's letters (n/pmove,grefreshes,dplans,aapplies,kdestroys,$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 FILErecords a session, andnf tui replay FILEplays 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=...)andProject().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:resourcesloads), and a sort queued as the view changed named a column it lacked.nf tuikeeps everything it shows in one immutable model that each key, event and result updates, and draws only what changed. A run's YAML (in:runsand 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:graphno 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 tuino 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:graphredraws 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:graphdraws 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.bgoes through bundled, all (a row each, as before) and shared;nf tui --graph-lines,graph_linesunder[tool.nf.tui]orgraph-linesunder[tui]chooses the first. See Lines between layers.nf tui's:graphshows 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, asprofile=is in code: for hybrid state, a legacy stack's backend block,nf driftandnf backend show, and fornf backend bootstrap, which creates the bucket with it.- App-wide checks:
@app.check(phase=...)declares a check of the whole run, given anAppCheckContext(from nf.core import AppCheckContext).prerequisiteschecks run before a plan, apply or destroy reads or creates state;planchecks see every change a plan makes, deletes of resources the code no longer declares among them;applychecks 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_providernames 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 bootstrapno longer writes to a bucket whose settings are already as configured.nf state mv SOURCE TARGETandnf 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_typeand its options, as flags ofnfor in[tool.nf.config]), else local, for everything whose code names none: a hybrid app's state (nf apply --appwith--backend-type s3keeps it ats3://BUCKET/PREFIX/nf.tfstate), a legacy stack's backend block and the statenf driftreads. Hybrid runs used to ignore these settings: an app whose project setsbackend_type = "s3"now keeps its state in S3, so move its.nf.out/nf.tfstatethere first. Until then its runs (andnf drift) stop, saying how to move it: they never plan on a configured state that was never written while.nf.out/nf.tfstatestill holds resources. Nothing is saved any more:.netherframe/backend.jsonis not read (a flag used to lose to the copy synthesis saved), andnf backend configureis removed.backend_s3_key_prefixis a prefix, as named: a legacy stack's state isPREFIX/STACK/terraform.tfstate(it was the whole key, shared by every stack).nf backend showshows the backend, where each value came from and where states go;nf backend bootstraptakes--tag KEY=VALUE, and neither it norvalidatetakes--config-file;nf backend validateexits 1 when the resources are missing. The settingsauto_bootstrap_backend(App(auto_bootstrap_backend=)) andbackend_auto_bootstrapare removed: neither created anything, and a stack without a backend always gets the configured one. See nf backend. nf list-appsandnf list-stacksare nownf list appsandnf list stacks(in the API,Project().list.apps()andProject().list.stacks()). The old names are gone. See nf list.nf discover list-providersandnf discover list-resources PROVIDERare nownf discover list providersandnf discover list resource-types PROVIDER(Project().discover.list.providers(),.resource_types(...)): the resource types a provider can discover, apart fromnf discover resources, which discovers live resources.nf generate list-setsis removed:nf providers list --sets-onlylists the same sets (Project().providers.list().sets).nf completion bash|zsh|fishprints the script that completesnf: commands and options, the settings ofnfwritten after the command,--appto 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 packagenetherframe.sdk): everynfcommand as a Python API.Project(root, settings=..., inputs=...)has a method for each command (nf drift checkisproject.drift.check(...)) taking its options as keyword arguments; commands return structured results (a--jsondocument is theirto_dict()) and raiseNfError, 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 tuibrowses, 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 typingyesin an approval that lists the changes, and follows the run resource by resource;ctrl-kstops a run cleanly.--readonlydisables changes. See nf tui.nf tuialso 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 thenfcommand 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),lightandterminalskins (--skin,[tool.nf.tui] skin), mouse support, and columns that fit narrow terminals (ctrl-wshows 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 followfollows an apply or destroy running elsewhere (another terminal, CI) asnf applyshows its own run, and exits with its outcome. A direct run keeps a small live status beside its state (<state>.run.jsonon 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-statusonnf apply,nf destroyandnf deploy,run_status = falsein[tool.nf.config]orApp(run_status=False)turns it off.nf tuilists such runs in:runsand 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=valueanywhere on annfcommand 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 andnf apply --plan-filebuilds the app with them again; headers,--jsondocuments and run status show them.nf varslists each app's inputs and the values it would get. See nf vars. nf synth APPno longer fails withUnboundLocalErrorwhen example scripts are configured for--allonly.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;Gdraws a given run. Changes deferred to apply time are rows of their own in plans (… create, with why and what they wait for), adeferredstatus 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 withExecutionResult.stopped, the recovery strategy applying. See Rollback and Recovery.- Ctrl-C during
nf apply,nf destroyandnf deployworks 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--stackpath,nfno 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 destroyandnf deployshow 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 aResources:block with what stays unchanged; an approval that answersdetailswith 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 planadds--diff,--show-secrets,--jsonand--expect-no-changes(exit 2 on changes);nf applyandnf destroyadd--json(onenf.run/1document; with--auto-approve) andnf apply--show-secrets. The TUI uses the same legend and diffs, and its approval answersdetailstoo. 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_allis 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.awspack adds offline AWS checks throughnf lintandapp.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.