8000 Release 1.5.0 (2016-12-17) Alfajor · sat28/cookiecutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

1.5.0

@hackebrot hackebrot tagged this 18 Dec 21:18
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 (\#666).
-   Updated conda installation instructions to work with the new conda-forge
    distribution of Cookiecutter, thanks to @pydanny and especially @bollwyvl
    (\#232, \#705).
-   Refactor code responsible for interaction with version control systems and
    raise better error messages, thanks to @michaeljoseph (\#778).
-   Add support for executing cookiecutter using `python -m cookiecutter` or
    from a checkout/zip file, thanks to @brettcannon (\#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 (\#792).
-   Existing templates in a user's `cookiecutters_dir` (default is
    `~/.cookiecutters/`) can now be referenced by directory name, thanks to
    @michaeljoseph (\#825).
-   Add support for dict values in `cookiecutter.json`, thanks to @freakboy3742
    and @hackebrot(https://github.com/hackebrot) (\#815, \#858).
-   Add a `jsonify` filter to default jinja2 extensions that json.dumps a
    Python object into a string, thanks to @aroig (\#791).

Bug Fixes:

-   Fix typo in the error logging text for when a hook did not exit
    successfully, thanks to @luzfcb (\#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 (\#752, \#753)
-   Ignore hook files with tilde-suffixes, thanks to @hackebrot (\#768)
-   Fix a minor issue with the code that generates a name for a template,
    thanks to @hackebrot (\#798)
-   Handle empty hook file or other OS errors, thanks to @christianmlong for
    raising this bug and @jcarbaugh and @hackebrot for the fix (\#632, \#729,
    \#862)
-   Resolve an issue with custom extensions not being loaded for
    `pre_gen_project` and `post_gen_project` hooks, thanks to @cheungnj (\#860)

Other Changes:

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