vrpc 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -25
- package/browser/vrpc.js +1 -1
- package/package.json +1 -1
- package/vrpc/VrpcAdapter.js +147 -94
- package/vrpc/VrpcAgent.js +32 -49
- package/vrpc/VrpcClient.js +17 -6
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.0.4] - Apr 04 2022
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- automatic token generation when no token and not password were provided
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- changed agent to always run connect with clean session
|
|
17
|
+
- changed generated username on agent to include domain information
|
|
18
|
+
- generating username when neither token nor password are provided
|
|
19
|
+
- changed client's username generation to as well include domain information
|
|
20
|
+
disconnects on inactive browser pages
|
|
21
|
+
- added agent name info to token generator (allows to run in same folder)
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- agent simplification should fix subscription issues when broker gets restarted
|
|
26
|
+
- removed `os.userInfo()` from generated client username as browsers do not
|
|
27
|
+
support this function
|
|
28
|
+
- failing mqtt reconnection when using websocket on a browser that goes inactive
|
|
29
|
+
- removed changing `os.cpus()` call making the clientId stable on same executable
|
|
30
|
+
- serious bug while cleaning up event-registrations resulting from "callAll"
|
|
31
|
+
|
|
8
32
|
## [3.0.3] - Feb 09 2022
|
|
9
33
|
|
|
10
34
|
### Fixed
|
|
@@ -103,8 +127,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
103
127
|
|
|
104
128
|
### Added
|
|
105
129
|
|
|
106
|
-
- injection of proxy-, instance-, and client id into proxy instance [Node.js]
|
|
107
|
-
- public accessor for client id [Node.js]
|
|
130
|
+
- injection of proxy-, instance-, and client id into proxy instance [Node.js](#49)
|
|
131
|
+
- public accessor for client id [Node.js](#49)
|
|
108
132
|
- signal `clientGone` on agent, indicating that a state-changing client went
|
|
109
133
|
[Node.js]
|
|
110
134
|
|
|
@@ -185,9 +209,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
185
209
|
|
|
186
210
|
### Fixed
|
|
187
211
|
|
|
188
|
-
- domain inconsistency in the VrpcRemote API [Node.js]
|
|
212
|
+
- domain inconsistency in the VrpcRemote API [Node.js](#33)
|
|
189
213
|
- webpack-5 crash, using custom browser library now (#36)
|
|
190
|
-
- missing callback when same native addon was loaded to different VrpcLocal instances [Node.js]
|
|
214
|
+
- missing callback when same native addon was loaded to different VrpcLocal instances [Node.js](#31)
|
|
191
215
|
|
|
192
216
|
### Changed
|
|
193
217
|
|
|
@@ -195,7 +219,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
195
219
|
|
|
196
220
|
### Added
|
|
197
221
|
|
|
198
|
-
- possibility to unregister an offline agent [Node.js]
|
|
222
|
+
- possibility to unregister an offline agent [Node.js](#32)
|
|
199
223
|
|
|
200
224
|
## [2.3.1] - 02 Feb 2021
|
|
201
225
|
|
|
@@ -203,7 +227,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
203
227
|
|
|
204
228
|
- Wrong `break` statements when inspecting the client cache for instances to be
|
|
205
229
|
attached to [Node.js]
|
|
206
|
-
- Compilation error on non-copyable classes [C++-Addon]
|
|
230
|
+
- Compilation error on non-copyable classes [C++-Addon](#22)
|
|
207
231
|
|
|
208
232
|
## [2.3.0] - 13 Jan 2021
|
|
209
233
|
|
|
@@ -330,7 +354,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
330
354
|
- Issues with `VrpcRemote::getInstance` ignoring defaults or throwing wrong
|
|
331
355
|
exceptions [Node.js]
|
|
332
356
|
|
|
333
|
-
|
|
334
357
|
### Added
|
|
335
358
|
|
|
336
359
|
- Initial example code for a minimal Todos Application using react-vrpc
|
|
@@ -484,7 +507,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
484
507
|
- proper waiting until all INFO messages arrived
|
|
485
508
|
- automatic un-subscription of dead-client events
|
|
486
509
|
|
|
487
|
-
|
|
488
510
|
## [2.1.0-alpha.0] - 11 Nov 2019
|
|
489
511
|
|
|
490
512
|
### Added
|
|
@@ -571,7 +593,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
571
593
|
- Currently the validity of the server certificate will be trusted
|
|
572
594
|
- Removed the need of automatically building native add-on during vrpc installation
|
|
573
595
|
|
|
574
|
-
|
|
575
596
|
## [2.0.0-alpha.7] - 01 Apr 2019
|
|
576
597
|
|
|
577
598
|
### Fixed
|
|
@@ -620,7 +641,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
620
641
|
|
|
621
642
|
- Adapter and Proxy can now use username and password for MQTT authentication
|
|
622
643
|
- ClientIDs are not longer random generated but explicitly set
|
|
623
|
-
- Added
|
|
644
|
+
- Added **static** keyword to wire protocol as placeholder for the instance
|
|
624
645
|
position in case of static function
|
|
625
646
|
- Updated README to reflect latest documentation
|
|
626
647
|
|
|
@@ -665,34 +686,34 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
665
686
|
|
|
666
687
|
### Fixed
|
|
667
688
|
|
|
668
|
-
|
|
689
|
+
- Re-registration problem for emitter based callbacks resulting in multiplied callbacks
|
|
669
690
|
|
|
670
691
|
## [1.1.6] - 31 Mar 2018
|
|
671
692
|
|
|
672
|
-
|
|
673
|
-
|
|
693
|
+
- Nothing changed, this tag is identical to 1.1.5 for a technical issue during
|
|
694
|
+
publishing
|
|
674
695
|
|
|
675
696
|
## [1.1.5] - 14 Jun 2018
|
|
676
697
|
|
|
677
698
|
### Changed
|
|
678
699
|
|
|
679
|
-
|
|
680
|
-
|
|
700
|
+
- Increased maximum number of inflight ("open") callbacks
|
|
701
|
+
- Updated dependent packages
|
|
681
702
|
|
|
682
703
|
## [1.1.4] - 04 Jun 2018
|
|
683
704
|
|
|
684
705
|
### Added
|
|
685
706
|
|
|
686
|
-
|
|
707
|
+
- Low-level addon tests
|
|
687
708
|
|
|
688
709
|
### Changed
|
|
689
710
|
|
|
690
|
-
|
|
691
|
-
|
|
711
|
+
- vrpc's callCpp function to throw runtime exception in case of issues
|
|
712
|
+
- DRYed addon.cpp, improved string conversions and exception text
|
|
692
713
|
|
|
693
714
|
### Fixed
|
|
694
715
|
|
|
695
|
-
|
|
716
|
+
- Dev-Ops issue if installing twice (`cpp` soft-link is now forced)
|
|
696
717
|
|
|
697
718
|
## [1.1.3] - 01 Jun 2018
|
|
698
719
|
|
|
@@ -726,7 +747,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
726
747
|
- This CHANGELOG.md file
|
|
727
748
|
- pandoc generated REAMDE.rst file
|
|
728
749
|
|
|
729
|
-
|
|
730
750
|
### Changed
|
|
731
751
|
|
|
732
752
|
- Renamed source folder `cpp` into `vrpc`, needed to please python's setup tools
|
|
@@ -744,7 +764,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
744
764
|
- Python proxy constructor to be callable with variadic arguments
|
|
745
765
|
- Syntactic problems in `REAMDE.md` leading to mistakes in auto rst translation
|
|
746
766
|
|
|
747
|
-
|
|
748
767
|
## [1.0.2] - 16 Mar 2018
|
|
749
768
|
|
|
750
769
|
### Changed
|
|
@@ -755,8 +774,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
755
774
|
|
|
756
775
|
- Unnecessary npm-dependency `shortid`
|
|
757
776
|
|
|
758
|
-
|
|
759
|
-
|
|
760
777
|
## [1.0.1] - 14 Mar 2018
|
|
761
778
|
|
|
762
779
|
### Added
|
|
@@ -767,8 +784,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
767
784
|
|
|
768
785
|
- Typo and missing brace in `README.md`
|
|
769
786
|
|
|
770
|
-
|
|
771
|
-
|
|
772
787
|
## [1.0.0] - 14 Mar 2018
|
|
773
788
|
|
|
774
789
|
First public release
|