From 0583bf6df0f1a7b8bc1336f42d028923b3c600fe Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 24 Oct 2018 19:46:12 +0300 Subject: REST API: [Allow to remove the full list of labels/members through the API](https://github.com/wekan/wekan/pull/1968), with Apache I-CLA: - [Models: Cards: an empty string in members or label deletes the list](https://github.com/wekan/wekan/commit/e5949504b7ed42ad59742d2a0aa001fe6c762873). There is currently no way to remove all members or all labels attached to a card. If an empty string is provided, we can consider as a hint to remove the list from the card. - [Models: Cards: allow singletons to be assigned to members and labelIds](https://github.com/wekan/wekan/commit/2ce1ba37a1d0a09f8b3d2a1db4c8a11d1f98caa0). If we need to set only one member or one label, the data provided will not give us an array, but the only element as a string. We need to detect that and convert the parameter into an array. Thanks to bentiss ! --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index c2314c16..45490cde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +# Upcoming Wekan release + +This release adds the following new features: + +REST API: [Allow to remove the full list of labels/members through the API](https://github.com/wekan/wekan/pull/1968), with Apache I-CLA: + +- [Models: Cards: an empty string in members or label deletes the list](https://github.com/wekan/wekan/commit/e5949504b7ed42ad59742d2a0aa001fe6c762873). + There is currently no way to remove all members or all labels attached + to a card. If an empty string is provided, we can consider as a hint to + remove the list from the card. +- [Models: Cards: allow singletons to be assigned to members and labelIds](https://github.com/wekan/wekan/commit/2ce1ba37a1d0a09f8b3d2a1db4c8a11d1f98caa0). + If we need to set only one member or one label, the data provided will + not give us an array, but the only element as a string. + We need to detect that and convert the parameter into an array. + +Thanks to GitHub user bentiss for contributions. + # v1.62 2018-20-24 Wekan release - Fix missing dropdown arrow on Chrome. Thanks to xet7. Closes #1964 -- cgit v1.2.3-1-g7c22