AndreasHeine / SampleServer-node-opcua

OPC UA Sample Server based on node-opcua. Showcasing how to implement OPC UA companion specifications.
Apache License 2.0
11 stars 17 forks source link

fix(deps): update node-opcua to v2.124.0 #761

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
node-opcua (source) 2.123.0 -> 2.124.0 age adoption passing confidence
node-opcua-file-transfer (source) 2.123.0 -> 2.124.0 age adoption passing confidence
node-opcua-server-discovery (source) 2.123.0 -> 2.124.0 age adoption passing confidence

Release Notes

node-opcua/node-opcua (node-opcua) ### [`v2.124.0`](https://togithub.com/node-opcua/node-opcua/releases/tag/v2.124.0) [Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v2.123.0...v2.124.0) ### What's changed: Version 2.124.0 of our software introduces significant enhancements to the client automatic reconnection mechanism - **Client and Server Enhancements**: Enhancements were made in reconnection logic and secure channel management, providing a more robust handling of network instabilities and secure communications. - **New Server Features**: We introduced features like setNextSubscriptionId() to align with open62541 behavior (subcriptionId counting from 1) - **Maintenance and Debugging**: We refined debugging outputs, adjusted test timings, and improved error handling across the system, enhancing both performance and developer experience. - **Bug Fixes**: Notable bug fixes ensure correct behavior in data handling and client-server interactions, particularly in edge cases of network failures and reconnections. #### 🐛 Bug Fixes - \[[`0fb5fcf`](https://togithub.com/node-opcua/node-opcua/commit/0fb5fcf854)] Fixed an issue where getters with ExtensionObject were not exposing the correct dataValue statusCode, ensuring data integrity and accurate reporting. - \[[`e6b944d`](https://togithub.com/node-opcua/node-opcua/commit/e6b944d3ae)] Ensured `nodeVersion` operates properly when a node belongs to a custom namespace, maintaining namespace integrity. - \[[`ac7fd1a`](https://togithub.com/node-opcua/node-opcua/commit/ac7fd1a645)] Corrected the `raiseEvent` method signature in TypeScript, aligning it with expected type definitions. #### Security Updates - \[[`86d137b`](https://togithub.com/node-opcua/node-opcua/commit/86d137bc51)] Fixed vulnerabilities in `packages/node-opcua-local-discovery-server/Dockerfile` by upgrading dependencies to address security concerns highlighted by Snyk ([Vulnerability 1](https://snyk.io/vuln/SNYK-UPSTREAM-NODE-6564548), [Vulnerability 2](https://snyk.io/vuln/SNYK-UPSTREAM-NODE-6564550)). #### ✨ Enhancements - \[[`5d34b30`](https://togithub.com/node-opcua/node-opcua/commit/5d34b30761)] Improved secure channel recreation, enhancing the stability and reliability of secure connections. - \[[`6fb0c97`](https://togithub.com/node-opcua/node-opcua/commit/6fb0c97b2b)] Enhanced the reconnection workbench, optimizing the reconnection process under various network conditions. - \[[`2590d1a`](https://togithub.com/node-opcua/node-opcua/commit/2590d1aade)] Client: Refined handling of reconnection edge cases, including server disconnections and network failures during ongoing reconnection attempts. - \[[`7329295`](https://togithub.com/node-opcua/node-opcua/commit/7329295a3c)] `findEndpoint` now uses the same connection strategy as the parent OPCUAClient, harmonizing connection behaviors across the client. - \[[`3e1e4a5`](https://togithub.com/node-opcua/node-opcua/commit/3e1e4a5230)] File-transfer: Exposed nodeId and async browseName, enhancing file handling capabilities in the client. - \[[`38caa35`](https://togithub.com/node-opcua/node-opcua/commit/38caa350d9)] Improved reconnection logic to provide smoother client-server interactions during network instability. - \[[`5ac2ae0`](https://togithub.com/node-opcua/node-opcua/commit/5ac2ae0ff6)] Updated `createMonitoredItemsLimit` to avoid using `maxMonitoredItemsPerCall=0`, optimizing monitoring efficiency. #### 🛠 Maintenance and Refinements - \[[`a945169`](https://togithub.com/node-opcua/node-opcua/commit/a945169bf7)] Adjusted test timing to better reflect real-world operational conditions. - \[[`f0a57b2`](https://togithub.com/node-opcua/node-opcua/commit/f0a57b2985)] Enhanced communication debug trace, offering more detailed diagnostic capabilities. - \[[`67ea74d`](https://togithub.com/node-opcua/node-opcua/commit/67ea74d5ab)] Traced connection closure events, improving monitoring and troubleshooting of disconnections. - \[[`ab393f2`](https://togithub.com/node-opcua/node-opcua/commit/ab393f2148)] Server: Added `setNextSubscriptionId()` to imitate open62541 behavior, enhancing subscription management capabilities.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.