Skip to content

New features & critical bugfixes

Compare
Choose a tag to compare
@levchik levchik released this 16 Mar 14:17
· 56 commits to master since this release

New features

  • Added conf choices where applicable
  • Added missing methods to bulk delete tokens with filtration (permanent/temporary/both)
  • Added new source option store_images_for_confs, introduced in 1.9.0 API
  • Added choices NotificationHTTPMethod of notifications http_method parameter for convenience

Refactoring

  • Updated docstrings for main functions
  • New type of exception ImproperlyConfigured that replaces more general error in several places
  • Utility compare function now has default conf which equals HA. It reflects now default API behaviour
  • Removed CHANGES.md because it is redundant. All changes are going to be reflected here, there's no need to duplicate info.

Bugfixes

  • Fixed a bug with env variables (fixed one typo & inability to override vars by setting env variables instead of providing them as parameters to init of Client)
  • Fixed: previously you could provide your own http_client to the Client instance, but it required instance with already supplied token (so you basically needed to provide token in two places). Now you provide only class in http_client and initialization in Client will create instance with provided token for you.