github hashicorp/packer v1.9.0

latest releases: v1.12.0-alpha1, v1.11.2, v1.11.1...
16 months ago

1.9.0 (May 31, 2023)

NOTES:

  • Breaking Change: Iteration fingerprints used to be computed from the Git SHA of the
    repository where the template is located when running packer build. This
    changes with this release, and now fingerprints are automatically generated
    as a ULID. This implies that continuing an existing iteration will require
    users to define the fingerprint in the environment manually in order to
    adopt this behaviour, otherwise, by default, a new iteration will be
    created. This does not impact workflows where the fingerprint was defined
    through the HCP_PACKER_ITERATION_FINGERPRINT environment variable, and
    these builds will work exactly as they did before.
    GH-12172

  • Breaking Change: Community-maintained plugins bundled with the Packer binary have been removed.
    These external plugin components are released independently of Packer core and can be installed
    directly by the user. Users relying on the external plugin components listed below should refer
    to the packer plugins sub-command and, if using HCL2, a required_plugins block to define a
    list of plugins for building a template.

PLUGINS

Users relying on these external plugin components should refer to the packer plugins sub-command and,
if using HCL2, a required_plugins block to define a list of plugins to use for building a template.

IMPROVEMENTS:

  • core/hcp: Now, fingerprints used by HCP Packer are randomly generated ULIDs
    instead of a Git SHA, and a new one is always generated, unless one is
    specified in the environment.
    GH-12172

BUG FIXES:

  • Fix LDFLAGS for release pipelines: Between Packer 1.8.5 and Packer 1.8.7, changes
    to the LDFLAGS in use for building the binaries for Packer had mistakenly
    removed some compilation flags, leading to the final binaries not being stripped.
    This change raised the size of the built binaries by as much as 45%.
    In this release, we fixed the LDFLAGS during compilation, yielding leaner binaries.

  • Bumped gopsutil to v3. This fixes a macOS intermittent crash reported by the community
    GH-12430

Don't miss a new packer release

NewReleases is sending notifications on new releases.