Skip to content
Permalink
Browse files
fixed dubbo-servie types
  • Loading branch information
hufeng committed Jul 4, 2021
1 parent 8fd133f commit d7d415afbefc529a197052c33d73b2996c19c472
Showing 3 changed files with 7 additions and 20 deletions.
@@ -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 dubbo-js@3.0.0
@@ -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
@@ -33,6 +33,8 @@ export interface IDubboServerProps {

export interface IDubboService {
dubboInterface: string
group?: string
version?: string
methods: { [key in string]: Function }
}

0 comments on commit d7d415a

Please sign in to comment.