Skip to content

fix(deps): update node-opcua to v2.163.0#1269

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/node-opcua
Open

fix(deps): update node-opcua to v2.163.0#1269
renovate[bot] wants to merge 1 commit intomainfrom
renovate/node-opcua

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2026

This PR contains the following updates:

Package Change Age Confidence
node-opcua (source) 2.162.02.163.0 age confidence
node-opcua-file-transfer (source) 2.162.02.163.0 age confidence
node-opcua-server-discovery (source) 2.162.02.163.0 age confidence

Release Notes

node-opcua/node-opcua (node-opcua)

v2.163.0: 🚀 Release Notes — v2.163.0

Compare Source

This release is a major step forward for DataType handling performance and OPC UA 1.05 compliance. It introduces a new lazy and parallel DataType extraction pipeline, significantly improving scalability for large and complex information models. In parallel, full support for OPC UA 1.05 subtyped structures and unions has been finalized, alongside multiple performance optimizations, correctness fixes, and test expansions.

✨ TL;DR

  • 🚄 Massive performance improvements for dynamic DataType discovery (lazy + parallel extraction)
  • 🧠 New Lazy DataType extraction strategy (default on client side)
  • 🧬 Full support for OPC UA 1.05 StructureWithSubtypedValues and UnionWithSubtypedValues
  • 🧪 Expanded test coverage for large DataType trees, continuation points, and reconnection edge cases
  • 🧹 Package updates and generated nodeset-type adjustments

🌟 Key Features & Enhancements

🧠 Lazy & Parallel DataType Extraction
  • 3ad017c Introduced a Lazy DataTypeExtractStrategy to efficiently handle very large DataType trees:

    • Pre-creates DataTypeFactory per namespace using readNamespaceArray
    • Avoids eager loading of all DataTypes
    • Adds strategy-aware session handling and extraction helpers
    • Extends tests to validate Auto, Force104, and Lazy strategies (datatype-manager)
  • 984510c Major performance refactor:

    • Parallel resolution of structure fields with Promise.all
    • Lazy on-demand DataType loading
    • Non-reentrancy guard to avoid duplicate network requests
    • Reduced session round-trips and improved batching (datatype-manager / client)
  • 57374f8 Prefetch dependent field DataTypes in parallel during schema extraction:

    • Restores eager extraction for server-side safety
    • Sets Lazy as the new default client strategy
    • Guarantees idempotency during parallel resolution (datatype-manager)

🧬 OPC UA 1.05 — Subtyped Structures & Unions

  • 4e02e64 Added full support for OPC UA 1.05 subtyped fields:

    • StructureWithSubtypedValues
    • UnionWithSubtypedValues
    • Proper parsing of AllowSubTypes
    • Correct encoding/decoding and cloning of ExtensionObjects
    • Comprehensive unit tests and XML fixtures (address-space / dynamic-extension-object)
  • 17ea9bb Fixed client-side creation of ExtensionObjects containing subtyped fields (client)

📌 Summary

Version 2.163.0 delivers substantial scalability gains for complex OPC UA servers and clients, especially those with large DataType graphs or OPC UA 1.05 models. Lazy, parallel extraction dramatically reduces startup time and network load while maintaining strict correctness and backward compatibility.

💙 Support the project

Consider joining the NodeOPCUA Subscription program
for professional support, or help sustain the project by sponsoring us on OpenCollective
.
Full Changelog: node-opcua/node-opcua@v2.162.0...v2.163.0


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 is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the node-opcua label Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants