Skip to content

Tags: jonathansick/cookiecutter

Tags

1.6.0

Toggle 1.6.0's commit message
1.6.0 (2017-10-15) Tim Tam

New Features:

-   Include template path or template URL in cookiecutter context under
    `_template`, thanks to [@aroig](https://github.com/aroig) (\cookiecutter#774)
-   Add a URL abbreviation for GitLab template projects, thanks to
    [@hackebrot](https://github.com/hackebrot) (\cookiecutter#963)
-   Add option to use templates from Zip files or Zip URLs, thanks to
    [@freakboy3742](https://github.com/freakboy3742) (\cookiecutter#961)

Bug Fixes:

-   Fix an issue with missing default template abbreviations for when a
    user defined custom abbreviations, thanks to
    [@noirbizarre](https://github.com/noirbizarre) for the issue report
    and [@hackebrot](https://github.com/hackebrot) for the fix (\cookiecutter#966,
    \cookiecutter#967)
-   Preserve existing output directory on project generation failure,
    thanks to [@ionelmc](https://github.com/ionelmc) for the report and
    [@michaeljoseph](https://github.com/michaeljoseph) for the fix
    (\cookiecutter#629, \cookiecutter#964)
-   Fix Python 3.x error handling for `git` operation failures, thanks
    to [@jmcarp](https://github.com/jmcarp) (\cookiecutter#905)

Other Changes:

-   Fix broken link to *Copy without Render* docs, thanks to
    [@coreysnyder04](https://github.com/coreysnyder04) (\cookiecutter#912)
-   Improve debug log message for when a hook is not found, thanks to
    [@raphigaziano](https://github.com/raphigaziano/) (\cookiecutter#160)
-   Fix module summary and `expand_abbreviations()` doc string as per
    pep257, thanks to [@terryjbates](https://github.com/terryjbates)
    (\cookiecutter#772)
-   Update doc strings in `cookiecutter/cli.py` and
    `cookiecutter/config.py` according to pep257, thanks to
    [@terryjbates](https://github.com/terryjbates) (\cookiecutter#922, \cookiecutter#931)
-   Update doc string for `is_copy_only_path()` according to pep257,
    thanks to [@mathagician](https://github.com/mathagician) and
    [@terryjbates](https://github.com/terryjbates) (\cookiecutter#935, \cookiecutter#949)
-   Update doc strings in `cookiecutter/extensions.py` according to
    pep257, thanks to [@meahow](https://github.com/meahow) (\cookiecutter#996)
-   Fix miscellaneous issues with building docs, thanks to
    [@stevepiercy](https://github.com/stevepiercy) (\cookiecutter#889)
-   Re-implement Makefile and update several make rules, thanks to
    [@hackebrot](https://github.com/hackebrot) (\cookiecutter#930)
-   Fix broken link to pytest docs, thanks to
    [@eyalev](https://github.com/eyalev) for the issue report and
    [@devstrat](https://github.com/devstrat) for the fix (\cookiecutter#939, \cookiecutter#940)
-   Add `test_requirements.txt` file for easier testing outside of tox,
    thanks to [@ramnes](https://github.com/ramnes) (\cookiecutter#945)
-   Improve wording in *copy without render* docs, thanks to
    [@eyalev](https://github.com/eyalev) (\cookiecutter#938)
-   Fix a number of typos, thanks to
    [@delirious-lettuce](https://github.com/delirious-lettuce) (\cookiecutter#968)
-   Improved *extra context* docs by noting that extra context keys must
    be present in the template's `cookiecutter.json`, thanks to
    [@karantan](https://github.com/karantan) for the report and fix
    (\cookiecutter#863, \cookiecutter#864)
-   Added more cookiecutter templates to the mix:
    -   [cookiecutter-kata-cpputest](https://github.com/13coders/cookiecutter-kata-cpputest)
        by [@13coders](https://github.com/13coders) (\cookiecutter#901)
    -   [cookiecutter-kata-gtest](https://github.com/13coders/cookiecutter-kata-gtest)
        by [@13coders](https://github.com/13coders) (\cookiecutter#901)
    -   [cookiecutter-pyramid-talk-python-starter](https://github.com/mikeckennedy/cookiecutter-pyramid-talk-python-starter)
        by [@mikeckennedy](https://github.com/mikeckennedy) (\cookiecutter#915)
    -   [cookiecutter-android](https://github.com/alexfu/cookiecutter-android)
        by [@alexfu](https://github.com/alexfu) (\cookiecutter#890)
    -   [cookiecutter-lux-python](https://github.com/alexkey/cookiecutter-lux-python)
        by [@alexkey](https://github.com/alexkey) (\cookiecutter#895)
    -   [cookiecutter-git](https://github.com/webevllc/cookiecutter-git)
        by [@tuxredux](https://github.com/tuxredux) (\cookiecutter#921)
    -   [cookiecutter-ansible-role-ci](https://github.com/ferrarimarco/cookiecutter-ansible-role)
        by [@ferrarimarco](https://github.com/ferrarimarco) (\cookiecutter#903)
    -   [cookiecutter\_dotfile](https://github.com/bdcaf/cookiecutter_dotfile)
        by [@bdcaf](https://github.com/bdcaf) (\cookiecutter#925)
    -   [painless-continuous-delivery](https://github.com/painless-software/painless-continuous-delivery)
        by [@painless-software](https://github.com/painless-software)
        (\cookiecutter#927)
    -   [cookiecutter-molecule](https://github.com/retr0h/cookiecutter-molecule)
        by [@retr0h](https://github.com/retr0h) (\cookiecutter#954)
    -   [sublime-snippet-package-template](https://github.com/agenoria/sublime-snippet-package-template)
        by [@agenoria](https://github.com/agenoria) (\cookiecutter#956)
    -   [cookiecutter-conda-python](https://github.com/conda/cookiecutter-conda-python)
        by [@conda](https://github.com/conda) (\cookiecutter#969)
    -   [cookiecutter-flask-minimal](https://github.com/candidtim/cookiecutter-flask-minimal)
        by [@candidtim](https://github.com/candidtim) (\cookiecutter#977)
    -   [cookiecutter-pypackage-rust-cross-platform-publish](https://github.com/mckaymatt/cookiecutter-pypackage-rust-cross-platform-publish)
        by [@mckaymatt](https://github.com/mckaymatt) (\cookiecutter#957)
    -   [cookie-cookie](https://github.com/tuxredux/cookie-cookie) by
        [@tuxredux](https://github.com/tuxredux) (\cookiecutter#951)
    -   [cookiecutter-telegram-bot](https://github.com/Ars2014/cookiecutter-telegram-bot)
        by [@Ars2014](https://github.com/Ars2014) (\cookiecutter#984)
    -   [python-project-template](https://github.com/Kwpolska/python-project-template)
        by [@Kwpolska](https://github.com/Kwpolska) (\cookiecutter#986)
    -   [wemake-django-template](https://github.com/wemake-services/wemake-django-template)
        by [@wemake-services](https://github.com/wemake-services)
        (\cookiecutter#990)
    -   [cookiecutter-raml](https://github.com/genzj/cookiecutter-raml)
        by [@genzj](https://github.com/genzj) (\cookiecutter#994)
    -   [cookiecutter-anyblok-project](https://github.com/AnyBlok/cookiecutter-anyblok-project)
        by [@AnyBlok](https://github.com/AnyBlok) (\cookiecutter#988)
    -   [cookiecutter-devenv](https://bitbucket.org/greenguavalabs/cookiecutter-devenv.git)
        by [@greenguavalabs](https://bitbucket.org/greenguavalabs)
        (\cookiecutter#991)

1.5.1

Toggle 1.5.1's commit message
1.5.1 (2017-02-04) Alfajor

New Features:

-   Major update to installation documentation, thanks to [@stevepiercy] (\cookiecutter#880)

Bug Fixes:

-   Resolve an issue around default values for dict variables, thanks to [@e-kolpakov] for raising the issue and [@hackebrot] for the PR (\cookiecutter#882, \cookiecutter#884)

Other Changes:

-   Contributor documentation reST fixes, thanks to [@stevepiercy] (\cookiecutter#878)
-   Added more cookiecutter templates to the mix:
    -   [widget-cookiecutter] by [@willingc] (\cookiecutter#781)
    -   [cookiecutter-django-foundation] by [@Parbhat] (\cookiecutter#804)
    -   [cookiecutter-tornado] by [@hkage] (\cookiecutter#807)
    -   [cookiecutter-django-ansible] by [@Ivaylo-Bachvarov] (\cookiecutter#816)
    -   [CICADA] by [@elenimijalis] (\cookiecutter#840)
    -   [cookiecutter-tf-module] by [@VDuda] (\cookiecutter#843)
    -   [cookiecutter-pyqt4] by [@aeroaks] (\cookiecutter#847)
    -   [cookiecutter-golang] by [@mjhea0] and [@lacion] (\cookiecutter#872, \cookiecutter#873)
    -   [cookiecutter-elm], [cookiecutter-java] and [cookiecutter-spring-boot] by [@m-x-k] (\cookiecutter#879)

  [@stevepiercy]: https://github.com/stevepiercy
  [@e-kolpakov]: https://github.com/e-kolpakov
  [@hackebrot]: https://github.com/hackebrot
  [widget-cookiecutter]: https://github.com/jupyter/widget-cookiecutter
  [@willingc]: https://github.com/willingc
  [cookiecutter-django-foundation]: https://github.com/Parbhat/cookiecutter-django-foundation
  [@Parbhat]: https://github.com/Parbhat
  [cookiecutter-tornado]: https://github.com/hkage/cookiecutter-tornado
  [@hkage]: https://github.com/hkage
  [cookiecutter-django-ansible]: https://github.com/HackSoftware/cookiecutter-django-ansible
  [@Ivaylo-Bachvarov]: https://github.com/Ivaylo-Bachvarov
  [CICADA]: https://github.com/TAMU-CPT/CICADA
  [@elenimijalis]: https://github.com/elenimijalis
  [cookiecutter-tf-module]: https://github.com/DualSpark/cookiecutter-tf-module
  [@VDuda]: https://github.com/VDuda
  [cookiecutter-pyqt4]: https://github.com/aeroaks/cookiecutter-pyqt4
  [@aeroaks]: https://github.com/aeroaks
  [cookiecutter-golang]: https://github.com/lacion/cookiecutter-golang
  [@mjhea0]: https://github.com/mjhea0
  [@lacion]: https://github.com/lacion
  [cookiecutter-elm]: https://github.com/m-x-k/cookiecutter-elm.git
  [cookiecutter-java]: https://github.com/m-x-k/cookiecutter-java.git
  [cookiecutter-spring-boot]: https://github.com/m-x-k/cookiecutter-spring-boot.git
  [@m-x-k]: https://github.com/m-x-k

1.5.0

Toggle 1.5.0's commit message
1.5.0 (2016-12-17) Alfajor

The primary goal of this release was to add command-line support for passing
extra context, address minor bugs and make a number of improvements.

New Features:

-   Inject extra context with command-line arguments, thanks to @msabramo and
    @michaeljoseph (\cookiecutter#666).
-   Updated conda installation instructions to work with the new conda-forge
    distribution of Cookiecutter, thanks to @pydanny and especially @bollwyvl
    (\cookiecutter#232, \cookiecutter#705).
-   Refactor code responsible for interaction with version control systems and
    raise better error messages, thanks to @michaeljoseph (\cookiecutter#778).
-   Add support for executing cookiecutter using `python -m cookiecutter` or
    from a checkout/zip file, thanks to @brettcannon (\cookiecutter#788).
-   New CLI option `--debug-file PATH` to store a log file on disk. By default
    no log file is written. Entries for `DEBUG` level and higher. Thanks to
    @hackebrot (\cookiecutter#792).
-   Existing templates in a user's `cookiecutters_dir` (default is
    `~/.cookiecutters/`) can now be referenced by directory name, thanks to
    @michaeljoseph (\cookiecutter#825).
-   Add support for dict values in `cookiecutter.json`, thanks to @freakboy3742
    and @hackebrot(https://github.com/hackebrot) (\cookiecutter#815, \cookiecutter#858).
-   Add a `jsonify` filter to default jinja2 extensions that json.dumps a
    Python object into a string, thanks to @aroig (\cookiecutter#791).

Bug Fixes:

-   Fix typo in the error logging text for when a hook did not exit
    successfully, thanks to @luzfcb (\cookiecutter#656)
-   Fix an issue around **replay** file names when **cookiecutter** is used
    with a relative path to a template, thanks to @eliasdorneles for raising
    the issue and @hackebrot for the PR (\cookiecutter#752, \cookiecutter#753)
-   Ignore hook files with tilde-suffixes, thanks to @hackebrot (\cookiecutter#768)
-   Fix a minor issue with the code that generates a name for a template,
    thanks to @hackebrot (\cookiecutter#798)
-   Handle empty hook file or other OS errors, thanks to @christianmlong for
    raising this bug and @jcarbaugh and @hackebrot for the fix (\cookiecutter#632, \cookiecutter#729,
    \cookiecutter#862)
-   Resolve an issue with custom extensions not being loaded for
    `pre_gen_project` and `post_gen_project` hooks, thanks to @cheungnj (\cookiecutter#860)

Other Changes:

-   A great number of improvements have been made in this release. Check out
    the full changelog to find out more.

1.4.0

Toggle 1.4.0's commit message
1.4.0 (2016-03-20) Shortbread

-----------------------------

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) (\cookiecutter#617).
-   Now raises an error if Cookiecutter tries to render a template that contains an undefined variable. Makes generation more robust and secure (\cookiecutter#586). Work done by [@hackebrot](https://github.com/hackebrot) (\cookiecutter#111, \cookiecutter#586, \cookiecutter#592)
-   Uses strict Jinja2 env in prompt, thanks to [@hackebrot](https://github.com/hackebrot) (\cookiecutter#598, \cookiecutter#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) (\cookiecutter#557, \cookiecutter#569, \cookiecutter#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 (\cookiecutter#640, \cookiecutter#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) (\cookiecutter#653)

Bug Fixes:

-   Provided way to define options that have no defaults, thanks to [@johtso](https://github.com/johtso) (\cookiecutter#587, \cookiecutter#588)
-   Make sure that `replay.dump()` and `replay.load()` use the correct user config, thanks to [@hackebrot](https://github.com/hackebrot) (\cookiecutter#590, \cookiecutter#594)
-   Added correct CA bundle for Git on Appveyor, thanks to [@maiksensi](https://github.com/maiksensi) (\cookiecutter#599, \cookiecutter#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 (\cookiecutter#638, \cookiecutter#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 (\cookiecutter#595) and [@hackebrot](https://github.com/hackebrot) for the tests (\cookiecutter#655)

Other Changes:

-   Set path before running tox, thanks to [@maiksensi](https://github.com/maiksensi) (\cookiecutter#615, \cookiecutter#620)
-   Removed xfail in test\_cookiecutters, thanks to [@hackebrot](https://github.com/hackebrot) (\cookiecutter#618)
-   Removed django-cms-plugin on account of 404 error, thanks to [@mativs](https://github.com/mativs) and [@pydanny](https://github.com/pydanny) (\cookiecutter#593)
-   Fixed docs/usage.rst, thanks to [@macrotim](https://github.com/macrotim) (\cookiecutter#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) (\cookiecutter#607, \cookiecutter#608)
-   Added documentation for choice variables, thanks to [@maiksensi](https://github.com/maiksensi) (\cookiecutter#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) (\cookiecutter#606, \cookiecutter#609)
-   Change cookiecutter-pypackage-minimal link, thanks to [@kragniz](https://github.com/kragniz) (\cookiecutter#614)
-   Fix typo in one of the template's description, thanks to [@ryanfreckleton](https://github.com/ryanfreckleton) (\cookiecutter#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) (\cookiecutter#647)
-   Added more cookiecutter templates to the mix:
    -   [cookiecutter-pipproject](https://github.com/wdm0006/cookiecutter-pipproject) by [@wdm0006](https://github.com/wdm0006) (\cookiecutter#624)
    -   [cookiecutter-flask-2](https://github.com/wdm0006/cookiecutter-flask) by [@wdm0006](https://github.com/wdm0006) (\cookiecutter#624)
    -   [cookiecutter-kotlin-gradle](https://github.com/thomaslee/cookiecutter-kotlin-gradle) by [@thomaslee](https://github.com/thomaslee) (\cookiecutter#622)
    -   cookiecutter-tryton\_ by [@cedk](https://github.com/cedk) (\cookiecutter#631)
    -   [django-starter](https://github.com/tkjone/django-starter) by [@tkjone](https://github.com/tkjone) (\cookiecutter#635)
    -   [django-docker-bootstrap](https://github.com/legios89/django-docker-bootstrap) by [@legios89](https://github.com/legios89) (\cookiecutter#636)
    -   [cookiecutter-mediawiki-extension](https://github.com/JonasGroeger/cookiecutter-mediawiki-extension) by [@JonasGroeger](https://github.com/JonasGroeger) (\cookiecutter#645)
    -   [cookiecutter-django-gulp](https://github.com/valerymelou/cookiecutter-django-gulp) by [@valerymelou](https://github.com/valerymelou) (\cookiecutter#648)

1.3.0

Toggle 1.3.0's commit message
1.3.0 (2015-11-10) Pumpkin Spice

================================

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` or `post_gen_project`
    hook scripts fail, thanks to [@eliasdorneles] (\cookiecutter#464, \cookiecutter#549)
-   Extend user config capabilities with additional cli options
    `--config-file` and `--default-config` and environment variable
    `COOKIECUTTER_CONFIG`, thanks to [@jhermann], [@pfmoore], and
    [@hackebrot] (\cookiecutter#258, \cookiecutter#424, \cookiecutter#565)

Bug Fixes:

-   Fixed conditional dependencies for wheels in setup.py, thanks to
    [@hackebrot] (\cookiecutter#557, \cookiecutter#568)
-   Reverted skipif markers to use correct reasons (bug fixed in
    pytest), thanks to [@hackebrot] (\cookiecutter#574)

Other Changes:

-   Improved path and documentation for rendering the Sphinx
    documentation, thanks to [@eliasdorneles] and [@hackebrot]
    (\cookiecutter#562, \cookiecutter#583)
-   Added additional help entrypoints, thanks to [@michaeljoseph]
    (\cookiecutter#563, \cookiecutter#492)
-   Added Two Scoops Academy to the README, thanks to
    [@hackebrot] (\cookiecutter#576)
-   Now handling trailing slash on URL, thanks to [@ramiroluz]
    (\cookiecutter#573, \cookiecutter#546)
-   Support for testing x86 and x86-64 architectures on appveyor, thanks
    to [@maiksensi] (\cookiecutter#567)
-   Made tests work without installing Cookiecutter, thanks to
    [@vincentbernat] (\cookiecutter#550)
-   Encoded the result of the hook template to utf8, thanks to
    [@ionelmc] (\cookiecutter#577. \cookiecutter#578)
-   Added test for \_run\_hook\_from\_repo\_dir, thanks to [@hackebrot]
    (\cookiecutter#579, \cookiecutter#580)
-   Implemented bumpversion, thanks to [@hackebrot] (\cookiecutter#582)
-   Added more cookiecutter templates to the mix:
    -   [cookiecutter-octoprint-plugin] by [@foosel] (\cookiecutter#560)
    -   [wagtail-cookiecutter-foundation] by [@chrisdev], et al. (\cookiecutter#566)

  [@eliasdorneles]: https://github.com/eliasdorneles
  [@jhermann]: https://github.com/jhermann
  [@pfmoore]: https://github.com/pfmoore
  [@hackebrot]: https://github.com/hackebrot
  [@michaeljoseph]: https://github.com/michaeljoseph
  [@ramiroluz]: https://github.com/ramiroluz
  [@maiksensi]: https://github.com/maiksensi
  [@vincentbernat]: https://github.com/vincentbernat
  [@ionelmc]: https://github.com/ionelmc
  [cookiecutter-octoprint-plugin]: https://github.com/OctoPrint/cookiecutter-octoprint-plugin
  [@foosel]: https://github.com/foosel
  [wagtail-cookiecutter-foundation]: https://github.com/chrisdev/wagtail-cookiecutter-foundation
  [@chrisdev]: https://github.com/chrisdev

1.2.1

Toggle 1.2.1's commit message
version 1.2.1

1.1.0

Toggle 1.1.0's commit message
version 1.1.0

1.0.0

Toggle 1.0.0's commit message
version 1.0.0

0.9.1

Toggle 0.9.1's commit message
version 0.9.1

0.9e.1

Toggle 0.9e.1's commit message
version 0.9.1