Skip to content

Commit

Permalink
Bump version to 0.2.0, update CHANGELOG
Browse files Browse the repository at this point in the history
Closes GH issues #14, #20, #22.
  • Loading branch information
yuppity committed Oct 19, 2020
1 parent 2443679 commit 7acc71b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## 0.2.0 (2020-XX-XX)
## 0.2.0 (2020-10-19)

### Added
* `UnifiVideoAPI.get_recordings()` for smarter recording listing
Expand All @@ -12,11 +12,18 @@
* Datetime utilities
* Keyword arg for `UnifiVideoAPI` init: `utc_offset_sec`
* Throw `UnifiVideoHTTPError` on HTTP 400 from UniFi Video
* `UnifiVideoRecording` attributes: `start_time`, `end_time`
* `UnifiVideoRecording` attributes: `start_time_utc`, `end_time_utc`
* `UnifiVideoAPI.delete_all_recordings()`

### Changed
* Accept start and end times as `datetime`, `int` or `str` in
`UnifiVideoCamera.recording_between()`
* UTC offset is now per UniFi Video instance instead of per camera
* Use `UnifiVideoAPI.get_recordings()` internally
* Refactored `UnifiVideoCamera.refresh_cameras()` to account for
all three camera collections (`UnifiVideoAPI.{,managed_,active_}cameras`)
* `UnifiVideoCamera.recording_between()` uses new dt util for the
`{start,end}_time` args

## 0.1.8 (2020-09-03)

Expand Down
2 changes: 1 addition & 1 deletion unifi_video/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.8'
__version__ = '0.2.0'

0 comments on commit 7acc71b

Please sign in to comment.