From 1050468ba51e918dd3a7ea5498ff41aa64122713 Mon Sep 17 00:00:00 2001 From: ping Date: Thu, 23 Mar 2017 11:50:09 +0800 Subject: [PATCH] Bump version to 1.2.0 --- CHANGELOG.md | 9 +++++++++ README.md | 6 +++--- docs/conf.py | 4 ++-- docs/usage.rst | 4 ++-- instagram_private_api/__init__.py | 2 +- instagram_web_api/__init__.py | 2 +- setup.py | 2 +- 7 files changed, 19 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9baaa71..7ca9b3e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.2.0 +- Invalid parameters now consistently raise ValueError. Affected endpoints can be found in 146a84b. +- New ClientThrottledError for 429 (too many requests) errors + +## 1.1.5 +- Fix pip setup +- Fix web client search +- Add size validation for post_photo and post_video + ## 1.1.4 - Update story configure endpoint and parameters - Validate video story duration diff --git a/README.md b/README.md index e5d7544a..58da7a00 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A Python wrapper for the Instagram private API with no 3rd party dependencies. S ![Python 2.7](https://img.shields.io/badge/Python-2.7-green.svg) ![Python 3.5](https://img.shields.io/badge/Python-3.5-green.svg) ![License: MIT](https://img.shields.io/badge/license-MIT_License-blue.svg) -[![Release](https://img.shields.io/badge/release-v1.1.5-orange.svg)](https://github.com/ping/instagram_private_api/releases) +[![Release](https://img.shields.io/badge/release-v1.2.0-orange.svg)](https://github.com/ping/instagram_private_api/releases) [![Docs](https://img.shields.io/badge/docs-readthedocs.io-ff4980.svg)](https://instagram-private-api.readthedocs.io/en/latest/) [![Build](https://img.shields.io/travis/ping/instagram_private_api.svg)](https://travis-ci.org/ping/instagram_private_api) @@ -44,11 +44,11 @@ Documentation is available at https://instagram-private-api.readthedocs.io/en/la No 3rd-party libraries required. Just drop one of or both folders [``instagram_private_api/``](instagram_private_api/) and [``instagram_web_api/``](instagram_web_api/) into your project path or pip install with: -``pip install git+ssh://git@github.com/ping/instagram_private_api.git@1.1.5`` +``pip install git+ssh://git@github.com/ping/instagram_private_api.git@1.2.0`` To update: -``pip install git+ssh://git@github.com/ping/instagram_private_api.git@1.1.5 --upgrade`` +``pip install git+ssh://git@github.com/ping/instagram_private_api.git@1.2.0 --upgrade`` To update with latest repo code: diff --git a/docs/conf.py b/docs/conf.py index 9f965e14..3d5a5554 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,9 +59,9 @@ # built documents. # # The short X.Y version. -version = u'1.1.5' +version = u'1.2.0' # The full version, including alpha/beta/rc tags. -release = u'1.1.5' +release = u'1.2.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/usage.rst b/docs/usage.rst index c3792a80..4fa87903 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -10,13 +10,13 @@ Install via pip .. code-block:: bash - $ pip install git+ssh://git@github.com/ping/instagram_private_api.git@1.1.5 + $ pip install git+ssh://git@github.com/ping/instagram_private_api.git@1.2.0 Update your install with the latest release .. code-block:: bash - $ pip install git+ssh://git@github.com/ping/instagram_private_api.git@1.1.5 --upgrade + $ pip install git+ssh://git@github.com/ping/instagram_private_api.git@1.2.0 --upgrade Force an update from source diff --git a/instagram_private_api/__init__.py b/instagram_private_api/__init__.py index a0902735..b7189324 100644 --- a/instagram_private_api/__init__.py +++ b/instagram_private_api/__init__.py @@ -5,4 +5,4 @@ from .errors import ClientError, ClientLoginError, ClientLoginRequiredError, ClientCookieExpiredError -__version__ = '1.1.5' +__version__ = '1.2.0' diff --git a/instagram_web_api/__init__.py b/instagram_web_api/__init__.py index a6c499c8..b7be86af 100644 --- a/instagram_web_api/__init__.py +++ b/instagram_web_api/__init__.py @@ -5,4 +5,4 @@ from .errors import ClientError, ClientLoginError, ClientCookieExpiredError -__version__ = '1.1.5' +__version__ = '1.2.0' diff --git a/setup.py b/setup.py index ba55fbfc..be6105d8 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from distutils.core import setup __author__ = 'ping ' -__version__ = '1.1.5' +__version__ = '1.2.0' packages = [ 'instagram_private_api',