Skip to content

Releases: nacos-group/nacos-sdk-cpp

v1.1.0

10 Apr 15:43
60dc0fb
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v 1.0.1

03 Nov 14:32
6f7d4cf
Compare
Choose a tag to compare

We are glad to announce that Nacos-sdk-cpp version 1.0.1 becomes available.
In this version, most of the APIs/Functionalities are aligned with the Java client's.
The client is composed of 3 modules:

  1. NamingService:
    Service discovery
    Register instance/Unregister instance
    List instances
    Query instance with predicate function
  2. ConfigService:
    Publish/Get config
    Config change notification
  3. MaintainService:
    Maintain metadata for service/instance
    Modify/Delete Service information
    Modify Instance information
    Bugfix/New features in this release:
  4. Fixed CURL handle leak when deleting an instance of NamingService/ConfigService
  5. Supports endpoint feature
  6. Supports multiple configuration methods (.properties file or Property object within code)
  7. Supports factory mode, you can instantiate multiple client instance in your program

Most of the code is covered with a testcase, your issue/PR is appreciated.