v1.8.5
1.8.5 (December 12, 2022)
NOTES:
- data/packer-image-iteration has been removed. This was an undocumented and
unusable data source that was built for experimentation but not released. It
should not affect users in any way but is being mentioned for visibility
purposes.
GH-12111
FEATURES:
- core: Metadata for capturing template types such as JSON or HCL2 has been added to the
HCP Packer registry metadata. Upon running apacker build
the type of
template used during execution will be sent along to the registry as
additional build metadata.GH-12132
PLUGINS:
The following external plugins have been updated and pinned to address open
issues. Please see their respective changelogs for details on plugin
specific bug fixes and improvements.
- [email protected] - CHANGELOG
- [email protected] - CHANGELOG
- [email protected] - CHANGELOG
- [email protected] - CHANGELOG
- [email protected] - CHANGELOG
IMPROVEMENTS:
- cmd/hcl2_upgrade: Generate variable block for all referenced user input
variables. GH-12136 - cmd/validate: Add support for the
-evaluate-datasources
flag to evaluate
the data sources from a template during validation time.
GH-12106
GH-12152 - core/hcl2: Variable definition files containing undeclared variables within
an HCL2 template will no longer warn during build execution. Warnings will
be displayed to a user during template validation, which can be disabled by
passing the-no-warn-undeclared-var
flag to the validate command.
GH-12104
GH-12109 - core: Docker images have been updated to include the
xorriso
package for
supporting the creation of ISO files.GH-12081 - core: Split HCP Packer publishing components into a separate internal-only
module. GH-11
GH-12116
BUG FIXES:
- cmd/init: The init command will try to fallback to the next available version
for a plugin, if the most recent version is not available or has a missing
checksum file. This should prevent Packer from trying to install versions
that have a GitHub tag but no actual assets.
GH-12103 - cmd/plugins: The
plugins install
sub-command will try to fallback to the
next available version for a plugin, if the most recent version is not
available or has a missing checksum file. This should prevent Packer from
trying to install versions that have a GitHub tag but no actual assets.
GH-12103 - core: Bump Go version to 1.18.9 to address vulnerability GO-2022-1144, which
concerns the net/http and golang.org/x/net
packages.GH-12153
GH-12158 - core: Fix the registration of deleted input artifacts in HCP Packer when
settingkeep_input_artifacts
to
false.GH-11462 - core: Using different template types when building a HCP Packer
image iteration will now trigger a runtime build error due to the
mixing of template types.
GH-12132