Releases: nacos-group/nacos-sdk-rust
Releases · nacos-group/nacos-sdk-rust
nacos-sdk v0.4.3
0.4.3
- 功能: 提供 Aliyun ram AuthPlugin (#245),通过
features = ["auth-by-aliyun"]
开启 - 文档: Add aliyun ram examples and improve doc by @luoxiner in #248
- 增强: use LazyLock replace lazy_static by @CherishCai in #250
- Feature: Support Aliyun ram AuthPlugin (#245), enabled with
features = ["auth-by-aliyun"]
- Doc: Add aliyun ram examples and improve doc by @luoxiner in #248
- Chore: use LazyLock replace lazy_static by @CherishCai in #250
Full Changelog: v0.4.1...v0.4.3
nacos-sdk v0.4.2
0.4.2
- 功能: 提供 Aliyun ram AuthPlugin,通过
features = ["auth-plugin-http"]
开启
- Feature: Support Aliyun ram AuthPlugin (#245), enabled with
features = ["auth-plugin-http"]
What's Changed
- feat: Support Aliyun ram AuthPlugin by @luoxiner in #245
- bump: upgrade nacos-sdk=0.4.2, with nacos-macro=0.1.1 by @CherishCai in #246
New Contributors
Full Changelog: v0.4.1...v0.4.2
nacos-sdk v0.4.1
0.4.1
- 优化: 在
auth-plugin-http
使用arc-swap
替换 unsafe 代码 - 增强: 可以设置参数
max_retries
使内部连接 nacos-server 仅重试一定次数(默认无限重连),否则失败抛出 Error - 增强: 针对 Config/Naming 的 sdk 调用检查参数
- 升级: 升级
tonic
andprost
版本 - 样例: 增加一个使用 LazyLock 的用例 lazy_app
- Opt:
auth-plugin-http
unsafe code replace witharc-swap
by @thynson in #234 - Enhance: Prop
max_retries
for InnerConnection with nacos-server by @451846939 in #242 - Enhance: Check params for Config/Naming by @CherishCai in #240
- Bump: Upgrade
tonic
andprost
version by @thynson in #233 - Chore: Add an example lazy_app by @CherishCai in #239
What's Changed
- fix: get rid of unsafe code by arc-swap by @thynson in #234
- Upgrade tonic and prost by @thynson in #233
- chore: add an example lazy_app by @CherishCai in #239
- Chore: Check params for Config/Naming by @CherishCai in #240
- Add Configurable Max Retries for get_config in ConfigService by @451846939 in #242
New Contributors
- @451846939 made their first contribution in #242
Full Changelog: v0.4.0...v0.4.1
nacos-sdk v0.4.0
0.4.0
- 破坏性变更: 使 NamingService 和 ConfigService impl Send + Sync
- 破坏性变更: 默认 async,去掉 sync api,需要的话建议
futures::executor::block_on(future_fn)
- Change: make NamingService and ConfigService Send + Sync
- Change: all async API; If you need sync, maybe
futures::executor::block_on(future_fn)
What's Changed
- feat: make NamingService and ConfigService Send + Sync by @thynson in #228
- Change: all async API; If you need sync, maybe
futures::executor::block_on(future_fn)
by @CherishCai in #230 - bump: upgrade 0.4.0 by @CherishCai in #231
New Contributors
Full Changelog: v0.3.6...v0.4.0
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