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
_exclude
list 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_file
via Jinja
context hook - validate default answers
- correct git stage order on merge conflicts
v9.7.1 (2025-04-23)
Refactor
- import from module
_tools
instead oftools
v9.7.0 (2025-04-22)
Feat
- raise new
TaskError
exception on task errors - raise
InteractiveSessionError
when prompting in non-interactive environment
Fix
- settings: use
<CONFIG_ROOT>/copier
as settings directory on Windows (#2071) - updating: ignore last answer of
when: false
questions - 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_operation
variable (#1733) - context: expose a
_copier_phase
context 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
$file
if$file.tmpl
exists 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