Skip to content

Releases: copier-org/copier

v9.4.1 (2024-10-18)

18 Oct 18:19
e824d4f
Compare
Choose a tag to compare

Fix

  • restore support for preserve_symlinks: false for directories (#1820)

v9.4.0 (2024-10-15)

15 Oct 14:21
59f13c0
Compare
Choose a tag to compare

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)

03 Jul 16:07
53f1901
Compare
Choose a tag to compare

Fix

  • pass --skip-tasks flag to worker (#1688)

v9.3.0 (2024-07-01)

01 Jul 07:50
448dd4f
Compare
Choose a tag to compare

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)

04 Apr 15:51
70aa69f
Compare
Choose a tag to compare

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)

16 Jan 15:04
1bef95e
Compare
Choose a tag to compare

Fix

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

v9.1.0 (2023-11-27)

27 Nov 10:24
eb1c781
Compare
Choose a tag to compare

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)

v9.0.1 (2023-10-30)

30 Oct 09:45
d8a0707
Compare
Choose a tag to compare

Fix

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

v9.0.0 (2023-10-22)

22 Oct 13:25
908c090
Compare
Choose a tag to compare

v9.0.0 (2023-10-22)

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

v8.3.0 (2023-09-05)

05 Sep 09:04
d55ad3e
Compare
Choose a tag to compare

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)