Deprecated Features¶
This page lists the features that are deprecated and steps to update your configuration to use the replacements (if any).
string-based filter definitions (since 2.19)¶
With urlwatch 2.19, string-based filter lists are deprecated,
because they are not as flexible as dict-based filter lists
and had some problems (e.g. :
and ,
are treated in a
special way and cannot be used in subfilters easily).
If you have a filter definition like this:
filter: css:body,html2text:re,strip
You can get the same results with a filter definition like this:
filter:
- css:
selector: body
- html2text:
method: re
- strip
Since selector
is the default subfilter for css
, and method
is the default subfilter for html2text
, this can also be written as:
filter:
- css: body
- html2text: re
- strip
If you just have a single filter such as:
filter: html2text
You can change this filter to dict-based using:
filter:
- html2text
keyring setting in SMTP reporter configuration (since 2.18)¶
Since version 2.18, the SMTP reporter configuration now uses auth
to decide if SMTP authentication should be done or not. Previously,
this setting was called keyring
. If you have an old configuration
like this:
report:
email:
smtp:
host: localhost
keyring: false
port: 25
starttls: true
subject: '{count} changes: {jobs}'
You can change the setting to this (replace keyring
with auth
):
report:
email:
smtp:
host: localhost
auth: false
port: 25
starttls: true
subject: '{count} changes: {jobs}'