Error on update Logstash 5.2 => 5.3

After the update I get the following error:

[2017-03-30T17:17:21,667][ERROR][logstash.filters.kv ] Unknown setting 'trim' for kv
[2017-03-30T17:17:21,692][ERROR][logstash.agent ] Cannot load an invalid configuration {:reason=>"Something is wrong with your configuration."}

I had a deprecated grok filter for postfix... I just rmove it and now logstash work like a charm.

yeah.. version 4.0.0 of the kv filter broke some settings https://github.com/logstash-plugins/logstash-filter-kv/blob/master/CHANGELOG.md#400

this version wasn't supposted to be included in a logstash minor version but it was..

This issue was created to track this problem