Release 1.2.7
| Release Number | 1.2.7 |
|---|---|
| Release Type | Feature |
| Release Date | July 27th, 2026 |
| Tag | v1.2.7 |
Release summary​
After upgrading, you can import CSV or TSV exports as Infrahub objects on a reviewable branch, model shared defaults and repeated structure with Profiles and Object Templates, and collect a diagnostic bundle by running the infrahub-collect tool instead of assembling one by hand.
Import CSV and TSV exports onto a reviewable branch​
Turn a spreadsheet export into Infrahub objects with the new importing-data skill: it converts the input into object YAML that infrahubctl object load accepts and loads it onto a fresh branch you can review through a proposed change.
- Import a single file, a folder of files, an explicit list of paths, or one large denormalized sheet, splitting the denormalized sheet across multiple kinds.
- Map columns against the live schema only: a column with no schema home stops the import and lists the offending columns, and the schema decision is routed to managing-schemas — the skill never edits the schema and never writes to the default branch.
Model shared defaults and repeated structure with Profiles and Object Templates​
Enable and use Infrahub Profiles and Object Templates across the schema, data, and audit skills. The two features are easy to conflate, so the guidance leads with the distinction and keeps it consistent everywhere: Profiles share default values, Object Templates clone structure.
- Enable the features on a node with
generate_profileandgenerate_templateusing managing-schemas, including how Object Templates handleComponentchildren andmember_of_groups_for_instancespropagation, and which fields a Profile cannot carry (unique and human-friendly-ID attributes; values are static only). - Assign
profiles:on objects with the documented override precedence, create objects from anobject_template, and author theTemplate<Kind>objects themselves with managing-objects. - Four new audit rules flag a profile used where a plain schema default would do, a generator that rebuilds what a template could stamp out, an enabled
generate_*flag no data uses, and templates and profiles used in each other's role — each paired with a creation-time nudge in the authoring skills.
Find custom Python that a cheaper layer could replace​
The auditing-repo skill now grades checks, transforms, and generators against a cost-to-fix ladder — drop it, reuse a built-in primitive, use a schema feature, traverse a relationship, use Jinja2, use GraphQL with a thin assert, and only then minimum Python — so an audit shows where a schema feature or a query could replace custom code.
- YAGNI findings are advisory — the code works and the pipeline passes — so they never exceed MEDIUM severity; HIGH and CRITICAL stay reserved for broken references, silent failures, and deprecated fields. A one-line or structural fix (inherit a built-in, move data to YAML, add a schema constraint) grades MEDIUM; a larger rewrite where the Python is more defensible grades LOW.
- "Before writing Python" guidance in the checks, transforms, and generators skills steers a new artifact toward the cheaper layer before the code is written, not only at audit time.
Collect a diagnostic bundle by running infrahub-collect​
The collecting-diagnostics skill now installs and drives the released infrahub-collect tool, which performs deployment detection, every-replica log collection, key-name redaction, and the bundle manifest natively — instead of walking you through assembling the bundle by hand.
- Install and verify the binary, detect the Docker Compose or Kubernetes environment, and run
infrahub-collect createwith flags matched to the reported symptom. - Authenticate through your existing Docker or kubectl access — the collection no longer asks for an Infrahub API token.
- Review the bundle contents before sharing: the skill keeps that human gate the tool cannot perform, then hands off to OpsMill support or cross-links reporting-issues when the hand-off becomes a public issue.
Get documentation-backed answers for tasks the skills do not cover​
When a request is Infrahub-related but no loaded skill's rules cover it — deleting nodes, git-integration semantics — the assistant now looks the answer up in the official documentation instead of answering from training recall.
- The fallback finds the matching page through the docs'
llms.txtindex, reads that page's Markdown twin, and answers with a citation and a caveat that the point is outside the skill's tested rules. - A version-matched skill rule always wins over the documentation, and on a network error or a missing page the assistant flags the answer as unverified.
Build generators that reuse query results instead of requesting each object​
Build a generator with the managing-generators skill so that, when its query already returns the related objects it needs, the generated code builds them from that response instead of fetching each one again.
- Create related objects from the data already in the query response with
from_graphql, instead of callingclient.getonce per object. - Follow the query-coverage requirement so the response carries everything those objects need:
__typename,id, and every attribute the generator changes. - Use the before/after example in managing-generators to refactor an existing generator.
Bug fixes​
- The analyzing-data skill now references the Infrahub MCP server's v1.1.7 tool surface (
get_nodes,search_nodes,query_graphql,node_upsert, and the session-branch tools) instead of tool names that current servers no longer expose (#68).
Minor changes​
Documentation
- Curated release notes for every release from v0.0.1 onward published on the docs site (#62).
Maintenance
- Docs-site npm dependencies patched for all Dependabot-reported vulnerabilities (#59).
Full changelog​
Added​
infrahub-importing-dataskill (#63).- Profiles and Object Templates coverage across managing-schemas, managing-objects, auditing-repo, and a shared reference (#71).
- YAGNI / cost-to-fix audit rules and creation-time nudges (#64).
llms.txtdocumentation-fallback procedure ininfrahub-common(#73).from_graphqlrule for managing-generators (#58).- Curated release notes on the docs site (#62).
Changed​
infrahub-collecting-diagnosticsrewritten around theinfrahub-collecttool (#72).
Fixed​
- analyzing-data MCP tool references updated to the v1.1.7 surface (#68).
- Dependabot-reported npm vulnerabilities in the docs site (#59).
Skills included​
- infrahub-managing-schemas
- infrahub-managing-objects
- infrahub-managing-checks
- infrahub-managing-generators
- infrahub-managing-transforms
- infrahub-managing-menus
- infrahub-auditing-repo
- infrahub-analyzing-data
- infrahub-reporting-issues
- infrahub-collecting-diagnostics
- infrahub-importing-data