Compare commits
21
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
435f3b9831 | ||
|
|
bcf0bb5525 | ||
|
|
151d9b7375 | ||
|
|
d393c861d7 | ||
|
|
02c4b2e7e1 | ||
|
|
5e98f59cdb | ||
|
|
77649e0991 | ||
|
|
5c9ced057b | ||
|
|
7a2b3b9967 | ||
|
|
4582600900 | ||
|
|
78ec104392 | ||
|
|
f15f00e8c5 | ||
|
|
e953a2f918 | ||
|
|
9d6075c0f7 | ||
|
|
90ad0c7cc9 | ||
|
|
62a74db683 | ||
|
|
12b5dfdfd7 | ||
|
|
255812defc | ||
|
|
7b2e015eed | ||
|
|
a8605bd91f | ||
|
|
deba0cbba6 |
@@ -0,0 +1,22 @@
|
||||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 19.10b0
|
||||
hooks:
|
||||
- id: black
|
||||
args:
|
||||
- --safe
|
||||
- --quiet
|
||||
files: ^((blinkpy|tests)/.+)?[^/]+\.py$
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
rev: 3.8.2
|
||||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies:
|
||||
- flake8-docstrings==1.5.0
|
||||
- pydocstyle==5.0.2
|
||||
files: ^(blinkpy|tests)/.+\.py$
|
||||
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
|
||||
rev: v1.0.0
|
||||
hooks:
|
||||
- id: rst-linter
|
||||
files: /.+\.rst$
|
||||
+30
@@ -3,6 +3,36 @@ Changelog
|
||||
|
||||
A list of changes between each release
|
||||
|
||||
0.15.1 (2020-07-11)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
- Bugfix: remove "Host" from auth header (`#330 <https://github.com/fronzbot/blinkpy/pull/330>`__)
|
||||
|
||||
|
||||
0.15.0 (2020-05-08)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
**Breaking Changes:**
|
||||
|
||||
- Removed support for Python 3.5 (3.6 is now the minimum supported version)
|
||||
- Deprecated ``Blink.login()`` method. Please only use the ``Blink.start()`` method for logging in.
|
||||
|
||||
**New Functions**
|
||||
|
||||
- Add ``device_id`` override when logging in (for debug and to differentiate applications) (`#245 <https://github.com/fronzbot/blinkpy/pull/245>`__)
|
||||
|
||||
This can be used by instantiating the Blink class with the ``device_id`` parameter.
|
||||
|
||||
**All Changes:**
|
||||
|
||||
- Fix setup.py use of internal pip structure (`#233 <https://github.com/fronzbot/blinkpy/pull/233>`__)
|
||||
- Update python-slugify requirement from ~=3.0.2 to ~=4.0.0 (`#234 <https://github.com/fronzbot/blinkpy/pull/234>`__)
|
||||
- Update python-dateutil requirement from ~=2.8.0 to ~=2.8.1 (`#230 <https://github.com/fronzbot/blinkpy/pull/230>`__)
|
||||
- Bump requests from 2.22.0 to 2.23.0 (`#231 <https://github.com/fronzbot/blinkpy/pull/231>`__)
|
||||
- Refactor login logic in preparation for 2FA (`#241 <https://github.com/fronzbot/blinkpy/pull/241>`__)
|
||||
- Add 2FA Support (`#242 <https://github.com/fronzbot/blinkpy/pull/242>`__) (fixes (`#210 <https://github.com/fronzbot/blinkpy/pull/210>`__))
|
||||
- Re-set key_required and available variables after setup (`#245 <https://github.com/fronzbot/blinkpy/pull/245>`__)
|
||||
- Perform system refresh after setup (`#245 <https://github.com/fronzbot/blinkpy/pull/245>`__)
|
||||
- Fix typos (`#244 <https://github.com/fronzbot/blinkpy/pull/244>`__)
|
||||
|
||||
0.14.3 (2020-04-22)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
- Add time check on recorded videos before determining motion
|
||||
|
||||
+1
-1
@@ -184,7 +184,7 @@ class Blink:
|
||||
((self.region_id, self.region),) = response["region"].items()
|
||||
self._host = "{}.{}".format(self.region_id, BLINK_URL)
|
||||
self._token = response["authtoken"]["authtoken"]
|
||||
self._auth_header = {"Host": self._host, "TOKEN_AUTH": self._token}
|
||||
self._auth_header = {"TOKEN_AUTH": self._token}
|
||||
self.urls = BlinkURLHandler(self.region_id, legacy=self.legacy)
|
||||
self.networks = self.get_networks()
|
||||
self.client_id = response["client"]["id"]
|
||||
|
||||
@@ -4,7 +4,7 @@ import os
|
||||
|
||||
MAJOR_VERSION = 0
|
||||
MINOR_VERSION = 15
|
||||
PATCH_VERSION = "0-rc.1"
|
||||
PATCH_VERSION = 1
|
||||
|
||||
__version__ = "{}.{}.{}".format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ pylint==2.5.2
|
||||
pydocstyle==5.0.2
|
||||
pytest==5.4.1
|
||||
pytest-cov==2.8.1
|
||||
pytest-sugar>=0.9.2
|
||||
pytest-timeout>=1.3.3
|
||||
restructuredtext-lint>=1.0.1
|
||||
pygments>=2.2.0
|
||||
pytest-sugar==0.9.3
|
||||
pytest-timeout==1.3.4
|
||||
restructuredtext-lint==1.3.0
|
||||
pygments==2.6.1
|
||||
Reference in New Issue
Block a user