From 958c5d8f7ecb46c25f2199d17eb9420553598eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 18 Feb 2025 11:36:25 +0100 Subject: [PATCH] chore: release v1.11.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- CHANGELOG.md | 96 +++++++++++++++++++++++++++++++++++++++++++++++ appinfo/info.xml | 2 +- package-lock.json | 4 +- package.json | 2 +- release.sh | 30 +++++++++++---- 5 files changed, 122 insertions(+), 12 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..eaed8cdf --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,96 @@ + +# 1.11.1 - 18 Feb 2025 + +- Fix UI + +# 1.11.0 - 07 Mar 2024 + +- Support Nextcloud 29 +- Migrated to vite + +# 1.10.0 - 19 Dec 2023 + +Compatibility with Nextcloud 28 + +# 1.9.0 - 15 May 2023 + +Compatibility with Nextcloud 27 + +# 1.8.0 - 20 Apr 2023 + +- Nextcloud 26 support + +# 1.7.0 - 02 Nov 2022 + +* Nextcloud 25 support +* Use LDAP passwd exop to set password of new users nextcloud/ldap_write_support#503 +* Modernize javascript code nextcloud/ldap_write_support#519 +* supply uri to ldap_connect nextcloud/ldap_write_support#524 +* PHP 8.1 support nextcloud/ldap_write_support#517 + +# 1.6.0 - 02 Nov 2022 + +* Nextcloud 24 support +* Modernize javascript code [#520](https://github.com/nextcloud/ldap_write_support/issues/520) +* supply uri to ldap_connect [#525](https://github.com/nextcloud/ldap_write_support/issues/525) +* PHP 8.1 support [#518](https://github.com/nextcloud/ldap_write_support/issues/518) + +# 1.4.0 - 15 Jul 2021 + +https://github.com/nextcloud-releases/ldap_write_support/releases/tag/v1.4.0 + +# 1.3.0 - 29 Jan 2021 + +* Nextcloud 21 support + +# 1.2.1 - 29 Jan 2021 + +* dependency updates + +# 1.2.0 - 13 Nov 2020 + +* [ldap_write_support#144](https://github.com/nextcloud/ldap_write_support/pull/144) Fix account creation with the registration app +* [ldap_write_support#146](https://github.com/nextcloud/ldap_write_support/pull/146) Fix new account template +* [ldap_write_support#165](https://github.com/nextcloud/ldap_write_support/pull/165) Update tests and bump max version +* [ldap_write_support#178](https://github.com/nextcloud/ldap_write_support/pull/178) Do not use custom DI object names for user_ldap +* [ldap_write_support#189](https://github.com/nextcloud/ldap_write_support/pull/189) Update LDAPUserManager.php error in split with ':' +* [ldap_write_support#190](https://github.com/nextcloud/ldap_write_support/pull/190) Do not trigger loading of user_ldap if it is alreay loaded +* [ldap_write_support#205](https://github.com/nextcloud/ldap_write_support/pull/205) Implements ibootstrap and cleans up code +* [ldap_write_support#234](https://github.com/nextcloud/ldap_write_support/pull/234) Works around calling occ issue on integration tests by relying on APi +* depndency updates + +# 1.1.0 - 17 Jan 2020 + +## Added + +* Nextcloud 18 compatibility + +## Changed + +* ensure app is instantiated just once [#72](https://github.com/nextcloud/ldap_write_support/issues/72) +* updated dependencies + +# 1.0.2 - 19 Jul 2019 + +## Added + +* use password exop (for NC 16) when it makes sense [#27](https://github.com/nextcloud/ldap_write_support/issues/27) + +## Fixed + +* does not execute any group actions when they are disabled by backend [#28](https://github.com/nextcloud/ldap_write_support/issues/28) + +# 1.0.1 - 28 Jun 2019 + +## Fixes + +* do not log success as error, fixes [#3](https://github.com/nextcloud/ldap_write_support/issues/3) +* clear error message when acting admin is not from LDAP despite requirement +* fallback to the general base if user or group base was not set. Fixes [#4](https://github.com/nextcloud/ldap_write_support/issues/4) + +# 1.0.0 - 27 Jun 2019 + +* Initial release diff --git a/appinfo/info.xml b/appinfo/info.xml index aa7f73d4..59eaa773 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -11,7 +11,7 @@ * auto generate a user id (optional) * and more behavioral switches ]]> - 1.11.0 + 1.11.1 agpl Alan Freihof Tygel Arthur Schiwon diff --git a/package-lock.json b/package-lock.json index 4f3c5a5b..5b378adf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ldap_write_support", - "version": "1.11.0", + "version": "1.11.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ldap_write_support", - "version": "1.11.0", + "version": "1.11.1", "license": "AGPL-3.0", "dependencies": { "@nextcloud/dialogs": "^5.2.0", diff --git a/package.json b/package.json index cd756c25..2f78144c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ldap_write_support", - "version": "1.11.0", + "version": "1.11.1", "description": "Adds write support to the LDAP backend", "private": true, "author": "Arthur Schiwon", diff --git a/release.sh b/release.sh index be2a7857..4d6375bb 100644 --- a/release.sh +++ b/release.sh @@ -1,12 +1,26 @@ #!/bin/sh +# +# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later # Stop at first error set -e # Use version from changelog # version=$(head -n1 CHANGELOG.md|cut -d"v" -f2); -version=$1 -echo "Releasing version $version"; +version=$(grep '^# ' CHANGELOG.md|head -n1|cut -d' ' -f2|cut -d' ' -f1); +# version=$1 +# The target branch, defaults to the current branch +target=${2:-$(git branch --show-current)} + +if [ $(git branch --show-current) != $target ]; then + if ! git switch $target > /dev/null; then + echo "Target branch does not exist, please enter a valid branch name" + exit 1 + fi +fi + +echo "Releasing version $version on branch $target"; # Ask for confirmation read -r -p "Are you sure? [y/N] " input @@ -32,14 +46,14 @@ case $input in [yY][eE][sS]|[yY]) echo "You say Yes" # Bump version in info.xml - sed -i -E "s|^\t.+|\t$version|" appinfo/info.xml + sed -i -E "s|^ .+| $version|" appinfo/info.xml # Add changed files to git - # git add CHANGELOG.md + git add CHANGELOG.md git add appinfo/info.xml # Bump npm version, commit and tag - npm version -f $version + npm version --allow-same-version -f $version # Show the result git log -1 -p @@ -70,6 +84,6 @@ case $input in ;; esac -echo https://github.com/nextcloud/ldap_write_support/tags -echo https://github.com/nextcloud-releases/ldap_write_support/tags -# https://github.com/nextcloud/ldap_write_support/releases/new?tag=v1.10.0 +# Then manually: +echo "Create release on github from tag on https://github.com/nextcloud/ldap_write_support/tags" +echo "Create release on github from tag on https://github.com/nextcloud-releases/ldap_write_support/tags"