github copier-org/copier v7.1.0
v7.1.0 (2023-04-07)

latest releases: v9.3.1, v9.3.0, v9.2.0...
17 months ago

Feat

  • include git in flake app
  • support preserving symlinks when copying templates (#938)
  • allow imports in inline templates (#986)
  • properly support update in repo subdirectory (#1069)
  • allow templating _answers_file setting (#1027)
  • let answers file exist in a subdirectory
  • validate answers given via CLI/API
  • exclude nothing by default when using subdirectory
  • add native OS directory separator variable in _copier_conf.sep to allow generating
    dynamic directory structures
  • nix support

Fix

  • include dirty local changes when copying HEAD
  • require answer for questions without default value (#958)
  • cleanup: don't clean up local template in parent folder
  • delete conditionally created file when answer changes (#982)
  • properly support diffs over updates with new interactive answers
  • ignore Git hooks during project update (#1066)
  • properly support diffs over updates with new answers
  • skip tasks in pretend mode (#970)
  • parse CLI data using question's answer parser
  • don't set YAML !include constructor globally (#947)
  • cli: use --conflict flag only in copier update subcommand
  • ignore template repo tags that aren't valid PEP 440 versions
  • --skip option was ignored (#966)
  • Remove useless is_dir check
  • don't attempt to render a file if its name is empty
  • warn users against using shallow clones as template source

Refactor

  • tests: remove unknown timeout marker
  • deduplicate code
  • remove unused method argument
  • simplify casting boolean question settings
  • remove useless code related to not asking a question
  • typing: use Mapping instead of ChainMap type
  • move unrelated code out of try-except block
  • inline: smarter inline conflict markers algorithm

Don't miss a new copier release

NewReleases is sending notifications on new releases.