Skip to content

Release 1.0

Compare
Choose a tag to compare
@praiskup praiskup released this 19 Apr 07:57
· 36 commits to master since this release

New in 1.0:

  • Incompatible changes

    • The 'trim_blocks' and 'lstrip_blocks' jinja2 options are enabled by
      default for more convenient white-space maintenance. The macros blocks
      (conditions, loops, etc.) can look like '{% .. %}' instead of '{%- -%}'
      in most cases. This might require updating the templates (if
      whitespaces matters) or using --keep-block-whitespaces to use the
      old behavior.
  • New features

    • Added option '--version'.

    • Added 'centos-6-x86_64' and 'rhel-8-x86_64' dist config.

    • When the --distro flag is not specified, 'dg' newly automatically
      detects the underlying distribution for the defaults, instead of
      instantiating the templates artificially for 'fedora-21-x86_64'.

    • The --distro flag accepts arguments both with/without ".yaml" suffix.

    • Error output is printed out consistently through fatal() to stderr.