Copier

Latest version: v9.2.0

Safety actively analyzes 623047 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

9.2.0

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)

9.1.1

Fix

- don't fail in systems with windows 1252 encoding (probably)
- skip excluded paths before rendering

9.1.0

Feat

- Conflicts on updates now appear as git merge conflicts, also on VSCode
- **choices**: support questionary checkbox for multiple choices using
`multiselect: true`.

Fix

- mark package as typed
- Normalize paths obtained from Git commands output
- don't crash when update replaces file with symlink (or vice versa) (1409)
- keep git-ignored files on update (1373)
- address deprecation warning in `shutil.rmtree(onerror=...)` (1401)

9.0.1

Fix

- don't produce output when imported with `$FORCE_COLOR=1` env

9.0.0

BREAKING CHANGE

- Changes the return code for unsafe template error from 2 to 4 to avoid return code
collision with Plumbum's `SwitchError` type errors which use return code 2.

Feat

- allow overriding data file with CLI arguments (1332)
- **cli**: read answers from yaml file (1325)

Fix

- **vcs**: prevent local clone from being stuck by gpg prompts (1360)
- **pydantic**: compatible with 2.4+, solving `FieldValidationInfo` warning (1342)
- fix answer validation for `type: str` questions
- version guess from tags that don't start with `v`, but are still PEP440 compliant
(1048)
- **cli**: use return code 4 for unsafe template error
- **nix**: detect build version appropriately

8.3.0

Feat

- add `-A` as an alias for `--skip-answered`, and support it in `recopy` too
- add `--skip-answered` flag to avoid repeating recorded answers

Fix

- **recopy**: never clone old template (even less if it's just for cleanup)

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.