node-opcua/node-opcua
### [`v0.7.4`](https://togithub.com/node-opcua/node-opcua/compare/v0.7.3...v0.7.4)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.7.3...v0.7.4)
### [`v0.7.3`](https://togithub.com/node-opcua/node-opcua/releases/v0.7.3)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.7.2...v0.7.3)
🐛 bug fixes
- [#625](https://togithub.com/node-opcua/node-opcua/issues/625) fix issue with nodeid passed as a string containing semi-columns
- fix radius in parseInt usage [`09c1452`](https://togithub.com/node-opcua/node-opcua/commit/09c1452591daa9659fe972bb66b5f4679315c847)
- [#425](https://togithub.com/node-opcua/node-opcua/issues/425) fix connection issue with Basic256 ( with UAServerCPP )
🏇 enhancements
- use 2048 bits certificate by default [`f1a9f8f`](https://togithub.com/node-opcua/node-opcua/commit/f1a9f8f581d8c597790b990fe9adf7f09019abc6)
👬 contributors
- [@zombinary](https://togithub.com/zombinary) [@samminen](https://togithub.com/samminen) [@rukechen](https://togithub.com/rukechen)
### [`v0.7.2`](https://togithub.com/node-opcua/node-opcua/releases/v0.7.2)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.7.1...v0.7.2)
🏇 Enhancement
- update packages expecially node-opcua-pki@1.2.3 and node-opcua-crypto@1.0.3
Newer versions of OpenSSL does not create random files if them don't exist anymore.
now we run `openssl rand -out -hex 256` to make sure the random file is created before it is being used.
👬 contributors:
- [@bompi88](https://togithub.com/bompi88)
### [`v0.7.1`](https://togithub.com/node-opcua/node-opcua/compare/v0.7.0...v0.7.1)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.7.0...v0.7.1)
### [`v0.7.0`](https://togithub.com/node-opcua/node-opcua/releases/v0.7.0)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.6.0...v0.7.0)
🐛 bug fixes:
- [#606](https://togithub.com/node-opcua/node-opcua/issues/606) Install infinite reconnection strategy on client [d1d2f42f52ee223eabed79e825783b810e5bee3f]
- [#606](https://togithub.com/node-opcua/node-opcua/issues/606) fix timestamp decoding in decodeDebug ( decodeHighAccuracyDateTime) [7cb9f49d158b5633966d75f68b58637a4ac8c7b7]
- [#610](https://togithub.com/node-opcua/node-opcua/issues/610) : prevent timeoutHint to overflow in PublishRequest
👬 contributors:
- [@mdameda](https://togithub.com/mdameda) [@biancode](https://togithub.com/biancode)
### [`v0.6.0`](https://togithub.com/node-opcua/node-opcua/releases/v0.6.0)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.5.8...v0.6.0)
🐛 bug fixes:
- [#607](https://togithub.com/node-opcua/node-opcua/issues/607) / [#602](https://togithub.com/node-opcua/node-opcua/issues/602) replace fqdn package to prevent issue with electron or nwjs
- [#596](https://togithub.com/node-opcua/node-opcua/issues/596) fixes error in ClientSession.prototype.getNamespaceIndex
- [#593](https://togithub.com/node-opcua/node-opcua/issues/593) add missing README files
- Fix typo in the followReference function [6b60505d09f2057d9b40b10dcba19197153af69e]
- minor fix to invalid url [85359118eac59109de8a377abc06d45ba5fddc13]
👭 contributors:
- [@ax1](https://togithub.com/ax1) [@ptillemans](https://togithub.com/ptillemans) [@fbalazsy](https://togithub.com/fbalazsy) [@demike](https://togithub.com/demike)
### [`v0.5.8`](https://togithub.com/node-opcua/node-opcua/releases/v0.5.8)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.5.6...v0.5.8)
🐛 bug fixes
- [6cfc29e408f958c9218cad63a61e8f254c8a7b3c] fix SessionDiagnostics schema
- [185547460fb2099e26afcc14ce85782c653b212d] fix Attribute syntax
- [b8662b34f456e6dcc6d14f98d79097396549c917] fix getOldestUnactivatedSession
### [`v0.5.6`](https://togithub.com/node-opcua/node-opcua/releases/v0.5.6)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.5.5...v0.5.6)
🐛 bug fixes
- [#562](https://togithub.com/node-opcua/node-opcua/issues/562) fix write issue with enumeration variable
- [d4fbfb77f1d4683b0ac363d891f3ad8624554614] add shebang section in script
- \|[`0b519f1`](https://togithub.com/node-opcua/node-opcua/commit/0b519f1154d5430e3b3fba8c6b91d6388c9adec5)] fir args usage with typescript 32.1 in node-opcua.d.ts
👭 contributors
- [@hamza765](https://togithub.com/hamza765)
### [`v0.5.5`](https://togithub.com/node-opcua/node-opcua/releases/v0.5.5)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.5.3...v0.5.5)
🌹 enhancements:
##### [client]
- [#574](https://togithub.com/node-opcua/node-opcua/issues/574) allow use of UserNameIdentityToken with unencrypted policy on unencrypted connection to permit connection to Softing servers.
- [#570](https://togithub.com/node-opcua/node-opcua/issues/570) display error message if client certificate lack subjectAltName
- [#499](https://togithub.com/node-opcua/node-opcua/issues/499) add parameter to load own certificate/key from specific path
- [#533](https://togithub.com/node-opcua/node-opcua/issues/533) change Service parameter to browse Objects forward (siemens S7-1500) ( using browseName with parameter string)
- [`3951142`](https://togithub.com/node-opcua/node-opcua/commit/3951142b7c283b0e50e1061a144ca92d049071c9) improve historyRead
👬 contributors:
- [@zombinary](https://togithub.com/zombinary) [@dev03954kd](https://togithub.com/dev03954kd)
### [`v0.5.3`](https://togithub.com/node-opcua/node-opcua/compare/v0.5.1...v0.5.3)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.5.1...v0.5.3)
### [`v0.5.1`](https://togithub.com/node-opcua/node-opcua/releases/v0.5.1)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.5.0...v0.5.1)
:bug:
- [2d2c9c4e438e354ce8e6ceed2fd54bf638a9bc9f] remove heapdump usage
### [`v0.5.0`](https://togithub.com/node-opcua/node-opcua/releases/v0.5.0)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.4.6...v0.5.0)
🐛 bugs fixed:
- [#504](https://togithub.com/node-opcua/node-opcua/issues/504) - ensure minimum buffer size is 8192 as per OPCUA 1.04
- [#538](https://togithub.com/node-opcua/node-opcua/issues/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](https://togithub.com/mdameda) [@nospam2000](https://togithub.com/nospam2000) [@biancode](https://togithub.com/biancode) [@coussej](https://togithub.com/coussej) [@PaBraIgm](https://togithub.com/PaBraIgm)
### [`v0.4.6`](https://togithub.com/node-opcua/node-opcua/releases/v0.4.6)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.4.5...v0.4.6)
🐛 Bug fixing
- [#534](https://togithub.com/node-opcua/node-opcua/issues/534) fixed ClientMonitoredItemGroup#terminate
- [#532](https://togithub.com/node-opcua/node-opcua/issues/532) fixed ClientMonitoredItemGroup#toString
- [#528](https://togithub.com/node-opcua/node-opcua/issues/528) Fix custom JSON stringify issue on Variant & UABaseObject
- [e8e9cae333ebc0582faf437fe16f2d5fb9de4584] fix browseName typo in TwoStateDiscrete
🐴 enhancement
- [#529](https://togithub.com/node-opcua/node-opcua/issues/529) implement of findServersOnNetwork & registerServer2
🍰 extra
- [#527](https://togithub.com/node-opcua/node-opcua/issues/527) add test to demonstrate DataValue#statusCode with extra bits
- [#525](https://togithub.com/node-opcua/node-opcua/issues/525) fixed bn_dateToHundredNanoSecondFrom1601 unit test
👭 contributors
- [@biancode](https://togithub.com/biancode) [@spike0xff](https://togithub.com/spike0xff)
### [`v0.4.5`](https://togithub.com/node-opcua/node-opcua/releases/v0.4.5)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.4.4...v0.4.5)
💔 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
```javascript
addressSpace.addObject({
browseName: "MyObject"
});
```
should now be replaced with
```javascript
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
- [`cfad1db`](https://togithub.com/node-opcua/node-opcua/commit/cfad1db86541f153e827b7512c63e0868d222e5b) add Namepsace support in AddressSpace
- [`38902d0`](https://togithub.com/node-opcua/node-opcua/commit/38902d0e848238b4588284e33acd42970e7126d2) improve nodeset2 generation
🐛 Bugs fixed
- [#510](https://togithub.com/node-opcua/node-opcua/issues/510) improve ClientMonitoredItem typescript declaration
- [#513](https://togithub.com/node-opcua/node-opcua/issues/513) improve handling of browseName containing ":"
- [`a898882`](https://togithub.com/node-opcua/node-opcua/commit/a898882e96002ab74d0548ac113758ab8eaca9ca) fix connection issue with UAExpert
- [#513](https://togithub.com/node-opcua/node-opcua/issues/513) fixing browseName assert and replace it with a warning
- [`90b5220`](https://togithub.com/node-opcua/node-opcua/commit/90b52200b95a5b37af17bf4e0b20ce00829911ec) fix typo in endpoints ([@Razzeee](https://togithub.com/Razzeee))
- [`23b528d`](https://togithub.com/node-opcua/node-opcua/commit/23b528df9a0d5d829a4be2463c5b8c5c8016d7b9) fix typo ([@beppemarazzi](https://togithub.com/beppemarazzi) )
- [`99de128`](https://togithub.com/node-opcua/node-opcua/commit/99de1283f3fe2cde9740d8c4660cd33d7aad5613) properly dispose sockets by removing listeners
- [#501](https://togithub.com/node-opcua/node-opcua/issues/501) fixes typo in readHistoryServerCapabalities helper function
- [#497](https://togithub.com/node-opcua/node-opcua/issues/497) fixes TypeScript error TS1016 and other tslint warnings
- [`37726b8`](https://togithub.com/node-opcua/node-opcua/commit/37726b82c5be6bf4d38df899de72dd7887a8a2c8) fix secure channel cancellation when server is shutting down
- [#495](https://togithub.com/node-opcua/node-opcua/issues/495) client - provide default endpointURl to getEndpointsRequest
- [`562dd5a`](https://togithub.com/node-opcua/node-opcua/commit/562dd5abdebd1bc724e30eee8840156c9be3d3eb) ensure enum value are store as Int32
### [`v0.4.4`](https://togithub.com/node-opcua/node-opcua/compare/v0.4.3...v0.4.4)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.4.3...v0.4.4)
### [`v0.4.3`](https://togithub.com/node-opcua/node-opcua/compare/v0.4.2...v0.4.3)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.4.2...v0.4.3)
### [`v0.4.2`](https://togithub.com/node-opcua/node-opcua/releases/v0.4.2)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.4.1...v0.4.2)
🏇 Enhancements
- Add LocalDiscovery [`ad79724`](https://togithub.com/node-opcua/node-opcua/commit/ad79724f1934568cb1d8f84327e862bd0bad3a2b)
- improve XMLNodeSet2 generation [`38902d0`](https://togithub.com/node-opcua/node-opcua/commit/38902d0e848238b4588284e33acd42970e7126d2)
- Add Namespace support [`cfad1db`](https://togithub.com/node-opcua/node-opcua/commit/cfad1db86541f153e827b7512c63e0868d222e5b) [`4745065`](https://togithub.com/node-opcua/node-opcua/commit/4745065b9f844f9b06ad782451cf24792eec4686)
🐛 bug fixes
- [`f748c28`](https://togithub.com/node-opcua/node-opcua/commit/f748c28f08ea358866c2779ef4174a2197b1fd17) fix bug causing cloning of Variant containing null ExtensionObject to fail
- [#501](https://togithub.com/node-opcua/node-opcua/issues/501) [`ab5b797`](https://togithub.com/node-opcua/node-opcua/commit/ab5b7970bf72714e1f5a9d929bd7772dd96fa5ff) fixes typo in readHistoryServerCapabalities helper function
- [#497](https://togithub.com/node-opcua/node-opcua/issues/497) [`391573d`](https://togithub.com/node-opcua/node-opcua/commit/391573d7b470493b371d68327594bf124c5e6ac0) fixes Typescipt definition
- [`37726b8`](https://togithub.com/node-opcua/node-opcua/commit/37726b82c5be6bf4d38df899de72dd7887a8a2c8) fix secure channel cancellation when server is shutting down
- [#495](https://togithub.com/node-opcua/node-opcua/issues/495) [`72c30d7`](https://togithub.com/node-opcua/node-opcua/commit/72c30d731bf207080471e408269b43f309a4c9a0) client - provide default endpointURl to getEndpointsRequest
- [`562dd5a`](https://togithub.com/node-opcua/node-opcua/commit/562dd5abdebd1bc724e30eee8840156c9be3d3eb) ensure enum value are store as Int32
- [#462](https://togithub.com/node-opcua/node-opcua/issues/462) [`3eabb73`](https://togithub.com/node-opcua/node-opcua/commit/3eabb73587f3306a0da56e8303f91edbba10cb1d) fix typo in documentation
👬 Contributors
- [@Chrissie](https://togithub.com/Chrissie) [@jared-DM](https://togithub.com/jared-DM) [@nnnntosh](https://togithub.com/nnnntosh) [@davidemess](https://togithub.com/davidemess) [@biancode](https://togithub.com/biancode)
### [`v0.4.1`](https://togithub.com/node-opcua/node-opcua/releases/v0.4.1)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.4.0...v0.4.1)
💔 breaking changes
- OPCUAClientBase#getEndpointResquest renamed as OPCUAClientBase#getEndpoints [`d1de8b3`](https://togithub.com/node-opcua/node-opcua/commit/d1de8b3e8e5e231d5e36b1401d9937bc585f0d09)
🏇 enhancements
- [#475](https://togithub.com/node-opcua/node-opcua/issues/475) Add float and boolean parser options in xml nodeset import [`ebbeb84`](https://togithub.com/node-opcua/node-opcua/commit/ebbeb84b500c91949cb216096b1b49b96d25702f)
- update and improve typescript definition [`278d7cb`](https://togithub.com/node-opcua/node-opcua/commit/278d7cbaac247c22a3eaddbfe3fd499606860276)
- add FindServerOnNetwork and RegisterServer2 discovery services [`f2a503a`](https://togithub.com/node-opcua/node-opcua/commit/f2a503a4311febed89f305e001da94f74d09e01e)
- [#484](https://togithub.com/node-opcua/node-opcua/issues/484) improve Local Discovery Server Registration on OPCUAServer [`1096888`](https://togithub.com/node-opcua/node-opcua/commit/1096888c31dfaedd6c6105b57a75176c429f13cb) [`5f36021`](https://togithub.com/node-opcua/node-opcua/commit/5f3602169ba85856e92893ffcdfb62c2854d975a)
🐛 bug fixing
- [#477](https://togithub.com/node-opcua/node-opcua/issues/477) Fixed wrong asymmetricSignatureAlgorithm [`47aa3b5`](https://togithub.com/node-opcua/node-opcua/commit/47aa3b544ad403ac2fe286f05b9c8abc6ddc1469)
- fix extension object decoding - for old extension object version [`891f095`](https://togithub.com/node-opcua/node-opcua/commit/891f095616b832e6ec33482e05cf44142595bfa8) [`21dd1fc`](https://togithub.com/node-opcua/node-opcua/commit/21dd1fca32c7bd2667a2b891fff65744df0819fc)
- allow server to listen to all type of network interface (IPV4 & IPV6) [`47aa3b5`](https://togithub.com/node-opcua/node-opcua/commit/47aa3b544ad403ac2fe286f05b9c8abc6ddc1469)
- [#483](https://togithub.com/node-opcua/node-opcua/issues/483) improve usage of picosecond [`f19cdf2`](https://togithub.com/node-opcua/node-opcua/commit/f19cdf2ac62ba6bfa89514a6d09c584b8cfd5f69)
- [#486](https://togithub.com/node-opcua/node-opcua/issues/486) fixed BadFilterNotAllowed on boolean, String, ByteString & LocalizedText [`16ad0e5`](https://togithub.com/node-opcua/node-opcua/commit/16ad0e5cdc1172424abe8e20967d14819bf60d73) [@marcelwinh](https://togithub.com/marcelwinh)
- [#487](https://togithub.com/node-opcua/node-opcua/issues/487) Declare NodeId class explicitly (Sascha Englert)
👬 contributors
- [@sphire](https://togithub.com/sphire) [@marcelwinh](https://togithub.com/marcelwinh) [@cacamille3](https://togithub.com/cacamille3) [@w4tsn](https://togithub.com/w4tsn)
### [`v0.4.0`](https://togithub.com/node-opcua/node-opcua/compare/v0.3.0...v0.4.0)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.3.0...v0.4.0)
### [`v0.3.0`](https://togithub.com/node-opcua/node-opcua/releases/v0.3.0)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.2.3...v0.3.0)
:bug: bug fixes
- [#288](https://togithub.com/node-opcua/node-opcua/issues/288) [#237](https://togithub.com/node-opcua/node-opcua/issues/237) [#474](https://togithub.com/node-opcua/node-opcua/issues/474) fix client reconnexion issues
🏇 enhancement:
- add OPCUAClient#readHistoryServerCapabilities
👬 contributors:
- [@mika](https://togithub.com/mika) [@biancode](https://togithub.com/biancode) [@coussej](https://togithub.com/coussej) ...
### [`v0.2.3`](https://togithub.com/node-opcua/node-opcua/releases/v0.2.3)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.2.2...v0.2.3)
🐛 bug fixing
- fixes [#464](https://togithub.com/node-opcua/node-opcua/issues/464) add transportProfileUri in reduced EndpointDescription ( fixing ProsysClient interop issue)
- fix typo in doc ([@roccomuso](https://togithub.com/roccomuso))
- userAccessLevel is not matched with variable accessLevel ([@marcelwinh](https://togithub.com/marcelwinh))
- package.json now specify the minimum required node version
- fixes [#449](https://togithub.com/node-opcua/node-opcua/issues/449) UAVariable get/set functor should expose this object ([@yakeer](https://togithub.com/yakeer))
- fixes [#445](https://togithub.com/node-opcua/node-opcua/issues/445) server.serverDiagnosticsSummary.currentSessionCount
- [#446](https://togithub.com/node-opcua/node-opcua/issues/446) add a server stressing test that repeatedly connects/create a session ([@wcchh](https://togithub.com/wcchh))
- [#443](https://togithub.com/node-opcua/node-opcua/issues/443) improve variant test ([@marcelwinh](https://togithub.com/marcelwinh))
- Elegant null handling in string utils ([@mboorstin](https://togithub.com/mboorstin))
- sameVariant function didn't work with Int64, Uint64 & ByteString ([@marcelwinh](https://togithub.com/marcelwinh))
- fixes [#441](https://togithub.com/node-opcua/node-opcua/issues/441) : register to discovery server with server certificate ([@marcelwinh](https://togithub.com/marcelwinh))
👬 contributors:
- [@roccomuso](https://togithub.com/roccomuso) [@marcelwinh](https://togithub.com/marcelwinh) [@mboorstin](https://togithub.com/mboorstin) [@wcchh](https://togithub.com/wcchh) [@yakeer](https://togithub.com/yakeer)
### [`v0.2.2`](https://togithub.com/node-opcua/node-opcua/releases/v0.2.2)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.2.1...v0.2.2)
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](https://togithub.com/node-opcua/node-opcua/issues/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](https://togithub.com/node-opcua/node-opcua/issues/429) [#430](https://togithub.com/node-opcua/node-opcua/issues/430) fix duplicate exports causing rollup to fail
- [651141d0bf6ed5b292e350baff68ef0d67a4b6ab] [#433](https://togithub.com/node-opcua/node-opcua/issues/433) Server ActivateSession should handle missing userIdentityToken
- [48222bf1d43d81a63b7a077be55dc0cb1fa25a82] [#432](https://togithub.com/node-opcua/node-opcua/issues/432) - it should be possible to provide a nodeId to addObjectType
- [daabd1d28c3221c34ffc39b7412e616779b84e7b] [#426](https://togithub.com/node-opcua/node-opcua/issues/426) : add assert to detect malformed timestamped_func function
- [b8b9ca64430c34385e4d232745405bc52d3863d9] fixes [#438](https://togithub.com/node-opcua/node-opcua/issues/438) ClientSession#readAllAttributes : account for null Variant
- [f9f0bbe19f7230892cb5cb091081018c0e93ec7b] fix termination of orphan subscription when server shutdown
- [#420](https://togithub.com/node-opcua/node-opcua/issues/420) await session.read() for single node returns error
- [#439](https://togithub.com/node-opcua/node-opcua/issues/439) Add missing var keyword for CallMethodResult_Schema
👬 Contributors
- [@LukasHechenberger](https://togithub.com/LukasHechenberger) [@eoursel](https://togithub.com/eoursel) [@Sushifresser](https://togithub.com/Sushifresser) [@gnobre](https://togithub.com/gnobre) [@coussej](https://togithub.com/coussej) [@fossejc](https://togithub.com/fossejc) [@stevewillard](https://togithub.com/stevewillard)
### [`v0.2.1`](https://togithub.com/node-opcua/node-opcua/releases/v0.2.1)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.2.0...v0.2.1)
🏇 enhancements
- [#422](https://togithub.com/node-opcua/node-opcua/issues/422) adding ability to set/unset historizing attribute to resume/suspend historization on HA Variable [`786d082`](https://togithub.com/node-opcua/node-opcua/commit/786d082)
- adjust ClientSession#write api to match behavior of other async commands [`2dc2895`](https://togithub.com/node-opcua/node-opcua/commit/2dc2895)
- historical node: complete aggregateConfiguration [`f36c6b6`](https://togithub.com/node-opcua/node-opcua/commit/f36c6b6)
- [#370](https://togithub.com/node-opcua/node-opcua/issues/370) improve typescript definition [`d3a49db`](https://togithub.com/node-opcua/node-opcua/commit/d3a49db) [`4f4b4be`](https://togithub.com/node-opcua/node-opcua/commit/4f4b4be)
🐛 fixes
- [#419](https://togithub.com/node-opcua/node-opcua/issues/419) use UAVariable#minimumSamplingInterval to limit requestedSampling
- [#405](https://togithub.com/node-opcua/node-opcua/issues/405) fix role/permission issue [`ab72b22`](https://togithub.com/node-opcua/node-opcua/commit/ab72b22) [`163bd0c`](https://togithub.com/node-opcua/node-opcua/commit/163bd0c) [`12a9beb`](https://togithub.com/node-opcua/node-opcua/commit/12a9beb)
- fix issue with new version of BigNumber package [`152b240`](https://togithub.com/node-opcua/node-opcua/commit/152b240)
- [#417](https://togithub.com/node-opcua/node-opcua/issues/417) fixes issue with mispelled endpointUrl [`1383d11`](https://togithub.com/node-opcua/node-opcua/commit/1383d11)
- [#420](https://togithub.com/node-opcua/node-opcua/issues/420) fixes issue whereby `await session.read()` for single node returns error in 0.2.0
📁 documentation
- improve ClientSession async method documentation [`271d577`](https://togithub.com/node-opcua/node-opcua/commit/271d577)
- adjustment/optimisation in BinaryStream#readArrayBuffer and BinaryStream#writeArrayBuffer [`211533c`](https://togithub.com/node-opcua/node-opcua/commit/211533c)
👬 contributors
- [@everhardt](https://togithub.com/everhardt) [@zombinary](https://togithub.com/zombinary) [@marcelwinh](https://togithub.com/marcelwinh) [@mawaak](https://togithub.com/mawaak) [@crussell52](https://togithub.com/crussell52) [@coussej](https://togithub.com/coussej)
### [`v0.2.0`](https://togithub.com/node-opcua/node-opcua/releases/v0.2.0)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.0.65...v0.2.0)
Version 0.2.0 introduces a new way to call asynchronous methods on OPCUAClient and ClientSession objects
- node style async method with callback
- async method returning a Promise
[see article](http://node-opcua.github.io/tutorial/2018/01/22/node-opcua-embraces-async-await.html)
Promised version can be chained more easily. They can also be used with async/await on nodeJS > 8 or Typescript (with ES2015 support enabled)
#### 💔 Breaking changes:
some breaking changes have been necessary to normalize all async function and make sure they only provide a single output value. As such, old code using ClientSession#read, #read #browse #readVariableValue #readHistoryValue #readAllAttributes will have to be fixed.
Each OPCUAClient ClientSession async methods comes in two forms:
- the first form allow multiple read/write/browse operation to be performed in a single operation.
example form1: reading many dataValue at once
```javascript
var nodesToRead = [
{ nodeId: "ns=2;s=Furnace_1.Temperature",attributeId: AttributeIds.Value},
{ nodeId: "ns=2;s=Furnace_2.Temperature",attributeId: AttributeIds.Value}
];
session.read(nodesToRead,function(err,dataValues,diagnosticInfos) {
if (!err) {
dataValues.forEach(dataValue=>console.log(dataValue.toString()));
}
});
```
or with the Promise version:
```javascript
session.read(nodesToRead).then(function(dataValues) {
//...
});
```
or with the async/await version (node >8)
```javascript
const dataValues = async session.read(nodesToRead); // an Array
```
- the second form is used to read/write/browse a single element
example form2: reading a single node
```javascript
var nodeToRead = {
nodeId: "ns=2;s=Furnace_1.Temperature",
attributeId: AttributeIds.BrowseName
};
session.read(nodeToRead,function(err,dataValue,diagnosticInfos) {
if (!err) {
console.log(dataValue.toString());
}
});
```
or with the Promise version:
```javascript
session.read(nodeToRead).then(function(dataValue) {
//...
});
or with the async/await version (node >8)
```javascript
const dataValue = async session.read(nodeToRead);
```
#### :new: new features:
- updated typescript declaration file
- add new async method extension for node 8 & above ([`896b323`](https://togithub.com/node-opcua/node-opcua/commit/896b3237))
- use thenify to provide Promise version of async methods ([`c18cdd4`](https://togithub.com/node-opcua/node-opcua/commit/c18cdd44))
- [Breaking Change] fix ClientSession#read callback parameters allow ClientSession#read #browse #readVariableValue #readHistoryValue #readAllAttributes to handle a single element or an array of element.
\#readAllAttributes now return json object with node attributes ([`649d0a8`](https://togithub.com/node-opcua/node-opcua/commit/649d0a89))
#### :bug: bug fixing
- [#413](https://togithub.com/node-opcua/node-opcua/issues/413) fix wrong assert ([`c1afc23`](https://togithub.com/node-opcua/node-opcua/commit/c1afc23e))
- [#416](https://togithub.com/node-opcua/node-opcua/issues/416) fix certificate generation issue on MacOS and LibreSLL - use node-opcua-pki@0.0.29 ([`357823e`](https://togithub.com/node-opcua/node-opcua/commit/357823ef))
- add sample images for server simulation ([`98a29cd`](https://togithub.com/node-opcua/node-opcua/commit/98a29cd8))
- fix makeBrowsePath access ([`4f45ff3`](https://togithub.com/node-opcua/node-opcua/commit/4f45ff3c))
#### 👬 contributors
- [@bompi88](https://togithub.com/bompi88) for adding support for LibreSSL node-opcua-pki
### [`v0.0.65`](https://togithub.com/node-opcua/node-opcua/releases/v0.0.65)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.0.64...v0.0.65)
🐛 bug fixes:
- [#337](https://togithub.com/node-opcua/node-opcua/issues/337) fixes issue with Matrix Variant
- [#339](https://togithub.com/node-opcua/node-opcua/issues/339) fixes default ValueRank value while loading nodeset2.xml files
- [#343](https://togithub.com/node-opcua/node-opcua/issues/343) fixes string nodeid automatic generation
- [#344](https://togithub.com/node-opcua/node-opcua/issues/344) fixes make_relative_path regex to allow all characters allowed by spec
- [#345](https://togithub.com/node-opcua/node-opcua/issues/345) fixes malformed X.509 certificate error by upgrading to latest jsrsasign version
- [#350](https://togithub.com/node-opcua/node-opcua/issues/350) fixes TypeError: Cannot read property 'cyan' of undefined
- [#353](https://togithub.com/node-opcua/node-opcua/issues/353) fixes exception raised when Cancelling pending transactions
- [#355](https://togithub.com/node-opcua/node-opcua/issues/355) fixes uncaughtException: AssertionError: self.nbPendingPublishRequests >0
🏇 Enhancements:
- [`6476c57`](https://togithub.com/node-opcua/node-opcua/commit/6476c57ec23a79e57684c73132466d86ed0a14ba) improve NodeCrawler api
- [`7d91557`](https://togithub.com/node-opcua/node-opcua/commit/7d9155739c653a6e8980b007a372d2a0b9e68659) improve Typescript definitions
- [`f5d6ffd`](https://togithub.com/node-opcua/node-opcua/commit/f5d6ffd39ed876c6512090b193804a5d49b4e3b3) add ClientMonitoredItemGroup
- add support to node 8 and drop support for node 0.12
- [`75b9a77`](https://togithub.com/node-opcua/node-opcua/commit/75b9a779e55a75757b0df09e3ebe4e3f6accc098) [`96c0d12`](https://togithub.com/node-opcua/node-opcua/commit/96c0d127466d848a24ca145808f20953a55243a8) improve sourceTimestamp support
👬 contributors:
- [@marcelwinh](https://togithub.com/marcelwinh) [@psorowka](https://togithub.com/psorowka) [@TorstenKo](https://togithub.com/TorstenKo) [@enobufs](https://togithub.com/enobufs) [@finalburner](https://togithub.com/finalburner) [@PiotrDeyna](https://togithub.com/PiotrDeyna) [@biancode](https://togithub.com/biancode) [@i3fox](https://togithub.com/i3fox) [@jugglingcats](https://togithub.com/jugglingcats)
### [`v0.0.64`](https://togithub.com/node-opcua/node-opcua/releases/v0.0.64)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.0.61...v0.0.64)
🏇 Enhancement
- [#171](https://togithub.com/node-opcua/node-opcua/issues/171) user authorisation (roles&permission) support
- [#332](https://togithub.com/node-opcua/node-opcua/issues/332) provide ability to specify a async getter and a async setter for UAVariable
- [#330](https://togithub.com/node-opcua/node-opcua/issues/330) simple_client now demonstrate how to enumerate EventTypes
- [`3a20922`](https://togithub.com/node-opcua/node-opcua/commit/3a20922) node-opcua simple_server now use self-signed certificate by default
- [#136](https://togithub.com/node-opcua/node-opcua/issues/136) remove SusbscriptionDiagnostics when Subscription has timed out
- [`47c9ada`](https://togithub.com/node-opcua/node-opcua/commit/47c9adad) improve SusbscriptionDiagnostics support
- [#316](https://togithub.com/node-opcua/node-opcua/issues/316) add ConditionClass and ConditionName options in alarm and condition factory
- [`cb2d8ce`](https://togithub.com/node-opcua/node-opcua/commit/cb2d8ce) add historicalRead to interactive client
- [`17c3548`](https://togithub.com/node-opcua/node-opcua/commit/17c3548) A&C addComment now raise a internal event
🥇 CTT:
- [`f897461`](https://togithub.com/node-opcua/node-opcua/commit/f897461) lifetimeCount and timeout default parameters updated
- [`3dffcbf`](https://togithub.com/node-opcua/node-opcua/commit/3dffcbf3) apply serverTimestamp when accessing variables
- [`1a89c1e`](https://togithub.com/node-opcua/node-opcua/commit/1a89c1e) control MAX_SUBSCRIPTION in simple server
🐛 Bug fixing:
- [#328](https://togithub.com/node-opcua/node-opcua/issues/328) Fix historical_data store on sourceTimestamp==null ([@tomsoftware](https://togithub.com/tomsoftware))
- [#310](https://togithub.com/node-opcua/node-opcua/issues/310) fix accessLevel/userAccessLevel when calling installHistoricalDataNode ([@tomsoftware](https://togithub.com/tomsoftware))
- [#327](https://togithub.com/node-opcua/node-opcua/issues/327) Fix missing applicationUri in findServers response ([@enobufs](https://togithub.com/enobufs))
- [`c3f45fa`](https://togithub.com/node-opcua/node-opcua/commit/c3f45fa72) translating an empty browse path shall return BadNothingToDo
- [#298](https://togithub.com/node-opcua/node-opcua/issues/298) fix bug where unaccessible tcp address with low port number may cause unexpected delay.
🏷 Typescript support
- [#304](https://togithub.com/node-opcua/node-opcua/issues/304) first release of node-opcua.dt.ts file for typescript support (work in progress)
👬 contributors:
[@enobufs](https://togithub.com/enobufs), [@tomsoftware](https://togithub.com/tomsoftware),
### [`v0.0.61`](https://togithub.com/node-opcua/node-opcua/releases/v0.0.61)
[Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.0.60...v0.0.61)
🐛 Bug fixing
- [#281](https://togithub.com/node-opcua/node-opcua/issues/281) read more nodes as maxNodesPerRead should return an error
- [#282](https://togithub.com/node-opcua/node-opcua/issues/282) fix openssl date format error on certificate creation on macOS
🏇 Enhancements
- [#288](https://togithub.com/node-opcua/node-opcua/issues/288) improve client reconnexion after break
- implementation of Alarms & Conditions
- [#278](https://togithub.com/node-opcua/node-opcua/issues/278) - Generate OPC AC Events
👬 Contributors
- [@marcelwinh](https://togithub.com/marcelwinh) [@coussej](https://togithub.com/coussej)
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.0.60
->0.7.4
Release Notes
node-opcua/node-opcua
### [`v0.7.4`](https://togithub.com/node-opcua/node-opcua/compare/v0.7.3...v0.7.4) [Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.7.3...v0.7.4) ### [`v0.7.3`](https://togithub.com/node-opcua/node-opcua/releases/v0.7.3) [Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.7.2...v0.7.3) 🐛 bug fixes - [#625](https://togithub.com/node-opcua/node-opcua/issues/625) fix issue with nodeid passed as a string containing semi-columns - fix radius in parseInt usage [`09c1452`](https://togithub.com/node-opcua/node-opcua/commit/09c1452591daa9659fe972bb66b5f4679315c847) - [#425](https://togithub.com/node-opcua/node-opcua/issues/425) fix connection issue with Basic256 ( with UAServerCPP ) 🏇 enhancements - use 2048 bits certificate by default [`f1a9f8f`](https://togithub.com/node-opcua/node-opcua/commit/f1a9f8f581d8c597790b990fe9adf7f09019abc6) 👬 contributors - [@zombinary](https://togithub.com/zombinary) [@samminen](https://togithub.com/samminen) [@rukechen](https://togithub.com/rukechen) ### [`v0.7.2`](https://togithub.com/node-opcua/node-opcua/releases/v0.7.2) [Compare Source](https://togithub.com/node-opcua/node-opcua/compare/v0.7.1...v0.7.2) 🏇 Enhancement - update packages expecially node-opcua-pki@1.2.3 and node-opcua-crypto@1.0.3 Newer versions of OpenSSL does not create random files if them don't exist anymore. now we run `openssl rand -outRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.