Skip to content

Releases: cloud-py-api/nc_py_api

v0.11.0

17 Feb 19:40
a0fb689
Compare
Choose a tag to compare

Added

  • Files: lock and unlock methods, lock file information to FsNode. #227

Fixed

  • NextcloudApp: MachineTranslation provider registration - added optional actionDetectLang param. #229

v0.10.0

14 Feb 18:39
10417cf
Compare
Choose a tag to compare

Added

  • NextcloudApp: set_handlers: models_to_fetch can now accept direct links to a files to download. #217
  • NextcloudApp: DeclarativeSettings UI API for Nextcloud 29. #222

Changed

  • NextcloudApp: adjusted code related to changes in AppAPI 2.0.3 #216
  • NextcloudApp: set_handlers rework of optional parameters see PR for information. #226

v0.9.0

25 Jan 14:19
0a183e7
Compare
Choose a tag to compare

Added

  • class Share: added missing file_source_id, can_edit, can_delete properties. #206
  • NextcloudApp: AppAPIAuthMiddleware for easy cover all endpoints. #205
  • NextcloudApp: API for registering MachineTranslation providers(avalaible from Nextcloud 29). #207

Changed

  • large amount of incompatible changes for AppAPI 2.0, see PR for description. #212
  • class Share.raw_data marked as deprecated and changed to _raw_data. #206
  • ex_app.talk_bot_app/ex_app.atalk_bot_app renamed to ex_app.talk_bot_msg/ex_app.atalk_bot_msg.

v0.8.0

12 Jan 19:58
1061622
Compare
Choose a tag to compare

Added

  • download_log method to download nextcloud.log. #199
  • NextcloudApp: API for registering Speech to Text providers(avalaible from Nextcloud 29). #196
  • NextcloudApp: API for registering Text Processing providers(avalaible from Nextcloud 29). #198
  • NextcloudApp: added get_model_path wrapper around huggingface_hub:snapshot_download. #202

Fixed

  • OCS: Correctly handling of HTTP 204 No Content status. #197

v0.7.2

28 Dec 16:53
ba3af9f
Compare
Choose a tag to compare

Fixed

  • files: proper url encoding of special chars in mkdir and delete methods. #191 Thanks to @tobenary
  • files: proper url encoding of special chars in all other DAV methods. #194

v0.7.1

21 Dec 08:55
6e09c7e
Compare
Choose a tag to compare

Added

  • The ocs method is now public, making it easy to use Nextcloud OCS that has not yet been described. #187

v0.7.0

17 Dec 14:59
fc5793f
Compare
Choose a tag to compare

Added

  • implemented AsyncNextcloud and AsyncNextcloudApp classes. #181

Changed

  • set_handlers: enabled_handler, heartbeat_handler, init_handler now can be async(Coroutines). #175 #181
  • set_handlers: models_to_fetch and models_download_params united in one more flexible parameter. #184
  • drop Python 3.9 support. #180
  • internal code refactoring and clean-up #177

v0.6.0

06 Dec 17:14
4aa52a5
Compare
Choose a tag to compare

Added

  • Ability to develop applications with UI, example of such app, support for all new stuff of AppAPI 1.4. #168

Fixed

  • AppAPI: added authentication to the /init endpoint. #162

v0.5.1

12 Nov 16:12
76bdad3
Compare
Choose a tag to compare

Fixed

  • move, copy, trashbin_restore correctly set utf-8 headers. #157 Thanks to @tschechniker
  • upload_stream correctly set utf-8 headers. #159
  • headers can now be httpx.Headers and not only dict. #158

v0.5.0

23 Oct 09:05
ef7026d
Compare
Choose a tag to compare

Added

  • Support for the new /init AppAPI endpoint and the ability to automatically load models from huggingface. #151

Changed

  • All examples were adjusted to changes in AppAPI.
  • The examples now use FastAPIs lifespan instead of the deprecated on_event.