This page lists all releases of the Simple Message Queue (formerly MNS) SDK for C++. For stability and performance, use the latest version.
Version history
| Version | Release date | Changes |
|---|---|---|
| 1.3.6 | 2019-12-16 | macOS support |
| 1.3.5 | 2017-04-11 | Message tag filtering, SMS push |
| 1.3.4 | 2016-12-29 | Base64 signing improvement |
| 1.3.3 | 2016-12-10 | Invalid endpoint fault tolerance |
| 1.3.2 | 2016-11-01 | GetMessage for ServiceException |
| 1.3.1 | 2016-07-28 | Configurable MnsClient timeout |
| 1.3.0 | 2016-01-05 | Queue and email subscription endpoints, Windows SCons support, compatibility optimizations |
| 1.1.0 | 2016-01-05 | Topic feature, STS token support |
| 1.0.0 | 2015-12-14 | Initial release |
Prerequisites and installation
All 1.3.x versions share the same build process. Versions 1.0.0 and 1.1.0 use a different build system.
Versions 1.3.0 through 1.3.6
Requirements:
Linux: g++ 4.1.2 or later
Windows: Visual Studio 2015
macOS: supported starting from version 1.3.6
SCons build tool
Build the SDK:
Download and decompress the SDK package for your target version. See the download links in each version section below.
Navigate to the
mns_cplusplus_sdkdirectory and run:sconsThe compiled library is placed in the
libdirectory inside the SDK.
Run the sample:
Open
aliyun-mns.propertiesin thesampledirectory and set your endpoint, AccessKey ID, and AccessKey secret.From the
sampledirectory, run:./mns_sample
Versions 1.0.0 and 1.1.0
Requirements:
g++ 4.1.2 or later
Build and install the SDK:
Download and decompress the SDK package.
Navigate to the
mns_cplusplus_sdkdirectory and run:./configure && make && sudo make installThe library is installed to
/usr/local/lib. The exact path may vary by operating system. Adjustldconfigaccordingly.
Run the sample:
Open
aliyun-mns.propertiesin thesampledirectory and set your endpoint, AccessKey ID, and AccessKey secret.From the
sampledirectory, build and run:make ./mns_sample
Version 1.3.6
Release date: 2019-12-16
Added:
macOS support.
Version 1.3.5
Release date: 2017-04-11
Added:
Message filtering by tag.
SMS push to endpoints.
Version 1.3.4
Release date: 2016-12-29
Improved:
Base64 encoding in request signing to prevent unexpected errors.
Version 1.3.3
Release date: 2016-12-10
Added:
Fault tolerance for invalid endpoints.
Version 1.3.2
Release date: 2016-11-01
Added:
GetMessagefunction for theServiceExceptionclass.
Version 1.3.1
Release date: 2016-07-28
Added:
Configurable timeout for
MnsClient.
Version 1.3.0
Release date: 2016-01-05
Added:
Simple Message Queue (formerly MNS) queues and email addresses as subscription endpoints for topics.
SCons build support on Windows.
Improved:
Compatibility optimizations.
Version 1.1.0
Release date: 2016-01-05
Added:
Topic feature.
Security Token Service (STS) token support.
Version 1.0.0
Release date: 2015-12-14
Initial release of the Simple Message Queue (formerly MNS) SDK for C++.