v0.3.0
版本发布时间: 2023-06-16 18:18:01
nacos-group/nacos-sdk-rust最新发布版本:v0.4.2(2024-09-13 20:04:47)
用 tonic
替换 tikv/grpc-rs
,编译构建更舒服 🎉🎉🎉🔥🔥🔥
由 @onewe 主要贡献,请大伙尝试使用~
对比以前的版本,做了破坏性变更,auth/config-filter/config-encryption 插件,支持 async 方法
若开启了 auth 的用户,务必升级到此版本,Fix https://github.com/nacos-group/nacos-sdk-rust/issues/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 https://github.com/nacos-group/nacos-sdk-rust/pull/140
- refactor grpc client, use tonic instead of grpc-rs by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/138
- chore:
#![deny(rust_2018_idioms, clippy::disallowed_methods, clippy::disallowed_types)]
by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/144 - [ISSUES #19] add common cache component by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/146
- feat: add filter mechanism by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/147
- enhance: adjust server list service parse pattern by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/148
- 合并main分支的"HttpLoginAuthPlugin和ServiceInfoUpdateTask的BUG修复"至0.3.x分支 by @gy0801151351 in https://github.com/nacos-group/nacos-sdk-rust/pull/152
- enhance: refactor naming push request handler by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/154
- enhance: check server address is available by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/156
- merge: 0.3.x merge main by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/158
- Fix: props grpc_port by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/159
- Enhance: 0.3.x tonic instead of tikv/grpc-rs by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/160
- Change: Break Change api of auth plugin, support async fn. by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/162
- Change: Break Change api of config plugin, support async fn. by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/163
- chore: random index for load balance the server list. by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/164
- chore: auth by http login do not use lock. by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/165
- enhance: add some unit tests for tonic service by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/166
- chore: log more in ServiceInfoUpdateTask by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/167
- chore: log more in ServiceInfoObserver by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/168
- chore: add some logs by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/169
- enhance: optimize reconnect logic by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/170
- fix: across await point use dashmap cause deadlock by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/173
- chore: upgrade tokio version by @onewe in https://github.com/nacos-group/nacos-sdk-rust/pull/174
- Try naming span exlcude service name by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/175
- doc: Binding for Python by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/176
- bump: nacos-sdk=0.3.0 by @CherishCai in https://github.com/nacos-group/nacos-sdk-rust/pull/177
Full Changelog: https://github.com/nacos-group/nacos-sdk-rust/compare/v0.2.6...v0.3.0