Skip to content

Commit

Permalink
Add CHANGES for 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaEsmukov committed Oct 22, 2019
1 parent a710a65 commit c782f29
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
34 changes: 34 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
CHANGES
=======

0.2
---
2019-10-22

New features:

* Add RenderedTemplateFileHash strategy (#7).
Contributed by Jonathan Piron.
* Raise an error when the cookiecutter context file is not generated (#9)
* Add support for extra_context to cli (like in `cookiecutter` command) (#10)
* Add jinja2 support to strategies mapping (#13)
* Add automation via Python + built-in support for Git-based projects
and GitLab (#11)

Behaviour changes:

* Strategies: detect newline type from the target file and preserve it (#12)

Packaging changes:

* Add ``jinja2`` requirement (#13)
* Add ``setuptools`` requirement (for ``pkg_resources`` package) (#11)
* Add ``[gitlab]`` extras for installing ``python-gitlab`` (#11)
* Add support for Python 3.8


0.1
---
2019-07-27

Initial public release.
2 changes: 2 additions & 0 deletions src/scaraplate/automation/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def automatic_rollup(
If the target project contains any changes (as reported by
:meth:`.ProjectVCS.is_dirty`), they will be committed by calling
:meth:`.ProjectVCS.commit_changes`.
.. versionadded:: 0.2
"""

with ExitStack() as stack:
Expand Down
3 changes: 3 additions & 0 deletions src/scaraplate/rollup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ def rollup(
Added `extra_context` argument which supersedes
:class:`scaraplate.cookiecutter.CookieCutterContext` context.
Useful to provide context values non-interactively.
``scaraplate.yaml`` now supports cookiecutter variables
in the `strategies_mapping`` keys.
"""
template_path = Path(template_dir)
target_path = Path(target_project_dir)
Expand Down

0 comments on commit c782f29

Please sign in to comment.