Releases: nacos-group/nacos-sdk-rust
nacos-sdk v0.3.0
用 tonic
替换 tikv/grpc-rs
,编译构建更舒服 🎉🎉🎉🔥🔥🔥
由 @onewe 主要贡献,请大伙尝试使用~
对比以前的版本,做了破坏性变更,auth/config-filter/config-encryption 插件,支持 async 方法
若开启了 auth 的用户,务必升级到此版本,Fix #161
中文
- Refactor: 使用
tonic
替换tikv/grpc-rs
- Change: 破坏性变更,auth/config-filter/config-encryption 插件,支持 async 方法
- Chore: 清理 Naming 模块一些废弃 APIs
EN
- Refactor:
tonic
instead oftikv/grpc-rs
- Change: Break Change api of auth plugin, support async fn
- Change: Break Change api of config-filter plugin, support async fn
- Change: Break Change api of config-encryption plugin, support async fn
- Chore: Remove some deprecated APIs of naming
What's Changed
- async from main branch by @onewe in #140
- refactor grpc client, use tonic instead of grpc-rs by @onewe in #138
- chore:
#![deny(rust_2018_idioms, clippy::disallowed_methods, clippy::disallowed_types)]
by @CherishCai in #144 - [ISSUES #19] add common cache component by @onewe in #146
- feat: add filter mechanism by @onewe in #147
- enhance: adjust server list service parse pattern by @onewe in #148
- 合并main分支的"HttpLoginAuthPlugin和ServiceInfoUpdateTask的BUG修复"至0.3.x分支 by @gy0801151351 in #152
- enhance: refactor naming push request handler by @onewe in #154
- enhance: check server address is available by @onewe in #156
- merge: 0.3.x merge main by @CherishCai in #158
- Fix: props grpc_port by @CherishCai in #159
- Enhance: 0.3.x tonic instead of tikv/grpc-rs by @CherishCai in #160
- Change: Break Change api of auth plugin, support async fn. by @CherishCai in #162
- Change: Break Change api of config plugin, support async fn. by @CherishCai in #163
- chore: random index for load balance the server list. by @CherishCai in #164
- chore: auth by http login do not use lock. by @CherishCai in #165
- enhance: add some unit tests for tonic service by @onewe in #166
- chore: log more in ServiceInfoUpdateTask by @CherishCai in #167
- chore: log more in ServiceInfoObserver by @onewe in #168
- chore: add some logs by @onewe in #169
- enhance: optimize reconnect logic by @onewe in #170
- fix: across await point use dashmap cause deadlock by @onewe in #173
- chore: upgrade tokio version by @onewe in #174
- Try naming span exlcude service name by @CherishCai in #175
- doc: Binding for Python by @CherishCai in #176
- bump: nacos-sdk=0.3.0 by @CherishCai in #177
Full Changelog: v0.2.6...v0.3.0
nacos-sdk v0.3.0-pre
用 tonic
替换 tikv/grpc-rs
,编译构建更舒服 🎉🎉🎉🔥🔥🔥
由 @onewe 主要贡献,请大伙尝试使用和完善,期待正式版~
对比以前的版本,做了破坏性变更,auth/config-filter/config-encryption 插件,支持 async 方法
若开启了 auth 的用户,务必升级到此版本,Fix #161
对比 0.3.0-beta, 修复可观测存在的问题,naming span exclude service_name #175
中文
- Refactor: 使用
tonic
替换tikv/grpc-rs
- Change: 破坏性变更,auth/config-filter/config-encryption 插件,支持 async 方法
- Chore: 清理 Naming 模块一些废弃 APIs
EN
- Refactor:
tonic
instead oftikv/grpc-rs
- Change: Break Change api of auth plugin, support async fn
- Change: Break Change api of config-filter plugin, support async fn
- Change: Break Change api of config-encryption plugin, support async fn
- Chore: Remove some deprecated APIs of naming
What's Changed
- chore: random index for load balance the server list. by @CherishCai in #164
- chore: auth by http login do not use lock. by @CherishCai in #165
- enhance: add some unit tests for tonic service by @onewe in #166
- chore: log more in ServiceInfoUpdateTask by @CherishCai in #167
- chore: log more in ServiceInfoObserver by @onewe in #168
- chore: add some logs by @onewe in #169
- enhance: optimize reconnect logic by @onewe in #170
- fix: across await point use dashmap cause deadlock by @onewe in #173
- chore: upgrade tokio version by @onewe in #174
- Try naming span exlcude service name by @CherishCai in #175
Full Changelog: v0.3.0-beta...v0.3.0-pre
nacos-sdk v0.3.0-beta
用 tonic
替换 tikv/grpc-rs
,编译构建更舒服 🎉🎉🎉🔥🔥🔥
由 @onewe 主要贡献,请大伙尝试使用和完善,期待正式版~
对比以前的版本,做了破坏性变更,auth/config-filter/config-encryption 插件,支持 async 方法
若开启了 auth 的用户,务必升级到此版本,Fix #161
中文
- Refactor: 使用
tonic
替换tikv/grpc-rs
- Change: 破坏性变更,auth/config-filter/config-encryption 插件,支持 async 方法
- Chore: 清理 Naming 模块一些废弃 APIs
EN
- Refactor:
tonic
instead oftikv/grpc-rs
- Change: Break Change api of auth plugin, support async fn
- Change: Break Change api of config-filter plugin, support async fn
- Change: Break Change api of config-encryption plugin, support async fn
- Chore: Remove some deprecated APIs of naming
What's Changed
- Fix: Bug: 开启 auth 造成卡住,日志不再输出,可能服务也会下线! #161
- Change: Break Change api of auth plugin, support async fn. by @CherishCai in #162
- Change: Break Change api of config plugin, support async fn. by @CherishCai in #163
Full Changelog: v0.3.0-alpha...v0.3.0-beta
nacos-sdk v0.3.0-alpha
用 tonic
替换 tikv/grpc-rs
,编译构建更舒服 🎉🎉🎉🔥🔥🔥
由 @onewe 主要贡献,请大伙尝试使用和完善,期待正式版~
中文
- Refactor: 使用
tonic
替换tikv/grpc-rs
EN
- Refactor:
tonic
instead oftikv/grpc-rs
What's Changed
- async from main branch by @onewe in #140
- refactor grpc client, use tonic instead of grpc-rs by @onewe in #138
- chore:
#![deny(rust_2018_idioms, clippy::disallowed_methods, clippy::disallowed_types)]
by @CherishCai in #144 - [ISSUES #19] add common cache component by @onewe in #146
- feat: add filter mechanism by @onewe in #147
- enhance: adjust server list service parse pattern by @onewe in #148
- 合并main分支的"HttpLoginAuthPlugin和ServiceInfoUpdateTask的BUG修复"至0.3.x分支 by @gy0801151351 in #152
- enhance: refactor naming push request handler by @onewe in #154
- enhance: check server address is available by @onewe in #156
- merge: 0.3.x merge main by @CherishCai in #158
- Fix: props grpc_port by @CherishCai in #159
- Enhance: 0.3.x tonic instead of tikv/grpc-rs by @CherishCai in #160
Full Changelog: v0.2.6...v0.3.0-alpha
nacos-sdk v0.2.6
中文
- 修复
ServiceInfoUpdateTask
丢失 auth header
EN
- fix lose auth headers in ServiceInfoUpdateTask
What's Changed
- fix: 修复在ServiceInfoUpdateTask中发送的请求丢失auth相关header的问题(#151 ) @gy0801151351
- fix: 修复单线程tokio下HttpLoginAuthPlugin的login发生死锁的问题 (#145 ) @gy0801151351
Full Changelog: v0.2.5...v0.2.6
nacos-sdk v0.2.5
中文
- 优化重连机制
EN
- Enhance: optimize reconnect logic
What's Changed
- enhance: log instrument conn_id (#137 ) @CherishCai
- enhance: og instrument & into_grpc_server_addr (#136 ) @CherishCai
- enhance: env
NACOS_CLIENT_COMMON_THREAD_CORES
to set num when multi-cpus, default is num_cpus (#135 ) @CherishCai - enhance: events isolate (#129 ) @onewe
- enhance: optimize reconnect logic (#139 ) @onewe
Full Changelog: v0.2.4...v0.2.5
nacos-sdk v0.2.4
中文
- 清理无用代码
- login url 携带账号密码
- 统一使用变量名占位方式打印日志
- 支持 https login 认证
- 支持自定义 grpc 端口
- 实现 List-Watch 机制 naming 模块
- 设置默认 grpc 请求超时时间
- 修复服务端多次推送服务变更信息
EN
- Chore: login with url encode username password.
- Chore: clean code with clippy
- Chore: log macro args into string
- Feature: add https scheme in feathre for auth and custom grpc port support
- Feature: implement List-Watch for naming module
- Enhance: set default timeout
- Fix: service info push many times from server
What's Changed
- chore: login with url encode username password. (#112) @CherishCai
- chore: clean code with clippy (#111) @CherishCai
- chore: log macro args into string (#124) @CherishCai
- feature: add https scheme in feathre for auth and custom grpc port support (#123) @shenshouer
- feature: implement List-Watch for naming module (#125) @onewe
- enhance: set default timeout (#128) @onewe
- fix: service info push many times from server (#117) @onewe
Full Changelog: v0.2.3...v0.2.4
nacos-sdk v0.2.3
Rust could binding to Anythings!!!~
nacos-sdk-rust-binding-node : nacos-sdk-rust binding for NodeJs with napi.
Tip: nacos-sdk-nodejs 仓库暂未提供 2.x gRPC 交互模式,为了能升级它,故而通过 node addon 方式调用 nacos-sdk-rust
中文
- 提供 async api,可以通过
features = ["async"]
来启用 - 优化内部逻辑,减少核心线程数目、去除 tls/openssl 依赖
- 变更 naming api
register_instance/select_instances
用以替代register_service/select_instance
- 修复 naming 服务变更的日志打印
EN
- Api: provides the async API, which can be enabled via
features = ['async"]
- Chore: optimize internal logic, reduce the number of core threads, remove tls/openssl dependencies
- Change: naming api
register_instance/select_instances
instead ofregister_service/select_instance
- Fix: naming changed service log
What's Changed
- enhance: add some debug log by @onewe in #86
- chore: some logic optimization. by @CherishCai in #88
- add some unit tests by @onewe in #93
- chore: Optimize and Unified code. by @CherishCai in #95
- ci: fix codecov tarpaulin with 0.22.0 by @CherishCai in #98
- chore: try exclude tls openssl by @CherishCai in #99
- [ISSUES #100] Change: naming api register_instance/select_instances by @onewe in #104
- doc: link to nacos-sdk-rust-binding-node by @CherishCai in #105
- [ISSUES #102] fix naming changed service log by @onewe in #106
- [ISSUES #101] env cq count decrease to 1 by @onewe in #103
- [ISSUES #107] Add asynchronous api by @onewe in #108
- chore: upgrade version to 0.2.3 by @CherishCai in #110
Full Changelog: v0.2.2...v0.2.3
nacos-sdk v0.2.2
nacos-sdk v0.2.1
支持设置多服务端地址
0.2.1
中文
- 支持设置多服务端地址,形如:
address:port[,address:port],...]
EN
- Support multi server-addr, following format:
address:port[,address:port],...]