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
    1. 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.
    2. You must install SCons.
  • Installation
    1. Download and decompress the SDK package.
    2. Go to the mns_cplusplus_sdk directory and run the scons command.
    3. A lib file is automatically compiled and sent to the lib directory of the SDK.
  • Running
    1. Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
    2. 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
    1. Messages can be filtered by tag.
    2. SMS messages can be pushed to endpoints.
  • Usage notes
    1. 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.
    2. You must install SCons.
  • Installation
    1. Download and decompress the SDK package.
    2. Go to the mns_cplusplus_sdk directory and run the scons command.
    3. A lib file is automatically compiled and sent to the lib directory of the SDK.
  • Running
    1. Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
    2. 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
    1. 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.
    2. You must install SCons.
  • Installation
    1. Download and decompress the SDK package.
    2. Go to the mns_cplusplus_sdk directory and run the scons command.
    3. A lib file is automatically compiled and sent to the lib directory of the SDK.
  • Running
    1. Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
    2. 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
    1. 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.
    2. You must install SCons.
  • Installation
    1. Download and decompress the SDK package.
    2. Go to the mns_cplusplus_sdk directory and run the scons command.
    3. A lib file is automatically compiled and sent to the lib directory of the SDK.
  • Running
    1. Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
    2. 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
    1. 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.
    2. You must install SCons.
  • Installation
    1. Download and decompress the SDK package.
    2. Go to the mns_cplusplus_sdk directory and run the scons command.
    3. A lib file is automatically compiled and sent to the lib directory of the SDK.
  • Running
    1. Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
    2. 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
    1. 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.
    2. You must install SCons.
  • Installation
    1. Download and decompress the SDK package.
    2. Go to the mns_cplusplus_sdk directory and run the scons command.
    3. A lib file is automatically compiled and sent to the lib directory of the SDK.
  • Running
    1. Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
    2. 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
    1. MNS queues and email addresses can be specified as endpoints of subscriptions to topics.
    2. The SCons compiler that is compatible with Windows is supported.
    3. Some features are optimized to ensure compatibility.
  • Usage notes
    1. 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.
    2. You must install SCons.
  • Installation
    1. Download and decompress the SDK package.
    2. Go to the mns_cplusplus_sdk directory and run the scons command.
    3. A lib file is automatically compiled and sent to the lib directory of the SDK.
  • Running
    1. Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
    2. 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
    1. The topic feature is supported.
    2. The Security Token Service (STS) tokens are supported.
  • Usage notes
    1. Use g++ 4.1.2 or later.
  • Installation
    1. Download and decompress the SDK package.
    2. Go to the mns_cplusplus_sdk directory and run the following command: ./configure && make && sudo make install.
    3. 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
    1. Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
    2. Go to the sample directory and run the make command.
    3. 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
    1. Download and decompress the SDK package.
    2. Go to the mns_cplusplus_sdk directory and run the following command: ./configure && make && sudo make install.
    3. 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

  1. Open the aliyun-mns.properties file in the sample directory and specify the endpoint, AccessKey ID, and AccessKey secret.
  2. Go to the sample directory and run the make command.
  3. Run the ./mns_sample command.