From a94b97278bdbb42f14178d0029096a6c9393f173 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 3 Feb 2025 19:15:37 -0800 Subject: [PATCH] Release v8.1.1 (#59) - fix: connection.remote_host -> connection.remote.host --- CHANGELOG.md | 5 +++++ CONTRIBUTORS.md | 2 +- index.js | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3983fb..9543c54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). ### Unreleased +### [8.1.1] - 2025-02-03 + +- fix: connection.remote_host -> connection.remote.host + ### [8.1.0] - 2025-02-03 - FEATURE: the index name can now be specified in the config @@ -102,3 +106,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). [8.0.3]: https://github.com/haraka/haraka-plugin-elasticsearch/releases/tag/v8.0.3 [8.0.4]: https://github.com/haraka/haraka-plugin-elasticsearch/releases/tag/v8.0.4 [8.1.0]: https://github.com/haraka/haraka-plugin-elasticsearch/releases/tag/v8.1.0 +[8.1.1]: https://github.com/haraka/haraka-plugin-elasticsearch/releases/tag/v8.1.1 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 299903b..16b84c5 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -2,7 +2,7 @@ This handcrafted artisinal software is brought to you by: -|
msimerson (76) |
Dexus (2) |
sriccio (2) |
gtech99 (1) | +|
msimerson (77) |
Dexus (2) |
sriccio (2) |
gtech99 (1) | | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | this file is generated by [.release](https://github.com/msimerson/.release). diff --git a/index.js b/index.js index b8b693d..6ef4aa0 100644 --- a/index.js +++ b/index.js @@ -120,7 +120,7 @@ exports.log_connection = function (next, connection) { if (!this.cfg.main.log_connections) return next() if (this.cfg.ignore_hosts) { - if (this.cfg.ignore_hosts[connection.remote_host]) return next() + if (this.cfg.ignore_hosts[connection.remote.host]) return next() } if ( diff --git a/package.json b/package.json index a4beb0c..91e7519 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "haraka-plugin-elasticsearch", - "version": "8.1.0", + "version": "8.1.1", "description": "Haraka plugin that saves logs to Elasticsearch", "files": [ "CHANGELOG.md",