Packer v1.4.0 Release Notes

Release Date: 2019-04-11 // almost 5 years ago
  • ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ— builder/alicloud: Improve error message for conflicting images name [GH-7415]
    • ๐Ÿ— builder/amazon-chroot: Allow users to specify custom block device mapping [GH-7370]
    • ๐Ÿ“š builder/ansible: Documentation fix explaining how to use ansible 2.7 + winrm [GH-7461]
    • ๐Ÿ— builder/azure-arm: specify zone resilient image from config [GH-7211]
    • ๐Ÿ builder/docker: Add support for windows containers [GH-7444]
    • ๐Ÿ— builder/openstack: Allow both ports and networks in openstack builder [GH-7451]
    • ๐Ÿ— builder/openstack: Expose force_delete for openstack builder [GH-7395]
    • ๐Ÿ— builder/OpenStack: Support Application Credential Authentication [GH-7300]
    • ๐Ÿ— builder/virtualbox: Add validation for 'none' communicator. [GH-7419]
    • ๐Ÿ— builder/virtualbox: create ephemeral SSH key pair for build process [GH-7287]
    • core: Add functionality to marshal a Template to valid Packer JSON [GH-7339]
    • core: Allow user variables to be interpreted within the variables section [GH-7390]
    • core: Incorporate the go-getter to handle downloads [GH-6999]
    • ๐Ÿ”’ core: Lock Packer VNC ports using a lock file to prevent collisions [GH-7422]
    • ๐Ÿ–จ core: Print VerifyChecksum log for the download as ui.Message output [GH-7387]
    • core: Users can now set provisioner timeouts [GH-7466]
    • core: Switch to using go mod for managing dependencies [GH-7270]
    • core: Select a new VNC port if initial port is busy [GH-7423]
    • ๐Ÿ— post-processor/googlecompute-export: Set network project id to builder [GH-7359]
    • ๐Ÿ— post-processor/vagrant-cloud: support for the vagrant builder [GH-7397]
    • post-processor/Vagrant: Option to ignore SSL verification when using on- premise vagrant cloud [GH-7377]
    • ๐Ÿ‘ postprocessor/amazon-import: Support S3 and AMI encryption. [GH-7396]
    • ๐Ÿ provisioner/shell provisioner/windows-shell: allow to specify valid exit codes [GH-7385]
    • ๐Ÿ”Š core: Filter sensitive variables out of the ui as well as the logs [GH-7462]

    ๐Ÿ› BUG FIXES:

    • โšก๏ธ builder/alibaba: Update to latest Alibaba Cloud official image to fix acceptance tests [GH-7375]
    • ๐Ÿ— builder/amazon-chroot: Fix building PV images and where mount_partition is set [GH-7337]
    • ๐Ÿ— builder/amazon: Fix http_proxy env var regression [GH-7361]
    • ๐Ÿ builder/azure: Fix: Power off before taking snapshot (windows) [GH-7464]
    • ๐Ÿ— builder/hcloud: Fix usage of freebsd64 rescue image [GH-7381]
    • ๐Ÿ builder/vagrant: windows : fix docs and usage [GH-7416] [GH-7417]
    • ๐Ÿ— builder/vmware-esxi: properly copy .vmxf files in remote vmx builds [GH-7357]
    • ๐Ÿง core: fix bug where Packer didn't pause in debug on certain linux platforms. [GH-7352]
    • ๐Ÿ— builder/amazon: Fix bug copying encrypted images between regions [GH-7342]

    BACKWARDS INCOMPATIBILITIES:

    • ๐Ÿ”’ builder/amazon: Change temporary_security_group_source_cidr to temporary_security_group_source_cidrs and allow it to accept a list of strings. [GH-7450]
    • ๐Ÿ— builder/amazon: If users do not pass any encrypt setting, retain any initial encryption setting of the AMI. [GH-6787]
    • โšก๏ธ builder/docker: Update docker's default config to use /bin/sh instead of /bin/bash [GH-7106]
    • ๐Ÿ— builder/hyperv: Change option names cpu->cpus and ram_size->memory to bring naming in line with vmware and virtualbox builders [GH-7447]
    • ๐Ÿ— builder/oracle-classic: Remove default ssh_username from oracle classic builder, but add note to docs with oracle's default user. [GH-7446]
    • builder/scaleway: Renamed attribute api_access_key to organization_id. [GH-6983]
    • Change clean_image name and clean_ami_name to a more general clean_resource name for Googlecompute, Azure, and AWS builders. [GH-7456]
    • core/post-processors: Change interface for post-processors to allow an overridable default for keeping input artifacts. [GH-7463]