vrpc 3.0.0-alpha.3 → 3.0.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 +28 -0
- package/LICENSE +1 -1
- package/README.md +8 -9
- package/browser/vrpc.js +1 -1
- package/package.json +8 -5
- package/vrpc/VrpcAdapter.js +194 -171
- package/vrpc/VrpcAgent.js +18 -17
- package/vrpc/VrpcClient.js +260 -113
- package/vrpc/VrpcNative.js +25 -2
- package/vrpc/adapter.hpp +4 -2
- package/vrpc/addon.cpp +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ 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.0] - Jan 20 2022
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `vrpcOn` / `vrpcOff` feature to client
|
|
13
|
+
- tests exclusively for VrpcAdapter
|
|
14
|
+
- support for `path.join(__dirname, <path>)` expressions when registering class
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- unhandled promise rejection on initial connect timeout
|
|
19
|
+
- missing documentation for VrpcNative
|
|
20
|
+
- bug on new `vrpcOn` feature
|
|
21
|
+
- bug while unregister event listeners via "off" or "removeAllListeners"
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- error messages as triggered on remote agents (now include context info)
|
|
26
|
+
- removed obsolete public API from VrpcAdapter
|
|
27
|
+
- internal handling of EventEmitter subscriptions
|
|
28
|
+
- now publishing a single message per event to a fixed topic
|
|
29
|
+
- dispatching happens by the broker not by the agent anymore
|
|
30
|
+
- this saves a lot of traffic when many clients subscribe to same events
|
|
31
|
+
- reduced size of response messages by skipping redundant information
|
|
32
|
+
- order of items within RPC message
|
|
33
|
+
- promise rejection message as triggered on remote agents (now include context
|
|
34
|
+
info)
|
|
35
|
+
|
|
8
36
|
## [3.0.0-alpha.3] - 25 Nov 2021
|
|
9
37
|
|
|
10
38
|
### Fixed
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2018 -
|
|
3
|
+
Copyright (c) 2018 - 2022 Dr. Burkhard C. Heisen
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
# VRPC - Variadic Remote Procedure Calls
|
|
2
2
|
|
|
3
|
-
[](https://raw.githubusercontent.com/heisenware/vrpc/master/LICENSE)
|
|
3
|
+
[](https://raw.githubusercontent.com/heisenware/vrpc-js/master/LICENSE)
|
|
5
4
|
[](https://semver.org/spec/v2.0.0.html)
|
|
6
|
-
[](https://github.com/heisenware/vrpc/tag)
|
|
7
|
-
[](http://github.com/heisenware/vrpc/issues)
|
|
8
|
-

|
|
5
|
+
[](https://github.com/heisenware/vrpc-js/tag)
|
|
6
|
+
[](http://github.com/heisenware/vrpc-js/issues)
|
|
7
|
+

|
|
9
8
|
|
|
10
9
|
## Visit our website: [vrpc.io](https://vrpc.io)
|
|
11
10
|
|
|
@@ -37,10 +36,10 @@ Cloud-Computing.
|
|
|
37
36
|
|
|
38
37
|
Understand how to use it by looking at the examples:
|
|
39
38
|
|
|
40
|
-
- [Agent Example](examples/agent/README.md)
|
|
41
|
-
- [Client Example](examples/client/README.md)
|
|
42
|
-
- [Simple C++ Embedding Example](examples/
|
|
43
|
-
- [Advanced C++ Embedding Example](examples/
|
|
39
|
+
- [Agent Example](examples/01-agent/README.md)
|
|
40
|
+
- [Client Example](examples/02-client/README.md)
|
|
41
|
+
- [Simple C++ Embedding Example](examples/03-native-simple/README.md)
|
|
42
|
+
- [Advanced C++ Embedding Example](examples/04-native-advanced/README.md)
|
|
44
43
|
|
|
45
44
|
Get all the details by reading the documentation:
|
|
46
45
|
|