Releases: cloud-py-api/nc_py_api
Releases · cloud-py-api/nc_py_api
v0.9.0
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
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
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
Added
- The
ocs
method is now public, making it easy to use Nextcloud OCS that has not yet been described. #187
v0.7.0
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
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
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
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
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
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