Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

chore(deps): update dependency nc-py-api to v0.21.1 - #175

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/nc-py-api-0.x
Closed

chore(deps): update dependency nc-py-api to v0.21.1#175
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/nc-py-api-0.x

Conversation

@renovate

@renovate renovate Bot commented Jul 3, 2023

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
nc-py-api (changelog) ==0.0.11 -> ==0.21.1 age confidence

Release Notes

cloud-py-api/nc_py_api (nc-py-api)

v0.21.1

Compare Source

Changed
  • ExApps: Now exception is raised during model download if there was error to prevent incorrect ExApp installation. #​376
Fixed
  • ExApps: Broken models download ue a typo in the previous PRs. #​376

v0.21.0

Compare Source

Added
Changed

v0.20.2

Compare Source

Added
  • ExApps(NC32+): field sensitive to the SettingsField class (Declarative Settings) and to the PreferencesExAPI class. #​357

v0.20.1

Compare Source

Fixed

v0.20.0

Compare Source

Changed
  • ExApps: nc_py_api.ex_app.events_listener.EventsListener was removed in favor of nc_py_api.webhooks. #​348
Fixed
  • Method download2stream not working correctly when Nextcloud returns compressed content. #​352 Thanks to @​PatrickPromitzer for reporting this.

v0.19.2

Compare Source

Added
  • Optional response_type parameter of nextcloud.ocs method for calling OCS endpoints that return raw data. #​341 Thanks to @​janepie

v0.19.1

Compare Source

Fixed
  • ExApps(NC32+): When using HaRP, use unix-socket instead of host:port.

v0.19.0

Compare Source

Added
Changed
  • ExApps: no longer require the AA-VERSION header. (Nextcloud 32+) #​336
  • ExApps: AppAPIAuthMiddleware now secures the websocket connection. (Nextcloud 32+) #​338

v0.18.2

Compare Source

Changed
  • Default "User-Agent" for ExApps now set to ExApp/appid/version (httpx/version). #​329
  • System Trust Store from now are used by default. #​328

v0.18.1

Compare Source

Fixed

v0.18.0

Compare Source

Added
  • New webhooks.unregister_all method. #​309
Fixed
  • Files: user and user_path properties in FSNode when Nextcloud located in the sub-path. #​297 Thanks to @​vwbusguy
  • files.download_directory_as_zip method now supports upcoming Nextcloud 31. #​304

v0.17.1

Compare Source

Added
  • NextcloudApp: setup_nextcloud_logging function to support transparently sending logs to Nextcloud. #​294
Fixed
  • NextcloudApp: nc.log now suppresses all exceptions to safe call it anywhere(for example in exception handlers). #​293

v0.17.0

Compare Source

Added
  • message_type property to TalkBotMessage. #​292
Changed
  • NextcloudApp: TextProcessing, Speech2Text and Translation AI Providers API was removed. #​289

v0.16.0

Compare Source

Changed
  • NextcloudApp: rework of TaskProcessing provider API. #​284
Fixed
  • nc.files.makedirs not working properly on Windows. #​280 Thanks to @​Wuli6

v0.15.1

Compare Source

Fixed
  • Corrected behaviour of ocs function for Group Folders app routes(they are not fully OCS API). #​279
  • NextcloudApp: get_computation_device function now correctly returns result in upper_case. #​278

v0.15.0

Compare Source

Added
  • Initial Webhooks API support for the upcoming Nextcloud 30. #​272
Changed
  • NextcloudApp: fetch_models_task function now saves paths to downloaded models. #​274 Thanks to @​kyteinsky

v0.14.0

Compare Source

Added
  • LoginFlowV2 implementation by @​blvdek #​255
  • files.get_tags function to get all tags assigned to the file or directory. #​260
  • NextcloudApp: nc.ui.files_dropdown_menu.register_ex to register new version of FileActions(AppAPI 2.6.0+) #​252
  • NextcloudApp: enabled_state property to check if the current ExApp is disabled or enabled. #​268
  • NextcloudApp: support for the new AI API for the Nextcloud 30. #​254

