Packer v1.5.0 Release Notes
Release Date: 2019-12-18 // over 4 years ago-
๐ IMPROVEMENTS:
- ๐ builder/amazon: Add no_ephemeral template option to remove ephemeral drives from launch mappings. [GH-8393]
- builder/amazon: Add validation for "subnet_id" when specifying "vpc_id" [GH-8360] [GH-8387] [GH-8391]
- ๐ builder/amazon: allow enabling ena/sr-iov on ebssurrogate spot instances [GH-8397]
- ๐ builder/amazon: Retry runinstances aws api call to mitigate throttling [GH-8342]
- โก๏ธ builder/hyperone: Update builder schema and tags [GH-8444]
- ๐ builder/qemu: Add display template option for qemu. [GH-7676]
- ๐ builder/qemu: Disk Size is now read as a string to support units. [GH-8320] [GH-7546]
- ๐ builder/qemu: Add fixer to convert disk size from int to string [GH-8390]
- ๐ builder/qemu: Disk Size is now read as a string to support units. [GH-8320] [GH-7546]
- ๐ builder/qemu: When a user adds a new drive in qemuargs, process it to make sure that necessary settings are applied to that drive. [GH-8380]
- ๐ builder/vmware: Fix error message when ovftool is missing [GH-8371]
- ๐ core: Cleanup logging for external plugins [GH-8471]
- ๐ core: HCL2 template support is now in beta. [GH-8423]
- ๐ core: Interpolation within provisioners can now access build-specific values like Host IP, communicator password, and more. [GH-7866]
- ๐ core: Various fixes to error handling. [GH-8343] [GH-8333] [GH-8316] [GH-8354] [GH-8361] [GH-8363] [GH-8370]
- ๐ณ post-processor/docker-tag: Add support for multiple tags. [GH-8392]
- post-processor/shell-local: Add "valid_exit_codes" option to shell-local. [GH-8401]
- provisioner/chef-client: Add version selection option. [GH-8468]
- provisioner/shell-local: Add "valid_exit_codes" option to shell-local. [GH-8401]
- provisioner/shell: Add support for the "env_var_format" parameter [GH-8319]
๐ BUG FIXES:
- ๐ builder/amazon: Fix request retry mechanism to launch aws instance [GH-8430]
- ๐ builder/azure: Fix PollDuration option which was overridden in some clients. [GH-8490]
- ๐ builder/hyperv: Fix bug in checking VM name that could cause flakiness if many VMs are defined. [GH-8357]
- ๐ builder/vagrant: Use absolute path for Vagrantfile [GH-8321]
- ๐ builder/virtualbox: Fix panic in snapshot builder. [GH-8336] [GH-8329]
- communicator/winrm: Resolve ntlm nil pointer bug by bumping go-ntlmssp dependency [GH-8369]
- communicator: Fix proxy connection settings to use "SSHProxyUsername" and "SSHProxyPassword" where relevant instead of bastion username and password. [GH-8375]
- ๐ฒ core: Fix bug where Packer froze if asked to log an extremely long line [GH-8356]
- core: Fix iso_target_path option; don't cache when target path is non-nil [GH-8394]
- ๐ core: Return exit code 1 when builder type is not found [GH-8474]
- ๐ core: Return exit code 1 when builder type is not found [GH-8475]
- โก๏ธ core: Update to newest version of go-tty to re-enable CTRL-S and CTRL-Q usage [GH-8364]
BACKWARDS INCOMPATIBILITIES:
- builder/amazon: Complete deprecation of clean_ami_name template func [GH-8320] [GH-8193]
- core: Changes have been made to both the Prepare() method signature on the builder interface and on the Provision() method signature on the provisioner interface. [GH-7866]
- provisioner/ansible-local: The "galaxycommand" option has been renamed to
"galaxy_command". A fixer has been written for this, which can be invoked
with
packer fix
. [GH-8411]