Skip to content

Releases: nacos-group/nacos-sdk-cpp

v1.1.1

21 May 03:17
2b4104d

Choose a tag to compare

What's Changed

  • feature 支持指定endpoint时携带参数,去除编译警告 by @TengCheng in #135
  • [BUG FIX] fix up post param base64 encoding problem by @robynron in #138
  • [BUG FIX] fix up naming signData && url encoding by @robynron in #139

New Contributors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

10 Apr 15:43
60dc0fb

Choose a tag to compare

issue #85 fix:
If the client fails to login to nacos server at initialization stage, it will crash
If the server's password is changed when the client is running, the client will try to login the server every 30 seconds and put this issue on nacos-sdk-cpp.log

NacosConfigService::getConfig behavior change:
When the server returns 403(no permission), the client will try to get local snapshot, if there is no snapshot, the getConfig() will throw an exception with errorcode = 403 and the user is to decide the failback strategy

V 1.0.9 SPAS authentication, CMake and more

25 Jan 08:55
72d0cd2

Choose a tag to compare

New features:

  1. Add support for SPAS authentication
  2. Migration from Makefile to CMakeList, the client now supports make install
  3. Project include directory refactor and client factory refactor to keep include and code clean and concise
  4. Changed feature of Log system, now you can specify the log file's size

Bugfixes:
Bugfix #101
Bugfix #96, thanks to @cool-colo
Bugfix #99
Bugfix #92, thanks to @labman000

v1.0.8 Minor fixes & Code polish

18 Jun 14:37
c3f4668

Choose a tag to compare

  1. Bugfix #70 , to comply with Nacos 2.x, the client won't check instanceId got from the server and will automatically create an instanceId when registering a new service
  2. Bugfix #71 (Partially, still need work on 'make install' part)
  3. Testcase order adjust to avoid test failures

btw: I need some courage to make up my mind to finish the gRPC version of this client (C++ is really a bad choice when it comes to serializing/deserializing objects into JSON )

1.0.7 C++17 compatibility

17 Apr 14:56
b13a03a

Choose a tag to compare

1.0.7 C++17 compatibility
Add -std=c++17 to enable, tested with the following compilers:
gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1 14.04)
gcc version 9.3.0 (Ubuntu 9.3.0-11ubuntu0 14.04)

v 1.0.6 Heartbeat mechanism improvement and bugfixes

19 Mar 02:48
5e2b8f0

Choose a tag to compare

  1. Heartbeat mechanism improvement: see #20
  2. bugfix #58 , client could be initialized without nacos-cpp-cli.properties
  3. bugfix, pr #59 , fix header guard conflict on NacosExceptions.h

v 1.0.5 A lot of bug fixes and Readme.Md update

29 Jan 14:28
9162773

Choose a tag to compare

  1. Bugfix #52 Sigseg when client is listening to a key and the server is shutting down by executing shutdown.sh
  2. Reuse the curl object - performance improvement
  3. Add logging function
  4. Add detailed, executable examples, could be found on nacos-sdk-cpp/examples/
  5. Improvements on exception handling when network is down
  6. Readme.md improvement

v 1.0.4 Multiple platform support

13 Jan 13:14
cbd8643

Choose a tag to compare

Support for Windows/MacOS/Linux

Code polish

v 1.0.3 Logging, configuration properties file support ... and more!

11 Jan 14:22
c29099a

Choose a tag to compare

Support log file
Support .properties configuration, please check nacos-cpp-cli.properties for details

Major bug fix:
Thread exit optimization, now the daemon thread will exit quickly, thus the client won't take much time to exit (compared with previous version)
Special thanks to @wensheng-zhang for fixing bug in function getAllInstances (see #46 )
Service subscriber will now be displayed on nacos's panel.
The client will now use both a poller and udp receiver to monitor the change of subscribed services, similar to Java client's implementation

Code polish:
Constant headers' refactor

v 1.0.2 Authentication and code polish

08 Dec 14:24
5c0b75b

Choose a tag to compare

In this version, we bring some minor features and code polish to the project:

  1. Support username/password authentication
    usage:
    https://github.com/nacos-group/nacos-sdk-cpp/blob/master/README.md#enabling-authentication (en_US)
    https://github.com/nacos-group/nacos-sdk-cpp/blob/master/README_zh_CN.md#%E5%90%AF%E7%94%A8%E8%AE%A4%E8%AF%81 (zh_CN)
  2. Support local disk cache when the network become temporarily unavailable

Code polish:
Refactor the construction/deconstruction process to separate file to keep maintainability
Deconstruction process is refactored to ObjectConfigData, a destroy proxy