From b5aca8fc3a309d8985bcd27d93ce02a3815b0918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Sat, 5 Oct 2024 12:39:12 +0200 Subject: [PATCH] Update the changelog --- CHANGELOG.md | 3 +++ example/check_comment.js | 2 +- example/submit_ham.js | 2 +- share/check_comment.http | 2 +- share/submit_ham_spam.http | 2 +- test/client_test.js | 2 +- 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cd99af..b0e4181 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## Version [16.2.1](https://github.com/cedx/akismet.js/compare/v16.2.0...v16.2.1) +- Fixed the [issue #20](https://github.com/cedx/akismet.js/issues/20). + ## Version [16.2.0](https://github.com/cedx/akismet.js/compare/v16.1.1...v16.2.0) - The `AuthorRole`, `CheckResult` and `CommentType` enumerations are now implemented as frozen objects. diff --git a/example/check_comment.js b/example/check_comment.js index c689673..6f69013 100644 --- a/example/check_comment.js +++ b/example/check_comment.js @@ -8,7 +8,7 @@ try { ipAddress: "192.168.123.456", name: "John Doe", role: "guest", - userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0" + userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" }); const comment = new Comment({ diff --git a/example/submit_ham.js b/example/submit_ham.js index db1996f..b5ee6c1 100644 --- a/example/submit_ham.js +++ b/example/submit_ham.js @@ -10,7 +10,7 @@ try { content: "I'm testing out the Service API.", author: new Author({ ipAddress: "192.168.123.456", - userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0" + userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" }) }); diff --git a/share/check_comment.http b/share/check_comment.http index b08b5ab..3ec5e30 100644 --- a/share/check_comment.http +++ b/share/check_comment.http @@ -10,7 +10,7 @@ api_key={{$processEnv AKISMET_API_KEY}} &comment_type=comment &is_test=true &referrer=https://www.npmjs.com/package/@cedx/akismet -&user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0 +&user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 &user_ip=192.168.0.1 &user_role=administrator diff --git a/share/submit_ham_spam.http b/share/submit_ham_spam.http index 75a0c4d..517e9be 100644 --- a/share/submit_ham_spam.http +++ b/share/submit_ham_spam.http @@ -10,7 +10,7 @@ api_key={{$processEnv AKISMET_API_KEY}} &comment_type=comment &is_test=true &referrer=https://www.npmjs.com/package/@cedx/akismet -&user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0 +&user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 &user_ip=192.168.0.1 &user_role=administrator diff --git a/test/client_test.js b/test/client_test.js index 9d65352..e2e7645 100644 --- a/test/client_test.js +++ b/test/client_test.js @@ -21,7 +21,7 @@ describe("Client", () => { name: "Akismet", role: AuthorRole.administrator, url: "https://belin.io", - userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0" + userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" }), content: "I'm testing out the Service API.", referrer: "https://www.npmjs.com/package/@cedx/akismet",