This article describes the release notes of the SDK for C++. To ensure optimal performance, we recommend that you download the latest version of the SDK.
Version 1.3.6
Release date
2019-12-16
Download the SDK.
New features
The macOS operating system is supported.
Usage notes
If you use the Linux operating system, we recommend that you install g++ 4.1.2 or later. If you use the Windows operating system, we recommend that you install Visual Studio 2015.
You must install SCons.
Installation
Download and decompress the SDK package.
Go to the mns_cplusplus_sdk directory and run the scons command.
A lib file is automatically compiled and sent to the lib directory of the SDK.
Running
Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
Go to the sample directory and run the
./mns_sample
command.
Version 1.3.5
Release date
2017-04-11
Download the SDK.
New features
Messages can be filtered by tag.
SMS messages can be pushed to endpoints.
Usage notes
If you use the Linux operating system, we recommend that you install g++ 4.1.2 or later. If you use the Windows operating system, we recommend that you install Visual Studio 2015.
You must install SCons.
Installation
Download and decompress the SDK package.
Go to the mns_cplusplus_sdk directory and run the scons command.
A lib file is automatically compiled and sent to the lib directory of the SDK.
Running
Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
Go to the sample directory and run the
./mns_sample
command.
Version 1.3.4
Release date
2016-12-29
Download the SDK.
New features
The Base64 encoding mechanism that is used to sign requests is optimized. This helps prevent unexpected errors.
Usage notes
If you use the Linux operating system, we recommend that you install g++ 4.1.2 or later. If you use the Windows operating system, we recommend that you install Visual Studio 2015.
You must install SCons.
Installation
Download and decompress the SDK package.
Go to the mns_cplusplus_sdk directory and run the scons command.
A lib file is automatically compiled and sent to the lib directory of the SDK.
Running
Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
Go to the sample directory and run the
./mns_sample
command.
Version 1.3.3
Release date
2016-12-10
Download the SDK.
New features
The fault tolerance feature is supported for invalid endpoints.
Usage notes
If you use the Linux operating system, we recommend that you install g++ 4.1.2 or later. If you use the Windows operating system, we recommend that you install Visual Studio 2015.
You must install SCons.
Installation
Download and decompress the SDK package.
Go to the mns_cplusplus_sdk directory and run the scons command.
A lib file is automatically compiled and sent to the lib directory of the SDK.
Running
Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
Go to the sample directory and run the
./mns_sample
command.
Version 1.3.2
Release date
2016-11-01
Download the SDK.
New features
The GetMessage function is supported for the ServiceException class.
Usage notes
If you use the Linux operating system, we recommend that you install g++ 4.1.2 or later. If you use the Windows operating system, we recommend that you install Visual Studio 2015.
You must install SCons.
Installation
Download and decompress the SDK package.
Go to the mns_cplusplus_sdk directory and run the scons command.
A lib file is automatically compiled and sent to the lib directory of the SDK.
Running
Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
Go to the sample directory and run the
./mns_sample
command.
Version 1.3.1
Release date
2016-07-28
Download the SDK.
New features
The timeout period for MnsClient can be specified.
Usage notes
If you use the Linux operating system, we recommend that you install g++ 4.1.2 or later. If you use the Windows operating system, we recommend that you install Visual Studio 2015.
You must install SCons.
Installation
Download and decompress the SDK package.
Go to the mns_cplusplus_sdk directory and run the scons command.
A lib file is automatically compiled and sent to the lib directory of the SDK.
Running
Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
Go to the sample directory and run the
./mns_sample
command.
Version 1.3.0
Release date
2016-01-05
Download the SDK.
New features
Simple Message Queue (formerly MNS) queues and email addresses can be specified as endpoints of subscriptions to topics.
The SCons compiler that is compatible with Windows is supported.
Some features are optimized to ensure compatibility.
Usage notes
If you use the Linux operating system, we recommend that you install g++ 4.1.2 or later. If you use the Windows operating system, we recommend that you install Visual Studio 2015.
You must install SCons.
Installation
Download and decompress the SDK package.
Go to the mns_cplusplus_sdk directory and run the scons command.
A lib file is automatically compiled and sent to the lib directory of the SDK.
Running
Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
Go to the sample directory and run the
./mns_sample
command.
Version 1.1.0
Release date
2016-01-05
Download the SDK.
New features
The topic feature is supported.
The Security Token Service (STS) tokens are supported.
Usage notes
Use g++ 4.1.2 or later.
Installation
Download and decompress the SDK package.
Go to the mns_cplusplus_sdk directory and run the following command: ./configure && make && sudo make install.
A library has been installed in the /usr/local/lib directory. The directory varies by operating system. You can modify the ldconfig command based on the operating system.
Running
Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
Go to the sample directory and run the make command.
Run the
./mns_sample
command.
Version 1.0.0
Release date
2015-12-14
Download the SDK.
Usage note
Use g++ 4.1.2 or later.
Installation
Download and decompress the SDK package.
Go to the mns_cplusplus_sdk directory and run the following command:
./configure && make && sudo make install
.A library has been installed in the /usr/local/lib directory. The directory varies by operating system. You can modify the ldconfig command based on the operating system.
Running
Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
Go to the sample directory and run the make command.
Run the
./mns_sample
command.