Skip to content

Releases: cloud-py-api/nc_py_api

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.

v0.4.0

15 Oct 21:39
af1d1d7
Compare
Choose a tag to compare

As the project moves closer to beta, final unification changes are being made.
This release contains some breaking changes in users, notifications API.

Added

  • Support for users avatars(get_avatar). #149
  • __repr__ method added for most objects(previously it was only present for FsNode). #147

Changed

  • users.get_details renamed to get_user and returns a class instead of a dictionary. #145
  • Optional argument displayname in users.create renamed to display_name.
  • The apps.ExAppInfo class has been rewritten in the same format as all the others. #146
  • notifications.Notification class has been rewritten in the same format as all the others.

Fixed

  • users.get_details with empty parameter in some cases was raised exception.
  • ClientMode: in case when LDAP was used as user backend, user login differs from user id, and most API failed with 404. #148

v0.3.1

06 Oct 20:00
db6f8bb
Compare
Choose a tag to compare

Added

  • CalendarAPI with the help of caldav package. #136
  • NotesAPI #137
  • TalkAPI: list_participants method to list conversation participants. #142

Fixed

  • TalkAPI: In One-to-One conversations the status_message and status_icon fields were always empty.
  • Missing CSS styles in the documentation. #143

v0.3.0

28 Sep 13:59
c12bd13
Compare
Choose a tag to compare

Added

  • TalkAPI:
    • send_file to easy send FsNode to Talk chat.
    • receive_messages can return the TalkFileMessage subclass of usual TalkMessage with additional functionality.
  • NextcloudApp: The ex_app.verify_version function to simply check whether the application has been updated.

Changed

  • NextcloudApp: Updated info.xml in examples to reflect upcoming changes in the AppStore

v0.2.2

26 Sep 18:15
fe10135
Compare
Choose a tag to compare

Added

  • FilesAPI: Chunked v2 upload support, enabled by default.
  • New option to disable chunked v2 upload if there is a need for that: CHUNKED_UPLOAD_V2
  • TalkAPI: Poll API support(create_poll, get_poll, vote_poll, close_poll).
  • TalkAPI: Conversation avatar API(get_conversation_avatar, set_conversation_avatar, delete_conversation_avatar)

Changed

  • Default chunk_size argument is now 5Mb instead of 4Mb.

v0.2.1

14 Sep 19:23
2caa2d9
Compare
Choose a tag to compare

Added

  • NextcloudApp: ex_app.persistent_storage function that returns path for the Application persistent storage.
  • NextcloudApp: from nc_py_api.ex_app import persist_transformers_cache - automatic use of persistent app directory for the AI models caching.

v0.2.0

13 Sep 16:52
9d46ecb
Compare
Choose a tag to compare

Added

  • FilesAPI: FsNode.info added mimetype property.

Changed

  • AppEcosystem_V2 Project was renamed to App_API, adjust all routes, examples, and docs for this.
  • The Application Authentication mechanism was changed to a much simple one.

v0.1.0

06 Sep 18:30
483589b
Compare
Choose a tag to compare

Added

  • ActivityAPI: get_filters and get_activities. #112
  • FilesAPI: added tags support. #115

Changed

  • FilesAPI: removed listfav method, use new more powerful list_by_criteria method. #115

Fixed

  • NotificationInfo.time - was always incorrectly parsed and equal to datetime(1970,1,1)