chore(deps): update dependency arnarg/nixidy to v0.23.1 #61
No reviewers
Labels
No labels
automation
automerge
ci
infra
migrated/beads
priority/P2
refactoring
repo-maintenance
status/in-progress
testing
type/epic
type/task
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Reference
Personal/cluster!61
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/arnarg-nixidy-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.22.1→v0.23.1Release Notes
arnarg/nixidy (arnarg/nixidy)
v0.23.1Compare Source
This is a small bugfix release.
Bug Fixes
replaceinobjectTransformsis now applied instead of wrapped. Thereplaceoption's type coercion accepted functions as plain values, so a lambda likereplace = old: old // { ... };was returned as-is instead of being called with the old object. The coerced type now excludes functions, so function replaces transform the matched object (or part) again, while plain values keep being coerced to_: value. @sini #112v0.23.0Compare Source
New Features
Object Transforms, reimagined: transform parts of resources - @mewp #109
The object transform mechanism has been completely reworked and is far more powerful now. Instead of a list of rules with a
rewritefunction,objectTransformsis an attrset where each transform can act on a whole resource or on just a part of it:Each transform sets exactly one of
replace(swap the value or the whole object, returningnulldrops it),update(recursively merge into the old value), ortransforms(nested transforms, scoped to what the outer transform matched and nestable arbitrarily deep). Plain values are accepted anywhere a function is, soreplace = { ... };andupdate.metadata.labels.foo = "bar";both work without writingold: ...lambdas.The
matchselector has also grown up: it now uses ordinary attribute paths (metadata.labels."app.kubernetes.io/name"), searches list elements for a match (e.g.spec.containers.envFrom.secretRef.name = "foo"matches any pod container referencing that secret), and accepts lists of values for OR-matching (namespace = [ "foo" "bar" ]).Runtime stages (previously
postProcessrules insideobjectTransforms) have moved to their ownnixidy.postProcessorsoption, environment-wide or per-application, with the same stdin to stdout contract, confirmation prompt, andNIXIDY_POST_PROCESS_APPROVE/NIXIDY_SKIP_POST_PROCESSbehaviour as before:See the rewritten Object Transforms documentation and the new Post-processing page.
CRD option types now validate your values - #56
The CRD resource options generators now fold JSON Schema validation keywords into the generated option types:
minimum/maximum(inclusive and exclusive),multipleOf,minLength/maxLength, and scalarenumvalues. Out-of-bounds resource values are rejected at evaluation time by both the file and value backends, so a typo likereplicas = 0against a schema requiring at least 1 fails at build instead of at apply:Breaking Changes
objectTransformsis now an attrset of transforms instead of a list of rules. Therewritekey is gone; usereplaceorupdateinstead. Runtime stages moved to the newpostProcessorsoption withcommandinstead ofpostProcess. Rules run in attribute-name order (env first, then app scope). #109Improvements
modules/build.nixwas restructured intomodules/build/as a functional-core pipeline: a purelayout.nixthat turns each application into a list ofFileSpec(exposed as the internalconfig.build.layout), withrender.nix,emit-environment.nixandapply.nixconsuming it. No public API change, butswitchandapplynow post-process identical file sets by construction, and an application whosenameis overridden no longer fails to build. #102 @siniConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
12c6818d8b29e1b16478chore(deps): update dependency arnarg/nixidy to v0.23.0to chore(deps): update dependency arnarg/nixidy to v0.23.1