This is an automated email from the ASF dual-hosted git repository.

hufeng pushed a commit to tag v4.0.0
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git

commit d7d415afbefc529a197052c33d73b2996c19c472
Author: hufeng <[email protected]>
AuthorDate: Sun Jul 4 15:40:35 2021 +0800

    fixed dubbo-servie types
---
 CHANGE.md                           |  9 ++-------
 Makefile                            | 16 +++-------------
 packages/dubbo-service/src/types.ts |  2 ++
 3 files changed, 7 insertions(+), 20 deletions(-)

diff --git a/CHANGE.md b/CHANGE.md
index 4d2d2a8..6eded46 100644
--- a/CHANGE.md
+++ b/CHANGE.md
@@ -1,12 +1,9 @@
 # Release Notes
 
-
 ## 4.0.0
 
 
![image](https://user-images.githubusercontent.com/533008/124376606-67f4a680-dcda-11eb-91b9-96933828bf42.png)
 
-
-
 After long-term community feedback and collaboration, and thanks to the 
efforts of the vivo open source collaboration team, we finally ushered in the 
release of apache dubbo-js 4.0.0.
 
 dubbo-js 4.0.0 will be a new milestone. We have made major software 
architecture adjustments and provided full-stack dubbo service capabilities. 
Dubbo/dj, which is under construction, will help the zero development of 
framework code by building a small cross-language DSL language for dubbo.
@@ -19,12 +16,11 @@ In the process of building dubbo-js, we adhere to the 
consistent principle.
 
 3. High performance and observable.
 
-
 ### Arch
 
 
![image](https://user-images.githubusercontent.com/533008/124376584-43003380-dcda-11eb-9917-8c8d439b1edb.png)
 
-### change log 
+### change log
 
 - Separate modules, refactor code, simplify implementation logic, and remove 
unnecessary defensive programming
 - Zookeeper's node underlying library is replaced with zookeeper's native c 
implementation, replacing the existing node-zookeeper-client
@@ -52,10 +48,9 @@ In the process of building dubbo-js, we adhere to the 
consistent principle.
 ### 【Bug fix】
 
 - Fix serialization of decodeDubboResponse of dubbo-consumer and 
deserialization of err object of error response
-- Repair the heartbeat mechanism between the consumer and the server to avoid 
a large number of heartbeat storms. At present,  The server will reply 
immediately after receiving the heartbeat, and the consumer will check and send 
periodically.
+- Repair the heartbeat mechanism between the consumer and the server to avoid 
a large number of heartbeat storms. At present, The server will reply 
immediately after receiving the heartbeat, and the consumer will check and send 
periodically.
 - Fix the version setting of dubboVersion of dubbo-consumer, this version 
should be the protocol version of dubbo protocal, not the version of dubbo 
library
 
-
 ## 3.0.0
 
 After accepting the community's pr for a long time, we are ready to release 
[email protected]
diff --git a/Makefile b/Makefile
index 12bf2df..3a54845 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@
 
 default: build-interpret-util dubbo-common dubbo-registry dubbo-serialization 
dubbo-service dubbo-consumer
 
+clean-all: clean-dubbo-common clean-dubbo-registry clean-dubbo-registry 
clean-dubbo-serialization clean-dubbo-consumer clean-dubbo-service 
clean-interpret-util
+
 dubbo-common: clean-dubbo-common
        npx tsc --project ./packages/dubbo-common/tsconfig.json
        @echo "compile dubbo-common successfully ❤️\n"
@@ -68,17 +70,5 @@ build-demo-api:clean-demo-api
        cd ./java/dubbo-demo/dubbo-demo-api && mvn install 
dependency:copy-dependencies
        @echo "build demo-api successfully 👌\n"
 
-clean-demo-api:
-       cd ./java/dubbo-demo/dubbo-demo-api && mvn clean
-       @echo "clean demo-api successfully 👌\n"
-
 interpret-jar:build-demo-api
-       ts-node ./packages/interpret-cli/src/cli.ts interpret -c dubbo.json
-
-build-dubbo-invoker:clean-dubbo-invoker
-       npx tsc --project ./packages/dubbo-invoker/tsconfig.json
-       @echo "compile dubbo-invoker successfully 👏\n"
-
-clean-dubbo-invoker:
-       rm -rf ./packages/dubbo-invoker/lib
-       @echo "clean dubbo-invoker successfully 👏\n"
+       ts-node ./packages/interpret-cli/src/cli.ts interpret -c dubbo.json
\ No newline at end of file
diff --git a/packages/dubbo-service/src/types.ts 
b/packages/dubbo-service/src/types.ts
index 3f34358..0bb1c0e 100644
--- a/packages/dubbo-service/src/types.ts
+++ b/packages/dubbo-service/src/types.ts
@@ -33,6 +33,8 @@ export interface IDubboServerProps {
 
 export interface IDubboService {
   dubboInterface: string
+  group?: string
+  version?: string
   methods: { [key in string]: Function }
 }
 

Reply via email to