Skip to content

Releases: nacos-group/nacos-sdk-rust

nacos-sdk v0.3.0-pre

09 Jun 12:55
Compare
Choose a tag to compare

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 of tikv/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

Full Changelog: v0.3.0-beta...v0.3.0-pre

nacos-sdk v0.3.0-beta

18 May 03:22
2235aae
Compare
Choose a tag to compare

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 of tikv/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

13 May 09:35
9f18bf0
Compare
Choose a tag to compare
Pre-release

tonic 替换 tikv/grpc-rs ,编译构建更舒服 🎉🎉🎉🔥🔥🔥
@onewe 主要贡献,请大伙尝试使用和完善,期待正式版~


中文

  • Refactor: 使用 tonic 替换 tikv/grpc-rs

EN

  • Refactor: tonic instead of tikv/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

03 May 02:25
f6b72df
Compare
Choose a tag to compare

中文

  • 修复 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

16 Apr 11:12
bd0b678
Compare
Choose a tag to compare

中文

  • 优化重连机制

EN

  • Enhance: optimize reconnect logic

What's Changed

Full Changelog: v0.2.4...v0.2.5

nacos-sdk v0.2.4

24 Mar 10:18
eecace3
Compare
Choose a tag to compare

中文

  • 清理无用代码
  • 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

Full Changelog: v0.2.3...v0.2.4

nacos-sdk v0.2.3

28 Feb 02:36
fa51ea4
Compare
Choose a tag to compare

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 of register_service/select_instance
  • Fix: naming changed service log

What's Changed

Full Changelog: v0.2.2...v0.2.3

nacos-sdk v0.2.2

08 Dec 14:12
b352ad6
Compare
Choose a tag to compare

修复服务注册cluster_name无效

0.2.2

中文

修复服务注册cluster_name无效

EN

fix cluster name invalid when the service register

What's Changed

  • fix cluster name invalid when the service register by @onewe in #83

nacos-sdk v0.2.1

08 Dec 02:06
1f6d815
Compare
Choose a tag to compare

支持设置多服务端地址

0.2.1

中文

  • 支持设置多服务端地址,形如:address:port[,address:port],...]

EN

  • Support multi server-addr, following format: address:port[,address:port],...]

What's Changed

nacos-sdk v0.2.0

26 Nov 04:32
88c1750
Compare
Choose a tag to compare

nacos-sdk=0.2.0 ,Config/Naming 功能均可用,同时包括登陆鉴权,配置解密插件均在这个版本提供。

0.2.0

中文

  • Config/Naming 功能均可用
  • 登陆鉴权 username/password
  • 配置解密插件
  • 底层 grpc 链接健康检测,自动重连

EN

  • The module of Config and naming are available
  • Support Auth Plugin and with props username/password
  • Config decryption Plugin
  • Core grpc health detection, automatic reconnection

What's Changed

  • feat: 完成 grpc 消息序列化和反序列化 by @onewe in #11
  • feat: 增加公共调度器 by @onewe in #12
  • feat: 完成 check-server 交互 by @onewe in #13
  • feat: 服务下线 by @onewe in #22
  • feat: 批量注册 by @onewe in #23
  • feat: 服务查询 by @onewe in #24
  • feat: 服务选取 by @onewe in #26
  • change(api-config #16): Change api ConfigChangeListener to Trait. by @CherishCai in #27
  • test(config-worker): test client_worker add cache_datda by @CherishCai in #30
  • feat(config-listener): ConfigChangeListener Notify in independent thread. by @CherishCai in #28
  • feat(config-api #29): remove_listener() for Remove a Listener. by @CherishCai in #32
  • feat(naming): service subscribe by @onewe in #33
  • feat(config-api #29): remove_config() for Remove a Config. by @CherishCai in #34
  • feat(config-api #29): publish_config() for Publish a Config. by @CherishCai in #35
  • feat: support to duplicate register with same subscriber type by @onewe in #36
  • feat: unsubscribe service by @onewe in #38
  • feat(api-plugin #17): ConfigFilter and EncryptionPlugin by @CherishCai in #39
  • feat: grpc server switch and reconnect by @onewe in #40
  • enhance: remove panic when the target server connot connect by @onewe in #41
  • refactor(macro-request): refactor macro request and fix some typo. by @CherishCai in #43
  • refactor: naming grpc move to common module by @onewe in #44
  • refactor(config-grpc): unified grpc inner config with naming. by @CherishCai in #48
  • [ISSUES #49] fix config listener cannot listen config data change by @onewe in #50
  • Change: server-addr 默认 0.0.0.0:8848,grpc 链接端口+1000 by @CherishCai in #52
  • [ISSUES #55] enhance grpc client reconnect logic by @onewe in #56
  • [ISSUE #18] Feature: Auth 鉴权;账密登陆 accessToken by @CherishCai in #58
  • upgrade: grpcio=0.12, prost=0.11 by @CherishCai in #57
  • [ISSUES #53] enhance grpc healthy check by @onewe in #60
  • [ISSUES #59] automatic register naming service by @onewe in #62
  • optimized code, optimized dependencies by @CherishCai in #65
  • [ISSUES #67] naming service push by @onewe in #68
  • [ISSUES #69] cache local service info by @onewe in #70

New Contributors

  • @onewe made their first contribution in #11

Full Changelog: v0.1.1...v0.2.0-with-macro