v0.5.1
Upgrade Notes
This release is a fast follow to v0.5.0, which broke the installation of the packer-sdc command due to an invalid go.mod file. The v0.5.0 release has been retracted and should not be used. Consumers of the Packer Plugin SDK should update to v0.5.1. Upgrading to this release will fail until you've applied one of the fixes documented in packer-plugin-sdk#187. We ask that you carefully review this section for details on the released changes.
- Retracted v0.5.0: the v0.5.0 SDK release was broken because of the replace statement for go-cty. #199
- Gob supported compile time check: we added a Go compile time check to the SDK for validating that a plugins' version of github.com/zclconf/go-cty contains
encoding/gob
support for cty.Type and cty.Value. #189 - Bumped the github.com/zclconf/go-cty to v1.12.1: to bring in the latest supported changes of zclconf/go-cty and hashicorp/hcl/v2 to the SDK. Consumers of the Packer plugin SDK now require a replace directive within their plugin's go module file to point to a compatible version of go-cty. The packer-sdc command has been updated to help apply these types of fixes. #197
- Added a fix command to packer-sdc: to help with the manual intervention and future changes to the SDK, we've introduced a fix sub-command to apply the replace directive to your plugin with a recommended version of the go-cty fork. #190, #198
What's Changed
Bug fixes🧑🔧 🐞
- Fix replace go mod by @lbajolet-hashicorp in #197
- packer-sdc: Remove version specific Go code by @nywilken in #198
Other Changes
- go.mod: retract v0.5.0 by @lbajolet-hashicorp in #199
Full Changelog: v0.5.0...v0.5.1