Changelog History
Page 2
-
v1.4.0 Changes
March 20, 2016π 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 (#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 (#111, #586, #592)
- π Uses strict Jinja2 env in prompt, thanks to @hackebrot (#598, #613)
- Switched from pyyaml/ruamel.yaml libraries that were problematic across platforms to the pure Python poyo library, thanks to @hackebrot (#557, #569, #621)
- User config values for
cookiecutters_dir
andreplay_dir
now support environment variable and user home expansion, thanks to @nfarrar for the suggestion and @hackebrot for the PR (#640, #642) - β Add jinja2-time as default extension for dates and times in templates via
{% now 'utc' %}
, thanks to @hackebrot (#653)
π Bug Fixes:
- 0οΈβ£ Provided way to define options that have no defaults, thanks to @johtso (#587, #588)
- π Make sure that
replay.dump()
andreplay.load()
use the correct user config, thanks to @hackebrot (#590, #594) - β Added correct CA bundle for Git on Appveyor, thanks to @maiksensi (#599, #602)
- Open
HISTORY.rst
withutf-8
encoding when reading the changelog, thanks to @0-wiz-0 for submitting the issue and @hackebrot for the fix (#638, #639) - π Fix repository indicators for private repository urls, thanks to @habnabit for the fix (#595) and @hackebrot for the tests (#655)
Other Changes:
- Set path before running tox, thanks to @maiksensi (#615, #620)
- β Removed xfail in test_cookiecutters, thanks to @hackebrot (#618)
- β Removed django-cms-plugin on account of 404 error, thanks to @mativs and @pydanny (#593)
- π Fixed docs/usage.rst, thanks to @macrotim (#604)
- β‘οΈ Update .gitignore to latest Python.gitignore and ignore PyCharm files, thanks to @audreyr
- π Use open context manager to read context_file in generate() function, thanks to @hackebrot (#607, #608)
- β Added documentation for choice variables, thanks to @maiksensi (#611)
- Set up Scrutinizer to check code quality, thanks to @audreyr
- β¬οΈ Drop distutils support in setup.py, thanks to @hackebrot (#606, #609)
- π Change cookiecutter-pypackage-minimal link, thanks to @kragniz (#614)
- π Fix typo in one of the template's description, thanks to @ryanfreckleton (#643)
- Fix broken link to _copy_without_render in troubleshooting.rst, thanks to @ptim (#647)
- β Added more cookiecutter templates to the mix:
- cookiecutter-pipproject by @wdm0006 (#624)
- cookiecutter-flask-2 by @wdm0006 (#624)
- cookiecutter-kotlin-gradle by @thomaslee (#622)
- cookiecutter-tryton_ by @cedk (#631)
- django-starter by @tkjone (#635)
- π³ django-docker-bootstrap by @legios89 (#636)
- cookiecutter-mediawiki-extension by @JonasGroeger (#645)
- cookiecutter-django-gulp by @valerymelou (#648)
-
v1.3.0 Changes
November 10, 2015π The goal of this release is to extend the user config feature and to
π make hook execution more robust.π New Features:
- Abort project generation if
pre_gen_project
orpost_gen_project
hook scripts fail, thanks to @eliasdorneles (#464, #549) - Extend user config capabilities with additional cli options
0οΈβ£--config-file
and--default-config
and environment variable
COOKIECUTTER_CONFIG
, thanks to @jhermann, @pfmoore, and
@hackebrot (#258, #424, #565)
π Bug Fixes:
- π Fixed conditional dependencies for wheels in setup.py, thanks to
@hackebrot (#557, #568) - βͺ Reverted skipif markers to use correct reasons (bug fixed in
β pytest), thanks to @hackebrot (#574)
Other Changes:
- π Improved path and documentation for rendering the Sphinx
π documentation, thanks to @eliasdorneles and @hackebrot
(#562, #583) - β Added additional help entrypoints, thanks to @michaeljoseph
(#563, #492) - β Added Two Scoops Academy to the README, thanks to
@hackebrot (#576) - Now handling trailing slash on URL, thanks to @ramiroluz
(#573, #546) - π Support for testing x86 and x86-64 architectures on appveyor, thanks
to @maiksensi (#567) - β
Made tests work without installing Cookiecutter, thanks to
@vincentbernat (#550) - Encoded the result of the hook template to utf8, thanks to
@ionelmc (#577. #578) - β Added test for _run_hook_from_repo_dir, thanks to @hackebrot
(#579, #580) - Implemented bumpversion, thanks to @hackebrot (#582)
- β Added more cookiecutter templates to the mix:
- π cookiecutter-octoprint-plugin by @foosel (#560)
- wagtail-cookiecutter-foundation by @chrisdev, et al. (#566)
- Abort project generation if
-
v1.2.1 Changes
October 18, 2015Zimtsterne are cinnamon star cookies
π New Feature:
- Returns rendered project dir, thanks to @hackebrot (#553)
π Bug Fixes:
- Factor in choice variables (as introduced in 1.1.0) when using a user config or extra context, thanks to @ionelmc and @hackebrot (#536, #542).
Other Changes:
- π Enable py35 support on Travis by using Python 3.5 as base Python, thanks to @maiksensi (#540)
- π² If a filename is empty, do not generate. Log instead (@iljabauer / #444)
- π Fix tests as per last changes in cookiecutter-pypackage, thanks to @eliasdorneles (#555).
- β Removed deprecated cookiecutter-pylibrary-minimal from the list, thanks to @ionelmc (#556)
- π Moved to using
rualmel.yaml
instead ofPyYAML
, except for Windows users on Python 2.7, thanks to @pydanny (#557)
π Why 1.2.1 instead of 1.2.0? There was a problem in the distribution that we pushed to PyPI. Since you can't replace previous files uploaded to PyPI, we deleted the files on PyPI and released 1.2.1.
-
v1.1.0 Changes
September 26, 2015π The primary goal of this release was to add copy without render and a few additional command-line options such as
--overwrite-if-exists
,βreplay
, andoutput-dir
.π Features:
- β Added copy without
β render
π feature, making it much easier for developers of Ansible, Salt
Stack, and other recipe-based tools to work with Cookiecutter.
Thanks to @osantana and
@LucianU for their innovation, as well
π as @hackebrot for fixing the Windows
problems (#132, #184, #425). - β Added specify output directory, thanks to @tony and
@hackebrot (#531, #452), - Abort template rendering if the project output directory already
exists, thanks to @lgp171188 (#470,
#471). - β Add a flag to overwrite existing output directory, thanks to
@lgp171188 for the implementation
(#495) and @schacki,
@ionelmc,
@pydanny and
@hackebrot for submitting issues and
code reviews (#475, #493). - β Remove test command in favor of tox, thanks to
@hackebrot (#480). - π Allow cookiecutter invocation, even without installing it, via
python -m cookiecutter.cli
, thanks to
@vincentbernat and
@hackebrot (#449, #487). - π Improve the type detection handler for online and offline
repositories, thanks to @charlax
(#490). - β Add replay feature, thanks to
@hackebrot (#501). - Be more precise when raising an error for an invalid user config
file, thanks to @vaab and
@hackebrot (#378, #528). - β Added official Python 3.5 support, thanks to
@pydanny and
@hackebrot (#522).
Other Changes:
- β‘οΈ Updated click requirement to < 6.0, thanks to
@pydanny (#473). - β Added landscape.io flair, thanks to
@michaeljoseph (#439). - Descriptions of PEP8 specifications and milestone management, thanks
to @michaeljoseph (#440). - β Added alternate installation options in the documentation, thanks to
@pydanny (#117, #315). - β
The test of the which() function now tests against the date command,
thanks to @vincentbernat (#446) - Ensure file handles in setup.py are closed using with statement,
thanks to @svisser (#280). - β Removed deprecated and fully extraneous compat.is_exe() function,
thanks to @hackebrot (#485). - Disabled sudo in .travis, thanks to
@hackebrot (#482). - Switched to shields.io for problematic badges, thanks to
@pydanny (#491). - β Added whichcraft and removed
compat.which()
, thanks to
@pydanny (#511). - π Changed to export tox environment variables to codecov, thanks to
@maiksensi. (#508). - π Moved to using click version command, thanks to
@hackebrot (#489). - Don't use unicode_literals to please click, thanks to
@vincentbernat (#503). - Remove warning for Python 2.6 from init.py, thanks to
@hackebrot. - β Removed compat.py module, thanks to
@hackebrot. - β Added future to requirements, thanks to
@hackebrot. - π Fixed problem where expanduser does not resolve "~" correctly on
π windows 10 using tox, thanks to
@maiksensi. (#527) - β Added more cookiecutter templates to the mix:
- cookiecutter-beamer
by @luismartingil (#307) - β
cookiecutter-pytest-plugin
β by @pytest-dev and
@hackebrot (#481) - cookiecutter-csharp-objc-binding
by @SandyChapman (#460) - cookiecutter-flask-foundation
by @JackStouffer (#457) - cookiecutter-tryton
by @fulfilio (#465) - cookiecutter-tapioca
by @vintasoftware (#496) - π cookiecutter-sublime-text-3-plugin
by @kkujawinski (#500) - cookiecutter-muffin
by @drgarcia1986 (#494) - cookiecutter-django-rest
by @agconti (#520) - cookiecutter-es6-boilerplate
by @agconti (#521) - cookiecutter-tampermonkey
by @christabor (#516) - cookiecutter-wagtail
by @torchbox (#533)
- β Added copy without
-
v1.0.0 Changes
March 16, 2015π The goals of this release were to formally remove support for Python 2.6 and continue the move to using py.test.
π Features:
- β
Convert the unittest suite to py.test for the sake of comprehensibility, thanks to
@hackebrot
_ (#322, #332, #334, #336, #337, #338, #340, #341, #343, #345, #347, #351, #412, #413, #414). - β Generate pytest coverage, thanks to @michaeljoseph (#326).
- π§ Documenting of Pull Request merging and HISTORY.rst maintenance, thanks to @michaeljoseph (#330).
- Large expansions to the tutorials thanks to @hackebrot (#384)
- Switch to using Click for command-line options, thanks to @michaeljoseph (#391, #393).
- β Added support for working with private repos, thanks to @marctc (#265).
- π§ Wheel configuration thanks to @michaeljoseph (#118).
Other Changes:
- π Formally removed support for 2.6, thanks to @pydanny (#201).
- π Moved to codecov for continuous integration test coverage and badges, thanks to @michaeljoseph (#71, #369).
- π Made JSON parsing errors easier to debug, thanks to @rsyring and @mark0978 (#355, #358, #388).
- β‘οΈ Updated to Jinja 2.7 or higher in order to control trailing new lines in templates, thanks to @sfermigier (#356).
- π Tweaked flake8 to ignore e731, thanks to @michaeljoseph (#390).
- π Fixed failing Windows tests and corrected AppVeyor badge link thanks to @msabramo (#403).
- β Added more Cookiecutters to the list:
- cookiecutter-scala-spark by @jpzk
- cookiecutter-atari2600 by @joeyjoejoejr
- cookiecutter-bottle by @avelino
- cookiecutter-latex-article by @Kreger51
- cookiecutter-django-rest-framework by @jpadilla
- cookiedozer by @hackebrot
- β
Convert the unittest suite to py.test for the sake of comprehensibility, thanks to
-
v0.9.1 Changes
January 20, 2015- π Handle non-strings in JSON, thanks to @jacebrowning (#370, #368).
-
v0.9.0 Changes
January 13, 2015π The goals of this release were to add the ability to Jinja2ify the cookiecutter.json default values, and formally launch support for Python 3.4.
π Features:
- Python 3.4 is now a first class citizen, thanks to everyone.
- cookiecutter.json values are now rendered Jinja2 templates, thanks to \@bollwyvl (#291).
- π Move to py.test, thanks to @pfmoore (#319) and @ramiroluz (#310).
- β Add PendingDeprecation warning for users of Python 2.6, as support for it is gone in Python 2.7, thanks to @michaeljoseph (#201).
π Bug Fixes:
- Corrected typo in Makefile, thanks to @inglesp (#297).
- π» Raise an exception when users don\'t have git or hg installed, thanks to @pydanny (#303).
Other changes:
- Creation of gitter account for logged chat, thanks to @michaeljoseph.
- β Added ReadTheDocs badge, thanks to @michaeljoseph.
- β Added AppVeyor badge, thanks to @pydanny
- π Documentation and PyPI trove classifier updates, thanks to @thedrow (#323 and #324)
-
v0.9.e.1
January 20, 2015 -
v0.8.0 Changes
October 30, 2014π The goal of this release was to allow for injection of extra context via the Cookiecutter API, and to fix minor bugs.
π Features:
- cookiecutter() now takes an optional extra_context parameter, thanks to @michaeljoseph, @fcurella, @aventurella, @emonty, @schacki, @ryanolson, @pfmoore, @pydanny, @audreyfeldroy (#260).
- Context is now injected into hooks, thanks to @michaeljoseph and @dinopetrone.
- π Moved all Python 2/3 compatibility code into cookiecutter.compat, making the eventual move to six easier, thanks to @michaeljoseph (#60, #102).
- β Added cookiecutterrc defined aliases for cookiecutters, thanks to @pfmoore (#246)
- β Added flake8 to tox to check for pep8 violations, thanks to @natim.
π Bug Fixes:
- π Newlines at the end of files are no longer stripped, thanks to @treyhunner (#183).
- Cloning prompt suppressed by respecting the
no\_input
flag, thanks to @trustrachel (#285) - With Python 3, input is no longer converted to bytes, thanks to @uranusjr (#98).
Other Changes:
- β Added more Cookiecutters to the list:
-
v0.7.2 Changes
August 05, 2014π The goal of this release was to fix cross-platform compatibility, primarily Windows bugs that had crept in during the addition of new π features. As of this release, Windows is a first-class citizen again, now complete with continuous integration.
π Bug Fixes:
- π Fixed the contributing file so it displays nicely in Github, thanks to @pydanny.
- β‘οΈ Updates 2.6 requirements to include simplejson, thanks to @saxix.
- Avoid unwanted extra spaces in string literal, thanks to @merwok.
- π Fix @unittest.skipIf error on Python 2.6.
- π Let sphinx parse :param: properly by inserting newlines #213, thanks to @mineo.
- π Fixed Windows test prompt failure by replacing stdin per @cjrh in #195.
- π Made rmtree remove readonly files, thanks to @pfmoore.
- β Now using tox to run tests on Appveyor, thanks to @pfmoore (#241).
- π Fixed tests that assumed the system encoding was utf-8, thanks to @pfmoore (#242, #244).
- β Added a tox ini file that uses py.test, thanks to @pfmoore (#245).
Other Changes:
- @audreyfeldroy formally accepted position as BDFL of cookiecutter.
- Elevated @pydanny, @michaeljoseph, and @pfmoore to core committer status.
- β Added Core Committer guide, by @audreyfeldroy.
- π Generated apidocs from make docs, by @audreyfeldroy.
- β Added contributing command to the makedocs function, by @pydanny.
- π Refactored contributing documentation, included adding core committer instructions, by @pydanny and @audreyfeldroy.
- Do not convert input prompt to bytes, thanks to @uranusjr (#192).
- β Added troubleshooting info about Python 3.3 tests and tox.
- β Added documentation about command line arguments, thanks to @saxix.
- π Style cleanups.
- β Added environment variable to disable network tests for environments without networking, thanks to @vincentbernat.
- β Added Appveyor support to aid Windows integrations, thanks to @pydanny (#215).
- CONTRIBUTING.rst is now generated via make contributing, thanks to @pydanny (#220).
- β Removed unnecessary endoing argument to json.load, thanks to @pfmoore (#234).
- π Now generating shell hooks dynamically for Unix/Windows portability, thanks to @pfmoore (#236).
- β Removed non-portable assumptions about directory structure, thanks to @pfmoore (#238).
- β Added a note on portability to the hooks documentation, thanks to @pfmoore (#239).
- Replaced unicode_open with direct use of io.open, thanks to @pfmoore (#229).
- β Added more Cookiecutters to the list: