Skip to content

v0.5.2

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Nov 11:15
· 39 commits to main since this release

Upgrade Notes

Upgrading to this release may fail until you've applied one of the fixes documented in packer-plugin-sdk#187. Consumers of the Packer plugin SDK require a replace directive within their plugin's go module file to point to a compatible version of go-cty. The replace directive subject to change in future releases can be applied by running the packer-sdc fix sub-command to apply the replace directive to your plugin with a recommended version of the go-cty fork.

Plugins already working with Packer Plugin SDK v0.5.1 are advised to apply the updated SDK fixes by re-running packer-sdc fix against the plugin's root directory. The updated SDK fixes will bump the supported version of the go-cty fork to v1.13.3, which is required for working with hcl/v2 version 2.17.0 and above.

  • Bumped github.com/zclconf/go-cty to v1.13.1: to bring in the latest supported changes of zclconf/go-cty and hashicorp/hcl/v2 to the SDK.
  • Bumped github.com/hashicorp/hcl/v2 to v2.19.1: to bring in support for the latest HCL/v2 refinements builder and enhancements. Refinements are non-breaking changes but you may see some changed results in your unit test of operations involving unknown values.
  • Updated packer-sdc fix: to upgrade the replace version for github.com/nywilken/go-cty from v1.12.1 to v1.13.3.

What's Changed

Exciting New Features 🎉

  • Add capability to specify additional build args to be executed when running acceptance tests against builders by @lbajolet-hashicorp in #202
  • Bump supported version of go-cty to v1.13.3 by @nywilken in #215

Security Changes

Bug Fixes🧑‍🔧 🐞

  • Fix issue where packer-sdc mapstructure-to-hcl was incorrectly mixing underlying structs for types with similar mapstructure tags by @nywilken in #212
  • hcl2helper: preemptively panic on nil hcl spec by @lbajolet-hashicorp in #204

Other Changes

  • packer-sdc/struct-markdown: Allow packer-internal as project directory for testing purposes by @nywilken in #218

New Contributors

Full Changelog: v0.5.1...v0.5.2