Copier

Latest version: v9.4.1

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

Scan your dependencies

Page 2 of 7

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)

8.2.0

Feat

- release on FlakeHub.com too
- add support for pre-update and post-update messages (1288)
- add support for pre-copy and post-copy messages

Fix

- do not immediately fail if git is not available
- provide more clarification in unsafe error message (1280)
- clean up tmp dir
- don't lie about updated files
- require default value for secret question
- fix answer validation against conditional choices with duplicate values

Refactor

- drop support for Python 3.7 (1252)

8.1.0

Feat

- add support for computed values via skipped questions (1220)
- add `--trust` as a less scary alternative to `--UNSAFE` (1179)
- add OS identifier to render context

Fix

- **pydantic**: add upper dependency bound to fix unlocked installations

Refactor

- request answers imperatively instead of implicitly via impure property

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.