Releases: fronzbot/blinkpy
blinkpy-0.16.0-rc3
Major changes
- Initial support for Blink Mini cameras 🎉
- Currently minimal functionality, but will be expanded as more endpoints are discovered
- Adds liveview link retrieval for all cameras
All Changes
- Bump pre-commit to 2.5.0 #292
- Bump flake8 to 3.8.3 #291
- Add Blink Mini support #290 (Thanks to @benleb for extensive debug help)
- Add liveview link retrieval #289
- Improve camera retrieval method to not rely on the homescreen endpoint #288
- Bump pylint to 2.5.3 #287
- Add some new API endpoints #285
- Bump pytest to 5.4.3 #283
- Bump restructuredtext-lint to 1.3.1 #282
- Add new user API endpoint #280
- Improve documentation #278
blinkpy-0.16.0-rc2
Breaking Change:
The BlinkCamera.set_motion_detect() method is deprecated and being replaced with BlinkCamera.arm. Usage is as follows:
To arm/disarm a BlinkCamera object named camera, just set the arm property to either True or False like so:
camera.arm = TrueCalling the same property will return the last updated camera status (perform a refresh at the sync module or blink level to update the status after setting).
All changes:
blinkpy-0.16.0-rc1
- Increase minimum API timeout from 2s to 5s (#269)
- Handle
JSONDecodeErrorwhen validating response- catches cases where temporary account lockout causes a response to be empty when it is expected to be
jsonformatted (#268)
- catches cases where temporary account lockout causes a response to be empty when it is expected to be
- Update string formatting (#265)
- Bump flake8 to 3.8.2 #263
- Bump pytest-cov to 2.9.0 #262
blinkpy-0.16.0-rc0
!!! Major Authentication Flow Update !!!
Breaking Changes:
-
The
Blink()object no longer handles any of the authorization or login process. This is now handled entirely with the newblinkpy.auth.Auth()class (which replaces and enhances the previousLoginHandlerclass introduced in0.15.0). Usage is covered in the Quick Start guide in the README. -
Forcing a refresh is now done by calling the
Blink.refresh()method withforce=Trueinstead offorce_cache=True.
Important changes:
Token-based communication is now supported. What this means is that tokens from previous sessions can be saved and re-loaded in a subsequent session which completely eliminates the need to login. If, for some reason, the token were to expire during a session, the token will automatically be refreshed.
In order to aid in the transition to this authentication flow, the Blink.save() method was introduced to save all the important credentials to a json formatted file. This file can then be re-loaded as the input to the Auth class. Basic usage of this is covered in the Quick Start guide in the README.
All changes:
- Completely refactored authentication flow
- Mark platforms as unavailable on a failed request
- Update to correct 2FA endpoint
- Update unit tests
- Upgrade flake8 to 3.8.1
- Upgrade pytest to 5.4.2
- Add commit hooks (flake8 and black)
blinkpy-0.15.0
Description:
Breaking Changes:
- Removed support for Python 3.5 (3.6 is now the minimum supported version)
- Deprecated
Blink.login()method. Please only use theBlink.start()method for logging in.
New Functions
- Add device_id override when logging in (for debug and to differentiate applications) #245
This can be used by instantiating the Blink class with the device_id parameter. For example:
from blinkpy import blinkpy
blink = blinkpy.Blink(...,device_id="Application Identifier",...)All Changes:
- Fix setup.py use of internal pip structure #233
- Update python-slugify requirement from ~=3.0.2 to ~=4.0.0 #234
- Update python-dateutil requirement from ~=2.8.0 to ~=2.8.1 #230
- Bump requests from 2.22.0 to 2.23.0 #231
- Refactor login logic in preparation for 2FA #241
- Add 2FA Support #242 (fixes #210)
- Re-set key_required and available variables after setup #245
- Perform system refresh after setup #245
- Fix typos #244
blinkpy-0.15.0-rc1
New Functions
- Add device_id override when logging in (for debug and to differentiate applications) #245
This can be used by instantiating the Blink class with the device_id parameter. For example:
from blinkpy import blinkpy
blink = blinkpy.Blink(...,device_id="Application Identifier",...)All changes
blinkpy-0.15.0-rc0
Release candidate
This pre-release adds support for 2FA. At this time, all of the 2FA endpoints have not been fully tested so there could be unexpected bugs that still need to be fixed.
Breaking Changes:
- Removed support for Python 3.5 (3.6 is now the minimum supported version)
- Deprecated
Blink.login()method. Please only use theBlink.start()method for logging in.
All Changes:
blinkpy-0.14.3
- Add time check on recorded videos before determining motion
- Fix motion detection variable suck to
True(Fixes #211) - Add ability to load credentials from a json file
- Only allow
motion_detectedvariable to trigger if system was armed - Log response message from server if not attempting a re-authorization (Fixes #213)
blinkpy-0.14.3.dev1
- Fix re-authorization logic (previous implementation assumed failed responses were related to authorization attempts)
blinkpy-0.14.3.dev0
- Fix motion detection being stuck 'on'
- Remove incorrect exc_info=True flags
- Add ability to load credentials from json file
- Check timestamps on videos for motion detection
- Mask motion detection with sync module arm status