Skip to content

Commit 0b60976

Browse files
authored
Merge pull request #549 from fronzbot/dev
0.19.0
2 parents d78d7e1 + 100d8fa commit 0b60976

22 files changed

+232
-97
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on:
77
branches: [ master, dev ]
88

99
jobs:
10-
build:
10+
coverage:
1111
runs-on: ${{ matrix.platform }}
1212
strategy:
1313
max-parallel: 4
1414
matrix:
1515
platform:
1616
- ubuntu-latest
17-
python-version: [3.8]
17+
python-version: [3.9]
1818

1919
steps:
2020
- uses: actions/checkout@v2

.github/workflows/lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ on:
1010
branches: [ master, dev ]
1111

1212
jobs:
13-
build:
14-
13+
lint:
1514
runs-on: ubuntu-latest
1615
strategy:
1716
matrix:

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
platform:
1616
- ubuntu-latest
17-
python-version: [3.6, 3.7, 3.8, 3.9]
17+
python-version: ['3.7', '3.8', '3.9', '3.10']
1818

1919
steps:
2020
- uses: actions/checkout@v2

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 19.10b0
3+
rev: 22.1.0
44
hooks:
55
- id: black
66
args:
77
- --safe
88
- --quiet
99
files: ^((blinkpy|tests)/.+)?[^/]+\.py$
1010
- repo: https://gitlab.com/pycqa/flake8
11-
rev: 3.8.3
11+
rev: 3.9.1
1212
hooks:
1313
- id: flake8
1414
additional_dependencies:
15-
- flake8-docstrings==1.5.0
16-
- pydocstyle==5.1.1
15+
- flake8-docstrings==1.6.0
16+
- pydocstyle==6.0.0
1717
files: ^(blinkpy|tests)/.+\.py$
1818
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
1919
rev: v1.0.0

CHANGES.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,33 @@ Changelog
44

55
A list of changes between each release
66

7+
0.19.0 (2022-03-20)
8+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9+
10+
**Bugfixes:**
11+
12+
- Debug log in prase download method fix (`@tieum <https://github.com/fronzbot/blinkpy/pull/540>`__)
13+
- Fix issue with malformed thumbnails (`#550 <https://github.com/fronzbot/blinkpy/pull/550>`__)
14+
- Fully support new thumbnail API (`@gdoermann <https://github.com/fronzbot/blinkpy/pull/552>`__)
15+
16+
**New Features:**
17+
18+
- Support for arm/disarm of Blink Mini cameras (`@mstratford <https://github.com/fronzbot/blinkpy/pull/546>`__)
19+
- Add product_type to BlinkCamera class to report type of camera (`#553 <https://github.com/fronzbot/blinkpy/pull/553>`__)
20+
- Remove python 3.6 support, add python 3.10 support (`#554 <https://github.com/fronzbot/blinkpy/pull/554>`__)
21+
22+
**Other:**
23+
24+
- Make code that determines need for unique class (Mini + Doorbells) generic (`#553 <https://github.com/fronzbot/blinkpy/pull/553>`__)
25+
- Bump pre-commit to 2.17.0
26+
- Bump pytest-timeout to 2.1.0
27+
- Bump pygments to 2.11.2
28+
- Bump black to 22.1.0
29+
- Bump coverage to 6.3.2
30+
- Bump pytest to 7.1.1
31+
- Bump restructuredtext-lint to 1.4.0
32+
33+
734
0.18.0 (2021-12-11)
835
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
936

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VOLUME /media
66
RUN python -m pip install --upgrade pip
77
RUN pip3 install blinkpy
88

9-
COPY app/ .
9+
COPY blinkapp/ .
1010

11-
ENTRYPOINT ["python", "./app.py"]
11+
ENTRYPOINT ["python", "./blinkapp.py"]
1212
CMD []

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
blinkpy |Build Status| |Coverage Status| |Docs| |PyPi Version| |Codestyle|
22
=============================================================================================
3-
A Python library for the Blink Camera system (Python 3.6+)
3+
A Python library for the Blink Camera system (Python 3.7+)
44

55
Like the library? Consider buying me a cup of coffee!
66

app/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

blinkapp/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Python init file for blinkapp.py."""

app/app.py renamed to blinkapp/blinkapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Script to run blinkpy as an app."""
1+
"""Script to run blinkpy as an blinkapp."""
22
from os import environ
33
from datetime import datetime, timedelta
44
from blinkpy.blinkpy import Blink
@@ -29,7 +29,7 @@ def start():
2929

3030

3131
def main():
32-
"""Run the app."""
32+
"""Run the blink app."""
3333
blink = start()
3434
download_videos(blink)
3535
blink.save(CREDFILE)

0 commit comments

Comments
 (0)