+
Skip to content

Releases: copier-org/copier

v9.10.2 (2025-09-09)

09 Sep 19:42
Compare
Choose a tag to compare

Fix

  • deps: remove prompt-toolkit version cap

v9.10.1 (2025-08-28)

28 Aug 13:12
Compare
Choose a tag to compare

Fix

  • deps: cap prompt-toolkit to <3.0.52

v9.10.0 (2025-08-26)

26 Aug 15:29
Compare
Choose a tag to compare

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)

18 Aug 12:25
Compare
Choose a tag to compare

Security

  • disallow render paths outside destination directory
  • cast Jinja context path variables to pathlib.PurePath

v9.9.0 (2025-08-01)

01 Aug 17:46
Compare
Choose a tag to compare

Feat

  • add support for prompting filesystem paths (#2210)

Fix

  • updating: disable secret question validator when replaying old copy
  • vcs: fix cloning local dirty template repo when core.fsmonitor=true (#2151)

v9.8.0 (2025-07-07)

07 Jul 18:51
Compare
Choose a tag to compare

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)

23 Apr 15:50
Compare
Choose a tag to compare

Refactor

  • import from module _tools instead of tools

v9.7.0 (2025-04-22)

22 Apr 12:52
Compare
Choose a tag to compare

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)

09 Mar 22:00
227379e
Compare
Choose a tag to compare

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)

17 Feb 13:48
d735c8b
Compare
Choose a tag to compare

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)
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载