Version 16.2.1
- Fixed the issue #20.
Version 16.2.0
- The
AuthorRole
,CheckResult
andCommentType
enumerations are now implemented as frozen objects.
Version 16.1.1
- Migrated the documentation to the GitHub wiki.
Version 16.1.0
- Ported the source code to TypeScript.
Version 16.0.2
- Fixed a packaging issue.
Version 16.0.1
- Fixed the TypeScript typings.
Version 16.0.0
- Breaking change: changed the constructor signatures of the
Author
,Blog
andComment
classes. - Breaking change: raised the required Node.js version.
- Breaking change: removed the
ClientError
class. - Breaking change: the
Client
class is no longer an event emitter. - Added support for the Akismet response error codes.
- Ported the source code to JavaScript.
- Replaced the Mocha test runner by the Node.js one.
- Restored support for GitHub Packages.
- Updated the package dependencies.
Version 15.0.0
- Breaking change: raised the required Node.js version.
- Dropped support for GitHub Packages.
- Updated the documentation.
- Updated the package dependencies.
Version 14.0.0
- Breaking change: ported the source code to TypeScript.
- Breaking change: changed the signature of the class constructors.
- Breaking change: changed the signature of the
fromJson()
methods. - Breaking change: raised the required Node.js version.
- Breaking change: removed the
[Symbol.toStringTag]()
andtoString()
methods. - Breaking change: removed the
debugHeader
anddefaultEndPoint
static properties from theClient
class. - Breaking change: using ECMAScript modules instead of CommonJS ones.
- Replaced the ESDoc documentation generator by TypeDoc.
- Added the
CheckResult
enumeration. - Added the
ClientError
class. - Added the
Comment.recheckReason
property. - Added the
eventRequest
andeventResponse
static properties to theClient
class. - Added support for the
X-akismet-pro-tip
HTTP header. - Added a user guide based on MkDocs.
- Added an example code.
- Using the global
URL
andURLSearchParams
classes. - Updated the build system to Gulp version 4.
- Updated the package dependencies.
Version 13.0.0
- Breaking change: changed the signature of the
Client
events. - Updated the package dependencies.
Version 12.0.0
- Breaking change: changed the signature of most class constructors.
- Breaking change: raised the required Node.js version.
- Breaking change: removed the
toJSON()
andtoString()
methods from theClient
class. - Breaking change: using camel case instead of studly caps for static properties.
- Added new values to the
CommentType
enumeration. - Updated the package dependencies.
Version 11.0.0
- Breaking change: converted the
Observable
-based API to anasync/await
-based one. - Breaking change: converted the
Subject
event API to theEventEmitter
one. - Added the
[Symbol.toStringTag]
property to all classes. - Changed licensing for the MIT License.
Version 10.1.0
- Replaced the SuperAgent HTTP client by
node-fetch
. - Updated the package dependencies.
Version 10.0.0
- Breaking change: renamed the
fromJSON()
static methods tofromJson
. - Changed the naming convention: acronyms and abbreviations are capitalized like regular words, except for two-letter acronyms.
- Updated the package dependencies.
Version 9.1.0
- Removed the dependency on Babel compiler.
- Updated the package dependencies.
Version 9.0.0
- Breaking change: reverted the API of the
Client
class to an Observable-based one. - Added new unit tests.
- Updated the package dependencies.
Version 8.0.1
- Fixed a code generation bug.
- Updated the package dependencies.
Version 8.0.0
- Breaking change: properties representing URLs as strings now use instances of the
URL
class. - Breaking change: raised the required Node.js version.
- Updated the package dependencies.
Version 7.1.0
- Added support for the Node Security Platform reports.
- Updated the package dependencies.
Version 7.0.0
- Breaking change: dropped the dependency on Observables.
- Breaking change: the
Client
class is now an EventEmitter.
Version 6.2.0
- Updated the package dependencies.
Version 6.1.0
- Removed the dependency on the
@cedx/enum
module. - Removed the dependency on the
gulp-load-plugins
module.
Version 6.0.0
- Breaking change: raised the required Node.js version.
- Breaking change: using ES2017 features, like async/await functions.
- Improved the build system.
- Ported the unit test assertions from TDD to BDD.
- Updated the package dependencies.
Version 5.0.0
- Breaking change: changed the signature of all constructors.
- Breaking change: changed the return type of several
Client
methods. - Breaking change: renamed the
Client.SERVICE_URL
constant todefaultEndPoint
. - Added the
Client.endPoint
property. - Updated the package dependencies.
Version 4.0.0
- Breaking change: changed the
Blog.language
string property for thelanguages
array property. - Breaking change: reverted the
Client.test
property toisTest
. - Removed the
v
prefix from the Node.js version number in theClient.userAgent
property. - Removed the
dist
build task. - Updated the package dependencies.
Version 3.4.0
Version 3.3.0
- Added the
onRequest
andonResponse
event streams to theClient
class.
Version 3.2.0
- Updated the SuperAgent dependency.
Version 3.1.0
- Allowing to set dates as timestamps or strings in the
Comment
constructor.
Version 3.0.0
- Breaking change: modified the signature of the constructor of the
Client
class. - Breaking change: renamed the
Client.isTest
property totest
. - Added the
Client.debugHeader
property. - Added the
Client.toJSON()
method.
Version 2.0.1
- Added a dedicated enumeration API to the
CommentType
type.
Version 2.0.0
- Breaking change: removed the
Client.serviceURL
property. - Breaking change: removed the
EndPoints
enumeration. - Breaking change: renamed the
Client.DEFAULT_SERVICE
static property toSERVICE_URL
. - Updated the package dependencies.
- Updated the project URL.
Version 1.0.1
- Fixed the issue #5.
Version 1.0.0
- Breaking change: changed the signature of the
fromJSON()
methods. - Breaking change: dropped the embedded server and the command line interface.
- Breaking change: ported the CommonJS modules to ES2015 format.
- Breaking change: ported the Promise-based APIs to Observables.
- Breaking change: raised the required Node.js version.
- Breaking change: removed the
url
parameter from theBlog
constructor. - Breaking change: removed the
HTTPHeaders
enumeration. - Added a build task for fixing the coding standards issues.
- Replaced the JSDoc documentation generator by ESDoc.
- Replaced the JSHint linter by ESLint.
- Replaced the test classes by plain tests.
- Updated the package dependencies.
Version 0.9.0
- Breaking change: renamed the
Server.DEFAULT_HOST
static property toDEFAULT_ADDRESS
. - Breaking change: renamed the
Server.host
property toaddress
. - Breaking change: renamed the
-H, --host
command line option to-a, --address
. - Upgraded the package dependencies.
Version 0.8.0
- Breaking change: using more ES2015 features, like default parameters and destructuring assignment.
- Breaking change: raised the required Node.js version.
- Breaking change: fixed the signature and behavior of the
toJSON()
methods. - Breaking change: changed the case of the
Client.serviceUrl
andServer.redirectUrl
properties. - Turned the package into a scoped one.
- Added the
DEFAULT_HOST
andDEFAULT_PORT
constants to theServer
class. - Added more unit tests.
- Replaced the SonarQube code analyzer by Codacy service.
- Improved the code coverage.
Version 0.7.1
- Added a command line option to set the user to drop privileges to once server socket is bound.
- Fixed the issue #4: properly handle the
host
andport
command line arguments. - Upgraded the package dependencies.
Version 0.7.0
- Breaking change: using ES2015 features, like arrow functions, block-scoped binding constructs, classes and template strings.
- Breaking change: raised the required Node.js version.
- Breaking change: the
Server
class is not exposed anymore by the default exports. - Breaking change:
Application._log()
method renamed tolog
. - The
port
parameter ofServer.listen()
method is now optional. - Improved browser integration.
- Added support for code coverage.
- Added support for SonarQube code analyzer.
- Added support for Travis CI continuous integration.
- Changed the documentation system for JSDoc.
- Changed licensing for the Apache License Version 2.0.
Version 0.6.2
- Fixed a bug in
Comment.toJSON()
method.
Version 0.6.1
- Fixed the usage of
Author.role
property. - Fixed the usage of
Client.isTest
property. - Fixed a unit test.
Version 0.6.0
- Added
role
property toAuthor
class. - Added
isTest
property toClient
class. - Added
date
andpostModified
properties toComment
class.
Version 0.5.2
- Upgraded the package dependencies.
Version 0.5.1
- Upgraded the package dependencies.
Version 0.5.0
- Raised the required Node.js version.
- Removed the dependency on
promise
module. - Upgraded the package dependencies.
- Fixed the issue #3: returning a
Promise
inServer.checkComment()
method.
Version 0.4.1
Version 0.4.0
- Breaking change: ported the callback-based API to Promises.
Version 0.3.5
- Using Gulp as build system.
Version 0.3.4
- CORS headers handling delegated to
cors
module.
Version 0.3.3
- Upgraded the package dependencies.
Version 0.3.2
- Lowered the required Node.js version.
Version 0.3.1
- Fixed bugs in server implementation: bad error handling.
Version 0.3.0
- Added
Blog
class to support the latest Akismet APIs.
Version 0.2.1
- Fixed bugs in server implementation: bad parsing of client requests.
Version 0.2.0
- Added client implementation based on
XMLHttpRequest
. - Added server implementation used to proxy requests from HTML clients to Akismet service.
- Initial release: client implementation based on
http.request
.