Releases: fronzbot/blinkpy
blinkpy-0.16.0-rc10
- Modifies the way the
login_method
switch is handled internally for improved modification on the fly.
blinkpy-0.16.0-rc8
- Fixed bug with refresh method when blink mini cameras are present
blinkpy-0.16.0-rc7
Changes
- Separated
api.request_homescreen
call so requests don't happen back-to-back - Bump pytest-timeout to 1.4.1
- Bump pytest-cov to 2.10.0
blinkpy-0.16.0-rc6
Changes
- Updated docker app script to be compatible with new auth flow
- Changed
reauth
login payload value fromtrue
tofalse
to prevent triggering 2FA emails every 24hrs (change not fully vetted yet, but will be vetted by release of0.16.0
)
blinkpy-0.16.0-rc5
blinkpy-0.16.0-rc4
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 = True
Calling 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
JSONDecodeError
when validating response- catches cases where temporary account lockout causes a response to be empty when it is expected to be
json
formatted (#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 previousLoginHandler
class 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=True
instead 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)