Releases: nacos-group/nacos-sdk-cpp
v1.1.0
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
New features:
- Add support for SPAS authentication
- Migration from Makefile to CMakeList, the client now supports make install
- Project include directory refactor and client factory refactor to keep include and code clean and concise
- 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
- 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
- Bugfix #71 (Partially, still need work on 'make install' part)
- 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
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
v 1.0.5 A lot of bug fixes and Readme.Md update
- Bugfix #52 Sigseg when client is listening to a key and the server is shutting down by executing shutdown.sh
- Reuse the curl object - performance improvement
- Add logging function
- Add detailed, executable examples, could be found on nacos-sdk-cpp/examples/
- Improvements on exception handling when network is down
- Readme.md improvement
v 1.0.4 Multiple platform support
Support for Windows/MacOS/Linux
Code polish
v 1.0.3 Logging, configuration properties file support ... and more!
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
In this version, we bring some minor features and code polish to the project:
- 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) - 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
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:
- NamingService:
Service discovery
Register instance/Unregister instance
List instances
Query instance with predicate function - ConfigService:
Publish/Get config
Config change notification - MaintainService:
Maintain metadata for service/instance
Modify/Delete Service information
Modify Instance information
Bugfix/New features in this release: - Fixed CURL handle leak when deleting an instance of NamingService/ConfigService
- Supports endpoint feature
- Supports multiple configuration methods (.properties file or Property object within code)
- 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.