All Products
Search
Document Center

Message Service:Release notes of the SDK for Python

Last Updated:Dec 01, 2023

This topic describes the release notes of the SDK for Java. To ensure optimal performance and stability, we recommend that you download the latest version of the SDK.

Usage notes

  • Only Python 2.5 or later is supported.

  • The Account, Queue, Topic, and Subscription structures in the SDK are not thread-safe. You must independently create instances in multi-threading scenarios.

Usage notes

  1. Download the SDK and decompress the package.

  2. Go to the mns_python_sdk directory, and follow the instructions in the README file to install and use the SDK.

Use pip to install dependencies

Dependencies can be installed by using pip or by downloading the SDK for Python.

pip install aliyun-mns-sdk

Version 1.1.6

  • Release date

    2021-05-13

    Click the link to download the SDK.

  • New features

    • Receipt handles that are returned after you send messages are parsed.

    • The issues of compatibility with Python 3 are resolved.

Version 1.1.5

  • Release date

    2019-04-26

    Click the link to download the SDK.

  • New features

    Python 3 is supported.

Version 1.1.4

  • Release date

    2017-03-23

    Click the link to download the SDK.

  • New features

    • Phone numbers can be specified as endpoints of subscriptions to topics.

    • Chinese characters are supported in messages of topics and queues.

    • MNS endpoints, AccessKey IDs, and AccessKey secrets can be specified by using the mnscmd tool.

    • Base64 encoding and decoding for queue messages can be enabled or disabled by using the mnscmd tool.

Version 1.1.3

  • Release date

    2016-09-13

    Click the link to download the SDK.

  • New features

    • Request IDs can be sent to MNS.

    • MNS queues and email addresses can be specified as endpoints of subscriptions to topics.

    • The JSON format is supported for topics.

    • The configuration file can be specified by using the mnscmd tool.

Version 1.1.2

  • Release date

    2016-05-23

    Click the link to download the SDK.

  • New features

    • The message filtering feature is supported for topics.

    • The sample directory that contains the detailed sample code is supported.

Version 1.1.1

  • Release date

    2016-03-28

    Click the link to download the SDK.

  • New features

    • The HTTPS protocol is supported.

    • The logging feature is supported.

Version 1.1.0

  • Release date

    2016-01-05

    Click the link to download the SDK.

  • New features

    • The topic feature is supported.

    • Security Token Service (STS) tokens are supported.

Version 1.0.2

  • Release date

    2015-06-09

    Click the link to download the SDK.

  • New features

    • The SDK can be installed.

    • The mnscmd tool is supported.

    • The API version: "x-mns-version"="2015-06-06" is supported.

    • The BatchSendMessage, BatchReceiveMessage, BatchPeekMessage, and BatchDeleteMessage operations are supported.

Version 1.0.1

  • Release date

    2015-02-03

    Click the link to download the SDK.

  • New features

    • The data type for non-string parameters of a queue is unified as INT.

    • The HTTP status code that is returned by the SetQueueAttribute operation is modified to 204.