Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

0.16.0 #340

Merged
merged 166 commits into from
Jul 21, 2020
Merged

0.16.0 #340

merged 166 commits into from
Jul 21, 2020

Conversation

fronzbot
Copy link
Owner

0.16.0

Massive changes to the way requests and authorization is handled. This version adds support for Blink Mini Cameras as well.

NOTE: There is a known quirk where every 24hrs you will receive a new 2FA email from Blink. As long as you are logged in or use the credential file, this email can be ignored and you do not need to enter a new 2FA key. This only needs to be done once.

Breaking Changes

New Features

Bug fixes

Other Changes

fronzbot and others added 30 commits May 8, 2020 17:37
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.7.9 to 3.8.1.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.7.9...3.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
- Still need major test updates
- Still needs more thorough testing
- Want to add an option to override login endpoint
- Update quick start guide with new flow
- If token given at startup don't bother with logging in (token will be
  auto-refreshed on failed server request anyways)
- Update to v4 login by default (2FA endpoint)
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.8.1 to 3.8.2.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.1...3.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Total refactoring of auth logic
fronzbot and others added 28 commits July 2, 2020 08:46
Add different timeout for video and image retrieval
Modify session to use HTTPAdapter and handle retries
Remove reference to response on exception since it may be unbound
Remove host from auth header
Bumps [pytest-timeout](https://github.com/pytest-dev/pytest-timeout) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/pytest-dev/pytest-timeout/releases)
- [Commits](pytest-dev/pytest-timeout@1.4.1...1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
….4.2

Bump pytest-timeout from 1.4.1 to 1.4.2
Removed all exc_info parameters during logging
Fix broken test and missing try/except
@codecov
Copy link

codecov bot commented Jul 20, 2020

Codecov Report

Merging #340 into master will increase coverage by 0.67%.
The diff coverage is 82.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #340      +/-   ##
==========================================
+ Coverage   82.34%   83.01%   +0.67%     
==========================================
  Files           8        8              
  Lines         759      948     +189     
==========================================
+ Hits          625      787     +162     
- Misses        134      161      +27     
Flag Coverage Δ
#unittests 83.01% <82.23%> (+0.67%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
blinkpy/helpers/errors.py 0.00% <0.00%> (-100.00%) ⬇️
blinkpy/api.py 61.29% <50.00%> (-8.48%) ⬇️
blinkpy/camera.py 79.87% <74.60%> (-1.44%) ⬇️
blinkpy/blinkpy.py 79.09% <75.19%> (-2.45%) ⬇️
blinkpy/sync_module.py 86.73% <84.44%> (+10.26%) ⬆️
blinkpy/helpers/util.py 91.01% <92.30%> (+2.33%) ⬆️
blinkpy/auth.py 94.83% <94.83%> (ø)
blinkpy/helpers/constants.py 100.00% <100.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 435f3b9...22d3fa9. Read the comment docs.

@fronzbot fronzbot merged commit 1b66edd into master Jul 21, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant