Skip to content

v1.0.0

Choose a tag to compare

@adriankumpf adriankumpf released this 09 Oct 18:09
· 109 commits to master since this release

This release brings a proper API Client that automatically manages SID renewals.

Features

  • Stateful API Client FritzApi.Client (in addition to the existing FritzApi interface)
  • Include block time in error tuple if the login failed
  • Improved Docs and README

Breaking

  • switch mode is now an atom instead of a string (e.g. :manual)
  • switch state, present are now boolean values instead of atoms
  • get_device_list_infos now returns a list of %FritzApi.Actor{} structs
  • FritzApi.Actor properties that are unknown are now always represented as nil
  • ff the requested actor information is unknown the tuple {:ok, nil} gets returned (instead of {:error, :unknown}