node-opcua

Unlocking the Full Potential of OPC UA with Typescript and NodeJS - http://node-opcua.github.io/

MIT License

Downloads
6.7M
Stars
1.4K
Committers
79
node-opcua - v2.0.0-alpha.29

Published by erossignon over 5 years ago

πŸ› bug fixes

  • #596 fix client getNamespaceIndex
  • #593 add missing README files
  • #607 replace fqdn package to prevent issue with electron or nwjs
  • #590 Fix typo in the followReference function
  • #606 Install infinite reconnection strategy on client [d1d2f42]
  • #606 fix timestamp decoding in decodeDebug ( decodeHighAccuracyDateTime) [7cb9f49]
  • #610 : prevent timeoutHint to overflow in PublishRequest

πŸ‘­ contributors

  • @demike @ax1 @hamzamac
node-opcua - v0.7.2

Published by erossignon over 5 years ago

πŸ‡ Enhancement

  • update packages expecially [email protected] and [email protected]
    Newer versions of OpenSSL does not create random files if them don't exist anymore.
    now we run openssl rand -out <randFile> -hex 256 to make sure the random file is created before it is being used.

πŸ‘¬ contributors:

  • @bompi88
node-opcua - v0.7.0

Published by erossignon over 5 years ago

πŸ› bug fixes:

  • #606 Install infinite reconnection strategy on client [d1d2f42f52ee223eabed79e825783b810e5bee3f]
  • #606 fix timestamp decoding in decodeDebug ( decodeHighAccuracyDateTime) [7cb9f49d158b5633966d75f68b58637a4ac8c7b7]
  • #610 : prevent timeoutHint to overflow in PublishRequest

πŸ‘¬ contributors:

  • @mdameda @biancode
node-opcua - v0.6.0

Published by erossignon over 5 years ago

πŸ› bug fixes:

  • #607 / #602 replace fqdn package to prevent issue with electron or nwjs
  • #596 fixes error in ClientSession.prototype.getNamespaceIndex
  • #593 add missing README files
  • Fix typo in the followReference function [6b60505d09f2057d9b40b10dcba19197153af69e]
  • minor fix to invalid url [85359118eac59109de8a377abc06d45ba5fddc13]

πŸ‘­ contributors:

  • @ax1 @ptillemans @fbalazsy @demike
node-opcua - v0.5.8

Published by erossignon over 5 years ago

πŸ› bug fixes

  • [6cfc29e408f958c9218cad63a61e8f254c8a7b3c] fix SessionDiagnostics schema
  • [185547460fb2099e26afcc14ce85782c653b212d] fix Attribute syntax
  • [b8662b34f456e6dcc6d14f98d79097396549c917] fix getOldestUnactivatedSession
node-opcua - v0.5.7

Published by erossignon over 5 years ago

node-opcua - v0.5.6

Published by erossignon over 5 years ago

πŸ› bug fixes

  • #562 fix write issue with enumeration variable
  • [d4fbfb77f1d4683b0ac363d891f3ad8624554614] add shebang section in script
  • |0b519f1154d5430e3b3fba8c6b91d6388c9adec5] fir args usage with typescript 32.1 in node-opcua.d.ts

πŸ‘­ contributors

  • @hamza765
node-opcua - v0.5.5

Published by erossignon almost 6 years ago

🌹 enhancements:

[client]

  • #574 allow use of UserNameIdentityToken with unencrypted policy on unencrypted connection to permit connection to Softing servers.
  • #570 display error message if client certificate lack subjectAltName
  • #499 add parameter to load own certificate/key from specific path
  • #533 change Service parameter to browse Objects forward (siemens S7-1500) ( using browseName with parameter string)
  • 3951142b7c283b0e50e1061a144ca92d049071c9 improve historyRead

πŸ‘¬ contributors:

  • @zombinary @dev03954kd
node-opcua - v0.5.4

Published by erossignon almost 6 years ago

πŸ› bug fixes

  • #568 fixes bug causing server to raise an exception when client send a event monitored item parameter change
  • fixes writeSingleNode signature in typescript definition file [d5556769a780d178344aaa6729212f1c330d62d6]
  • #466 (addressSpace) add ability to specify displayName when creating a method
  • #469 (addressSpace) add ability to specify displayName when creating a ObjectType and VariableType
  • #560 fix typo in doc

