Releases: copier-org/copier
Releases · copier-org/copier
v9.10.2 (2025-09-09)
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
v9.5.0 (2025-02-17)
Feat
- external_data: load data from other YAML files
- settings: allow to define some trusted repositories or prefixes
- settings: add user settings support with
defaults
values (fix #235) - add dynamic file structures in loop using yield-tag (#1855)
- add support for dynamic choices
Fix
- correctly record missing stages in index for merge conflicts (#1907)
- allow importing from a file that has a conditional name
- updating: don't crash when file is removed from template's
.gitignore
file
(#1886) - deps: update dependency packaging to v24.2
- re-render answers file path when producing render context
- restore compatibility with Git prior to v2.31 (#1838)
- updating: don't validate computed values
- Don't mark files without conflict markers as unmerged (#1813)