Skip to content

Commit

Permalink
Update the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Oct 5, 2024
1 parent 1b55cd0 commit b5aca8f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion example/check_comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion example/submit_ham.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
})
});

Expand Down
2 changes: 1 addition & 1 deletion share/check_comment.http
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion share/submit_ham_spam.http
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion test/client_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b5aca8f

Please sign in to comment.