Skip to content

Changelog

Version 16.1.0

Version 16.0.2

  • Fixed a packaging issue.

Version 16.0.1

Version 16.0.0

  • Breaking change: changed the constructor signatures of the Author, Blog and Comment 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]() and toString() methods.
  • Breaking change: removed the debugHeader and defaultEndPoint static properties from the Client 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 and eventResponse static properties to the Client 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 and URLSearchParams classes.
  • Updated the build system to Gulp version 4.
  • Updated the package dependencies.

Version 13.0.1

  • 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() and toString() methods from the Client 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

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 to fromJson.
  • 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

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 to defaultEndPoint.
  • Added the Client.endPoint property.
  • Updated the package dependencies.

Version 4.0.0

  • Breaking change: changed the Blog.language string property for the languages array property.
  • Breaking change: reverted the Client.test property to isTest.
  • Removed the v prefix from the Node.js version number in the Client.userAgent property.
  • Removed the dist build task.
  • Updated the package dependencies.

Version 3.4.0

  • Replaced the Codacy code coverage service by the Coveralls one.
  • Updated the package dependencies.

Version 3.3.0

  • Added the onRequest and onResponse event streams to the Client class.

Version 3.2.0

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 to test.
  • 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 to SERVICE_URL.
  • Updated the package dependencies.
  • Updated the project URL.

Version 1.0.1

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 the Blog 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 to DEFAULT_ADDRESS.
  • Breaking change: renamed the Server.host property to address.
  • 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 and Server.redirectUrl properties.
  • Turned the package into a scoped one.
  • Added the DEFAULT_HOST and DEFAULT_PORT constants to the Server 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 and port 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 to log.
  • The port parameter of Server.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 to Author class.
  • Added isTest property to Client class.
  • Added date and postModified properties to Comment 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 in Server.checkComment() method.

Version 0.4.1

  • Fixed the issue #2: using a Unix system for publishing the package on npm.

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.

Version 0.1.0

  • Initial release: client implementation based on http.request.