vrpc 3.0.1 → 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 +58 -25
- package/browser/vrpc.js +1 -1
- package/package.json +1 -1
- package/vrpc/VrpcAdapter.js +147 -92
- package/vrpc/VrpcAgent.js +36 -49
- package/vrpc/VrpcClient.js +27 -9
- package/vrpc/vrpc-agent-js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,48 @@ 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
|
+
|
|
32
|
+
## [3.0.3] - Feb 09 2022
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- again generating implicit username (when none is given) as MQTT does not
|
|
37
|
+
support handing over password only
|
|
38
|
+
|
|
39
|
+
## [3.0.2] - Feb 08 2022
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
|
|
43
|
+
- removed implicit setting of username to `__token__` when authenticating with
|
|
44
|
+
access token
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
|
|
48
|
+
- bug during un-registering obsolete event subscriptions
|
|
49
|
+
|
|
8
50
|
## [3.0.1] - Jan 24 2022
|
|
9
51
|
|
|
10
52
|
### Fixed
|
|
@@ -85,8 +127,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
85
127
|
|
|
86
128
|
### Added
|
|
87
129
|
|
|
88
|
-
- injection of proxy-, instance-, and client id into proxy instance [Node.js]
|
|
89
|
-
- 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)
|
|
90
132
|
- signal `clientGone` on agent, indicating that a state-changing client went
|
|
91
133
|
[Node.js]
|
|
92
134
|
|
|
@@ -167,9 +209,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
167
209
|
|
|
168
210
|
### Fixed
|
|
169
211
|
|
|
170
|
-
- domain inconsistency in the VrpcRemote API [Node.js]
|
|
212
|
+
- domain inconsistency in the VrpcRemote API [Node.js](#33)
|
|
171
213
|
- webpack-5 crash, using custom browser library now (#36)
|
|
172
|
-
- 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)
|
|
173
215
|
|
|
174
216
|
### Changed
|
|
175
217
|
|
|
@@ -177,7 +219,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
177
219
|
|
|
178
220
|
### Added
|
|
179
221
|
|
|
180
|
-
- possibility to unregister an offline agent [Node.js]
|
|
222
|
+
- possibility to unregister an offline agent [Node.js](#32)
|
|
181
223
|
|
|
182
224
|
## [2.3.1] - 02 Feb 2021
|
|
183
225
|
|
|
@@ -185,7 +227,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
185
227
|
|
|
186
228
|
- Wrong `break` statements when inspecting the client cache for instances to be
|
|
187
229
|
attached to [Node.js]
|
|
188
|
-
- Compilation error on non-copyable classes [C++-Addon]
|
|
230
|
+
- Compilation error on non-copyable classes [C++-Addon](#22)
|
|
189
231
|
|
|
190
232
|
## [2.3.0] - 13 Jan 2021
|
|
191
233
|
|
|
@@ -312,7 +354,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
312
354
|
- Issues with `VrpcRemote::getInstance` ignoring defaults or throwing wrong
|
|
313
355
|
exceptions [Node.js]
|
|
314
356
|
|
|
315
|
-
|
|
316
357
|
### Added
|
|
317
358
|
|
|
318
359
|
- Initial example code for a minimal Todos Application using react-vrpc
|
|
@@ -466,7 +507,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
466
507
|
- proper waiting until all INFO messages arrived
|
|
467
508
|
- automatic un-subscription of dead-client events
|
|
468
509
|
|
|
469
|
-
|
|
470
510
|
## [2.1.0-alpha.0] - 11 Nov 2019
|
|
471
511
|
|
|
472
512
|
### Added
|
|
@@ -553,7 +593,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
553
593
|
- Currently the validity of the server certificate will be trusted
|
|
554
594
|
- Removed the need of automatically building native add-on during vrpc installation
|
|
555
595
|
|
|
556
|
-
|
|
557
596
|
## [2.0.0-alpha.7] - 01 Apr 2019
|
|
558
597
|
|
|
559
598
|
### Fixed
|
|
@@ -602,7 +641,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
602
641
|
|
|
603
642
|
- Adapter and Proxy can now use username and password for MQTT authentication
|
|
604
643
|
- ClientIDs are not longer random generated but explicitly set
|
|
605
|
-
- Added
|
|
644
|
+
- Added **static** keyword to wire protocol as placeholder for the instance
|
|
606
645
|
position in case of static function
|
|
607
646
|
- Updated README to reflect latest documentation
|
|
608
647
|
|
|
@@ -647,34 +686,34 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
647
686
|
|
|
648
687
|
### Fixed
|
|
649
688
|
|
|
650
|
-
|
|
689
|
+
- Re-registration problem for emitter based callbacks resulting in multiplied callbacks
|
|
651
690
|
|
|
652
691
|
## [1.1.6] - 31 Mar 2018
|
|
653
692
|
|
|
654
|
-
|
|
655
|
-
|
|
693
|
+
- Nothing changed, this tag is identical to 1.1.5 for a technical issue during
|
|
694
|
+
publishing
|
|
656
695
|
|
|
657
696
|
## [1.1.5] - 14 Jun 2018
|
|
658
697
|
|
|
659
698
|
### Changed
|
|
660
699
|
|
|
661
|
-
|
|
662
|
-
|
|
700
|
+
- Increased maximum number of inflight ("open") callbacks
|
|
701
|
+
- Updated dependent packages
|
|
663
702
|
|
|
664
703
|
## [1.1.4] - 04 Jun 2018
|
|
665
704
|
|
|
666
705
|
### Added
|
|
667
706
|
|
|
668
|
-
|
|
707
|
+
- Low-level addon tests
|
|
669
708
|
|
|
670
709
|
### Changed
|
|
671
710
|
|
|
672
|
-
|
|
673
|
-
|
|
711
|
+
- vrpc's callCpp function to throw runtime exception in case of issues
|
|
712
|
+
- DRYed addon.cpp, improved string conversions and exception text
|
|
674
713
|
|
|
675
714
|
### Fixed
|
|
676
715
|
|
|
677
|
-
|
|
716
|
+
- Dev-Ops issue if installing twice (`cpp` soft-link is now forced)
|
|
678
717
|
|
|
679
718
|
## [1.1.3] - 01 Jun 2018
|
|
680
719
|
|
|
@@ -708,7 +747,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
708
747
|
- This CHANGELOG.md file
|
|
709
748
|
- pandoc generated REAMDE.rst file
|
|
710
749
|
|
|
711
|
-
|
|
712
750
|
### Changed
|
|
713
751
|
|
|
714
752
|
- Renamed source folder `cpp` into `vrpc`, needed to please python's setup tools
|
|
@@ -726,7 +764,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
726
764
|
- Python proxy constructor to be callable with variadic arguments
|
|
727
765
|
- Syntactic problems in `REAMDE.md` leading to mistakes in auto rst translation
|
|
728
766
|
|
|
729
|
-
|
|
730
767
|
## [1.0.2] - 16 Mar 2018
|
|
731
768
|
|
|
732
769
|
### Changed
|
|
@@ -737,8 +774,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
737
774
|
|
|
738
775
|
- Unnecessary npm-dependency `shortid`
|
|
739
776
|
|
|
740
|
-
|
|
741
|
-
|
|
742
777
|
## [1.0.1] - 14 Mar 2018
|
|
743
778
|
|
|
744
779
|
### Added
|
|
@@ -749,8 +784,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
749
784
|
|
|
750
785
|
- Typo and missing brace in `README.md`
|
|
751
786
|
|
|
752
|
-
|
|
753
|
-
|
|
754
787
|
## [1.0.0] - 14 Mar 2018
|
|
755
788
|
|
|
756
789
|
First public release
|