Compare commits

..
1 Commits
Author SHA1 Message Date
Kevin FronczakandGitHub 295833efbf Merge pull request #254 from fronzbot/master
Merge changes.rst
2020-05-08 17:37:10 -04:00
4 changed files with 2 additions and 29 deletions
-22
View File
@@ -1,22 +0,0 @@
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$
-5
View File
@@ -3,11 +3,6 @@ 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:**
+1 -1
View File
@@ -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 = {"TOKEN_AUTH": self._token}
self._auth_header = {"Host": self._host, "TOKEN_AUTH": self._token}
self.urls = BlinkURLHandler(self.region_id, legacy=self.legacy)
self.networks = self.get_networks()
self.client_id = response["client"]["id"]
+1 -1
View File
@@ -4,7 +4,7 @@ import os
MAJOR_VERSION = 0
MINOR_VERSION = 15
PATCH_VERSION = 1
PATCH_VERSION = 0
__version__ = "{}.{}.{}".format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)