πŸ‘¬ contributors

  • @mdameda @bruegth
node-opcua - v0.5.2

Published by erossignon almost 6 years ago

πŸ›

  • [e6ca6c24e17389ff142bc5ab98720b26427ef98d] exclude demo certificates in published packages
node-opcua - v0.5.1

Published by erossignon almost 6 years ago

πŸ›

  • [2d2c9c4e438e354ce8e6ceed2fd54bf638a9bc9f] remove heapdump usage
node-opcua - v0.5.0

Published by erossignon almost 6 years ago

πŸ› bugs fixed:

  • #504 - ensure minimum buffer size is 8192 as per OPCUA 1.04
  • #538 improve error message displayed when server registration to LDS
  • [2c19c2dd99168abf31544a5f13292033ef59b963] update d.ts file with on event
  • [922381f1007ce85646e91f2a7b731312693fe890] update d.ts file on "call" method

🐴 enhancement:

  • OPCUACLient : on("connection_lost event") event added [2c19c2dd99168abf31544a5f13292033ef59b963]

πŸ‘­ contributors

  • @mdameda @nospam2000 @biancode @coussej @PaBraIgm
node-opcua - v0.4.6

Published by erossignon about 6 years ago

πŸ› Bug fixing

  • #534 fixed ClientMonitoredItemGroup#terminate
  • #532 fixed ClientMonitoredItemGroup#toString
  • #528 Fix custom JSON stringify issue on Variant & UABaseObject
  • [e8e9cae333ebc0582faf437fe16f2d5fb9de4584] fix browseName typo in TwoStateDiscrete

🐴 enhancement

  • #529 implement of findServersOnNetwork & registerServer2

🍰 extra

  • #527 add test to demonstrate DataValue#statusCode with extra bits
  • #525 fixed bn_dateToHundredNanoSecondFrom1601 unit test

πŸ‘­ contributors

  • @biancode @spike0xff
node-opcua - V 0.4.5

Published by erossignon about 6 years ago

πŸ’” Breaking Changes

Note to the reader:
This version introduces a major new concept to comply with the OPCUA specification by adding a better Namespace support in the AddressSpace.
Although we have taken care not to break backward compatibility with existing API, we have found cases were customers could have been affected with the more conformant behavior that this new version introduces. This only affects server.

Rather than adding object and variable or folder directly into the addressSpace, one should now add object, variables or folders within its containing namespace object.

Code like

addressSpace.addObject({
    browseName: "MyObject"
});

should now be replaced with

addressSpace.getOwnNamespace().AddObject({
    browseName: "MyObject"
});
  • older AddressSpace#addObject/addVariable/addObjectType ... methods remains available to help you do the transition. They will emit a warning in the console to let you know that your code need to be changed.

  • for now AddressSpace#addObject/... reroutes to addressSpace.getOwnNamespace().AddObject/...

  • AddressSpace#addObject/etc .. will definitely be removed in the next major version of node-opcua

  • However, it is possible that your existing code may fail, as we now enforce proper usage of namespace for node creation. For instance:

  • It is now invalid to create a node within an non-existing namespace

// this code is now invalid ! ( as namespace 555 doesn't exist !)
addressSpace.addObject({
    browseName: "MyObject",
    nodeId: "i=555;i=1"
});
  • Accidentally adding nodes to the reserved namespace ( such as namespace Zero (OPCUA) and imported namespace is now prevented thanks to the introduction of Namespace and server own namespace.

🐴 Enhancements

  • cfad1db86541f153e827b7512c63e0868d222e5b add Namepsace support in AddressSpace
  • 38902d0e848238b4588284e33acd42970e7126d2 improve nodeset2 generation

πŸ› Bugs fixed

  • #510 improve ClientMonitoredItem typescript declaration
  • #513 improve handling of browseName containing ":"
  • a898882e96002ab74d0548ac113758ab8eaca9ca fix connection issue with UAExpert
  • #513 fixing browseName assert and replace it with a warning
  • 90b52200b95a5b37af17bf4e0b20ce00829911ec fix typo in endpoints (@Razzeee)
  • 23b528df9a0d5d829a4be2463c5b8c5c8016d7b9 fix typo (@beppemarazzi )
  • 99de1283f3fe2cde9740d8c4660cd33d7aad5613 properly dispose sockets by removing listeners
  • #501 fixes typo in readHistoryServerCapabalities helper function
  • #497 fixes TypeScript error TS1016 and other tslint warnings
  • 37726b82c5be6bf4d38df899de72dd7887a8a2c8 fix secure channel cancellation when server is shutting down
  • #495 client - provide default endpointURl to getEndpointsRequest
  • 562dd5abdebd1bc724e30eee8840156c9be3d3eb ensure enum value are store as Int32
node-opcua -

Published by erossignon about 6 years ago

πŸ‡ Enhancements

  • Add LocalDiscovery ad79724f1934568cb1d8f84327e862bd0bad3a2b
  • improve XMLNodeSet2 generation 38902d0e848238b4588284e33acd42970e7126d2
  • Add Namespace support cfad1db86541f153e827b7512c63e0868d222e5b 4745065b9f844f9b06ad782451cf24792eec4686

πŸ› bug fixes

  • f748c28f08ea358866c2779ef4174a2197b1fd17 fix bug causing cloning of Variant containing null ExtensionObject to fail
  • #501 ab5b7970bf72714e1f5a9d929bd7772dd96fa5ff fixes typo in readHistoryServerCapabalities helper function
  • #497 391573d7b470493b371d68327594bf124c5e6ac0 fixes Typescipt definition
  • 37726b82c5be6bf4d38df899de72dd7887a8a2c8 fix secure channel cancellation when server is shutting down
  • #495 72c30d731bf207080471e408269b43f309a4c9a0 client - provide default endpointURl to getEndpointsRequest
  • 562dd5abdebd1bc724e30eee8840156c9be3d3eb ensure enum value are store as Int32
  • #462 3eabb73587f3306a0da56e8303f91edbba10cb1d fix typo in documentation

πŸ‘¬ Contributors

  • @Chrissie @jared-DM @nnnntosh @davidemess @biancode
node-opcua - Release 0.4.1

Published by erossignon over 6 years ago

πŸ’” breaking changes

  • OPCUAClientBase#getEndpointResquest renamed as OPCUAClientBase#getEndpoints d1de8b3e8e5e231d5e36b1401d9937bc585f0d09

πŸ‡ enhancements

  • #475 Add float and boolean parser options in xml nodeset import ebbeb84b500c91949cb216096b1b49b96d25702f
  • update and improve typescript definition 278d7cbaac247c22a3eaddbfe3fd499606860276
  • add FindServerOnNetwork and RegisterServer2 discovery services f2a503a4311febed89f305e001da94f74d09e01e
  • #484 improve Local Discovery Server Registration on OPCUAServer 1096888c31dfaedd6c6105b57a75176c429f13cb 5f3602169ba85856e92893ffcdfb62c2854d975a

πŸ› bug fixing

  • #477 Fixed wrong asymmetricSignatureAlgorithm 47aa3b544ad403ac2fe286f05b9c8abc6ddc1469
  • fix extension object decoding - for old extension object version 891f095616b832e6ec33482e05cf44142595bfa8 21dd1fca32c7bd2667a2b891fff65744df0819fc
  • allow server to listen to all type of network interface (IPV4 & IPV6) 47aa3b544ad403ac2fe286f05b9c8abc6ddc1469
  • #483 improve usage of picosecond f19cdf2ac62ba6bfa89514a6d09c584b8cfd5f69
  • #486 fixed BadFilterNotAllowed on boolean, String, ByteString & LocalizedText 16ad0e5cdc1172424abe8e20967d14819bf60d73 @marcelwinh
  • #487 Declare NodeId class explicitly (Sascha Englert)

πŸ‘¬ contributors

  • @sphire @marcelwinh @cacamille3 @w4tsn
node-opcua - 0.3.0

Published by erossignon over 6 years ago

πŸ› bug fixes

  • #288 #237 #474 fix client reconnexion issues

πŸ‡ enhancement:

  • add OPCUAClient#readHistoryServerCapabilities

πŸ‘¬ contributors:

  • @mika @biancode @coussej ...
node-opcua - v0.2.3

Published by erossignon over 6 years ago

πŸ› bug fixing

  • fixes #464 add transportProfileUri in reduced EndpointDescription ( fixing ProsysClient interop issue)
  • fix typo in doc (@roccomuso)
  • userAccessLevel is not matched with variable accessLevel (@marcelwinh)
  • package.json now specify the minimum required node version
  • fixes #449 UAVariable get/set functor should expose this object (@yakeer)
  • fixes #445 server.serverDiagnosticsSummary.currentSessionCount
  • #446 add a server stressing test that repeatedly connects/create a session (@wcchh)
  • #443 improve variant test (@marcelwinh)
  • Elegant null handling in string utils (@mboorstin)
  • sameVariant function didn't work with Int64, Uint64 & ByteString (@marcelwinh)
  • fixes #441 : register to discovery server with server certificate (@marcelwinh)

πŸ‘¬ contributors:

  • @roccomuso @marcelwinh @mboorstin @wcchh @yakeer
node-opcua - v0.2.2

Published by erossignon over 6 years ago

This release provides some major speed and memory improvements:

πŸ‡ Enhancements

  • [19dc043fd6908b0cc36da17470a76098fb259bf8] improve performance of binary encoding/decoding by better use of share buffer and data copy
  • [8a277052fb2e40535709a9c0fabc56f7dc766c41] registerNode/unregisterNode now create efficient Numeric NodeId
  • [9eaff718e3974de49448a4796b0564996c62d59f] speed up secure connection test , introduce tokenRenewalInterval parameter to control the secure token renewal interval on the client side
  • [98bebc640c1a9a25d1bf80209578b06a54811d02] improve SubscriptionDiagnostics support on server side
  • [c1ceaeb5d2cf0c375fea049950cb273f10526e33] adding precondition to conditions, raise an assert if raiseNewCondition is used when condition is not enabled
  • [64fd505e649885f861e2f076de20e9ed7187d51e] #435 add UABaseNode#removeReference

πŸ” Security & conformance

  • [1369c2537cb7ea5eadf11c91d5a68fda20500fb1] OPCUAClient#connect now ensures that endpoint exists on server ( use ensure_endpoint_exists:false to revert to old behavior)
  • [01d6bd31586d48223855ae7fc3e3847adb194b74] adjust endpoint verification during create session

πŸ› Bug fixes

  • [dd13d88ff0a2d27103810c4fcff27cef2d0c9faf] #429 #430 fix duplicate exports causing rollup to fail
  • [651141d0bf6ed5b292e350baff68ef0d67a4b6ab] #433 Server ActivateSession should handle missing userIdentityToken
  • [48222bf1d43d81a63b7a077be55dc0cb1fa25a82] #432 - it should be possible to provide a nodeId to addObjectType
  • [daabd1d28c3221c34ffc39b7412e616779b84e7b] #426 : add assert to detect malformed timestamped_func function
  • [b8b9ca64430c34385e4d232745405bc52d3863d9] fixes #438 ClientSession#readAllAttributes : account for null Variant
  • [f9f0bbe19f7230892cb5cb091081018c0e93ec7b] fix termination of orphan subscription when server shutdown
  • #420 await session.read() for single node returns error
  • #439 Add missing var keyword for CallMethodResult_Schema

πŸ‘¬ Contributors

  • @LukasHechenberger @eoursel @Sushifresser @gnobre @coussej @fossejc @stevewillard
node-opcua - v0.2.1

Published by erossignon over 6 years ago

πŸ‡ enhancements

  • #422 adding ability to set/unset historizing attribute to resume/suspend historization on HA Variable 786d082
  • adjust ClientSession#write api to match behavior of other async commands 2dc2895
  • historical node: complete aggregateConfiguration f36c6b6
  • #370 improve typescript definition d3a49db 4f4b4be

πŸ› fixes

  • #419 use UAVariable#minimumSamplingInterval to limit requestedSampling
  • #405 fix role/permission issue ab72b22 163bd0c 12a9beb
  • fix issue with new version of BigNumber package 152b240
  • #417 fixes issue with mispelled endpointUrl 1383d11
  • #420 fixes issue whereby await session.read() for single node returns error in 0.2.0

πŸ“ documentation

  • improve ClientSession async method documentation 271d577
  • adjustment/optimisation in BinaryStream#readArrayBuffer and BinaryStream#writeArrayBuffer 211533c

πŸ‘¬ contributors

  • @everhardt @zombinary @marcelwinh @mawaak @crussell52 @coussej