v0.13.0

Compare Source

Added
  • NextcloudApp: occ commands registration API(AppAPI 2.5.0+). #​247
  • NextcloudApp: Nodes events listener registration API(AppAPI 2.5.0+). #​249

v0.12.1

Compare Source

Fixed
  • Incorrect Display name when creating user, which led to the parameter being ignored. #​239 Thanks to @​derekbuckley

v0.12.0

Compare Source

Update with new features only for NextcloudApp class. #​233

Added
  • ex_app.get_computation_device function for retrieving GPU type(only with AppAPI 2.5.0+).
  • ex_app.integration_fastapi.fetch_models_task are now public function, added progress_init_start_value param.
  • Global authentication when used now sets request.scope["username"] for easy use.
Changed
  • UiActionFileInfo class marked as deprecated, instead ActionFileInfo class should be used.

v0.11.0

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

v0.7.0

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

Added
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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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)

v0.0.43

Compare Source

Added
  • Basic APIs for Nextcloud Talk(Part 2) #​111
Fixed
  • makedirs correctly work with paths started with /
  • listdir correctly handles exclude_self=True when input path starts with /

v0.0.42

Compare Source

Added
  • TrashBin API:
    • trashbin_list
    • trashbin_restore
    • trashbin_delete
    • trashbin_cleanup
  • File Versions API: get_versions and restore_version.
Fixed
  • Created FsNode from UiActionFileInfo now have the file_id with the NC instance ID as from the DAV requests.

v0.0.41

Compare Source

Added
  • Nextcloud Talk API for bots + example

v0.0.40

Compare Source

Added
  • Basic APIs for Nextcloud Talk(Part 1)
Changed
  • require_capabilities/check_capabilities can accept value with dot: like files_sharing.api_enabled and check for sub-values.
  • Refactored all API(except Files) again.
Fixed
  • options.NPA_NC_CERT bug, when setting throw .env file.

v0.0.31

Compare Source

Added
  • FsNode can be created from Nextcloud UiActionFileInfo reply.
Fixed

v0.0.30

Compare Source

Added
  • Nextcloud.response_headers property, to get headers from last response.
Changed
  • Reworked skeleton for the applications, added skeleton to examples.

v0.0.29

Compare Source

Added
  • Finished Share API.
Fixed
  • options error when setting timeouts with the .env file.
  • ShareAPI.create wrong handling of share_with parameter.

v0.0.28

Compare Source

Added
  • APIs for enabling\disabling External Applications.
  • FileAPI: download_directory_as_zip method.
Changed
  • Much more documentation.
  • Regroup APIs, hopes for the last time.
Fixed
  • Assign groups in user creation

v0.0.27

Compare Source

Added
  • Notifications API
  • options now independent in each Nextcloud class. They can be specified in kwargs, environment or .env files.
Changed
  • Switched to hatching as a build system, now correct install optional dependencies.
  • Renamed methods, attributes that was shadowing a Python builtins. Enabled additional Ruff linters checks.
  • Regroup APIs, now Users related stuff starts with user, file related stuff with file, UI stuff with gui.

v0.0.26

Compare Source

Added
  • More documentation.
Changed
  • Reworked User Status API, Users Group API
  • Reworked return type for weather_status.get_location
  • Reworked Files API: mkdir, upload, copy, move return new FsNode object.
  • Reworked listdir: added depth parameter.
  • Reworked FsNode: changed info from TypedDict to dataclass, correct fields names with correct descriptions.
  • FsNode now allows comparison for equality.

v0.0.25

Compare Source

Added
  • First Files Sharing APIs.
Changed
  • Updated documentation, description.
  • Updated FsNode class with properties for parsing permissions.

v0.0.24

Compare Source

