-----------------------------
The goal of this release is changing to a strict Jinja2 environment, paving the way to more awesome in the future, as well as adding support for Jinja2 extensions.
New Features:
- Added support for Jinja2 extension support, thanks to [@hackebrot](https://github.com/hackebrot) (\#617).
- Now raises an error if Cookiecutter tries to render a template that contains an undefined variable. Makes generation more robust and secure (\#586). Work done by [@hackebrot](https://github.com/hackebrot) (\#111, \#586, \#592)
- Uses strict Jinja2 env in prompt, thanks to [@hackebrot](https://github.com/hackebrot) (\#598, \#613)
- Switched from pyyaml/ruamel.yaml libraries that were problematic across platforms to the pure Python [poyo](https://pypi.python.org/pypi/poyo) library, thanks to [@hackebrot](https://github.com/hackebrot) (\#557, \#569, \#621)
- User config values for `cookiecutters_dir` and `replay_dir` now support environment variable and user home expansion, thanks to [@nfarrar](https://github.com/nfarrar) for the suggestion and [@hackebrot](https://github.com/hackebrot) for the PR (\#640, \#642)
- Add [jinja2-time](https://pypi.python.org/pypi/jinja2-time) as default extension for dates and times in templates via `{% now 'utc' %}`, thanks to [@hackebrot](https://github.com/hackebrot) (\#653)
Bug Fixes:
- Provided way to define options that have no defaults, thanks to [@johtso](https://github.com/johtso) (\#587, \#588)
- Make sure that `replay.dump()` and `replay.load()` use the correct user config, thanks to [@hackebrot](https://github.com/hackebrot) (\#590, \#594)
- Added correct CA bundle for Git on Appveyor, thanks to [@maiksensi](https://github.com/maiksensi) (\#599, \#602)
- Open `HISTORY.rst` with `utf-8` encoding when reading the changelog, thanks to [@0-wiz-0](https://github.com/0-wiz-0) for submitting the issue and [@hackebrot](https://github.com/hackebrot) for the fix (\#638, \#639)
- Fix repository indicators for [private repository](http://cookiecutter.readthedocs.org/en/latest/usage.html#works-with-private-repos) urls, thanks to [@habnabit](https://github.com/habnabit) for the fix (\#595) and [@hackebrot](https://github.com/hackebrot) for the tests (\#655)
Other Changes:
- Set path before running tox, thanks to [@maiksensi](https://github.com/maiksensi) (\#615, \#620)
- Removed xfail in test\_cookiecutters, thanks to [@hackebrot](https://github.com/hackebrot) (\#618)
- Removed django-cms-plugin on account of 404 error, thanks to [@mativs](https://github.com/mativs) and [@pydanny](https://github.com/pydanny) (\#593)
- Fixed docs/usage.rst, thanks to [@macrotim](https://github.com/macrotim) (\#604)
- Update .gitignore to latest Python.gitignore and ignore PyCharm files, thanks to [@audreyr](https://github.com/audreyr)
- Use open context manager to read context\_file in generate() function, thanks to [@hackebrot](https://github.com/hackebrot) (\#607, \#608)
- Added documentation for choice variables, thanks to [@maiksensi](https://github.com/maiksensi) (\#611)
- Set up Scrutinizer to check code quality, thanks to [@audreyr](https://github.com/audreyr)
- Drop distutils support in setup.py, thanks to [@hackebrot](https://github.com/hackebrot) (\#606, \#609)
- Change cookiecutter-pypackage-minimal link, thanks to [@kragniz](https://github.com/kragniz) (\#614)
- Fix typo in one of the template's description, thanks to [@ryanfreckleton](https://github.com/ryanfreckleton) (\#643)
- Fix broken link to [\_copy\_without\_render](http://cookiecutter.readthedocs.org/en/latest/advanced_usage.html#copy-without-render) in *troubleshooting.rst*, thanks to [@ptim](https://github.com/ptim) (\#647)
- Added more cookiecutter templates to the mix:
- [cookiecutter-pipproject](https://github.com/wdm0006/cookiecutter-pipproject) by [@wdm0006](https://github.com/wdm0006) (\#624)
- [cookiecutter-flask-2](https://github.com/wdm0006/cookiecutter-flask) by [@wdm0006](https://github.com/wdm0006) (\#624)
- [cookiecutter-kotlin-gradle](https://github.com/thomaslee/cookiecutter-kotlin-gradle) by [@thomaslee](https://github.com/thomaslee) (\#622)
- cookiecutter-tryton\_ by [@cedk](https://github.com/cedk) (\#631)
- [django-starter](https://github.com/tkjone/django-starter) by [@tkjone](https://github.com/tkjone) (\#635)
- [django-docker-bootstrap](https://github.com/legios89/django-docker-bootstrap) by [@legios89](https://github.com/legios89) (\#636)
- [cookiecutter-mediawiki-extension](https://github.com/JonasGroeger/cookiecutter-mediawiki-extension) by [@JonasGroeger](https://github.com/JonasGroeger) (\#645)
- [cookiecutter-django-gulp](https://github.com/valerymelou/cookiecutter-django-gulp) by [@valerymelou](https://github.com/valerymelou) (\#648)