diff --git a/CHANGELOG.md b/CHANGELOG.md index 05915a305..47244cbdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ [GH-10440] ** New Plugin** Aws Secrets Manager data source [GH-10505] [GH-10467] -### BACKWARDS INCOMPATABILITIES +### BACKWARDS INCOMPATIBILITIES * core: The API that the Packer core uses to communicate with community plugins has changed; maintainers of community plugins will need to upgrade their plugins in order to make them compatible with v1.7.0. An upgrade guide will @@ -25,7 +25,7 @@ * core/fmt: The `packer fmt` can now read from stdin. [GH-10500] * core/hcl: Add regex and regexall hcl2 template functions. [GH-10601] * core/hcl: Templates now support "sensitive" locals. [GH-10509] -* core/hcl: Templates now support error-cleanup-provisioner. [GH-]10604] +* core/hcl: Templates now support error-cleanup-provisioner. [GH-10604] * hcl2_upgrade: Command now comes with a flag so you can control whether output templates are annotated with helpful comments. [GH-10619] * hcl2_upgrade: Command now gracefully handles options with template engine @@ -50,7 +50,7 @@ * builder/proxmox: Improve cloud init error logging for proxmox builder. [GH-10499] * builder/qemu: Fix bug where vnc_min_port set to value greater then 5900 could - prevent Packer from connecting to QEMU. [GH-10450] + prevent Packer from connecting to QEMU. [GH-10450] [GH-10451] * builder/qemu: Fix regression with cd indexing when disk_interface is `ide`. [GH-10519] * builder/vmware-esx: Skip credential validation, which requires ovftool to be diff --git a/go.mod b/go.mod index 76a9165e4..20649ba10 100644 --- a/go.mod +++ b/go.mod @@ -50,7 +50,7 @@ require ( github.com/hashicorp/go-uuid v1.0.2 github.com/hashicorp/go-version v1.2.0 github.com/hashicorp/hcl/v2 v2.8.0 - github.com/hashicorp/packer-plugin-sdk v0.0.12 + github.com/hashicorp/packer-plugin-sdk v0.0.14 github.com/hashicorp/vault/api v1.0.4 github.com/hetznercloud/hcloud-go v1.15.1 github.com/hyperonecom/h1-client-go v0.0.0-20191203060043-b46280e4c4a4 diff --git a/go.sum b/go.sum index 00af447fc..4170aef20 100644 --- a/go.sum +++ b/go.sum @@ -394,6 +394,7 @@ github.com/hashicorp/packer v1.6.7-0.20210120105538-140685fb4f8b/go.mod h1:Yaw0q github.com/hashicorp/packer v1.6.7-0.20210125170305-539638b0f951/go.mod h1:Z3eunaxVQ3XgQ+rW7TEH0T/PRQzCUSyCBUTkm/VL7io= github.com/hashicorp/packer v1.6.7-0.20210126105722-aef4ced967ec/go.mod h1:2+Vo/c/fA+TD9yFc/h9jQMFm4yG+IymQIr0OdJJOPiE= github.com/hashicorp/packer v1.6.7-0.20210208125835-f616955ebcb6/go.mod h1:7f5ZpTTRG53rQ58BcTADuTnpiBcB3wapuxl4sF2sGMM= +github.com/hashicorp/packer v1.6.7-0.20210217093213-201869d627bf/go.mod h1:+EWPPcqee4h8S/y913Dnta1eJkgiqsGXBQgB75A2qV0= github.com/hashicorp/packer-plugin-sdk v0.0.6 h1:BN2G4APXSMvDURFdnk+6DspwsU83pZeMsbEur7NmGsA= github.com/hashicorp/packer-plugin-sdk v0.0.6/go.mod h1:Nvh28f+Jmpp2rcaN79bULTouNkGNDRfHckhHKTAXtyU= github.com/hashicorp/packer-plugin-sdk v0.0.6/go.mod h1:Nvh28f+Jmpp2rcaN79bULTouNkGNDRfHckhHKTAXtyU= @@ -408,6 +409,8 @@ github.com/hashicorp/packer-plugin-sdk v0.0.11 h1:nUurEGaJtpVDyg94bKC2xOXWf1TqQ+ github.com/hashicorp/packer-plugin-sdk v0.0.11/go.mod h1:GNb0WNs7zibb8vzUZce1As64z2AW0FEMwhe2J7/NW5I= github.com/hashicorp/packer-plugin-sdk v0.0.12 h1:eagxsrborfhc0E8zvDVCiRE9pQkjBw/6jm23jp0D8RU= github.com/hashicorp/packer-plugin-sdk v0.0.12/go.mod h1:hs82OYeufirGG6KRENMpjBWomnIlte99X6wXAPThJ5I= +github.com/hashicorp/packer-plugin-sdk v0.0.14 h1:42WOZLmIbAYYC1WXxtlrQZN+fFdysVvTmj3jtoI6gOU= +github.com/hashicorp/packer-plugin-sdk v0.0.14/go.mod h1:tNb3XzJPnjMl3QuUdKmF47B5ImerdTakalHzUAvW0aw= github.com/hashicorp/serf v0.8.2 h1:YZ7UKsJv+hKjqGVUUbtE3HNj79Eln2oQ75tniF6iPt0= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hashicorp/serf v0.9.2 h1:yJoyfZXo4Pk2p/M/viW+YLibBFiIbKoP79gu7kDAFP0= diff --git a/vendor/github.com/hashicorp/packer-plugin-sdk/version/version.go b/vendor/github.com/hashicorp/packer-plugin-sdk/version/version.go index b3a79d98a..9bb9c33d3 100644 --- a/vendor/github.com/hashicorp/packer-plugin-sdk/version/version.go +++ b/vendor/github.com/hashicorp/packer-plugin-sdk/version/version.go @@ -13,7 +13,7 @@ import ( var GitCommit string // Package version helps plugin creators set and track the sdk version using -var Version = "0.0.11" +var Version = "0.0.14" // A pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release @@ -31,6 +31,10 @@ var SDKVersion = InitializePluginVersion(Version, VersionPrerelease) // versioning and to make sure that plugins which aren't following proper // semantic versioning crash immediately rather than later. func InitializePluginVersion(vers, versionPrerelease string) *PluginVersion { + if vers == "" { + // Defaults to "0.0.0". Useful when binary is created for development purpose. + vers = "0.0.0" + } pv := PluginVersion{ version: vers, versionPrerelease: versionPrerelease, diff --git a/vendor/modules.txt b/vendor/modules.txt index 2508d1707..c79a8484d 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -360,7 +360,7 @@ github.com/hashicorp/hcl/v2/hclparse github.com/hashicorp/hcl/v2/hclsyntax github.com/hashicorp/hcl/v2/hclwrite github.com/hashicorp/hcl/v2/json -# github.com/hashicorp/packer-plugin-sdk v0.0.12 +# github.com/hashicorp/packer-plugin-sdk v0.0.14 github.com/hashicorp/packer-plugin-sdk/acctest github.com/hashicorp/packer-plugin-sdk/acctest/provisioneracc github.com/hashicorp/packer-plugin-sdk/acctest/testutils