Added
  • VERIFY_NC_CERTIFICATE option.
  • apps.ex_app_get_list and apps.ex_app_get_info methods.
  • files.download2stream and files.upload_stream methods.
  • most of FileAPI can accept FsNode as a path.
Changed
  • License changed to BSD-3 Clause

v0.0.23

Compare Source

Fixed
  • nextcloud_url can contain / at the end.
  • work of logs during enable/disable events.

v0.0.22

Compare Source

Added
  • heartbeat endpoint support for AppEcosystemV2.

v0.0.21

Compare Source

Added
  • app_cfg property in the NextcloudApp class.
Fixed
  • All input environment variables now in Upper Case.

v0.0.20

  • Written from the scratch new version of the Nextcloud Python Client. Deep Alpha.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@bigcat88 bigcat88 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO NOT MERGE

@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.20 Jul 3, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 0deb925 to 0545214 Compare July 3, 2023 23:00
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.21 Jul 5, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 0545214 to 70ef7cd Compare July 5, 2023 11:10
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.22 Jul 7, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 70ef7cd to a7a282e Compare July 7, 2023 20:05
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.23 Jul 18, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from a7a282e to 4d4d5a6 Compare July 18, 2023 20:15
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.24 Jul 24, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 4d4d5a6 to 69fe0f4 Compare July 24, 2023 23:02
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.25 Jul 29, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 69fe0f4 to 48010a9 Compare July 29, 2023 15:04
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.26 Aug 5, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 48010a9 to 0ea420f Compare August 5, 2023 16:49
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.27 Aug 11, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 0ea420f to 23bd0ab Compare August 11, 2023 16:08
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.28 Aug 13, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 23bd0ab to f96306a Compare August 13, 2023 18:37
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.29 Aug 15, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from f96306a to f441a76 Compare August 15, 2023 19:49
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.30 Aug 17, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch 2 times, most recently from 2c18d2f to b663d12 Compare August 22, 2023 19:26
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.31 Aug 22, 2023
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.40 Aug 26, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch 2 times, most recently from 17c58eb to 6445f7f Compare August 30, 2023 16:34
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.41 Aug 30, 2023
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.0.42 Sep 2, 2023
@andrey18106
andrey18106 requested a review from bigcat88 October 8, 2023 13:25

@bigcat88 bigcat88 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not compatible, currently.

@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 8aa040d to 4e3d061 Compare October 15, 2023 21:59
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.3.1 Oct 15, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 4e3d061 to ceb3f3c Compare October 23, 2023 11:31
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.4.0 Oct 23, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from ceb3f3c to f2cfb54 Compare November 12, 2023 18:42
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.5.0 Nov 12, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from f2cfb54 to 676417e Compare December 6, 2023 19:36
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.5.1 Dec 6, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 676417e to 17c4c80 Compare December 17, 2023 16:47
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.6.0 Dec 17, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 17c4c80 to 1c2a606 Compare December 21, 2023 09:04
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.7.0 Dec 21, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 1c2a606 to 65537d5 Compare December 28, 2023 19:47
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.7.1 Dec 28, 2023
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 65537d5 to 0923fd7 Compare January 12, 2024 20:15
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.7.2 Jan 12, 2024
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 0923fd7 to 724423a Compare January 25, 2024 15:20
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.8.0 Jan 25, 2024
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 724423a to 4a88f33 Compare February 14, 2024 20:05
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.9.0 Feb 14, 2024
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 4a88f33 to 5474303 Compare February 17, 2024 20:02
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.10.0 Feb 17, 2024
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 5474303 to 2affba6 Compare April 2, 2024 23:36
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.11.0 Apr 2, 2024
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from 2affba6 to c18004b Compare April 5, 2024 13:48
@renovate renovate Bot changed the title Update dependency nc-py-api to v0.12.0 Apr 5, 2024
@renovate
renovate Bot force-pushed the renovate/nc-py-api-0.x branch from c18004b to c9bd993 Compare April 28, 2024 09:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant