Releases: copier-org/copier
Releases · copier-org/copier
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)
v9.4.1 (2024-10-18)
Fix
- restore support for
preserve_symlinks: false
for directories (#1820)
v9.4.0 (2024-10-15)
Fix
- exclude: support negative exclude matching child of excluded parent
- parse new answer when
--skip-answered
is used - validate answers to secret questions
- updating: do not recreate deleted paths on update (#1719)
- support Git config without user identity
Refactor
- set default value for
keep_trailing_newline
more idiomatically - drop support for Python 3.8
Perf
- updating: avoid creating subproject copy
v9.3.1 (2024-07-03)
Fix
- pass
--skip-tasks
flag to worker (#1688)
v9.3.0 (2024-07-01)
Feat
- add simpler migrations configuration syntax (#1510)
Fix
- tasks: do not consider unsafe if they are being skipped
- add context information to answer validation error message (#1609)
- do not overwrite identical files (#1576)
- updating: unset invalid last answers
- render
default
list items for multi-select choice questions - updating: yield merge conflict when both template and project add same file
v9.2.0 (2024-04-04)
Feat
- tasks: add support for skipping tasks (#1561)
- add support for validating multi-select choice answers
Fix
- ignore empty YAML documents in
copier.yml
- preserve choices order in answers to multi-select choice questions
- exclude: apply exclude matcher to rendered path
Refactor
- drop
pyyaml-include
dependency and reimplement relevant features
Perf
- apply
PERF
lint rules fixes (#1556)
v9.1.1 (2024-01-16)
Fix
- don't fail in systems with windows 1252 encoding (probably)
- skip excluded paths before rendering
v9.1.0 (2023-11-27)
Feat
- Conflicts on updates now appear as git merge conflicts, also on VSCode
- choices: support questionary checkbox for multiple choices using
multiselect: true
.
Fix
v9.0.1 (2023-10-30)
Fix
- don't produce output when imported with
$FORCE_COLOR=1
env