Skip to content

Releases: cloud-py-api/nc_py_api

v0.30.3

Choose a tag to compare

@bigcat88 bigcat88 released this 11 Aug 07:24

Added

  • FsNode.etag_unquoted returning the entity tag without the double quotes the server wraps it in, for comparing or storing the bare value. FsNode.etag keeps what the server sent, so it can still be passed to an If-Match/If-None-Match header unchanged. #448 Thanks to @kyteinsky

Fixed

  • FsNode.etag is always a string now; trashbin entries used to yield None, because the server sends an empty <d:getetag/> there. #448
  • PROPFIND property lists are no longer mutated in place. get_propfind_properties() and both trashbin_list() implementations extended the shared PROPFIND_PROPERTIES constant with +=, so it grew on every call (7 entries per call against servers advertising files.locking, 3 per trashbin_list()). Long-running clients ended up sending multi-megabyte PROPFIND bodies that could exhaust the server's workers. Both property constants are now immutable tuples, so this class of bug cannot come back. #453 Thanks to @ciberkids

v0.30.2

Choose a tag to compare

@bigcat88 bigcat88 released this 02 Jun 09:05

Changed

  • download_directory_as_zip: the order of entries inside the returned archive is no longer guaranteed; it now depends on the Nextcloud server's database backend, after Nextcloud server #60225 removed the implicit ORDER BY name ASC. #429

Security

  • Pinned starlette>=1.0.1 to address BadHost (CVE-2026-48710): a crafted Host header could desync request.url.path from the routed path in Starlette ≤ 1.0.0, bypassing path-based authorization. FastAPI does not constrain Starlette's upper bound, so an explicit floor is required to guarantee the fix. The fastapi floor was also raised to >=0.133 (the first release compatible with Starlette 1.0+).

v0.30.1

Choose a tag to compare

@bigcat88 bigcat88 released this 26 Apr 10:49

Added

  • Share.token property to expose the share token (e.g. for passing to external applications that access Nextcloud shares via WebDAV). #427 Thanks to @meck-gd

v0.30.0

Choose a tag to compare

@bigcat88 bigcat88 released this 29 Mar 15:21
v0.30.0 [publish]

Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>

v0.24.2

Choose a tag to compare

@bigcat88 bigcat88 released this 02 Mar 12:57

Changed

  • Use new /ex-app/status endpoint for set_init_status instead of deprecated /apps/status/{appId}

v0.24.1

Choose a tag to compare

@bigcat88 bigcat88 released this 25 Feb 13:22

Fixed

  • ExApps: Use FileLock with atomic rename for safe concurrent model downloads. #396
  • Upgrade caldav dependency for icalendar 7.x compatibility. #397

v0.24.0

Choose a tag to compare

@bigcat88 bigcat88 released this 04 Feb 07:52

Added

  • Include the Response object in NextcloudException #394

v0.23.1

Choose a tag to compare

@bigcat88 bigcat88 released this 16 Jan 08:59

Fixed

  • Fix custom progress bar with huggingface_hub >= 1.1.0. #391 Thanks to @danxuliu

v0.23.0

Choose a tag to compare

@bigcat88 bigcat88 released this 25 Nov 08:05

Added

  • TaskProcessing: Add next_task_batch endpoint (#383)

Fixed

  • handle bot join messages properly to get conversation id and name (#385)

v0.22.0

Choose a tag to compare

@bigcat88 bigcat88 released this 24 Oct 11:02
v0.22.0 [publish]

Signed-off-by: bigcat88 <bigcat88@icloud.com>