vrpc 3.0.2 → 3.1.0

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 CHANGED
@@ -5,7 +5,57 @@ 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.2] - Feb 8 2022
8
+ ## [3.1.0] - Jun 15 2022
9
+
10
+ ### Added
11
+
12
+ - possibility to set a user-defined MQTT client ID for both, agent and client [#56]
13
+ - possibility to set a user-defined VRPC client identity
14
+
15
+ ### Fixed
16
+
17
+ - potential access to null object resulting in remote exception
18
+ - more defensive programming when client used an non-emitter instance for
19
+ registering events
20
+ - potential application crash when VrpcNative was provided with a bad callback
21
+ which got called from within C++
22
+
23
+ ### Changed
24
+
25
+ - switched domain and agent separator from `:` to `/` when generating username
26
+
27
+ ## [3.0.4] - Apr 04 2022
28
+
29
+ ### Added
30
+
31
+ - automatic token generation when no token and not password were provided
32
+
33
+ ### Changed
34
+
35
+ - changed agent to always run connect with clean session
36
+ - changed generated username on agent to include domain information
37
+ - generating username when neither token nor password are provided
38
+ - changed client's username generation to as well include domain information
39
+ disconnects on inactive browser pages
40
+ - added agent name info to token generator (allows to run in same folder)
41
+
42
+ ### Fixed
43
+
44
+ - agent simplification should fix subscription issues when broker gets restarted
45
+ - removed `os.userInfo()` from generated client username as browsers do not
46
+ support this function
47
+ - failing mqtt reconnection when using websocket on a browser that goes inactive
48
+ - removed changing `os.cpus()` call making the clientId stable on same executable
49
+ - serious bug while cleaning up event-registrations resulting from "callAll"
50
+
51
+ ## [3.0.3] - Feb 09 2022
52
+
53
+ ### Fixed
54
+
55
+ - again generating implicit username (when none is given) as MQTT does not
56
+ support handing over password only
57
+
58
+ ## [3.0.2] - Feb 08 2022
9
59
 
10
60
  ### Changed
11
61
 
@@ -96,8 +146,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
96
146
 
97
147
  ### Added
98
148
 
99
- - injection of proxy-, instance-, and client id into proxy instance [Node.js] (#49)
100
- - public accessor for client id [Node.js] (#49)
149
+ - injection of proxy-, instance-, and client id into proxy instance [Node.js](#49)
150
+ - public accessor for client id [Node.js](#49)
101
151
  - signal `clientGone` on agent, indicating that a state-changing client went
102
152
  [Node.js]
103
153
 
@@ -178,9 +228,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
178
228
 
179
229
  ### Fixed
180
230
 
181
- - domain inconsistency in the VrpcRemote API [Node.js] (#33)
231
+ - domain inconsistency in the VrpcRemote API [Node.js](#33)
182
232
  - webpack-5 crash, using custom browser library now (#36)
183
- - missing callback when same native addon was loaded to different VrpcLocal instances [Node.js] (#31)
233
+ - missing callback when same native addon was loaded to different VrpcLocal instances [Node.js](#31)
184
234
 
185
235
  ### Changed
186
236
 
@@ -188,7 +238,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
188
238
 
189
239
  ### Added
190
240
 
191
- - possibility to unregister an offline agent [Node.js] (#32)
241
+ - possibility to unregister an offline agent [Node.js](#32)
192
242
 
193
243
  ## [2.3.1] - 02 Feb 2021
194
244
 
@@ -196,7 +246,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
196
246
 
197
247
  - Wrong `break` statements when inspecting the client cache for instances to be
198
248
  attached to [Node.js]
199
- - Compilation error on non-copyable classes [C++-Addon] (#22)
249
+ - Compilation error on non-copyable classes [C++-Addon](#22)
200
250
 
201
251
  ## [2.3.0] - 13 Jan 2021
202
252
 
@@ -323,7 +373,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
323
373
  - Issues with `VrpcRemote::getInstance` ignoring defaults or throwing wrong
324
374
  exceptions [Node.js]
325
375
 
326
-
327
376
  ### Added
328
377
 
329
378
  - Initial example code for a minimal Todos Application using react-vrpc
@@ -477,7 +526,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
477
526
  - proper waiting until all INFO messages arrived
478
527
  - automatic un-subscription of dead-client events
479
528
 
480
-
481
529
  ## [2.1.0-alpha.0] - 11 Nov 2019
482
530
 
483
531
  ### Added
@@ -564,7 +612,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
564
612
  - Currently the validity of the server certificate will be trusted
565
613
  - Removed the need of automatically building native add-on during vrpc installation
566
614
 
567
-
568
615
  ## [2.0.0-alpha.7] - 01 Apr 2019
569
616
 
570
617
  ### Fixed
@@ -613,7 +660,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
613
660
 
614
661
  - Adapter and Proxy can now use username and password for MQTT authentication
615
662
  - ClientIDs are not longer random generated but explicitly set
616
- - Added __static__ keyword to wire protocol as placeholder for the instance
663
+ - Added **static** keyword to wire protocol as placeholder for the instance
617
664
  position in case of static function
618
665
  - Updated README to reflect latest documentation
619
666
 
@@ -658,34 +705,34 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
658
705
 
659
706
  ### Fixed
660
707
 
661
- - Re-registration problem for emitter based callbacks resulting in multiplied callbacks
708
+ - Re-registration problem for emitter based callbacks resulting in multiplied callbacks
662
709
 
663
710
  ## [1.1.6] - 31 Mar 2018
664
711
 
665
- - Nothing changed, this tag is identical to 1.1.5 for a technical issue during
666
- publishing
712
+ - Nothing changed, this tag is identical to 1.1.5 for a technical issue during
713
+ publishing
667
714
 
668
715
  ## [1.1.5] - 14 Jun 2018
669
716
 
670
717
  ### Changed
671
718
 
672
- - Increased maximum number of inflight ("open") callbacks
673
- - Updated dependent packages
719
+ - Increased maximum number of inflight ("open") callbacks
720
+ - Updated dependent packages
674
721
 
675
722
  ## [1.1.4] - 04 Jun 2018
676
723
 
677
724
  ### Added
678
725
 
679
- - Low-level addon tests
726
+ - Low-level addon tests
680
727
 
681
728
  ### Changed
682
729
 
683
- - vrpc's callCpp function to throw runtime exception in case of issues
684
- - DRYed addon.cpp, improved string conversions and exception text
730
+ - vrpc's callCpp function to throw runtime exception in case of issues
731
+ - DRYed addon.cpp, improved string conversions and exception text
685
732
 
686
733
  ### Fixed
687
734
 
688
- - Dev-Ops issue if installing twice (`cpp` soft-link is now forced)
735
+ - Dev-Ops issue if installing twice (`cpp` soft-link is now forced)
689
736
 
690
737
  ## [1.1.3] - 01 Jun 2018
691
738
 
@@ -719,7 +766,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
719
766
  - This CHANGELOG.md file
720
767
  - pandoc generated REAMDE.rst file
721
768
 
722
-
723
769
  ### Changed
724
770
 
725
771
  - Renamed source folder `cpp` into `vrpc`, needed to please python's setup tools
@@ -737,7 +783,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
737
783
  - Python proxy constructor to be callable with variadic arguments
738
784
  - Syntactic problems in `REAMDE.md` leading to mistakes in auto rst translation
739
785
 
740
-
741
786
  ## [1.0.2] - 16 Mar 2018
742
787
 
743
788
  ### Changed
@@ -748,8 +793,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
748
793
 
749
794
  - Unnecessary npm-dependency `shortid`
750
795
 
751
-
752
-
753
796
  ## [1.0.1] - 14 Mar 2018
754
797
 
755
798
  ### Added
@@ -760,8 +803,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
760
803
 
761
804
  - Typo and missing brace in `README.md`
762
805
 
763
-
764
-
765
806
  ## [1.0.0] - 14 Mar 2018
766
807
 
767
808
  First public release