Packer v1.5.0 Release Notes

Release Date: 2019-12-18 // 12 months 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]