Skip to content

0.7.0

Compare
Choose a tag to compare
@Quentame Quentame released this 22 Apr 12:06
· 68 commits to master since this release

NEW

  • [DSM] Can GET any DSM API with synology_dsm.get(api: str, method: str, params: dict, **kwargs) (@Quentame #33)
  • [DSM] Can POST any DSM API with synology_dsm.post(api: str, method: str, params: dict, data: dict, files: dict, **kwargs) (@Quentame #33)
  • [DSM] raise SynologyDSMAPINotExistsException if the API does not exists (@Quentame #33)
  • [DSM] raise SynologyDSMAPIErrorException if the API respond with an error (@Quentame #33)
  • [DSM] raise SynologyDSMRequestException if there is a RequestException (mainly ConnectionError or SSLError) or a JSONDecodeError (@Quentame #33)
  • [SynoDSMInformation] "SYNO.DSM.Info" API automatically fetched after login (@Quentame #33)
  • [SynoDSMInformation] Add version property (@Quentame #33)

BUG FIXES

  • [DSM] Fix DSM 5 login (I suppose, we used API version 6, DSM 5 maxVersion is 4) (@Quentame #33)

BREAKING CHANGES

  • [DSM] dsm_version constructor param has been removed (APIs are now auto-discovered + DSM version is fetched with the "SYNO.DSM.Info" API) (@Quentame #33)

IMPROVEMENTS

  • Add "Virtual Machine Manager API documentation (2015-2019)" to README (@Quentame #33)

https://github.com/ProtoThis/python-synology/milestone/3?closed=1

https://pypi.org/project/python-synology/0.7.0/