Releases: copier-org/copier
Releases · copier-org/copier
v9.10.3 (2025-10-17)
Fix
- updating: render templated skip-if-exists patterns before applying patch with
excluded paths - updating: exclude only Git-ignored files when applying patch
- updating: ignore paths added to the
_excludelist in new template version when
updating
v9.10.2 (2025-09-09)
Fix
- deps: remove prompt-toolkit version cap
v9.10.1 (2025-08-28)
Fix
- deps: cap prompt-toolkit to <3.0.52
v9.10.0 (2025-08-26)
Feat
- add support for nested multi-document includes in
copier.yml(#2251)
Fix
- disable default answer validator for secret questions
v9.9.1 (2025-08-18)
Security
- disallow render paths outside destination directory
- cast Jinja context path variables to
pathlib.PurePath
v9.9.0 (2025-08-01)
v9.8.0 (2025-07-07)
Feat
- add support for providing serialized answers to multiselect choice questions
- updating: add VCS ref sentinel
:current:for referring to the current template
ref
Fix
- avoid infinite recursion when accessing
_copier_conf.answers_filevia Jinja
context hook - validate default answers
- correct git stage order on merge conflicts
v9.7.1 (2025-04-23)
Refactor
- import from module
_toolsinstead oftools
v9.7.0 (2025-04-22)
Feat
- raise new
TaskErrorexception on task errors - raise
InteractiveSessionErrorwhen prompting in non-interactive environment
Fix
- settings: use
<CONFIG_ROOT>/copieras settings directory on Windows (#2071) - updating: ignore last answer of
when: falsequestions - restore access to full rendering context in prompt phase
Refactor
- re-expose API with deprecation warnings on non-public API imports
- rename internal modules with a
_prefix
v9.6.0 (2025-03-09)
Feat
- Add
_copier_operationvariable (#1733) - context: expose a
_copier_phasecontext variable
Fix
- explicitly specify file encoding for windows (#2007)
- auto-detect encoding when reading external data file
- settings: auto-detect encoding when reading settings file
- cli: auto-detect encoding when reading unicode-encoded file specified with
--data-file - expose only answers in question rendering context
- ignore
$fileif$file.tmplexists when subdirectory is used - decode external data file content explicitly as UTF-8
- decode answers file content explicitly as UTF-8
Refactor
- use common answers file loader