|
|
|
|
@ -1,27 +1,24 @@
|
|
|
|
|
## 1.8.6 (Upcoming)
|
|
|
|
|
## 1.9.0 (Unreleased)
|
|
|
|
|
### 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](https://github.com/hashicorp/packer/pull/12172)
|
|
|
|
|
|
|
|
|
|
### IMPROVEMENTS:
|
|
|
|
|
* bump github.com/hashicorp/hcp-sdk-go from 0.28.0 to 0.29.0.
|
|
|
|
|
[GH-12163](https://github.com/hashicorp/packer/pull/12163)
|
|
|
|
|
* hcp: 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.
|
|
|
|
|
|
|
|
|
|
### BUG FIXES:
|
|
|
|
|
* core/hcl2: Templates with build blocks referencing an unknown source block
|
|
|
|
|
would display an empty string for the template filename at line 0, which made
|
|
|
|
|
it difficult to identify the broken build block. Packer has been updated to
|
|
|
|
|
display the proper filename and line number where the unknown reference
|
|
|
|
|
resides. [GH-12167](https://github.com/hashicorp/packer/pull/12167)
|
|
|
|
|
* core: Linux packages now have vendor label and set the default label to HashiCorp.
|
|
|
|
|
This fix is implemented for any future releases, but will not be
|
|
|
|
|
updated for historical releases.
|
|
|
|
|
* 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
|
|
|
|
|
already specified in the environment.
|
|
|
|
|
[GH-12172](https://github.com/hashicorp/packer/pull/12172)
|
|
|
|
|
|
|
|
|
|
## 1.8.6 (Unreleased)
|
|
|
|
|
|
|
|
|
|
### NOTES:
|
|
|
|
|
* core: Users will see some changes in how names are displayed during a Packer
|
|
|
|
|
@ -31,6 +28,26 @@
|
|
|
|
|
"<type>.mybuilder". This does not impact the behavior of options such as
|
|
|
|
|
only or except, they will continue to work as they did before.)
|
|
|
|
|
|
|
|
|
|
### IMPROVEMENTS:
|
|
|
|
|
* bump github.com/hashicorp/hcp-sdk-go from 0.28.0 to 0.29.0.
|
|
|
|
|
[GH-12163](https://github.com/hashicorp/packer/pull/12163)
|
|
|
|
|
* core/hcl2: Packer will no longer warn on excluded post-processors when using
|
|
|
|
|
`-only/exlude` filters for running select builds.
|
|
|
|
|
[GH-12187](https://github.com/hashicorp/packer/pull/12187)
|
|
|
|
|
|
|
|
|
|
### BUG FIXES:
|
|
|
|
|
* cmd/hcl2_upgrade: Fix crash when variables block is undefined.
|
|
|
|
|
[GH-12250](https://github.com/hashicorp/packer/pull/12250)
|
|
|
|
|
* core/hcl2: Templates with build blocks referencing an unknown source block
|
|
|
|
|
would display an empty string for the template filename at line 0, which
|
|
|
|
|
made it difficult to identify the broken build block. Packer has been
|
|
|
|
|
updated to display the proper filename and line number where the unknown
|
|
|
|
|
reference resides.
|
|
|
|
|
[GH-12167](https://github.com/hashicorp/packer/pull/12167)
|
|
|
|
|
* core: Linux packages now have vendor label and set the default label to
|
|
|
|
|
HashiCorp. This fix is implemented for any future releases, but will not be
|
|
|
|
|
updated for historical releases.
|
|
|
|
|
|
|
|
|
|
## 1.8.5 (December 12, 2022)
|
|
|
|
|
|
|
|
|
|
### NOTES:
|
|
|
|
|
|