Unlocking the Full Potential of OPC UA with Typescript and NodeJS - http://node-opcua.github.io/
MIT License
[70531a27fe47a030a0e82b8bea5d345e526e3447] use hostname when dns resolves to localhost
[be3489e001d504e7af0cb21ed71b11942a5f3a79] improve subscription transfer
[6607a4bc703ba9a5a552e823fe0ac77357177ce9] [206d85b64d02a8ca816c9687af75db0e2780c301] ensure policies are unique in end points
#857 [0ef0f9e801a5b222e2d60e3c37db23ff8330851b] [e5c852bcf0cfbaabf24ea9ffd4ea6cf7a02b822b] fix namespace translation of MethodDeclarationId while reading Nodeset2file containing more than one namespace.
[72d5e9b3e6fec6d63cb7ec3d68bb6e4149d17bba] improve leakDetector for unit test
π¬ contributors
Published by erossignon about 4 years ago
π bug fixes:
*[72b8331] make sure that node-opcua now use fix package version for node-opcua-xxxx
π΄ enhancements
π bug fixes
Published by erossignon about 4 years ago
π΄ enhancements
π bug fixes
π¬ contributors
π bug fixes
π breaking change
for instance
example | <= @2.6.7 | >= @2.7.0 | comment |
---|---|---|---|
HelloWorld |
helloWorld |
helloWorld | unchanged |
ALM_FlowOutOfTolerance |
alM_FlowOutOfTolerance |
ALM_FlowOutOfTolerance |
|
AB_CD_EF |
AB_CD_EF |
AB_CD_EF |
unchanged |
OPCUA and Javascript use two different rules to build identifiers.
OPCUA Identifier usually starts with an upper case letter and word are joined together, this is known as the Pascal case, or CapitalizedWords convention. (for instance HelloWorld
)
But sometimes, OPCUA identifiers do not follow this convention strictly and we can find various other conventions being applied such as underscore between word, or addition of ACRONYMED prefixes.
On its own, this causes great confusion and inconsistency in programming style.
Javascript uses a slightly different convention called camelCase where word are joined together
and inner words start with a capital letter whereas the first word starts with a lower case letter.
(for instance helloWorld
)
In node-opcua we have taken the opinionated decision to consistently use camelCase convention for object properties so that all the code looks nice and consistent.
the lowerFirstLetter
method can be used to easily convert from the OPCUA naming convention to the javascript naming convention by applying the following rules.
EURange
= > euRange
)ALM_FlowOutOfTolerance
=> ALM_flowOutOfTolerance
( ALM
=>ALM
, FlowOutOfTolerance
=>flowOutOfTolerance
)π¬ Contributors
π bug fixes
π΄ enhancements
π¬ contributors
Published by erossignon over 4 years ago
π bug fixes
π enhancement
π¬ contributors
Published by erossignon over 4 years ago
This version introduces significant enhancements
π₯ CTT
π °οΈ Aggregates
π΄ other
π bug fixes
π¬ contributors
Published by erossignon over 4 years ago
π bug fixes
π΄ enhancements