Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency nc-py-api to v0.13.0 #175

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 3, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nc-py-api (changelog) ==0.0.11 -> ==0.13.0 age adoption passing confidence

Release Notes

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

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 has been generated by Mend Renovate. View repository job log here.

Copy link
Member

@bigcat88 bigcat88 left a comment

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 Update dependency nc-py-api to v0.0.21 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 Update dependency nc-py-api to v0.0.22 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 Update dependency nc-py-api to v0.0.23 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 Update dependency nc-py-api to v0.0.24 Jul 18, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.0.24 Update dependency nc-py-api to v0.0.25 Jul 24, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.0.25 Update dependency nc-py-api to v0.0.26 Jul 29, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.0.26 Update dependency nc-py-api to v0.0.27 Aug 5, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.0.27 Update dependency nc-py-api to v0.0.28 Aug 11, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.0.28 Update dependency nc-py-api to v0.0.29 Aug 13, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.0.29 Update dependency nc-py-api to v0.0.30 Aug 15, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.0.30 Update dependency nc-py-api to v0.0.31 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 Update dependency nc-py-api to v0.0.40 Aug 22, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.0.40 Update dependency nc-py-api to v0.0.41 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 Update dependency nc-py-api to v0.0.42 Aug 30, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.0.42 Update dependency nc-py-api to v0.0.43 Sep 2, 2023
Copy link
Member

@bigcat88 bigcat88 left a comment

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 changed the title Update dependency nc-py-api to v0.3.1 Update dependency nc-py-api to v0.4.0 Oct 15, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.4.0 Update dependency nc-py-api to v0.5.0 Oct 23, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.5.0 Update dependency nc-py-api to v0.5.1 Nov 12, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.5.1 Update dependency nc-py-api to v0.6.0 Dec 6, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.6.0 Update dependency nc-py-api to v0.7.0 Dec 17, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.7.0 Update dependency nc-py-api to v0.7.1 Dec 21, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.7.1 Update dependency nc-py-api to v0.7.2 Dec 28, 2023
@renovate renovate bot changed the title Update dependency nc-py-api to v0.7.2 Update dependency nc-py-api to v0.8.0 Jan 12, 2024
@renovate renovate bot changed the title Update dependency nc-py-api to v0.8.0 Update dependency nc-py-api to v0.9.0 Jan 25, 2024
@renovate renovate bot changed the title Update dependency nc-py-api to v0.9.0 Update dependency nc-py-api to v0.10.0 Feb 14, 2024
@renovate renovate bot changed the title Update dependency nc-py-api to v0.10.0 Update dependency nc-py-api to v0.11.0 Feb 17, 2024
@renovate renovate bot changed the title Update dependency nc-py-api to v0.11.0 Update dependency nc-py-api to v0.12.0 Apr 2, 2024
@renovate renovate bot changed the title Update dependency nc-py-api to v0.12.0 Update dependency nc-py-api to v0.12.1 Apr 5, 2024
@renovate renovate bot changed the title Update dependency nc-py-api to v0.12.1 Update dependency nc-py-api to v0.13.0 Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant