Please refer to releases for latest CHANGELOG information.
- multistep/commonsteps: Add default timeouts to the GitGetter, HgGetter, S3Getter, and GcsGetter getters to mitigate against resource exhaustion when calling out to external command line applications.
- multistep/commonsteps: Disable support for the
X-Terraform-Get
header to mitigate against protocol switching, endless redirect, and configuration bypass abuse of custom HTTP response header processing. - multistep/commonsteps: Update settings for the default go-getter client to prevent arbitrary host access via go-getter's path traversal, symlink processing, and command injection flaws.
- sdk: Bump github.com/hashicorp/go-getter/v2, github.com/hashicorp/go- getter/gcs/v2, github.com/hashicorp/go-getter/s3/v2 to address a number of security vulnerabilities as defined in HCSEC-2022-13
- cmd/packer-sdc: Update golang.org/x/tools to fix internal package errors when running code generation commands with Go 1.18 GH-108
- provisioner/shell-local: Add
env
argument to pass env vars through a key value store GH-98 - provisioner/shell: Add
env
argument to pass env vars through a key value store GH-98 - sdk: Bump github.com/hashicorp/go-getter/v2 to v2.0.2 GH-102
- sdk: Bump github.com/hashicorp/hcl/v2 to v2.12.0 GH-106
- sdk: Update crypto/ssh pkg used by SSH communicator The existing ssh client used by the SSH communicator was relying on legacy key algorithms and could not connect to recent versions of openssh, or servers with a limited set of fips approved algorithms. GH-107
- sdk: The SourceImageID field for registry/image.Image is now optional; calling Image#Validate will nolonger error if SourceImageID is empty. GH-90
- sdk: Security release with Go 1.7.5 to address CVE-2021-44717. GH-93
- sdk: packer-sdc fix plugin-check command for provisioner only plugins. #88
- sdk: packer-sdc add plugin-check command to check plugin validity, try
packer-sdc plugin-check -h
for help #85
- sdk: Make step_download store the used iso_url in state. [GH-84]
- sdk: Add
floppy_content
parameter inFloppyConfig
[GH-82]
- sdk: Add SourceImageID field to registry/image object for HCP Packer registry ancestry support [GH-81]
- sdk: Bump SDK to Go 1.17
- sdk: Add
registry/image
package to support the creation of HCP Packer registry images from Packer Artifacts. #76
- CDConfig: Add
cd_content
field for file templating for cd files #61
- Update masterzen/winrm dependency to allow NTLM support for winrm_no_proxy [GH-66]
- StepCreateCD: Clean up temporary directory and add more robust tests [GH-62]
- Update go-getter to v2.0.0 to fix godep compilation issue
- Add packer-sdc command that will help Plugin maintainers and Packer maintainers to generate the docs and the HCL2 glue code.
- Merge pull request #51 from hashicorp/cleanup_acctests
- Remove packer core dependencies
- core: Pin SDK to Golang 1.16 [GH-48]
- core: Update Packer to v1.7.1
In release v0.0.12 a backwards incompatible change was introduced to the
packer-plugin-sdk with the update to v1.2.4 for the ugorji/go/codec
package. Plugins built with a version of the Packer SDK prior to v0.0.12
are encouraged to update to the latest possible version of the SDK to
prevent potential codec marshalling issues with Packer v1.7.0 and higher.
- commonsteps/http_config: Add
http_content
configuration option as an alternative method for serving static HTTP content. This option works similar tohttp_directory
but has the ability to serve files that include Go templating variables that can be interpolated at runtime by Packer core. [GH-43]
- didyoumean: Add a "did you mean" package to help find a name from a set of predefined suggestions. [GH-43]
- bootcommand: Fix pageUp and pageDown boot command usb key strokes. [GH-46]
- core: Update Packer to v1.7.0 [GH-39]
- plugin version validation: when no version is passed, default it to 0.0.0 for dev purposes [GH-36]
- update packer dependency [GH-37]
- core: Update ugorji/go/codec to v1.2.4 [GH-31]
- plugin: Introduce the concept of APIVersionMajor and APIVersionMinor to the RPC address to allow for backward compatible changes with the Packer API protocol. [GH-21]
- acctest/pluginacc: Add a generic plugin acceptance test case structure [GH-28]
- packer/ui: Update UI mock to keep output messages [GH-27]
- plugin: Add
api_version
to the plugin describe command output [GH-24]
- rpc/datasource: Fix error return on datasource RPC. [GH-23]
- acctest/datasource: Add Setup function for datasource acceptance testing. [GH-22]
- template/interpolate/aws: Add support for getting secrets of type number to secretsmanagers function. [GH-18]
- packer/datasource: Add support for new
datasource
plugin type. [GH-6] [GH-9] [GH-15]
- sdk/tests: Fix acceptance for various packages. [GH-10] [GH-13]
- sdk: Initial release