diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 42a9bb9..d489fbd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,8 @@ on: push: branches: - master + paths: + - package.json env: CI: true diff --git a/.release b/.release index 9be2b27..0890e94 160000 --- a/.release +++ b/.release @@ -1 +1 @@ -Subproject commit 9be2b270ef836bcfefda085674bf62e2a91defe8 +Subproject commit 0890e945e4e061c96c7b2ab45017525904c17728 diff --git a/Changes.md b/Changes.md index 033f374..c7a1ed3 100644 --- a/Changes.md +++ b/Changes.md @@ -1,6 +1,9 @@ ### Unreleased -- Update milter headers handling to be compatible with rspamd 3.3 preserving compatibility with older versions + +### [1.2.0] - 2022-10-14 + +- Make milter header handling compatible with rspamd 3.3 (#30) ### [1.1.8] - 2022-06-06 @@ -61,3 +64,4 @@ [1.1.8]: https://github.com/haraka/haraka-plugin-rspamd/releases/tag/1.1.8 +[1.1.9]: https://github.com/haraka/haraka-plugin-rspamd/releases/tag/1.1.9 diff --git a/index.js b/index.js index 7b8fa20..96725dd 100644 --- a/index.js +++ b/index.js @@ -185,7 +185,7 @@ exports.do_milter_headers = function (connection, data) { } if (data.milter.add_headers) { - connection.logdebug("milter.add_headers: " + JSON.stringify(data.milter.add_headers), plugin); + connection.logdebug(`milter.add_headers: ${JSON.stringify(data.milter.add_headers)}`, plugin); Object.keys(data.milter.add_headers).forEach((key) => { const header_values = data.milter.add_headers[key]; if (!header_values) return; diff --git a/package.json b/package.json index 9d76d0b..150b910 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "haraka-plugin-rspamd", - "version": "1.1.8", + "version": "1.2.0", "description": "Haraka plugin for rspamd", "main": "index.js", "scripts": {