Repository navigation
feat: deprecate v1alpha1 packages - #5623
Merged
Merged
Conversation
Signed-off-by: Austin Abro <austinabro321@gmail.com>
✅ Deploy Preview for zarf-docs canceled.
|
Codecov Report❌ Patch coverage is
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
AustinAbro321
marked this pull request as ready for review
November 6, 2026 19:24
Signed-off-by: Austin Abro <austinabro321@gmail.com>
brandtkeller
reviewed
Nov 8, 2026
brandtkeller
left a comment
Member
There was a problem hiding this comment.
One comment otherwise lgtm
| if pkg.Metadata.YOLO { | ||
| warnings = append(warnings, "metadata.yolo is deprecated and will be removed in the next schema version. Use --connected when running zarf package deploy instead.") | ||
| } | ||
| if len(pkg.Variables) > 0 { |
Member
There was a problem hiding this comment.
This can be quite noisy on a v1alpha1 package pull for a package with variables/constants.
./build/zarf package pull ghcr.io/zarf-dev/packages/init:v0.89.0
2026-11-08 06:13:17 INF using config file location=/home/dev/Repos/work/zarf-reviews/zarf-config.toml
2026-11-08 06:13:17 WRN variables are deprecated and removed in v1beta1. Migrate to Zarf values instead
2026-11-08 06:13:17 WRN constants are deprecated and removed in v1beta1. Migrate to Zarf values instead
2026-11-08 06:13:17 WRN variables are deprecated and removed in v1beta1. Migrate to Zarf values instead
2026-11-08 06:13:17 WRN constants are deprecated and removed in v1beta1. Migrate to Zarf values instead
2026-11-08 06:13:17 INF pulling package name=ghcr.io/zarf-dev/packages/init:v0.89.0 size=422.16 MBs
2026-11-08 06:13:18 INF finished pulling package layers duration=900ms
2026-11-08 06:13:18 WRN variables are deprecated and removed in v1beta1. Migrate to Zarf values instead
2026-11-08 06:13:18 WRN constants are deprecated and removed in v1beta1. Migrate to Zarf values instead
2026-11-08 06:13:19 WRN variables are deprecated and removed in v1beta1. Migrate to Zarf values instead
2026-11-08 06:13:19 WRN constants are deprecated and removed in v1beta1. Migrate to Zarf values instead
2026-11-08 06:13:19 WRN package signature not verified; continuing reason=package was signed with keyless method; provide --certificate-identity + --certificate-oidc-issuer to verify: no verification material available
2026-11-08 06:13:19 INF writing package to disk path=/home/dev/Repos/work/zarf-reviews/zarf-init-amd64-v0.89.0.tar.zst
2026-11-08 06:13:20 WRN v1alpha1 packages are deprecated and do not have long-term support in Zarf v1.0; migrate to zarf.dev/v1beta1. package=init
2026-11-08 06:13:20 INF package downloaded successful path=/home/dev/Repos/work/zarf-reviews/zarf-init-amd64-v0.89.0.tar.zstWould we consider another option or are we fine with this? Possibly a few other areas where we see some duplicates - not a blocker.
Member
Author
There was a problem hiding this comment.
I thought about it and this warning would be especially confusing to deployers since they can't move to package values. I decided to make this a create / dev time error only, lmk what you think
AustinAbro321
enabled auto-merge
November 8, 2026 20:22
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Deprecates v1alpha1 packages.
I am being a bit precious with the deprecation warnings, instead of having them in a central place like pkgcfg I have them on each command as I didn't want them to show on
zarf dev upgradeandzarf package remove.Also including the name for SDK users who deploy multiple packages in the same flow.
Also updates the npm version in the netlify config because the website currently can't deploy
Related Issue
Relates to #5441
Checklist before merging