From dd7e14d9e730766bd575c86e0f71b5b01d365284 Mon Sep 17 00:00:00 2001 From: Lukas Schaefer Date: Mon, 16 Mar 2026 12:46:36 -0400 Subject: [PATCH] Prepare 3.2.0 Signed-off-by: Lukas Schaefer --- CHANGELOG.md | 21 +++++++++++++++++++++ appinfo/info.xml | 4 ++-- lib/Service/ApprovalService.php | 4 ++-- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1f6dde8..1995cdb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,27 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 3.2.0 – 2026-03-16 + +### Added + +- Only share to users and groups when necessary [#389](https://github.com/nextcloud/approval/pull/389) @lukasdotcom +- Add support for Nextcloud 34 + +### Changed + +- Implement typescript [#381](https://github.com/nextcloud/approval/pull/381) @lukasdotcom + +### Fixed + +- Improve testing [#392](https://github.com/nextcloud/approval/pull/392) @lukasdotcom +- Ensure rich parameters are strings [#391](https://github.com/nextcloud/approval/pull/391) @SystemKeeper +- Update README.md [#387](https://github.com/nextcloud/approval/pull/387) @Jerome-Herbinet +- Hide batch action for respondAction [#382](https://github.com/nextcloud/approval/pull/382) @lukasdotcom +- FileAction class was removed from @nextcloud/files [#380](https://github.com/nextcloud/approval/pull/380) @julien-nc +- Show selected tags in workflow admin / Fix workflow when manually triggered via tag assignment [#376](https://github.com/nextcloud/approval/pull/376) @kesselb +- Replace getById with getFirstNodeById [#375](https://github.com/nextcloud/approval/pull/375) @CarlSchwan + ## 3.1.0 - 2026-01-23 ### Changed diff --git a/appinfo/info.xml b/appinfo/info.xml index f7631c18..6e5a90e4 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -13,7 +13,7 @@ Approve/reject files based on workflows defined by admins. **Warning**: The DocuSign integration is no longer part of this app and can be installed with [this app](https://apps.nextcloud.com/apps/integration_docusign). ]]> - 3.1.0 + 3.2.0 agpl Julien Veyssier Approval @@ -32,7 +32,7 @@ and can be installed with [this app](https://apps.nextcloud.com/apps/integration https://github.com/nextcloud/approval/raw/main/img/screenshot_2.jpg https://github.com/nextcloud/approval/raw/main/img/screenshot_3.jpg - + OCA\Approval\Settings\Admin diff --git a/lib/Service/ApprovalService.php b/lib/Service/ApprovalService.php index 6033c97c..5f0aebf6 100644 --- a/lib/Service/ApprovalService.php +++ b/lib/Service/ApprovalService.php @@ -868,8 +868,8 @@ public function propFind(PropFind $propFind, INode $node): void { */ public function removeApprovalTags(Node $file): void { $fileId = $file->getId(); - $fileTags = $this->tagObjectMapper->getTagIdsForObjects([$fileId], 'files'); - $fileTags = $fileTags[$fileId] ?? []; + $fileTags = $this->tagObjectMapper->getTagIdsForObjects([(string)$fileId], 'files'); + $fileTags = $fileTags[(string)$fileId] ?? []; if (count($fileTags) > 0) { $tags = $this->ruleService->filterApprovalTags($fileTags); foreach ($tags as $tag) {