Skip to content

Commit

Permalink
Add info about v0.6 to UPGRADING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tierpod committed Feb 3, 2022
1 parent f9cbeec commit 6b206a5
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
UPGRADING instructions
======================

Migration to 0.6
----------------

Since v0.6, all templates moved from templates/*.gotmpl files to consts.go (thanks to @morrowc).
This change makes installation and usage easier - you don't have to install and update templates
folder anymore. Inside external template dmarc.Report struct can be used (see consts.go -> txtTmpl
for example).

If you prefer to use self-written external templates, you can still do this:

```yaml
output:
format: "external_template"
external_template: "/path/to/your/txt.gotmpl"
```

* config: added *output -> format -> external_template* format

* config: added *output -> external_template* option

* deleted templates folder

Migration to 0.5
----------------

Expand All @@ -21,4 +43,4 @@ configured, you have to update configuration file.

* config: added *log_datetime* and *log_debug* parameters

* config: added {{. TodayID }} shortcut for filename
* config: added {{ .TodayID }} shortcut for filename

0 comments on commit 6b206a5

Please sign in to comment.