In case when there is commit + revert commit (with ref to the original commit) within a single version/tag, it would make sense to exclude both of them from commits passed for changelog rendering as they should basically cancel each other anyway. It would be nice to have it at least as an optional feature that can be enabled using configuration.
GitLab's changelog generator seems to have similar feature already, see: