All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for multiple template roots. Breaking change: MakoAdapter now accepts
Iterable[Path]
. - Raise error when a file is created more than once. Allow adjustment with a callback.
- Support for python 3.8 .
0.4.0 - 2024-06-25
- Removed deprecated
render
function.
- When rendering with
remove_stale
, do not try removing target root or non-empty directories.
0.3.0 - 2024-02-24
- Re-licensed as BSD 3-Clause.
- Deprecated the
render
function in favour of the newTreeTemplate.render
.
- Add parameter type to the TypeError thrown when the input is not Iterable.
- Accept a report callback, called for every written file.
- Create parent directories
0.2.1 - 2024-02-09
- Fix configuring JinjaAdapter when an instance of Environment is passed.
0.2.0 - 2024-02-09
- Wrap render errors in
RenderError
. - Rename engine adapters from ${engine}Renderer to ${engine}Adapter.
- Reorder
render()
parameters to followsource, target, options
. - Rename parameter
excluded
toexclude
and set default to__pycache__
.
- Add
remove_suffixes
andexclude_extend
optional parameters torender()
.
- Remove support for tornado.
- Remove
template_root
parameter fromredner()
- it's taken from theadapter
.
- Fix template file name resolution for Jinja on Windows.
- Don't try rendering file or directory if its name rendered empty.
0.1.0 - 2023-12-27
The first release.