Packer v1.5.0 has been released

32 views
Skip to first unread message

Megan Marsh

unread,
Dec 18, 2019, 8:01:45 PM12/18/19
to Packer
Hello Packer community!

We're very pleased to announce the release of Packer v1.5.0, the last release of 2019.  

It contains two major new features: 

First, you can use HCL2 instead of json to define your Paceker templates, if you decide you would like to. If you don't want to mess with your templates, don't worry! We won't be deprecating json templates any time soon. Here is some documentation and examples to get you started: https://www.packer.io/guides/hcl

Second, special connection information like host and port of the provisioning instance, are now shared between builders and provisioners. You can access them using golang's templating engine. See the docs for details and an example: https://www.packer.io/docs/templates/engine.html#build

We also have a bunch of bug fixes and minor improvements.  For full details, see the changelog: https://github.com/hashicorp/packer/blob/master/CHANGELOG.md#150-december-18-2019 

There are two small backwards incompatabilites for everyday users:

- The "clean_ami_name" template engine is now fully deprecated. Use "clean_resource_name" instead.
- The ansible-local "galaxycommand" option has been renamed to "galaxy_command".

For both of these incompatabilities, calling `packer fix` against your template will output a template with the necessary changes made so that you do not have to search for the fields to correct.

There are some larger backwards incompatabilities for plugin maintainers

Plugin maintainers will see that the interfaces of builders, provisioners, and post-processors have changed.

These changes are noted in the documentation for third party plugins; please refer to those documents to get your plugins back up to speed with the latest version of the Packer core. 

As always, please reach out to us via the GitHub issue tracker if you find anything wrong. 

We're really excited about the improvements that these changes will bring to the tool. Thanks for being such a great community to work for, and we hope you have a wonderful holiday season, no matter which ones you celebrate. 

Thanks
Megan and the Packer team

Megan Marsh

unread,
Dec 19, 2019, 4:03:54 PM12/19/19
to packe...@googlegroups.com
Quick update about the v1.5.0 release -- we just incorporated OSX code signing into our release, and as a result of a mistake where I calculated the checksums _before_ signing the OSX binaries, the current checksums for darwin are wrong. I am pushing up a corrected checksums file and signature now; the binaries themselves are the same and users of non-osx versions of Packer are unaffected.

Thanks!
Megan

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/93d17630-badf-4788-aab2-8c5dddfc2472%40googlegroups.com.

Gautam Singh

unread,
Dec 19, 2019, 4:21:46 PM12/19/19
to packe...@googlegroups.com
Congratulations on new release. Thanks for adding support for HCL2. Can't wait to play with it.

Thank,
Gautam 

--
Reply all
Reply to author
Forward
0 new messages