Releases: nacos-group/nacos-sdk-rust
nacos-sdk v0.3.6
0.3.6
- 文档: 补充说明
NamingService
和ConfigService
需要全局的生命周期 - 优化: 调整
connection health check
日志级别为warn
- Doc: supplement that
NamingService
andConfigService
need a global lifecycle #223 - Enhance: adjust the log level of
connection health check
towarn
#223
Full Changelog: v0.3.5...v0.3.6
nacos-sdk v0.3.5
0.3.5
- 修复: 磁盘加载持久化数据不触发
Listener
回调 #218 - 功能: 新增
naming_load_cache_at_start
属性,用于控制是否在启动时加载缓存, 默认false
#218
- Fix: load service info from disk not trigger
Listener
callback #218 - Feature: add
naming_load_cache_at_start
property to control whether to load the cache at startup, defaultfalse
#218
Full Changelog: v0.3.4...v0.3.5
nacos-sdk v0.3.4
0.3.4
- 增强: 当设置 ephemeral=false 时,注册持久化实例
- Enhance: register persistent-instance when instance's ephemeral=false
What's Changed
- Replace map_or_else with unwrap_or and add a test for get_value_u32 by @Mmh-zxz in #212
- [ISSUES #210] register persistent service instance by @onewe in #213
- bump: upgrade version 0.3.4 by @CherishCai in #214
New Contributors
Full Changelog: v0.3.3...v0.3.4
nacos-sdk v0.3.3
一些小变更🚀🚀🚀
0.3.3
- 增强:Nacos client 公共线程池线程数量默认为1并升级一些依赖版本
- Enhance: upgrade some dependencies and nacos common thread pool default thread number is 1
What's Changed
*[ISSUE #202] nacos common thread pool default thread number is 1 by @CherishCai in #202
Full Changelog: v0.3.2...v0.3.3
nacos-sdk v0.3.2
祝大伙中秋佳节,幸福安康~🥮🎉
0.3.2
- 增强:支持环境变量设置部分参数,默认为环境变量优先
- 增强:提供防推空参数设置,默认 true
- 增强:支持 server_addr 不设置端口,默认 8848
- 测试:Integration Test with nacos-server
- Enhance: Read props from environment variables, please see
nacos_sdk::api::constants::ENV_NACOS_CLIENT_*
- Enhance: The
naming_push_empty_protection
could be set by ClientProps - Enhance: Support
server-addr
without port, default 8848 - Test:Integration Test with nacos-server
What's Changed
- [ISSUE #187]Fix typos in ClientProps struct by @mxsm in #188
- [ISSUE #171]Integration Test with nacos-server by @mxsm in #191
- [ISSUE #192]Fix empty check for the server address in method ClientProps#get_server_list is always false by @mxsm in #193
- [ISSUE #185]Supporting server addresses without a port, defaulting to 8848 by @mxsm in #194
- [ISSUE #47]Read configuration from environment variables by @mxsm in #196
- Enhance(#197): naming_push_empty_protection can be set in ClientProps by @CherishCai in #198
- enhance: env_first when get props from ClientProps. by @CherishCai in #199
- bump: upgrade version 0.3.2 by @CherishCai in #200
New Contributors
Full Changelog: v0.3.1...v0.3.2
nacos-sdk v0.3.1
若开启了 auth 的用户,务必升级到此版本,Fix #183
0.3.1
- Fix:异步登陆未完成,进行其它调用出现未登陆异常
user not found
- Fix: Asynchronous login not completed, there is an exception to
user not found
in when making other calls.
What's Changed
- log: log more for config worker by @CherishCai in #182
- [ISSUES #180]fix: user not found by @onewe in #183
- bump: upgrade to 0.3.1 by @CherishCai in #184
Full Changelog: v0.3.0...v0.3.1
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