Skip to content

v2.29.0

Compare
Choose a tag to compare
@erossignon erossignon released this 13 Jan 07:38
· 1258 commits to master since this release

馃悰 bug fixes

馃殌 enhancements

  • [a3a1a75] OPCUAClient now accepts a OPCUACertificateManager for strict certificate validation. If a certificate manager is not provided at construction time the OPCUAClient will create a default one that automatically accept unknown server certificates. ( resolves #637 )
  • OPCUAClient & OPCUAServer : the location of the default PKI is now created in $HOME\.config folder (linux) or in the %APPDATA% folder (windows) instead of inside the node_module itself.
  • you can get the exact default location like this:
console.log("pki folder for serverc", server.serverCertificateManager.rootFolder);
console.log("pki folder for client", client.clientCertificateManager.rootFolder);

馃崹 refactoring

  • [98ca360] rename endpoint_must_exist in endpointMustExist to conform to the camel case convention.
  • experimentaly try to run mocha tests in parallel => huge gain on computer with large number of core from 20min to 5min.
  • default certificats for client and server are now not generated anymore during installed time. They are not created inside the nodejs module anymore. This should reduce installation issues found on some nodejs setup where node_modules folder read/write access may be restrictied (sometime happens on raspbian ).
  • OPCUAClient and OPCUAServer now create their default certificates and private during first run.
    please refer to online documentation available to members at https://support.sterfive.com/ for detailed explaination.
  • test trace are now less noisy.

better warning

  • In order to limit access to support for classic gotcha, node-opcua will now emit comprehensive warning to information you when certain parameters are inconsistent. For instance:
  • when the private key and public do not match
  • when the provided certificate for server and client is out of date;
  • when the session timeout and subscription parameters are inconsistant
  • .....
  • those warning messages starts with a prefix [NODE-OPCUA-WXX] or [NODE-OPCUA-EXX] where XX is the unique message id.

馃挃 deprecation warning

  • [98ca360] the client options now accepts endpointMustExist in place of endpoint_must_exist at construction time options. endpoint_must_exist option will be fully deprecated later.
    if you use endpoint_must_exist a warning will be displayed to remind you to change your code but the behavior will be unchanged.
    if you are using typescript then the compiler will immediately inform you about this change.
  • [4d23a94] we discontinue the continuous integration tests on nodejs version 8.0. nodejs version 8 has been deprecated in 2019 and is no longer supported by the packages node-opcua need to rely on. ( for instance : mocha, yargs , etc ...)

馃懍 contributors